Call this function to get the current NFTs for the user across all blockchains.

Example Usage

/**
 * Gets the player's NFTs.
 */
const getAssetsResponse = await hallidayClient.getAssets();

Inputs

There are no inputs to this function.

Outputs

A SmartAccountAssets object, with the following fields:

NameTypeDescription
numAssetsnumberNumber of different ERC 721 tokens in user's wallet
assetsArray of ERC-721 Token DataDetails of ERC 721 tokens owned by user

ERC-721 Token Data Format

NameTypeDescription
blockchainTypestringBlockchain this NFT exists on
collectionAddressstringContract address of this NFT
tokenIdstringToken Id of this NFT