Skip to content

Provider

Defined in: packages/sdk/src/types/index.ts:44

Provider interface - compatible with viem’s PublicClient

optional chain?: object

Defined in: packages/sdk/src/types/index.ts:86

Chain ID

id: number


optional getCode?: (args) => Promise<`0x${string}` | null | undefined>

Defined in: packages/sdk/src/types/index.ts:66

Account bytecode (EIP-1167 minimal proxy).

`0x${string}`

Promise<`0x${string}` | null | undefined>


optional getEnsAddress?: (args) => Promise<`0x${string}` | null>

Defined in: packages/sdk/src/types/index.ts:57

Get ENS address for name

string

Promise<`0x${string}` | null>


optional getEnsName?: (args) => Promise<string | null>

Defined in: packages/sdk/src/types/index.ts:54

Get ENS name for address

`0x${string}`

Promise<string | null>


optional getLogs?: (args) => Promise<object[]>

Defined in: packages/sdk/src/types/index.ts:72

Logs for context.contract.factory.deployEvent. Parameter shape is a subset of viem PublicClient.getLogs.

`0x${string}` | `0x${string}`[]

bigint | LogBlockTag

bigint | LogBlockTag

(`0x${string}` | (`0x${string}` | null)[] | null)[]

Promise<object[]>


optional getStorageAt?: (args) => Promise<`0x${string}` | null | undefined>

Defined in: packages/sdk/src/types/index.ts:60

Storage slot read (EIP-1967 proxy implementation).

`0x${string}`

`0x${string}`

Promise<`0x${string}` | null | undefined>


optional readContract?: (args) => Promise<unknown>

Defined in: packages/sdk/src/types/index.ts:46

Read contract function

readonly unknown[]

`0x${string}`

readonly unknown[]

string

Promise<unknown>