Parameters
- objectobjectREQUIRED
The account_nfts request object.
- accountstringREQUIRED
The XRP Ledger account for which NFT information is to be retrieved
- ledger_indexstring
The ledger index to query the NFT information from
Returns
- resultobject
The method returns a JSON object with the following properties:
- accountstring
The XRP Ledger account
- validatedboolean
Indicates if the information is from a validated ledger
- limitinteger
The maximum number of NFTs returned
- account_nftsarray
A list of NFToken objects associated with the account. Each NFToken object contains the following properties:
- Flagsstring
Flags associated with the NFToken
- Issuerstring
The issuer of the NFToken
- NFTokenIDstring
The unique identifier of the NFToken
- NFTokenTaxonstring
The taxonomic classification of the NFToken
- URIstring
The URI associated with the NFToken
- nft_serialstring
The serial number of the NFToken
- ledger_hashstring
(Optional) (May be omitted) The hash of the ledger used to generate this response
- ledger_indexinteger
(Optional) (May be omitted) The index of the ledger used to generate this response
- ledger_current_indexinteger
(Optional) (May be omitted) The ledger index of the current in-progress ledger version, which was used to generate this response
- statusstring
The status of the request
- warningsarray
(Optional) A list of warnings. Returned at the JSON-RPC response root on some servers and omitted from the
resultobject- idinteger
The ID of the warning
- messagestring
The warning message
1{2"result": {3"ledger_hash": "FE51E76B5948B60B847B5A1ECFF57C1EAF0FACDE7E408D5A1BEB1648F0D80E96",4"ledger_index": 102609803,5"validated": true,6"account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",7"account_nfts": [],8"limit": 100,9"status": "success"10},11"warnings": [12{13"id": 2001,14"message": "This is a clio server. clio only serves validated data. If you want to talk to rippled, include 'ledger_index':'current' in your request"15}16]17}
1{2"result": {3"ledger_hash": "FE51E76B5948B60B847B5A1ECFF57C1EAF0FACDE7E408D5A1BEB1648F0D80E96",4"ledger_index": 102609803,5"validated": true,6"account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn",7"account_nfts": [],8"limit": 100,9"status": "success"10},11"warnings": [12{13"id": 2001,14"message": "This is a clio server. clio only serves validated data. If you want to talk to rippled, include 'ledger_index':'current' in your request"15}16]17}