transactions

Preview transaction

Changed on

Simulates a transaction execution to preview its effects, including gas estimates, balance changes, and potential errors before actually proposing or executing it.

post/v1/chains/{chainId}/transactions/{safeAddress}/preview

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

chainIdstring required
Example:1

Chain ID where the Safe is deployed

safeAddressstring required

Safe contract address (0x prefixed hex string)

Request body

tostring required
datastring nullable
valuestring required
operation0 | 1 required

Operation type: 0 for CALL, 1 for DELEGATE

Response

Transaction preview with simulation results, gas estimates, and potential effects

Changes

    • breaking

      added to the ///// response property oneOf list for the response status

    • breaking

      the / response's property type changed from no type to object for status

    • breaking

      the ///// response's property type changed from no type to object for status

    • breaking

      the ///// response's property type changed from no type to object for status

    • breaking

      the ///// response's property type changed from no type to object for status

    • breaking

      the ///// response's property type changed from no type to object for status