Transaction Simulation API
Understand a transactoin before signing it
Balance Change
The block number on which the transaction simulation is based. If this value is 0, transaction simulation will be based on the latest block.
Raw transaction hex string
0xf8a91f85017ad70c7582881994c02aaa39b223fe8d0a0e5c4f27ead9083c756cc280b844a9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa9604500000000000000000000000000000000000000000000000000005af3107a400025a0bbfc1f56c70c58f623a36639f9dd01db632af5bdc1106c16906f6c13b17765cea07a34be3f43332eddbcb9ac8a3b1e261eda25c007283a645d68a8380b19e6602fEnable Safe-signature-bypass for the simulation. Defaults to false.
Addresses on which Safe-signature-bypass should be applied. Only used when enableCodeOverwrite is true. Duplicates are ignored. If omitted or empty, falls back to the top-level tx.to decoded from the raw transaction; for contract-creation transactions nothing is applied.
Simulation result
Status codes:
- 0: Success
- 1: Unexpected error (contact [email protected])
- 2: Invalid request body format
- 3: Invalid raw transaction
- 4: Unsupported chain ID
- 5: Chain-gateway error (contact [email protected])
- 6: RPC node error (contact [email protected])
- 7: Invalid chain ID
- 8: The check of transaction simulation failed
Human-readable description of the status code
Simulation result
Chain ID for the transaction
The block number on which the transaction simulation is based. If this value is 0, transaction simulation will be based on the latest block.
Enable Safe-signature-bypass for the simulation. Defaults to false.
Addresses on which Safe-signature-bypass should be applied. Only used when enableCodeOverwrite is true. Duplicates are ignored. If omitted or empty, falls back to transaction.receiver.
Simulation result
Status codes:
- 0: Success
- 1: Unexpected error (contact [email protected])
- 2: Invalid request body format
- 3: Invalid raw transaction
- 4: Unsupported chain ID
- 5: Chain-gateway error (contact [email protected])
- 6: RPC node error (contact [email protected])
- 7: Invalid chain ID
- 8: The check of transaction simulation failed
Human-readable description of the status code
Simulation result
Trace
The block number on which the transaction simulation is based. If this value is 0, transaction simulation will be based on the latest block.
Raw transaction hex string
0xf8a91f85017ad70c7582881994c02aaa39b223fe8d0a0e5c4f27ead9083c756cc280b844a9059cbb000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa9604500000000000000000000000000000000000000000000000000005af3107a400025a0bbfc1f56c70c58f623a36639f9dd01db632af5bdc1106c16906f6c13b17765cea07a34be3f43332eddbcb9ac8a3b1e261eda25c007283a645d68a8380b19e6602fEnable Safe-signature-bypass for the simulation. Defaults to false.
Addresses on which Safe-signature-bypass should be applied. Only used when enableCodeOverwrite is true. Duplicates are ignored. If omitted or empty, falls back to the top-level tx.to decoded from the raw transaction; for contract-creation transactions nothing is applied.
Simulation result with trace
Simulation result with trace
Chain ID for the transaction
The block number on which the transaction simulation is based. If this value is 0, transaction simulation will be based on the latest block.
Enable Safe-signature-bypass for the simulation. Defaults to false.
Addresses on which Safe-signature-bypass should be applied. Only used when enableCodeOverwrite is true. Duplicates are ignored. If omitted or empty, falls back to transaction.receiver.
Simulation result
Simulation result
Last updated