Skip to main content

Account List

Overview

Use these commands to intercept the account-list command.

Input/OutputData Type
InputStdAccountListInput

Example StdAccountListInput

"state": {"date": "1686341338871"},
"stateful": true

Implementation

Before account-list command

Use this logic to implement the command:

    .beforeStdAccountList(async (context: Context, input: StdAccountListInput) => {
logger.info(`Running before account list for account. State: ${input.state}`)
return input
})

The input object can be mutated and returned, but the same data type must still be returned.

After account-list command

After account-list is not available for customization at this time. If you need to modify the values of the response, it is recommended that you use Transforms.