Get NFT contract package tokens by its hash
from_block_height
From block height range
to_block_height
To block height range
is_burned
Filters tokens by their is_burned status: false
to get active NFTs, true
to get the burned ones. By default all tokens are returned.
token_id
Sort tokens by token_id
timestamp
Sort tokens by timestamp
Default sorting is timestamp DESC
owner_public_key
string(68)
Owner public key if it's an account
The NFTToken
entity provides representation of an NFT on Casper Network. CSPR.cloud supports NFTs compatible with the CEP-47 and CEP-78 Casper Network standards.
The NFTToken
entity has the following properties:
contract_package_hash
string(64)
NFT contract package hash represented as a hexadecimal string. First of of token identifier
block_height
uint64
Height of the block in which the token was minted.
token_id
string
Token ID under the contract. Second part of token identifier
token_standard_id
uint8
owner_hash
string(64)
NFT token owner account or contract hash, represented as a hexadecimal string
owner_type
uint8
NFT owner type. 0
for account, 1
for contract
onchain_metadata
JSON
On-chain NFT metadata
offchain_metadata
JSON
Off-chain NFT metadata
offchain_metadata_status
uint8
is_burned
bool
true
if the token was burn
tracking_id
uint32
timestamp
uint16
The timestamp of token creation
Example
Depending on the endpoint some of the following optional properties may be included in the NFTToken
entity:
contract_package
NFT contract package
owner_public_key
string(68)
Owner public key if it's an account
contract_package_hash
NFT tokens belong to a contract package
from_hash, to_hash
NFT token could have accounts as the token owner
tracking_id
NFT token actions are mapped by contract package hash and token id
The NFTToken
entity has the following endpoints:
The NFTToken
entity has the following relation endpoints:
Get account NFTs by its identifier (public key or account hash)
from_block_height
From block height range
to_block_height
To block height range
is_burned
Filters tokens by their is_burned status: false
to get active NFTs, true
to get the burned ones. By default all tokens are returned.
token_id
Sort tokens by token_id
timestamp
Sort tokens by timestamp
Default sorting is timestamp DESC
contract_package
NFT contract package
owner_public_key
string(68)
Owner public key if it's an account
Get NFT by contract package hash and token ID
None
None
Default sorting is timestamp DESC
contract_package
NFT contract package
owner_public_key
string(68)
Owner public key if it's an account
identifier
identifier
Unique ID describes relation with corresponded .
Get off-chain NFT metadata statuses
None
None
None
List of value objects describing the available off-chain NFT metadata statuses