@somnia-chain/markets-sdk


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

Interface: PreparedAccountAuthorization

Defined in: packages/sdk/src/smartAccounts.ts:52

An account authorization with the payload its owner signs: hand typedData to any EIP-712 signer (a wallet client, an executor's signTypedData), then pass authorization + the signature to SmartAccountsClient.buildCreateAccounts.

Properties

authorization

readonly authorization: AccountAuthorization

Defined in: packages/sdk/src/smartAccounts.ts:54

What the owner authorizes: which accounts, which owners, until when.


typedData

readonly typedData: MessageDefinition

Defined in: packages/sdk/src/smartAccounts.ts:56

The EIP-712 payload to sign. Its domain deliberately omits the chain id — one signature settles on every chain.