Skip to content

FUZD / fuzd-client / createClient

Function: createClient()

createClient(config): object

Parameters

config: ClientConfig

Returns

object

assignRemoteAccount()

assignRemoteAccount: (chainId) => Promise<RemoteAccountInfo>

Parameters

chainId: string | String0x

Returns

Promise<RemoteAccountInfo>

scheduleExecution()

scheduleExecution: (execution, options?) => Promise<object | object>

Parameters

execution

execution.chainId: string | String0x

execution.expiry?: number

execution.maxFeePerGasAuthorized?: bigint

execution.onBehalf?: `0x${string}`

execution.paymentReserve?: bigint

execution.slot?: string

execution.time?: number

execution.transaction?: SimplerEthereumTransactionData | SimplerStarknetTransactionData

options?

options.fakeEncrypt?: boolean

Returns

Promise<object | object>

Defined in

index.ts:65