The nfts_by_issuer command returns a list of NFTs that are issued by the specified account. It can optionally filter by taxon.
An example of the request format:
{
"method": "nfts_by_issuer",
"issuer": "rLaBCoaMQqXzHDmiGs2Qv2JA2bg3Yvzxyt"
}The request contains the following parameters:
| Field | Type | Required? | Description |
|---|---|---|---|
issuer | String - Address | Yes | Look up NFTs issued by this account. |
ledger_hash | String - Hash | No | The unique hash of a ledger; if provided, only return NFTs issued up to the specified ledger. By default, use the latest validated ledger. |
ledger_index | Ledger Index | No | The ledger index of a ledger; if provided, only return NFTs issued up to the specified ledger. By default, use the latest validated ledger. |
limit | Integer | No | If provided, limit the number of NFTs to retrieve. The server is not required to honor this value. |
marker | Marker | No | Value from a previous paginated response. Resume retrieving data where that response left off. |
nft_taxon | Integer | No | If provided, filter NFTs to ones with this taxon. The default is to return all NFTs from the specified issuer. |
An example of a successful response:
{
"result": {
"issuer": "rfXeQv31yWMrhhPxMHZRzQqhw5mQrcuici",
"limit": 50,
"ledger_index": 1534,
"nfts": [
{
"nft_id": "00080000479C76BC5174816A938ABF667E67D851140BFE03F068FA97000005FB",
"ledger_index": 1533,
"owner": "rfXeQv31yWMrhhPxMHZRzQqhw5mQrcuici",
"is_burned": false,
"uri": "",
"flags": 8,
"transfer_fee": 0,
"issuer": "rfXeQv31yWMrhhPxMHZRzQqhw5mQrcuici",
"nft_taxon": 1,
"nft_serial": 1531
}
],
"validated": true,
"status": "success"
},
"warnings": [
{
"id": 2001,
"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"
}
]
}The response follows the standard format, with a successful result containing the following fields:
| Field | Type | Required? | Description |
|---|---|---|---|
issuer | String - Address | Yes | The address of the specified issuer. |
ledger_index | Integer - Ledger Index | Yes | The ledger index of the ledger version used to generate this response. |
limit | Integer | Yes | The maximum applied limit. May differ from the requested limit due to server settings. |
marker | Marker | No | Server-defined value indicating the response is paginated. Pass this to the next call to resume where this call left off. |
nft_taxon | Integer | No | The nft_taxon, as specified in the request. |
nfts | Array | Yes | A list of NFTs issued by the account. The order of the NFTs is not associated with the date the NFTs were minted. Each member of this field is an NFT object with fields in the same format as provided by the nft_info method. |
validated | Boolean | Yes | If true, the information in this response comes from a validated ledger version. |
Caution
If the nfts field is an empty array but the marker field is provided, there may still be additional NFTs on later pages. To ensure you get all NFTs, continue paginating until the response does not include a marker field.