wallet
Returns a single wallet.
wallet(id, address) {
/* Wallet fields */
}
Arguments
id Int!
id Int!The ID of the Wallet to return.
address String
address StringThe wallet address of the Wallet to return.
Response
Wallet.* Wallet
Wallet.* WalletAny requested field from the Wallet object.
Example
Request
query {
wallet(id: 2) {
id
address
}
}
query {
wallet(address: "0x959e104e1a4db6317fa58f8295f586e1a978c297") {
id
address
}
}
Response
{
"data": {
"wallet": {
"id": 2,
"address": "0x959e104e1a4db6317fa58f8295f586e1a978c297"
}
}
}
