Movement Logs

Fetch Movement log data for versions 10000 to 10100.

curl -s --location --request GET \
 "https://movement.app.pangea.foundation/v1/api/logs?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": 10100,
    "block_hash": "0x0cc4026a4c6090bb60ac721708a60c5b33803722a91fbd95420c863d248eeabf",
    "transaction_index": 10100,
    "transaction_hash": "0x0cc4026a4c6090bb60ac721708a60c5b33803722a91fbd95420c863d248eeabf",
    "log_index": 480,
    "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"
  }
]

Query Parameters

movement.app.pangea.foundation/v1/api/logs?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.