import {
useEtherspotNfts
} from "@etherspot/transaction-kit";
// Later in your component function...
const { getAccountNfts } = useEtherspotNfts();
// When you're ready to fetch NFTs...
const nfts = await getAccountNfts();
// `nfts` will look similar to the following...
// [
// {
// "contractName": null,
// "contractSymbol": null,
// "contractAddress": "0xa07e45a987f19e25176c877d98388878622623fa",
// "tokenType": "Erc1155",
// "nftVersion": null,
// "nftDescription": null,
// "balance": 1,
// "items": [
// {
// "tokenId": "123",
// "name": "null #123",
// "amount": 2,
// "image": "Dummy ERC1155",
// "ipfsGateway": null
// }
// ]
// }
// ]