Skip to content
LogoLogo

supportsExecutionMode

Checks if the contract supports the ERC-7821 execution mode.

Usage

import {  } from './config'
 
const  = await .({ 
  : '0xcb98643b8786950F0461f3B0edf99D88F274574D',
})

Returns

boolean

If the contract supports the ERC-7821 execution mode.

Parameters

address

  • Type: Address

The address of the contract to check.

opData

  • Type: Hex

Additional data to pass to execution.