This query loads information about the connected wallet by the user. Provides the list of active NFT & Network info of the wallet.
General Pattern
query{
wallet(Id: "UUID1"){
field_1
field_2 {
nested_field_1
...
}
}
}
Sample Query
query getActiveWalletContent {
me {
id
wallets {
id
name
address
networkId
network {
chainID
__typename
}
tokens {
id
title
tokenType
contractAddress
timeLastUpdated
metadata {
name
description
image
animationURL
attributes {
traitType
value {
... on AttributeValueInt {
intValue
__typename
}
... on AttributeValueFloat {
floatValue
__typename
}
... on AttributeValueString {
stringValue
__typename
}
__typename
}
__typename
}
__typename
}
__typename
}
__typename
}
__typename
}
}
Sample Response
{
"data": {
"me": {
"id": "e68547b2-3e64-4ef7-b39b-d453b8f5470b",
"wallets": [
{
"id": "b83c76f8-eaeb-4c14-ace1-6556c344462d",
"name": "Sepolia Testnet Wallet",
"address": "0xdD2Df0871dF878Bc669f847e20323608b91c9549",
"networkId": "b260424b-bb37-4a3e-86d0-0866175e5e68",
"network": {
"chainID": 11155111,
"__typename": "Network"
},
"tokens": [
{
"id": "1",
"title": "SEPOLIA MINT TOKEN ",
"tokenType": "ERC721",
"contractAddress": "0xb9104a795490da8c40d7bf4b5517d4a62763774c",
"timeLastUpdated": "2023-06-20T15:11:43.294Z",
"metadata": {
"name": "SEPOLIA MINT TOKEN ",
"description": "SEPOLIA MINT TOKEN PACE",
"image": "https://gateway.arweave.net/qUlWsMF0K5Ua4hrSkaJ4d5b67Cj3HJnG_tnjQfh0IIs",
"animationURL": "",
"attributes": null,
"__typename": "ERC721Metadata"
},
"__typename": "WalletToken"
}
],
"__typename": "Wallet"
}
],
"__typename": "CurrentUser"
}
}
}
Authorization Required
Name | Type | Description | Required |
---|---|---|---|
id | UUID1 | The wallet ID. | Yes |
Fields
Example
Load the wallet data with basic information: