Skip to content

Provider

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

Provider interface. A wallet client with these methods can be passed through.

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

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

Account bytecode (EIP-1167 minimal proxy).

`0x${string}`

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


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

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

Get ENS name for address

`0x${string}`

Promise<string | null>


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

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

Logs for context.contract.factory.deployEvent. Parameter shape is the subset of eth_getLogs this matcher reads.

`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:56

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:45

Read contract function

readonly unknown[]

`0x${string}`

readonly unknown[]

string

Promise<unknown>