---
title: "Get account events"
method: GET
path: "/accounts/{account_id}/events"
tags: ["Optional"]
---

# Get account events

`GET /accounts/{account_id}/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 Type                | Data Attribute Type | Description                                                                       |
  |---------------------------|---------------------|-----------------------------------------------------------------------------------|
  | `info`                    | string              | Human readable message for what has occured.                                      |
  | `created_account`         | JSON-encoded string | An account has been created.                                                      |
  | `created_transaction`     | JSON-encoded string | An incoming or outgoing transaction has been created.                             |
  | `updated_transaction`     | JSON-encoded string | An outgoing transactions has been updated due to Diem transactions being submitted or executed. |
  | `created_subaddress`      | JSON-encoded string | A Subaddress has been created.                                                    |
  | `created_payment_command` | JSON-encoded string | Off-chain payment command has been created.                                       |
  | `updated_payment_command` | JSON-encoded string | Off-chain payment command has been updated.                                       |

## Path parameters

- `account_id` string, required

## Response `200`

success

- Event[]
  - `id` string, required
  - `account_id` string, required
  - `type` string, required — Event type, used for decoding data.
  - `data` string, 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.
  - `timestamp` integer, required — Milliseconds since the unix epoch. The time event object is created by the system.

## Other responses

- `400` — Invalid input

---

[API](https://skmtc.net/diem/apis/mini-wallet-api-specification.md) · [All operations](https://skmtc.net/diem/apis/mini-wallet-api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/diem/mini-wallet-api-specification/revisions/b3821c80b8b2/schema)
