Safe (Gnosis Safe) · Example Payload

Safes_Multisig_Transactions_Estimations_Create

Returns the estimated `safeTxGas` for a given Safe address and multi-signature transaction. Estimation is disabled for L2 networks, as this is only required for Safes with version < 1.3.0 and those versions are not supported in L2 networks.

transactions

Safes_Multisig_Transactions_Estimations_Create is an example object payload from Safe (Gnosis Safe), with 9 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummarydescriptiontagsparametersrequestBodyresponses

Example Payload

Raw ↑
{
  "operationId": "safes_multisig_transactions_estimations_create",
  "method": "POST",
  "path": "/tx-service/eth/api/v1/safes/{address}/multisig-transactions/estimations/",
  "summary": "",
  "description": "Returns the estimated `safeTxGas` for a given Safe address and multi-signature transaction.\nEstimation is disabled for L2 networks, as this is only required for Safes with version < 1.3.0\nand those versions are not supported in L2 networks.",
  "tags": [
    "transactions"
  ],
  "parameters": [
    {
      "name": "address",
      "in": "path",
      "required": true,
      "description": "",
      "schema": {
        "type": "string"
      }
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "$ref": "#/components/schemas/SafeMultisigTransactionEstimate"
        }
      }
    },
    "required": true
  },
  "responses": {
    "200": {
      "description": "",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/SafeMultisigTransactionEstimateResponse"
          }
        }
      }
    },
    "400": {
      "description": "Data not valid",
      "content": {}
    },
    "404": {
      "description": "Safe not found",
      "content": {}
    },
    "422": {
      "description": "Tx not valid",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/CodeErrorResponse"
          }
        }
      }
    }
  }
}