signed_call

Execute signed encrypted eth_call

Execute a signed read with encrypted calldata.

Signatures

# sync
w3.seismic.signed_call(
    *,
    to: ChecksumAddress,
    data: HexBytes,
    value: int = 0,
    gas: int = 30_000_000,
    security: SeismicSecurityParams | None = None,
    eip712: bool = False,
) -> HexBytes

# async
await w3.seismic.signed_call(...same args...) -> HexBytes

Parameters

Parameter
Type
Default
Description

to

ChecksumAddress

Required

Contract address to call

data

HexBytes

Required

Plaintext calldata (SDK encrypts it)

value

int

0

Wei to include in the call context

gas

int

30_000_000

Gas limit

security

None

Override default security parameters

eip712

bool

False

Use EIP-712 typed-data signing path

Returns

HexBytes — decrypted response bytes. Empty RPC result ("0x") returns HexBytes(b"").

Example

Notes

  • Does not modify blockchain state — this is a read-only eth_call

  • Both request and response are encrypted end-to-end (calldata, function selector, arguments, and the returned data)

  • Does not increment your account nonce

  • For contract interactions, prefer contract.read.functionName(...) which handles ABI encoding/decoding automatically

See Also

Last updated