Wallet API Examples
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
Was this helpful?