prepared comes from prepareTransaction. Ordinary signing collects all
required proofs, including requested EIP-7702 delegations. A quote override
must be used consistently when inspecting requests and signing.
Method on an account instance returned by createAccount. Requires a managed transaction account (EVM or managed Solana); unavailable on receiver-only and standalone Solana accounts.
Usage
Ordinary signing
Sign a prepared transaction with the transaction’s configured signers.prepared comes from prepareTransaction. Ordinary signing collects all
required proofs, including requested EIP-7702 delegations. A quote override
must be used consistently when inspecting requests and signing.
Parameters
PreparedTransactionData
required
Prepared transaction data
QuoteSelection
Optional override; pass
{ intentId } to sign a specific quote from preparedTransaction.quotes.allReturns
SignedTransactionData
The signed transaction data
Independent owner signing
Sign a prepared transaction as one configured owner. The returned signature can be serialized and shared with the party coordinating submission.prepared is the shared prepared transaction and owner is one locally
configured viem owner account. All contributors must use the same quote.
Independent signing is not supported for smart sessions or Solana origins.
Parameters
PreparedTransactionData
required
Prepared transaction data
SignAsOwnerOptions
required
Owner account, optional quote, and multi-factor validator ID
Returns
OwnerSignature
This owner’s signature contribution
See also
- prepareTransaction to prepare the transaction data for signing
- submitTransaction to submit the signed transaction
- prepareTransaction to prepare the transaction data for signing
- assembleTransaction to combine independent owner signatures