AssetsApi
The assets API allows you to query information about the assets of the blockchain.
Methods
Method | Return | Description |
---|---|---|
getNftMetadata(payload) | Promise<Metadata> | Gets the metadata of an NFT. |
getNFTAssetsFromAccount(payload) | Promise<Asset[]> | Gets the NFTs from an account. |
getTokensAssetsFromAccount(payload) | Promise<Asset[]> | Gets the tokens of an account. |
getNFTAssetsFromContractAddress(payload) | Promise<Asset[]> | You get the NFTs from a contract. |
Arguments
The payloads
are the arguments that each method receives.