Interface: AccountHooks
Defined in: src/plugins/types.ts:24
Extends
Methods
beforeExecute()?
optionalbeforeExecute(ctx):void| {calls:AllowArray<Call>;details:UniversalDetails; }
Defined in: src/plugins/types.ts:29
Called before Account.execute(). Return modified context to transform calls/details, or void to pass through.
Parameters
ctx
calls
details
Returns
void | { calls: AllowArray<Call>; details: UniversalDetails; }
afterExecute()?
optionalafterExecute(ctx):void
Defined in: src/plugins/types.ts:37
Called after Account.execute() with the result.
Parameters
ctx
calls
result
{ transaction_hash: string; }
result.transaction_hash
string
Returns
void
beforeSign()?
optionalbeforeSign(ctx):void| {typedData:TypedData; }
Defined in: src/plugins/types.ts:43
Called before Account.signMessage(). Return modified context to transform typedData, or void to pass through.