wallet

Returns a single wallet.

wallet(id, address) {
	/* Wallet fields */
}

Arguments

id Int!

The ID of the Wallet to return.

address String

The wallet address of the Wallet to return.

Response

Wallet.* Wallet

Any 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"
    }
  }
}