suix_queryEvents

Return list of events for a specified query criteria.

Parameters:

query< EventFilter > - The event query criteria. See Event filter documentation for examples.

cursor< EventID > - Optional paging cursor

limit< uint > - Maximum number of items per page, default to [QUERY_MAX_RESULT_LIMIT] if not specified.

descending_order< Boolean > - Query result ordering, default to false (ascending order), oldest record first.

Returns:

EventPage< Page_for_Event_and_EventID >

Example:

// Request
curl  https://sui.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" 
--data 
'{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "suix_queryEvents",
  "params": [
    {
      "MoveModule": {
        "package": "0x30651d6e8f93e0fb79b4bc65a512beb5b9f3378423de90ed03b694cecf443c72",
        "module": "test"
      }
    },
    {