Skip to main content

safe_tx_hashes

Function safe_tx_hashes 

Source
pub fn safe_tx_hashes(
    safe: Address,
    chain_id: u64,
    to: Address,
    value: U256,
    data: &Bytes,
    operation: u8,
    nonce: u64,
) -> SafeTxHashes
Expand description

Compute EIP-712 Safe transaction hashes for a single-tx batch (operation=0).

Matches the domainSeparator and message hash produced by Safe v1.4.1 (EIP712Domain(uint256 chainId,address verifyingContract)).