SignatureEnvelope.fromRpc
Converts an RPC-formatted signature envelope to a typed signature envelope.
Imports
Named
import { SignatureEnvelope } from 'ox/tempo'Examples
import { SignatureEnvelope } from 'ox/tempo'
const envelope = SignatureEnvelope.fromRpc({
r: '0x0',
s: '0x0',
yParity: '0x0',
type: 'secp256k1',
})Definition
function fromRpc(
envelope: SignatureEnvelopeRpc,
): SignatureEnvelopeSource: src/tempo/SignatureEnvelope.ts
Parameters
envelope
- Type:
SignatureEnvelopeRpc
The RPC signature envelope to convert.
envelope.account
- Type:
abitype_Address
Native multisig account address.
envelope.config
- Type:
{ owners: readonly Owner[]; salt: 0x${string}; threshold: number; version: number; }
Complete applicable multisig configuration witness.
envelope.signatures
- Type:
readonly SignatureEnvelopeRpc[]
Structured owner approvals.
Return Type
The signature envelope with bigint values.
SignatureEnvelope

