events by creation number - Movement

Returns events from an event stream identified by the account address and the stream's creation number, paginated.

Endpoint

httpGET /v1/accounts/{address}/events/{creation_number}

Path Parameters

ParameterTypeDescription
addressstringAccount that owns the event stream
creation_numberstringCreation number of the event stream (GUID)

Query Parameters

ParameterTypeDescription
startstringSequence number to start from
limitstringMax events to return

Example

bashexport MOVEMENT_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${MOVEMENT_REST}v1/accounts/0x1/events/0?limit=2"

Response

json[
    {
        "version": "285000000",
        "guid": {
            "creation_number": "0",
            "account_address": "0x1"
        },
        "sequence_number": "0",
        "type": "0x1::coin::DepositEvent",
        "data": {
            "amount": "1000000000"
        }
    }
]

Response Fields

FieldTypeDescription
typestringFully-qualified Move event type
dataobjectDecoded event payload
sequence_numberstringEvent sequence within the stream

Use Cases

  • Event Processing: Read events from a known stream
  • Indexing: Track deposits/withdrawals per account

Error Handling

ErrorMessageDescription
400 / Bad requestBad requestA path, query, or body parameter was invalid
404 / Not foundNot foundThe account, block, transaction, or resource does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect