Interest Protocol Pools

Fetch pools for versions 0 to 126000.

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

Response

{
  {
    "block_number": 125509,
    "transaction_hash": "0x75b098c3cb55a24ccc11768d0bb546ec56bcb006d5e9fd1ec4f86603569ca141",
    "log_index": 5,
    "address": "0x13418bb00810eca160f77aa03e134d6d62b0859653f9236ccc6293acf1a6513d",
    "timestamp": 1741595395062842,
    "pool_address": "0x34f0d9084319bbee03059449b1ee52d47512781052dabba55a9acf766bae3599",
    "token0_address": "0x000000000000000000000000000000000000000000000000000000000000000a",
    "token0_decimals": 8,
    "token0_name": "Move Coin",
    "token0_symbol": "MOVE",
    "token1_address": "0x3e4b7a9dda4dfe0807fc52999cb4823a00af352eed9fdf6bb5377306a6089c05",
    "token1_decimals": 8,
    "token1_name": "Galactic Movement",
    "token1_symbol": "GM"
  }
}

Query parameters

movement.app.pangea.foundation/v1/api/interest/v1/pools

  • chains: Filters the data by chain.
  • from_block: 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: 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.
  • pool_address__in: Filters the data by a list of pool_address.
  • token0_address__in: Filters the data by a list of token0_address.
  • token1_address__in: Filters the data by a list of token1_address.
  • tokens_address__in: Filters the data by a list of both token0_address and token1_address.