Skip to content

Calls.getAbiParameters

Gets the ABI parameters for the ERC-7821 calls.

Imports

Named
import { Calls } from 'ox/erc7821'

Examples

import { Calls } from 'ox/erc7821'
 
const abiParameters = Calls.getAbiParameters({ opData: true })

Definition

function getAbiParameters(
  options?: getAbiParameters.Options,
): readonly [{
    readonly type: "Call[]";
    readonly name: "calls";
}]

Source: src/erc7821/Calls.ts

Parameters

options

  • Type: getAbiParameters.Options
  • Optional

Options.

options.opData

  • Type: boolean
  • Optional

Return Type

The ABI parameters.

readonly [{ readonly type: "Call[]"; readonly name: "calls"; }]