Wallet API Examples
Show all balances of vitalik.eth including 6551s
query MyQuery {
Wallet(input: {identity: "vitalik.eth", blockchain: ethereum}) {
tokenBalances {
amount
blockchain
formattedAmount
tokenAddress
tokenId
tokenNfts {
erc6551Accounts {
address {
addresses
}
}
}
}
}
}
For ENS dwr.eth, get Farcaster name, Farcaster account details, connected address, and all token balances and images
query identity {
Wallet(input: {identity: "dwr.eth", blockchain: ethereum}) {
socials {
dappName
profileName
profileCreatedAtBlockTimestamp
userAssociatedAddresses
}
tokenBalances {
tokenAddress
amount
tokenId
tokenType
tokenNfts {
contentValue {
image {
original
}
}
token {
name
}
}
}
}
}
For stani.lens show all his web3 socials and NFTs on Polygon
query staniLensSocialsAndNFTs {
Wallet(input: {identity: "stani.lens", blockchain: polygon}) {
socials {
dappName
profileName
}
tokenBalances {
tokenType
tokenNfts {
contentValue {
image {
original
extraSmall
large
medium
small
}
}
token {
name
}
}
}
}
}
Last updated