wallet

This query loads information about a specific wallet.

General Pattern

query{
    wallet(Id: "UUID1"){
    field_1
    field_2 {
       nested_field_1
       ...
    }
  }
}

Sample Query

query{
  wallet(id:"79a18c5c-15ee-4451-b670-e7fde42223db"){
    id
    name
    address
    parentType
    parentID
    network{
      id
      name
      chainID
      openSeaProxyAddress
      rpcURL
      wethAddress
      safeMasterContractAddress
      safeFactoryAddress
      safeFallbackHandler
    }
    networkId
    deploymentTxHash
    gnosisSafeURL
    tokens{
      contractAddress
      id
      tokenType
      balance
      title
      description
      tokenURI
    }
  }
}

Sample Response

{
  "data": {
    "wallet": {
      "id": "c9b0e4dd-9403-458c-985d-ce8dd3c57b22",
      "name": "",
      "address": "0x8b644Bedfc172FeC9371FD4302B40792e941CAC6",
      "parentType": "organization"
    }
  }
}

Arguments

Name

Type

Description

Required

id

UUID1

The wallet ID.

Yes

Fields

Name

Type

Description

Wallet

Object

Contains all the information from Wallet that includes the wallet ID, address, the parentType, the parentID, the network, the networkId, the deploymentTxHash, the gnosisSafeURL and the tokens.

Example

Load the wallet data with basic information: