FundingPolicy.toTuple
Encodes an existing policy ID or an inline policy as an RLP tuple.
Imports
Named
import { FundingPolicy } from 'ox/tempo'Examples
import { FundingPolicy } from 'ox/tempo'
FundingPolicy.toTuple(7n)Definition
function toTuple(
value: Authorization,
): TupleSource: src/tempo/FundingPolicy.ts
Parameters
value
- Type:
Authorization
value.admins
- Type:
readonly abitype_Address[]
Accounts authorized to modify the policy.
value.rules
- Type:
Rules
Committed funding permissions.
Return Type
Tuple

