MultisigSimulation.toRpc
Converts a multisig simulation spec to its JSON-RPC representation.
Imports
Named
import { MultisigSimulation } from 'ox/tempo'Examples
import { MultisigSimulation } from 'ox/tempo'
const specRpc = MultisigSimulation.toRpc(spec)Definition
function toRpc(
spec: Spec,
): RpcSource: src/tempo/MultisigSimulation.ts
Parameters
spec
- Type:
Spec
Multisig simulation spec.
spec.account
- Type:
abitype_Address
Account authorized by this spec.
spec.approvals
- Type:
readonly Approval[]
Owner approvals to model.
spec.config
- Type:
{ owners: readonly Owner[]; salt: 0x${string}; threshold: number; version: bigint; }
Complete applicable configuration.
Return Type
The JSON-RPC multisig simulation spec with encoded configurations.
Rpc

