eip712_signing_hash
Compute final EIP-712 signing digest for TxSeismic
Compute the digest signed in EIP-712 mode.
Signature
def eip712_signing_hash(tx: UnsignedSeismicTx) -> bytesParameters
Parameter
Type
Required
Description
Returns
Type
Description
bytes
32-byte keccak256 digest to be ECDSA-signed
How it works
keccak256("\x19\x01" ‖ domainSeparator ‖ structHash)Where:
\x19\x01— EIP-712 magic bytesdomainSeparator— fromdomain_separator(chain_id)structHash— fromstruct_hash(tx)
Example
See Also
sign_seismic_tx_eip712 — uses this hash to sign
domain_separator — computes domain separator
struct_hash — computes struct hash
build_seismic_typed_data — build full typed data
Last updated

