Provider
Defined in: packages/sdk/src/types/index.ts:43
Provider interface. A wallet client with these methods can be passed through.
Properties
Section titled “Properties”getCode?
Section titled “getCode?”
optionalgetCode?: (args) =>Promise<`0x${string}`|null|undefined>
Defined in: packages/sdk/src/types/index.ts:62
Account bytecode (EIP-1167 minimal proxy).
Parameters
Section titled “Parameters”address
Section titled “address”`0x${string}`
Returns
Section titled “Returns”Promise<`0x${string}` | null | undefined>
getEnsName?
Section titled “getEnsName?”
optionalgetEnsName?: (args) =>Promise<string|null>
Defined in: packages/sdk/src/types/index.ts:53
Get ENS name for address
Parameters
Section titled “Parameters”address
Section titled “address”`0x${string}`
Returns
Section titled “Returns”Promise<string | null>
getLogs?
Section titled “getLogs?”
optionalgetLogs?: (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.
Parameters
Section titled “Parameters”address?
Section titled “address?”`0x${string}` | `0x${string}`[]
fromBlock?
Section titled “fromBlock?”bigint | LogBlockTag
toBlock?
Section titled “toBlock?”bigint | LogBlockTag
topics?
Section titled “topics?”(`0x${string}` | (`0x${string}` | null)[] | null)[]
Returns
Section titled “Returns”Promise<object[]>
getStorageAt?
Section titled “getStorageAt?”
optionalgetStorageAt?: (args) =>Promise<`0x${string}`|null|undefined>
Defined in: packages/sdk/src/types/index.ts:56
Storage slot read (EIP-1967 proxy implementation).
Parameters
Section titled “Parameters”address
Section titled “address”`0x${string}`
`0x${string}`
Returns
Section titled “Returns”Promise<`0x${string}` | null | undefined>
readContract?
Section titled “readContract?”
optionalreadContract?: (args) =>Promise<unknown>
Defined in: packages/sdk/src/types/index.ts:45
Read contract function
Parameters
Section titled “Parameters”readonly unknown[]
address
Section titled “address”`0x${string}`
readonly unknown[]
functionName
Section titled “functionName”string
Returns
Section titled “Returns”Promise<unknown>