@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / SmartAccountSigner

Interface: SmartAccountSigner

Defined in: packages/sdk/src/executor/smartAccount.ts:76

The owner key that authorizes a smart account's transaction when the sending actor's presence is not authority enough — a sponsored send, or an account reached through parents.

Details

What the signer is asked to sign is the payload the accounts SDK prepares: the account's own Safe transaction when the signer owns it directly, or the outermost parent's SafeMessage envelope when through names a chain of accounts. Either way the payload binds the chain, so a wallet on the wrong network refuses it.

Properties

address

readonly address: `0x${string}`

Defined in: packages/sdk/src/executor/smartAccount.ts:81

The address the signature must recover to: an owner of the account, or — with through — an owner of the OUTERMOST parent.


signTypedData

readonly signTypedData: TypedDataSigner

Defined in: packages/sdk/src/executor/smartAccount.ts:83

Signs the prepared EIP-712 payload as SmartAccountSigner.address.