account_nfts RPC Method
Parameters
account
string
REQUIRED
The XRP Ledger account for which NFT information is to be retrieved
ledger_index
string
The ledger index to query the NFT information from
ledger_hash
string
The hash of the ledger containing the information
limit
string
Limit the number of token pages to retrieve
marker
string
The value from a previous paginated response
Returns
result
object
The method returns a JSON object with the following properties:
account
string
The XRP Ledger account
validated
boolean
Indicates if the information is from a validated ledger
limit
integer
The maximum number of NFTs returned
account_nfts
array
A list of NFToken objects associated with the account. Each NFToken object contains the following properties:
Flags
string
Flags associated with the NFToken
Issuer
string
The issuer of the NFToken
NFTokenID
string
The unique identifier of the NFToken
NFTokenTaxon
string
The taxonomic classification of the NFToken
URI
string
The URI associated with the NFToken
nft_serial
string
The serial number of the NFToken
ledger_hash
string
(May be omitted) The hash of the ledger used to generate this response
ledger_index
integer
(May be omitted) The index of the ledger used to generate this response
ledger_current_index
integer
(May be omitted) The ledger index of the current in-progress ledger version, which was used to generate this response
status
string
The status of the request
warnings
array
A list of warnings
id
integer
The ID of the warning
message
string
The warning message
Request
1curl https://docs-demo.xrp-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "account_nfts",6"params": [{7"account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",8"ledger_index": "validated"9}],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free