Skip to main content

Get transaction changes from block to block

Get transaction changes from a block to a block

Query Parameters
    from_block number required

    The minimum block number from which to get the transfers

    Example: 999
    to_block number required

    The maximum block number from which to get the transfers

    Example: 1000
    cursor string

    The cursor returned in the previous response (used for getting the next page).

    limit number

    Number of items returned, default: 20

Responses

200 Successful


Schema
  • Array [
  • cursor string

    The cursor returned in the previous response (used for getting the next page)

    page number required

    Page of results

    limit number required

    Limit of results

    total_items number required

    Total returned result items

    data object[] required

    Array of documents

  • Array [
  • block_height number required

    blockHeight

    timestamp number required

    timestamp

    transaction_version number required

    txVersion

    transaction_type string required

    txType

    transaction_hash string required

    txHash

    type string required

    type

    address string required

    address

    state_key_hash string required

    stateKeyHash

    block_hash string required

    block_hash

    change_index string required

    change_index

    data string required

    data

    data_type string required

    data_type

    handle string required

    handle

    key number required

    key

    resource string required

    resource

    success boolean required

    success

    value string required

    value

    vm_status string required

    vm_status

    block_time string required

    The block time of the block

  • ]
  • ]
GET /v1/transaction/changes/block-to-block

Authorization

name: X-API-KEYtype: apiKeyin: header

Request

Base URL
https://dev-aptos-mainnet-api.blocklens.io
apiKey
from_block — query required
to_block — query required
cursor — query
limit — query
curl / cURL
curl -L -X GET 'https://dev-aptos-mainnet-api.blocklens.io/v1/transaction/changes/block-to-block' \
-H 'Accept: application/json' \
-H 'X-API-KEY: <API_KEY_VALUE>'