getActiveWalletsContent

getActiveWalletsContent load the NFTs against the metamask connected wallet with network.

Sample query

query(
  $walletAddress: String!
  $networkId: UUID1!
  $orgID: UUID1!
  $nextPageKey: String
  $filters: ActiveWalletFilterInput!
  $refreshCache: Boolean
) {
  getActiveWalletsContent(
    walletAddress: $walletAddress
    networkId: $networkId
    nextPageKey: $nextPageKey
    filters: $filters
    orgID: $orgID
    refreshCache: $refreshCache
  ) {
    tokens {
      contractAddress
      id
      network
      networkID
      tokenType
      owner
      balance
      title
      description
      tokenURI
      timeLastUpdated
      nftTokenId
      mintedAt
      status
      listedAt
      nftTokenId
      editionNumber
      metadata {
        name
        description
        image
        animationURL
        openSeaImageURL
        __typename
      }
      contractName
      artistName
      price {
        buyNowPrice {
          value
          unit
          type
          __typename
        }
        lastPurchasedPrice {
          value
          unit
          type
          __typename
        }
        makeOfferHighestPrice {
          value
          unit
          type
          __typename
        }
        makeOfferLatestPrice {
          value
          unit
          type
          __typename
        }
        __typename
      }
      listedOrderInfo {
        id
        listedCurrency {
          contractAddress
          __typename
        }
        price {
          value
          unit
          type
          __typename
        }
        __typename
      }
      __typename
    }
    requestObj {
      networkID
      prevPageKey
      nextPageKey
      count
      totalCount
      __typename
    }
    __typename
  }
}

Sample variable

{
  "walletAddress": "0xa77915a574e1f9b88db152525ceBfEAA8c71bAa4",
  "networkId": "c41db347-0ee3-4212-943a-ca213b8e0ea8",
  "filters": {
    "sort": "price_low_to_high"
  },
  "orgID": "f2f5c627-5421-4c40-9913-edfd09dd98b3",
  "refreshCache": false
}

Sample response

