network

This query loads the information about Network.

General Pattern

query{
	network(id: "UUID1"){
  	field_1
    field_2 {
       nested_field_1
       ...
    }
  }
}

Sample Query

query{
  network(id: "ee800f19-d924-405a-9189-c561dad8af29"){
    id
    name
    chainID
    rpcURL
    openSeaProxyAddress
    wethAddress
    safeMasterContractAddress
    safeFactoryAddress
    safeFallbackHandler
  }
}

Sample Response

{
  "data": {
    "network": {
      "id": "ee800f19-d924-405a-9189-c561dad8af29",
      "name": "Rinkeby Testnet",
      "chainID": 4,
      "rpcURL": "https://eth-rinkeby.alchemyapi.io/v2/N_B27MNYWLRXcrpQpa-E5b5Sd67v1_wW",
      "openSeaProxyAddress": "0xf57b2c51ded3a29e6891aba85459d600256cf317",
      "wethAddress": "0xc778417E063141139Fce010982780140Aa0cD5Ab",
      "safeMasterContractAddress": "0x6851D6fDFAfD08c0295C392436245E5bc78B0185",
      "safeFactoryAddress": "0x76E2cFc1F5Fa8F6a5b3fC4c8F4788F0116861F9B",
      "safeFallbackHandler": "0xd5d82b6addc9027b22dca772aa68d5d74cdbdf44"
    }
  }
}

Arguments

NameTypeDescriptionRequired
idUUID1The network ID.Yes

Fields

NameTypeDescription
NetworkObjectContains all the information from Network that includes the network ID, the name of the network, the chain ID, the rpcURL, etc.