Niftory Docs
Niftory Web3 API
Search…
⌃K
Links

Query Wallets

A Wallet is the representation of a user's blockchain wallet scoped to your application. There are several ways to query for a wallet. The simplest way to get a logged-in user's wallet is with the wallet and appUser queries:

wallet - returns the currently logged-in user's Wallet.n

query WalletQuery {
wallet {
id
address
state
verificationCode
nfts {
...NFTFragment
}
}
}
Sample Response

appUser query (and include the Wallet fragment)

query AppUserWithWalletQuery {
appUser {
email
wallet {
...WalletFragment
}
}
}
The following queries are privileged APIs that can only be invoked from your application backend: