MultisigConfig.toTuple
Converts a MultisigConfig.Config to its RLP tuple form (carried by the multisig signature init).
Tuple shape: [salt, threshold, [[owner, weight], ...]]. The 32-byte salt encodes as a full fixed-width string; other integers use canonical RLP encoding (zero values encode as 0x).
Imports
Named
import { MultisigConfig } from 'ox/tempo'Examples
import { MultisigConfig } from 'ox/tempo'
const tuple = MultisigConfig.toTuple({
threshold: 1,
owners: [
{ owner: '0x1111111111111111111111111111111111111111', weight: 1 },
],
})Definition
function toTuple(
config: Config,
): TupleSource: src/tempo/MultisigConfig.ts
Parameters
config
- Type:
Config
The multisig config.
config.owners
- Type:
readonly Owner[]
Weighted owner list (strictly ascending by owner address).
config.salt
- Type:
0x${string} - Optional
Caller-chosen 32-byte salt mixed into the permanent config ID. Defaults to
the zero salt (MultisigConfig.zeroSalt) when omitted.
config.threshold
- Type:
numberType
Minimum total owner weight required to authorize a transaction.
Return Type
The RLP tuple.
Tuple

