Magic Eden buy quote
Quotes buying mintAccount from its Magic Eden listing: the price, fees and royalties, the total the buyer pays, and whether they can afford it. When it can't be bought, available is false and reason says why. Pass the quote's orderId and revision to POST /v2/tx/magic-eden/buy.
Authorization
ApiKeyAuth In: header
Query Parameters
^[1-9A-HJ-NP-Za-km-z]{32,44}$^[1-9A-HJ-NP-Za-km-z]{32,44}$Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v2/magic-eden/quote?mintAccount=string&buyer=string"{ "result": { "available": true, "reason": "string", "quote": { "orderId": "string", "revision": 0, "mintAccount": "string", "seller": "string", "currencyMint": "string", "sellerPrice": "string", "creatorRoyalty": "string", "magicEdenFee": "string", "mallowFeeLamports": "string", "networkFeeLamports": "string", "rentLamports": "string", "totalPaymentAmount": "string", "totalSolDebitLamports": "string", "expiresAt": "2019-08-24T14:15:22Z", "currencySymbol": "string", "currencyDecimals": 0, "buyerPaymentBalance": "string", "buyerSolBalanceLamports": "string" } }}Rotate gumball authority POST
Builds a transaction that hands control of a gumball machine from authority to newAuthority. Both wallets must sign the same transaction, so collect one signature and then the other without rebuilding it.
Buy on Magic Eden POST
Builds a purchase of a Magic Eden listing, from an order quoted by GET /v2/magic-eden/quote. The purchase fails rather than spend more than maxPaymentAmount or maxSolDebitLamports. Returns 409 if the order has changed since it was quoted.