Movement Decoded Logs

Fetch Movement decoded log data for versions 10000 to 10100.

curl -s --location --request GET \
 "https://movement.app.pangea.foundation/v1/api/logs/decoded?chains=MOVEMENT&from_block=10000&to_block=10100" \
 --header "Accept: application/jsonstream" \
 --header "Accept-Encoding: gzip" --compressed \
 --header "Authorization: Basic $PANGEA_AUTH" | jq

Response

[
  ...
  {
    "chain": 2147483643,
    "block_number": "0x2774",
    "block_hash": "0x0cc4026a4c6090bb60ac721708a60c5b33803722a91fbd95420c863d248eeabf",
    "transaction_index": "0x2774",
    "transaction_hash": "0x0cc4026a4c6090bb60ac721708a60c5b33803722a91fbd95420c863d248eeabf",
    "log_index": "0x1e0",
    "kind": "V2",
    "key_creation_number": null,
    "key_account_address": null,
    "sequence_number": null,
    "address": "0x0000000000000000000000000000000000000000000000000000000000000001",
    "module": "transaction_fee",
    "event_name": "FeeStatement",
    "type_tag": "0x00",
    "event_data": "0x9f60010000000000db0000000000000004010000000000008084cd00000000000000000000000000",
    "decoded": "{\"total_charge_gas_units\":90271,\"execution_gas_units\":219,\"io_gas_units\":260,\"storage_fee_octas\":13468800,\"storage_fee_refund_octas\":0}"
  }
]

Query Parameters

movement.app.pangea.foundation/v1/api/logs/decoded?chains=MOVEMENT

  • chains: Filters the data by chain.
  • from_block / from_version: Filters the data by a starting version. As Move chains use a per-transaction versioned database, we use version interchangably with block_number and omit blocks altogether.
  • to_block / to_version: Filters the data by an ending version. As Move chains use a per-transaction versioned database, we use version interchangably with block_number and omit blocks altogether.
  • address__in: Filters the data by a list of address.
  • module__in: Filters the data by a list of module.
  • event_name__in: Filters the data by a list of event_name.
  • type_tag__in: Filters the data by a list of type_tag.