FundingPolicy.fromRpc
Converts an RPC policy authorization to its domain representation.
Imports
Named
import { FundingPolicy } from 'ox/tempo'Examples
import { FundingPolicy } from 'ox/tempo'
FundingPolicy.fromRpc('0x7')Definition
function fromRpc(
value: Authorization<Hex.Hex>,
): AuthorizationSource: src/tempo/FundingPolicy.ts
Parameters
value
- Type:
Authorization<Hex.Hex>
value.admins
- Type:
readonly abitype_Address[]
Accounts authorized to modify the policy.
value.rules
- Type:
Rules
Committed funding permissions.
Return Type
Authorization

