v1

latestOpenAPI 3.0.02026-07-266032101.8 KB
Marketplace

NFT Buy

Creates the transaction to purchase an NFT

get/tx/buy

Query parameters

buyerstring required

The buyer of the NFT

mintstring required

The mint of the NFT

ownerstring required

The current owner of the NFT

maxPricenumber float required

The maximum price that would be paid for the NFT

blockhashstring required

The blockhash to use for the transaction

includeTotalCostboolean

Include the total cost of the transaction including royalties and fees

payerstring

The address that pays the NFT (if different from buyer)

feePayerstring

The transaction fee payer (if different from buyer)

optionalRoyaltyPctinteger

The optional royalty percent to pay to the creator

currencystring

The mint address of the currency the NFT is listed in Default value is SOL

takerBrokerstring

The Taker broker of the transaction

computeinteger

Compute units for the transaction

priorityMicroLamportsinteger

Priority fee to assign to the transaction

lookupTableAccountsstring[]

Address lookup table accounts for v0 transaction construction (reduces txn space)

Response

Ok

totalCostnumber double nullable