v1

latestOpenAPI 3.0.3Apache 2.02026-07-1761017.2 KB
Optional

Get account events

This method can be used to collect the context of a failure and will be ignored if the endpoint has not been implemented or if the call fails. The Diem MiniWallet implements the following events:

Event TypeData Attribute TypeDescription
infostringHuman readable message for what has occured.
created_accountJSON-encoded stringAn account has been created.
created_transactionJSON-encoded stringAn incoming or outgoing transaction has been created.
updated_transactionJSON-encoded stringAn outgoing transactions has been updated due to Diem transactions being submitted or executed.
created_subaddressJSON-encoded stringA Subaddress has been created.
created_payment_commandJSON-encoded stringOff-chain payment command has been created.
updated_payment_commandJSON-encoded stringOff-chain payment command has been updated.
get/accounts/{account_id}/events

Path parameters

account_idstring required

Account ID

Response

success

idstring required
account_idstring required
typestring required

Event type, used for decoding data.

datastring required

Event data can be human readable message, JSON-encoded string or any other format. However, one event type should only have one data format.

timestampinteger required

Milliseconds since the unix epoch. The time event object is created by the system.