Skip to content

AccountConfig.fromTuple

Converts an RLP AccountConfig.Tuple back to a AccountConfig.Config.

Imports

Named
import { AccountConfig } from 'ox/tempo'

Examples

import { AccountConfig } from 'ox/tempo'
 
const config = AccountConfig.fromTuple([
  `0x${'00'.repeat(32)}`,
  '0x',
  '0x01',
  [['0x1111111111111111111111111111111111111111', '0x01']],
])

Definition

function fromTuple(
  tuple: Tuple,
): Config

Source: src/tempo/AccountConfig.ts

Parameters

tuple

  • Type: Tuple

The RLP tuple.

Return Type

The account config.

Config