Arche Protocol Positions
Fetch position updates for versions 1095000
to 1100000
.
curl -s --location --request GET \
"https://movement.app.pangea.foundation/v1/api/arche/positions?chains=MOVEMENT&from_block=1095000&to_block=1100000" \
--header "Accept: application/jsonstream" \
--header "Accept-Encoding: gzip" --compressed \
--header "Authorization: Basic $PANGEA_AUTH" | jq
Response
{
...
{
"block_number": 1099734,
"timestamp": 1743610319482916,
"borrower": "0xa912e0f93ffbae24663c73cf55c8045a41112732a87295e68b8da0c3822f870b",
"collateral": "0x000000000000000000000000000000000000000000000000000000000000000a",
"collateral_amount": 300000000,
"borrow_amount": 18200,
"debt_share_rate": {
"numerator": 18200,
"denominator": 18225
},
"last_debt_share_updated": 1741375806,
"info": {
"principal_debt": 815114417,
"interest_debt": 3335691,
"total_interest_spread": 3313491,
"last_interest_timestamp": 1743610120,
"loan_to_value": {
"numerator": 33,
"denominator": 50
},
"annual_percentage_yield": {
"numerator": 13,
"denominator": 200
},
"interest_spread": {
"numerator": 1,
"denominator": 1
},
"liquidator_fee": {
"numerator": 1,
"denominator": 10
},
"max_borrowable_amount": 50000000000,
"max_borrowable_amount_whitelist": [],
"dust_threshold": 10000
},
"price": {
"magnitude": 41017764,
"exponent": -8,
"timestamp": 1743610313
},
"health_factor": {
"numerator": 81215172,
"denominator": 1828300
},
"liquidation": null,
"borrow_fee": {
"amount": {
"numerator": 0,
"denominator": 1
}
},
"liquidation_fee": {
"amount": {
"numerator": 1,
"denominator": 40
}
}
}
Query parameters
https://movement.app.pangea.foundation/v1/api/arche/positions?chains=MOVEMENT
chains
: Filters the data bychain
.from_block
: Filters the data by a startingversion
. As Move chains use a per-transaction versioned database, we useversion
interchangably withblock_number
and omit blocks altogether.to_block
: Filters the data by an endingversion
. As Move chains use a per-transaction versioned database, we useversion
interchangably withblock_number
and omit blocks altogether.