Retrieve decoded events and calls tracking various activities and interactions within smart contracts

Get Decoded Events

The Get Decoded Events endpoint provides access to events with various filtering options, allowing to decode and convert data from blockchain events into human-readable information.

  • Contract: obtain events by a particular contract address OR by any contract if not specified.
  • Origin: filter events by a particular origin address OR by any origin if not specified.
  • Op_code: extract events by a certain event operation code OR obtain events with any operation code if not specified.
  • Block/Time Range: define a range of blocks or a time interval within which events occurred.
  • Event Type: filter events by a specific event type (Topic 0) OR retrieve events of all types if not specified.
  • Arguments: filter events by specific arguments (Topics 1-3) OR receive them with any arguments if not specified.

Let's explore some examples to demonstrate how the endpoint can be utilized.

Get Decoded Calls

The Get Decoded Calls endpoint is designed to retrieve data on external function calls, transfers of native currency, and all instances of the contract being created. It allows to decode and convert data into human-readable information.

  • Origin : fetch function calls by a particular origin address OR by any origin if not specified.
  • Sender: filter function calls by a specific sender address OR extract them by any sender if not specified.
  • Sig_hash: search for function calls with a particular signature hash OR obtain them with any signature hash if not specified.
  • Contract: filter function calls by a specific contract address OR receive them by any contract if not specified.
  • Block/time range: define a range of blocks or a time interval within which function calls occurred.
  • Events inclusion: choose whether to include or exclude events from the results.

To better understand how to use this endpoint, let's explore some examples below.