nft_buy_offers RPC Method
Parameters
object
object
REQUIRED
Loading...
nft_id
string
REQUIRED
Loading...
ledger_index
string
Loading...
Returns
result
object
Loading...
nft_id
string
Loading...
offers
array
Loading...
amount
string
Loading...
flags
integer
Loading...
nft_offer_index
integer
Loading...
owner
integer
Loading...
status
string
Loading...
warnings
array
Loading...
id
integer
Loading...
message
string
Loading...
Request
1curl -X POST "https://docs-demo.xrp-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "nft_buy_offers",6"params": [7{8"nft_id": "NFT_ID",9"ledger_index": "validated"10}11],12"id": 113}'
1curl -X POST "https://docs-demo.xrp-mainnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "nft_buy_offers",6"params": [7{8"nft_id": "NFT_ID",9"ledger_index": "validated"10}11],12"id": 113}'
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"result": {6"nft_id": "example_value",7"offers": [8{9"amount": "example_value",10"flags": 1,11"nft_offer_index": 1,12"owner": 113}14],15"status": "example_value"16},17"warnings": [18{19"id": 1,20"message": "example_value"21}22]23}24}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"result": {6"nft_id": "example_value",7"offers": [8{9"amount": "example_value",10"flags": 1,11"nft_offer_index": 1,12"owner": 113}14],15"status": "example_value"16},17"warnings": [18{19"id": 1,20"message": "example_value"21}22]23}24}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free