Skip to main content

nft_sell_offers RPC Method

Returns a list of sell offers for a given NFToken object

Updated on
Oct 4, 2023

nft_sell_offers RPC Method

Parameters

nft_id
string
REQUIRED
The ID of the non-fungible token

Returns

result
object
An object which contains the following fields:
nft_id
string
The NFToken these offers are for
offers
array
A list of buy offers for the NFT, each containing the following fields:
nft_offer_index
string
The ledger object ID of this offer
flags
integer
A set of bit-flags for this offer
owner
string
The account that placed the order
amount
string
The amount offered to sell the NFT for
validated
boolean
It indicates whether the result has been validated
status
string
The status of the request
warnings
array
An array of warning objects, each containing the following fields:
id
integer
The ID of the warning
message
string
The warning message
Request
1
curl https://docs-demo.xrp-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "nft_sell_offers",
6
"params": [{
7
"nft_id": "000B0000867AD7165A812436FBFA175555413C26162BCF3816E5DA9D00000001"
8
}],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free