@0xknwn/starknet-module


@0xknwn/starknet-module / EthModule

Class: EthModule

Defined in: sdks/module/src/eth.ts:6

Implements

  • AccountModuleInterface

Constructors

new EthModule()

new EthModule(accountAddress): EthModule

Defined in: sdks/module/src/eth.ts:8

Parameters

accountAddress

string

Returns

EthModule

Properties

accountAddress

protected accountAddress: string

Defined in: sdks/module/src/eth.ts:7

Methods

prefix()

prefix(calls): object

Defined in: sdks/module/src/eth.ts:12

Parameters

calls

Call | Call[]

Returns

object

calldata

calldata: string[]

contractAddress

contractAddress: string

entrypoint

entrypoint: string = "__module_validate__"

Implementation of

AccountModuleInterface.prefix