API ReferenceTransactions, wallets, and signaturesInterface
ExecutableWalletOperation\<T\>
A single workflow step paired with the function that performs it. Workflow builders assemble arrays
of these; consumers normally see only the operation half via
WalletOperationWorkflow.operations.
Type Parameters
| Type Parameter |
|---|
T extends AnvilWalletOperationType |
Properties
execute
execute: () => Promise<CreateSignatureResponse<T> | ExecuteTransactionResponse<T>>;Performs the step through the connected wallet and returns either the transaction hash or the signature bytes (never both).
Returns
Promise< | CreateSignatureResponse<T> |
ExecuteTransactionResponse<T>>
operation
operation: WalletOperation<T>;The step’s public state; mutated in place as execute() progresses.