The NFTTokenOwnership
entity represents a NFT ownership relation between accounts and contract packages, as well as provides the total tokens number.
The NFTTokenOwnership
entity has the following properties:
owner_hash
string(64)
Owner hash represented as a hexadecimal string
contract_package_hash
string(64)
NFT contract package hash represented as a hexadecimal string
owner_type
uint8
NFT token owner type: 0
for account, 1
for contract
tokens_number
uint32
Number of NFTs owned by the owner account
Example
Depending on the endpoint some of the following optional properties may be included in the NFTTokenOwnership
entity:
contract_package
NFT contract package
owner_public_key
string(68)
Owner public key if it's an account
account_info
Owner account info
centralized_account_info
Owner centralized account info
cspr_name
string
Owner account CSPR.name
contract_package_hash
NFT token ownership represents NFT contract package token owners
owner_hash
Account can be a token owner
The NFTTokenOwnership
entity has the following endpoints:
None
contract_package_hash
Contract package hash
tokens_number
Sort NFT token ownership by tokens number
contract_package
Fungible contract package
owner_public_key
string(68)
Owner public key if it's an account
account_info
Owner account info
centralized_account_info
Owner centralized account info
cspr_name
string
Owner account CSPR.name
owner_hash
Owner hash
tokens_number
Sort NFT token ownership by tokens number
contract_package
Fungible contract package
owner_public_key
string(68)
Owner public key if it's an account
account_info
Owner account info
centralized_account_info
Owner centralized account info
cspr_name
string
Owner account CSPR.name