{ "method": "GET", "path": "/accounts/{address}/events/{creation_number}", "operationId": "get_events_by_creation_number", "summary": "Get events by creation number", "description": "Event types are globally identifiable by an account `address` and\nmonotonically increasing `creation_number`, one per event type emitted\nto the given account. This API returns events corresponding to that\nthat event type.", "tags": [ "Events" ], "parameters": [ { "name": "address", "in": "path", "required": true, "description": "Hex-encoded 32 byte Aptos account, with or without a `0x` prefix, for\nwhich events are queried. This refers to the account that events were\nemitted to, not the account hosting the move module that emits that\nevent type.", "schema": { "$ref": "#/components/schemas/Address" } }, { "name": "creation_number", "in": "path", "required": true, "description": "Creation number corresponding to the event stream originating\nfrom the given account.", "schema": { "$ref": "#/components/schemas/U64" } }, { "name": "start", "in": "query", "required": false, "description": "Starting sequence number of events.\n\nIf unspecified, by default will retrieve the most recent events", "schema": { "$ref": "#/components/schemas/U64" } }, { "name": "limit", "in": "query", "required": false, "description": "Max number of events to retrieve.\n\nIf unspecified, defaults to default page size", "schema": { "type": "integer", "format": "uint16" } } ], "requestBody": null, "responses": { "200": { "contentType": "application/json", "schema": { "type": "array", "items": { "$ref": "#/components/schemas/VersionedEvent" } }, "example": {} }, "400": { "contentType": "application/json", "schema": { "$ref": "#/components/schemas/AptosError" }, "example": {} }, "403": { "contentType": "application/json", "schema": { "$ref": "#/components/schemas/AptosError" }, "example": {} }, "404": { "contentType": "application/json", "schema": { "$ref": "#/components/schemas/AptosError" }, "example": {} }, "410": { "contentType": "application/json", "schema": { "$ref": "#/components/schemas/AptosError" }, "example": {} }, "500": { "contentType": "application/json", "schema": { "$ref": "#/components/schemas/AptosError" }, "example": {} }, "503": { "contentType": "application/json", "schema": { "$ref": "#/components/schemas/AptosError" }, "example": {} } } }