v2

latestOpenAPI 3.0.12026-07-26334612609.5 KB
Gates

Get the gates for an environment

get/environments/{environmentId}/gates

Path parameters

environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

ID of the environment

Response

List of gates for this project environment

Example response

{
  "gates": [
    {
      "id": "95b11417-f18f-457f-8804-68e361f9164f",
      "name": "Super User Gate",
      "scope": "superuser",
      "rules": [
        {
          "address": {
            "networkId": 1,
            "contractAddress": "0xbF394748301603f18d953C90F0b087CBEC0E1834"
          },
          "filter": {
            "tokenId": "0x01"
          }
        }
      ]
    }
  ]
}