A pull is one pack that a buyer opened. Each pull names its draw, what the buyer paid and, once the draw settles, what the pack paid out.
A machine’s pulls
One machine’s packs, newest first: who opened each one, what it cost and what it paid. This is a list route.
The machine’s own address. A coin’s mint also works: it finds the coin’s launch machine.
Rows per page, 1 to 50. The default is 20.
The nextCursor of the page before. Leave it out for the first page.
Sample answer
This sample is a pack on a SOL machine, so paid is in lamports. The addresses are made up.
The pull object
To get a pack’s multiplier, divide payout by tokens. Use BigInt maths: payout * 10000n / tokens gives the multiplier in basis points.
Top pulls
The biggest recent wins on every machine. The route ranks the newest 200 packs by what each pack paid over what it bought. It answers the best 8. Two packs with the same multiplier rank newest first. This route takes no parameters and has no pages.
Sample answer
The top pull object