# account_nfts [[Source]](https://github.com/XRPLF/rippled/blob/master/src/xrpld/rpc/handlers/AccountObjects.cpp) The `account_nfts` method returns a list of `NFToken` objects for the specified account. NonFungibleTokensV1_1 ## Request Format An example of the request format: Note There is no commandline syntax for this method. You can use the [json method](/docs/references/http-websocket-apis/public-api-methods/utility-methods/json) to access this method from the commandline instead. WebSocket ```json { "command": "account_nfts", "account": "rsuHaTvJh1bDmDoxX9QcKP7HEBSBt4XsHx", "ledger_index": "validated" } ``` JSON-RPC ```json { "method": "account_nfts", "params": [{ "account": "rsuHaTvJh1bDmDoxX9QcKP7HEBSBt4XsHx", "ledger_index": "validated" }] } ``` The request includes the following parameters: | Field | Type | Description | | --- | --- | --- | | `account` | String | The unique identifier of an account, typically the account's [Address](/docs/references/protocol/data-types/basic-data-types#addresses). The request returns a list of NFTs owned by this account. | | `ledger_hash` | String | *(Optional)* The unique hash of the ledger version to use. (See [Specifying Ledgers](/docs/references/protocol/data-types/basic-data-types#specifying-ledgers)) | | `ledger_index` | String or Number | *(Optional)* The [ledger index](/docs/references/protocol/data-types/basic-data-types#ledger-index) of the ledger to use, or a shortcut string to choose a ledger automatically. (See [Specifying Ledgers](/docs/references/protocol/data-types/basic-data-types#specifying-ledgers)) | | `limit` | Integer | *(Optional)* Limit the number of [token pages](/docs/references/protocol/ledger-data/ledger-entry-types/nftokenpage) to retrieve. Each page can contain up to 32 NFTs. The `limit` value cannot be lower than 20 or more than 400. Positive values outside this range are replaced with the closest valid option. The default is 100. | | `marker` | [Marker](/docs/references/http-websocket-apis/api-conventions/markers-and-pagination) | *(Optional)* Value from a previous paginated response. Resume retrieving data where that response left off. | ## Response Format An example of a successful response: WebSocket ```json { "result": { "account": "rsuHaTvJh1bDmDoxX9QcKP7HEBSBt4XsHx", "account_nfts": [ { "Flags": 1, "Issuer": "rGJUF4PvVkMNxG6Bg6AKg3avhrtQyAffcm", "NFTokenID": "00010000A7CAD27B688D14BA1A9FA5366554D6ADCF9CE0875B974D9F00000004", "NFTokenTaxon": 0, "URI": "697066733A2F2F62616679626569676479727A74357366703775646D37687537367568377932366E6634646675796C71616266336F636C67747179353566627A6469", "nft_serial": 4 }, { "Flags": 1, "Issuer": "rGJUF4PvVkMNxG6Bg6AKg3avhrtQyAffcm", "NFTokenID": "00010000A7CAD27B688D14BA1A9FA5366554D6ADCF9CE087727D1EA000000005", "NFTokenTaxon": 0, "URI": "697066733A2F2F62616679626569676479727A74357366703775646D37687537367568377932366E6634646675796C71616266336F636C67747179353566627A6469", "nft_serial": 5 } ], "ledger_hash": "7971093E67341E325251268A5B7CD665EF450B126F67DF8384D964DF834961E8", "ledger_index": 2380540, "validated": true }, "status": "success", "type": "response" } ``` JSON-RPC ```json { "result": { "account": "rsuHaTvJh1bDmDoxX9QcKP7HEBSBt4XsHx", "account_nfts": [ { "Flags": 1, "Issuer": "rGJUF4PvVkMNxG6Bg6AKg3avhrtQyAffcm", "NFTokenID": "00010000A7CAD27B688D14BA1A9FA5366554D6ADCF9CE0875B974D9F00000004", "NFTokenTaxon": 0, "URI": "697066733A2F2F62616679626569676479727A74357366703775646D37687537367568377932366E6634646675796C71616266336F636C67747179353566627A6469", "nft_serial": 4 }, { "Flags": 1, "Issuer": "rGJUF4PvVkMNxG6Bg6AKg3avhrtQyAffcm", "NFTokenID": "00010000A7CAD27B688D14BA1A9FA5366554D6ADCF9CE087727D1EA000000005", "NFTokenTaxon": 0, "URI": "697066733A2F2F62616679626569676479727A74357366703775646D37687537367568377932366E6634646675796C71616266336F636C67747179353566627A6469", "nft_serial": 5 } ], "ledger_hash": "46497E9FF17A993324F1A0A693DC068B467184023C7FD162812265EAAFEB97CB", "ledger_index": 2380559, "status": "success", "validated": true } } ``` The response follows the [standard format](/docs/references/http-websocket-apis/api-conventions/response-formatting), with a successful result containing the following fields: | `Field` | Type | Description | | --- | --- | --- | | `account` | String | The account that owns the list of NFTs. | | `account_nfts` | Array | A list of NFTs owned by the account, formatted as **NFT Objects** (see below). | | `ledger_hash` | String | *(May be omitted)* The identifying hash of the ledger that was used to generate this response. | | `ledger_index` | Number - [Ledger Index](/docs/references/protocol/data-types/basic-data-types#ledger-index) | *(May be omitted)* The ledger index of the ledger that was used to generate this response. | | `ledger_current_index` | Number - [Ledger Index](/docs/references/protocol/data-types/basic-data-types#ledger-index) | *(May be omitted)* The ledger index of the current in-progress ledger version, which was used to generate this response. | | `validated` | Boolean | If included and set to `true`, the information in this response comes from a validated ledger version. Otherwise, the information is subject to change. | | `marker` | [Marker](/docs/references/http-websocket-apis/api-conventions/markers-and-pagination) | *(May be omitted)* Server-defined value indicating the response is paginated. Pass this to the next call to resume where this call left off. Omitted when there are no additional pages after this one. | ### NFT Objects Each object in the `account_nfts` array represents one [NFToken](/docs/references/protocol/data-types/nftoken) and has the following fields: | `Field` | Type | Description | | --- | --- | --- | | `Flags` | Number | A bit-map of boolean flags enabled for this NFToken. See [NFToken Flags](/docs/references/protocol/data-types/nftoken#nftoken-flags) for possible values. | | `Issuer` | String - [Address](/docs/references/protocol/data-types/basic-data-types#addresses) | The account that issued this NFToken. | | `NFTokenID` | String | The unique identifier of this NFToken, in hexadecimal. | | `NFTokenTaxon` | Number | The unscrambled version of this token's [taxon](/docs/references/protocol/data-types/nftoken#nftokentaxon). Several tokens with the same taxon might represent instances of a limited series. | | `URI` | String | The URI data associated with this NFToken, in hexadecimal. | | `nft_serial` | Number | The token sequence number of this NFToken, which is unique for its issuer. | ## Possible Errors * Any of the [universal error types](/docs/references/http-websocket-apis/api-conventions/error-formatting#universal-errors). * `invalidParams` - One or more fields are specified incorrectly, or one or more required fields are missing. * `actNotFound` - The [Address](/docs/references/protocol/data-types/basic-data-types#addresses) specified in the `account` field of the request does not correspond to an account in the ledger. * `lgrNotFound` - The ledger specified by the `ledger_hash` or `ledger_index` does not exist, or it does exist but the server does not have it.