Skip to content

Execute.decodeBatchOfBatchesData

Decodes batches from ERC-7821 execute function data in "batch of batches" mode.

Imports

Named
import { Execute } from 'ox/erc7821'

Examples

import { Execute } from 'ox/erc7821'
 
const batches = Execute.decodeBatchOfBatchesData('0x...')

Definition

function decodeBatchOfBatchesData(
  data: Hex.Hex,
): decodeBatchOfBatchesData.ReturnType

Source: src/erc7821/Execute.ts

Parameters

data

  • Type: Hex.Hex

The encoded data.

Return Type

The decoded batches.

decodeBatchOfBatchesData.ReturnType