FUZD / fuzd-client / createClient
Function: createClient()
createClient(
config
):object
Parameters
config
Returns
object
assignRemoteAccount()
assignRemoteAccount: (
chainId
) =>Promise
<RemoteAccountInfo
>
Parameters
chainId
string
| String0x
Returns
Promise
<RemoteAccountInfo
>
scheduleExecution()
scheduleExecution: (
execution
,options
?) =>Promise
<{info
:ScheduleInfo
;success
:true
; } | {error
:unknown
;success
:false
; }>
Parameters
execution
chainId
string
| String0x
expiry
number
maxFeePerGasAuthorized
bigint
onBehalf
`0x${string}`
paymentReserve
bigint
slot
string
time
number
transaction
SimplerEthereumTransactionData
| SimplerStarknetTransactionData
options?
fakeEncrypt
boolean
Returns
Promise
<{ info
: ScheduleInfo
; success
: true
; } | { error
: unknown
; success
: false
; }>
Defined in
client/src/index.ts:69