@0xknwn/starknet-module


@0xknwn/starknet-module / StarkModule

Class: StarkModule

Defined in: sdks/module/src/stark.ts:9

Implements

  • AccountModuleInterface

Constructors

new StarkModule()

new StarkModule(accountAddress): StarkModule

Defined in: sdks/module/src/stark.ts:11

Parameters

accountAddress

string

Returns

StarkModule

Properties

accountAddress

protected accountAddress: string

Defined in: sdks/module/src/stark.ts:10

Methods

prefix()

prefix(calls): object

Defined in: sdks/module/src/stark.ts:15

Parameters

calls

Call | Call[]

Returns

object

calldata

calldata: string[]

contractAddress

contractAddress: string

entrypoint

entrypoint: string = "__module_validate__"

Implementation of

AccountModuleInterface.prefix