Skip to content

nfts_by_issuer

[Source]

The nfts_by_issuer command returns a list of NFTs that are issued by the specified account. It can optionally filter by taxon. New in: Clio v2.1.0

Request Format

An example of the request format:

{
    "method": "nfts_by_issuer",
    "issuer": "rLaBCoaMQqXzHDmiGs2Qv2JA2bg3Yvzxyt"
}
Try it!

The request contains the following parameters:

FieldTypeRequired?Description
issuerString - AddressYesLook up NFTs issued by this account.
ledger_hashString - HashNoThe unique hash of a ledger; if provided, only return NFTs issued up to the specified ledger. By default, use the latest validated ledger.
ledger_indexLedger IndexNoThe ledger index of a ledger; if provided, only return NFTs issued up to the specified ledger. By default, use the latest validated ledger.
limitIntegerNoIf provided, limit the number of NFTs to retrieve. The server is not required to honor this value.
markerMarkerNoValue from a previous paginated response. Resume retrieving data where that response left off.
nft_taxonIntegerNoIf provided, filter NFTs to ones with this taxon. The default is to return all NFTs from the specified issuer.

Response Format

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:

FieldTypeRequired?Description
issuerString - AddressYesThe address of the specified issuer.
ledger_indexInteger - Ledger IndexYesThe ledger index of the ledger version used to generate this response.
limitIntegerYesThe maximum applied limit. May differ from the requested limit due to server settings.
markerMarkerNoServer-defined value indicating the response is paginated. Pass this to the next call to resume where this call left off.
nft_taxonIntegerNoThe nft_taxon, as specified in the request.
nftsArrayYesA 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.
validatedBooleanYesIf 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.