40 Compute Units.
Reference: Here
Parameters
nft_id(string, required) A unique identifier for the non-fungible token (NFT).ledger_index_min(integer, optional) The earliest ledger to include.-1means the earliest validated ledger available.ledger_index_max(integer, optional) The most recent ledger to include.-1means the most recent validated ledger available.ledger_hash(string, optional) The unique hash of the ledger version to use.ledger_index(string or unsigned integer, optional) The ledger index of the ledger to use, or a shortcut string. Do not useclosedorcurrent; those forward the request to rippled, which does not support this method.binary(boolean, optional) Iftrue, return transactions as hex strings instead of JSON. Defaults tofalse.forward(boolean, optional) Iftrue, return values indexed with the oldest ledger first. Defaults tofalse.limit(unsigned integer, optional) Limit the number of transactions to retrieve. The server is not required to honor this value.marker(marker, optional) Value from a previous paginated response. Not stable if the server’s range of available ledgers changes.
Returns
nft_id(string) The NFT this history is for.ledger_index_min(integer) The ledger index of the earliest ledger actually searched.ledger_index_max(integer) The ledger index of the most recent ledger actually searched.limit(integer) Thelimitvalue used in the request.marker(marker) Server-defined value indicating the response is paginated.transactions(array) Transactions that affected this NFT. Each hasledger_index,tx(ortx_blob),meta(ormeta_blob) andvalidated.validated(boolean) Iftrue, the information comes from a validated ledger version.
{"id":1,"command":"nft_history","nft_id":"0008170207397A8AA414511E6E0649C9980E185E1C19D74010CEAF0005E46EE3","limit":2} to wss://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE>.
This method is served by Clio, our full-history XRPL server, and is not available from rippled.