Interface: AccountInterface
Handler for interfacing with an account. Knows how to create transaction execution requests and authorize actions for its corresponding account.
Hierarchy
-
EntrypointInterface
-
AuthWitnessProvider
↳
AccountInterface
Methods
createAuthWit
▸ createAuthWit(messageHash
): Promise
<AuthWitness
>
Computes an authentication witness from either a message hash
Parameters
Name | Type | Description |
---|---|---|
messageHash | Fr | Buffer <ArrayBufferLike > | The message hash to approve |
Returns
Promise
<AuthWitness
>
The authentication witness
Inherited from
AuthWitnessProvider.createAuthWit
createTxExecutionRequest
▸ createTxExecutionRequest(exec
, fee
, options
): Promise
<TxExecutionRequest
>
Generates an execution request out of set of function calls.