Readonly
balanceReadonly
collectionReadonly
creationReadonly
creatorReadonly
dataReadonly
dataReadonly
dataReadonly
descriptionReadonly
extraReadonly
isReadonly
mediaReadonly
metadataReadonly
nftReadonly
nonceReadonly
overrideReadonly
overrideReadonly
ownerReadonly
royaltiesReadonly
supplyReadonly
titleReadonly
tokenReadonly
tokenReadonly
typeStatic
apiStatic
envStatic
networkUpdate any attributes for DataNft
Method to get the data via the Data Marshal.
Optional
asOptional
fwdOptional
fwdOptional
fwdOptional
nestedOptional
stream?: booleanMethod to get the data from the data marshal by authenticating and authorizing via MultiversX Native Auth. This has a better UX as it does not need a manually signed signableMessage
Optional
asOptional
fwdOptional
fwdOptional
nestedOptional
stream?: booleanStatic
createCreates a DataNft calling the API and also decoding the attributes.
Not useful for creating an array of DataNft, because it calls the API every single time.
Object should have a nonce
property representing the token nonce. An optional tokenIdentifier
property can be provided to specify the token identifier.
If not provided, the default token identifier based on the EnvironmentsEnum
Optional
tokenStatic
createStatic
createCreates an array of DataNfts by calling the API and decoding the attributes.
An array of objects containing token nonces and optional token identifiers.
Each object should have a nonce
property representing the token nonce.
An optional tokenIdentifier
property can be provided to specify the token identifier.
If not provided, the default token identifier based on the EnvironmentsEnum
An array of DataNft objects
Static
decodeStatic
ownedReturns an array of DataNft
objects owned by the address
the address to query
Optional
collections: string[]the collection identifiers to query. If not provided, the default collection identifier based on the EnvironmentsEnum
Static
set
Creates an instance of DataNft. Can be partially initialized.