Non-fungible token (NFT) action
The NFTTokenAction
entity describes standard actions that can be performed on NFTs, such as mint, transfer, burn etc. CSPR.cloud supports NFTs compatible with the CEP-47 and CEP-78 Casper Network standards.
Properties
The NFTTokenAction
entity has the following properties:
deploy_hash
string(64)
Deploy hash in which the token action occurred. First part of token action identifier, represented as a hexadecimal string
block_height
uint64
Height of the block in which the token action occurred.
token_tracking_id
string
ID describes relation with corresponded NFTToken
. Second part of token action identifier
contract_package_hash
string(64)
Contract package hash of the NFT contract, represented as a hexadecimal string
from_hash
string(64)
Action source account or contract hash, represented as a hexadecimal string
from_type
uint8
Action source hash type: 0
for account, 1
for contract
to_hash
string(64)
Action target account or contract hash, represented as a hexadecimal string
to_type
uint8
Action target hash type: 0
for account, 1
for contract
token_id
string
Token ID presented on the network
timestamp
uint16
The timestamp of performed token action
Example
Optional properties
Depending on the endpoint some of the following optional properties may be included in the NFTTokenAction
entity:
from_public_key
string(68)
Action source public key if it's an account
to_public_key
string(68)
Action target public key if it's an account
to_centralized_account_info
Action target centralized account info if it's an account
from_centralized_account_info
Action target centralized account info if it's an account
from_cspr_name
string
Primary CSPR.name of the source account, if it is an account
to_cspr_name
string
Primary CSPR.name of the destination account, if it is an account
Relations
Endpoints
The NFTTokenAction
entity has the following endpoints:
Relation endpoints
The NFTTokenAction
entity has the following relation endpoints:
Last updated