{
  "data": {
    "getActiveWalletsContent": {
      "tokens": [
        {
          "contractAddress": "0x33de1261f21334703c8872284d73de26a2ef765f",
          "id": "11",
          "network": "Goerli Testnet",
          "networkID": "",
          "tokenType": "ERC721",
          "owner": "0xa77915a574e1f9b88db152525ceBfEAA8c71bAa4",
          "balance": "1",
          "title": "Beary Christmas #11",
          "description": "This is #11 in the Beary Christmas collection by Satoshibles.",
          "tokenURI": "https://ipfs.io/ipfs/QmfMjHRSDP415gmMS9g7h8BMNys4yr9ZgVM8wAtxoBxaCY/11",
          "timeLastUpdated": "2023-04-21T13:14:09.283Z",
          "nftTokenId": "397d78aa-8b31-4081-be25-b3e87cb44e27",
          "mintedAt": "2023-02-14T09:22:41Z",
          "status": "OPEN_FOR_SALE",
          "listedAt": null,
          "editionNumber": null,
          "metadata": {
            "name": "Beary Christmas #11",
            "description": "This is #11 in the Beary Christmas collection by Satoshibles.",
            "image": "ipfs://QmZTJBmMW9cxvcXDv9QoE3NU1aGbzMN4YiuYGxmCEwsTU4/11.png",
            "animationURL": "",
            "openSeaImageURL": "",
            "__typename": "ERC721Metadata"
          },
          "contractName": "XMAS TOKENS",
          "artistName": "Adam Pendleton",
          "price": {
            "buyNowPrice": null,
            "lastPurchasedPrice": [
              {
                "value": 76.7536,
                "unit": "USD",
                "type": "FIAT",
                "__typename": "NFTPrice"
              },
              {
                "value": 0.04,
                "unit": "WETH",
                "type": "CRYPTO",
                "__typename": "NFTPrice"
              }
            ],
            "makeOfferHighestPrice": null,
            "makeOfferLatestPrice": null,
            "__typename": "Price"
          },
          "listedOrderInfo": null,
          "__typename": "WalletToken"
        },
        {
          "contractAddress": "0x7e8a9ff78f92286aea4d3322235cbe4a9dde99c8",
          "id": "1",
          "network": "Goerli Testnet",
          "networkID": "",
          "tokenType": "ERC1155",
          "owner": null,
          "balance": "1",
          "title": "Fantasmagorie VIOLA",
          "description": "With “Phantasmagorias” you enter a world made of mutation, fears and diversity. You will look at the contemporary world through the eyes of many “monsters” that accompany our life. The artist wants to make you feel watched from the top of a new perspective. This is why this NFT will give you the chance to perceive external presences capable of guiding you in your choices every day. Solomostry is an extremely pop artist: his artworks are captivating thanks to the combination of strong colors with white. These artworks represent a youth’s search for escape and rebellion. Notwithstanding, they are stick to technical, stylistic and communicative purism. The artist’s demons belong to all of us: they can become your friends and accompany you to the future, helping you to see the world from the perspective of the many layers making up your social sphere.",
          "tokenURI": "https://arweave.net/_97bZV3P-PKQ1r9xlhhSdtPI8cfWAyl1sFqfgmTCRq4",
          "timeLastUpdated": "2023-04-05T07:32:10.790Z",
          "nftTokenId": null,
          "mintedAt": "2023-04-05T07:32:10Z",
          "status": "NEW",
          "listedAt": null,
          "editionNumber": null,
          "metadata": {
            "name": "Fantasmagorie VIOLA",
            "description": "With “Phantasmagorias” you enter a world made of mutation, fears and diversity. You will look at the contemporary world through the eyes of many “monsters” that accompany our life. The artist wants to make you feel watched from the top of a new perspective. This is why this NFT will give you the chance to perceive external presences capable of guiding you in your choices every day. Solomostry is an extremely pop artist: his artworks are captivating thanks to the combination of strong colors with white. These artworks represent a youth’s search for escape and rebellion. Notwithstanding, they are stick to technical, stylistic and communicative purism. The artist’s demons belong to all of us: they can become your friends and accompany you to the future, helping you to see the world from the perspective of the many layers making up your social sphere.",
            "image": "https://gateway.arweave.net/3UyXNDi5rL3r8lT3xPUqc8uN7MCd6NdPWYs182ieuso",
            "animationURL": "",
            "openSeaImageURL": "",
            "__typename": "ERC721Metadata"
          },
          "contractName": "",
          "artistName": "",
          "price": null,
          "listedOrderInfo": null,
          "__typename": "WalletToken"
        },
        {
          "contractAddress": "0x7e8a9ff78f92286aea4d3322235cbe4a9dde99c8",
          "id": "3",
          "network": "Goerli Testnet",
          "networkID": "",
          "tokenType": "ERC1155",
          "owner": null,
          "balance": "5",
          "title": "Fantasmagorie AZZURRO",
          "description": "With “Phantasmagorias” you enter a world made of mutation, fears and diversity. You will look at the contemporary world through the eyes of many “monsters” that accompany our life. The artist wants to make you feel watched from the top of a new perspective. This is why this NFT will give you the chance to perceive external presences capable of guiding you in your choices every day. Solomostry is an extremely pop artist: his artworks are captivating thanks to the combination of strong colors with white. These artworks represent a youth’s search for escape and rebellion. Notwithstanding, they are stick to technical, stylistic and communicative purism. The artist’s demons belong to all of us: they can become your friends and accompany you to the future, helping you to see the world from the perspective of the many layers making up your social sphere.",
          "tokenURI": "https://arweave.net/hg98-EoLuMr0x35rJR6HFzQhHIUTXKjDZzS-aXLv710",
          "timeLastUpdated": "2023-04-05T06:10:27.212Z",
          "nftTokenId": null,
          "mintedAt": "2023-04-05T06:10:27Z",
          "status": "NEW",
          "listedAt": null,
          "editionNumber": null,
          "metadata": {
            "name": "Fantasmagorie AZZURRO",
            "description": "With “Phantasmagorias” you enter a world made of mutation, fears and diversity. You will look at the contemporary world through the eyes of many “monsters” that accompany our life. The artist wants to make you feel watched from the top of a new perspective. This is why this NFT will give you the chance to perceive external presences capable of guiding you in your choices every day. Solomostry is an extremely pop artist: his artworks are captivating thanks to the combination of strong colors with white. These artworks represent a youth’s search for escape and rebellion. Notwithstanding, they are stick to technical, stylistic and communicative purism. The artist’s demons belong to all of us: they can become your friends and accompany you to the future, helping you to see the world from the perspective of the many layers making up your social sphere.",
            "image": "https://gateway.arweave.net/11o0DGB_kgiMJpRhNyp-YNxVXPQak2Dw3xyjyKQhIUM",
            "animationURL": "",
            "openSeaImageURL": "",
            "__typename": "ERC721Metadata"
          },
          "contractName": "",
          "artistName": "",
          "price": null,
          "listedOrderInfo": null,
          "__typename": "WalletToken"
        },
        {
          "contractAddress": "0x7e8a9ff78f92286aea4d3322235cbe4a9dde99c8",
          "id": "5",
          "network": "Goerli Testnet",
          "networkID": "",
          "tokenType": "ERC1155",
          "owner": null,
          "balance": "4",
          "title": "Fantasmagorie NERO",
          "description": "With “Phantasmagorias” you enter a world made of mutation, fears and diversity. You will look at the contemporary world through the eyes of many “monsters” that accompany our life. The artist wants to make you feel watched from the top of a new perspective. This is why this NFT will give you the chance to perceive external presences capable of guiding you in your choices every day. Solomostry is an extremely pop artist: his artworks are captivating thanks to the combination of strong colors with white. These artworks represent a youth’s search for escape and rebellion. Notwithstanding, they are stick to technical, stylistic and communicative purism. The artist’s demons belong to all of us: they can become your friends and accompany you to the future, helping you to see the world from the perspective of the many layers making up your social sphere.",
          "tokenURI": "https://arweave.net/hhdcSialF9-t3U4k1kmUXlkHIQR8034p-htSlbQS7K0",
          "timeLastUpdated": "2023-04-05T06:23:42.425Z",
          "nftTokenId": null,
          "mintedAt": "2023-04-05T06:23:42Z",
          "status": "NEW",
          "listedAt": null,
          "editionNumber": null,
          "metadata": {
            "name": "Fantasmagorie NERO",
            "description": "With “Phantasmagorias” you enter a world made of mutation, fears and diversity. You will look at the contemporary world through the eyes of many “monsters” that accompany our life. The artist wants to make you feel watched from the top of a new perspective. This is why this NFT will give you the chance to perceive external presences capable of guiding you in your choices every day. Solomostry is an extremely pop artist: his artworks are captivating thanks to the combination of strong colors with white. These artworks represent a youth’s search for escape and rebellion. Notwithstanding, they are stick to technical, stylistic and communicative purism. The artist’s demons belong to all of us: they can become your friends and accompany you to the future, helping you to see the world from the perspective of the many layers making up your social sphere.",
            "image": "https://gateway.arweave.net/FaUsKnIP0u6o9SPmJHPQuQqzKrjKJlTJHi_ZEq_mkHg",
            "animationURL": "",
            "openSeaImageURL": "",
            "__typename": "ERC721Metadata"
          },
          "contractName": "",
          "artistName": "",
          "price": null,
          "listedOrderInfo": null,
          "__typename": "WalletToken"
        }
      ],
      "requestObj": {
        "networkID": "c41db347-0ee3-4212-943a-ca213b8e0ea8",
        "prevPageKey": "",
        "nextPageKey": "",
        "count": 4,
        "totalCount": 4,
        "__typename": "OwnedTokensMetadata"
      },
      "__typename": "OwnedTokens"
    }
  }
}

Arguments

NameTypeDescriptionRequired
walletAddressStringMetamask connected wallet address.Yes
networkIdUUIDMetamask connected network id.Yes
orgIDUUIDOrganization id.Yes
filtersObjectContains the all information from ActiveWalletFilterInputNo
nextPageKeyStringNext page key. if key exist in previous response , need to pass.No
refreshCacheBooleanif provide falsedata fetch from catch else fetch data from live.No

Fields

NameTypeDescription
OwnedTokensObjectContains the information tokens have such as network ,contract name and etc. requestObj

Example