Safe tx hash
safe_tx_hashCompute a Safe transaction's EIP-712 hash locally, then cross-check it against the Safe contract's on-chain getTransactionHash() to verify what a signer sees on a hardware wallet.
Instructions
Compute the EIP-712 safeTxHash for a Safe transaction locally and cross-check it with the Safe's on-chain getTransactionHash(). Use to verify what a signer should see on their hardware wallet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| data | No | ||
| safe | Yes | ||
| chain | Yes | EVM chain: ethereum, base, arbitrum, optimism, polygon, bsc, avalanche | |
| nonce | No | defaults to the Safe's current nonce | |
| value | No | ||
| operation | No |