Events — Move REST API
Overview
Query events by handle and creation number, or via event keys.
Endpoint
GET /v1/accounts/{address}/events/{creation_number}
Movement-Specific Notes
- Event handles are stored in account resources.
Request
Parameters
Name | Type | Location | Required | Description |
---|---|---|---|---|
address | string | path | Yes | Account address owning the handle |
creation_number | string | path | Yes | Creation number of the event counter |
Response
Success Response (200)
[{ "sequence_number": "0", "type": "0x...::module::Event", "data": {} }]
Code Examples
TypeScript
const res = await fetch('https://api-movement-mainnet.n.dwellir.com/YOUR_API_KEY/v1/accounts/0x1/events/0');
console.log(await res.json());
cURL
curl -X GET https://api-movement-mainnet.n.dwellir.com/YOUR_API_KEY/v1/accounts/0x1/events/0 \
-H "Accept: application/json"
EVM Equivalent
eth_getLogs
for EVM event logs.