Get Blend pool history
Path Parameters
Stellar account address
Blend pool contract address (starts with 'C'). Slug aliases such as fixed-v2 are not supported.
Query Parameters
Predefined range shortcut: 24h (1h buckets), 7d (4h buckets), or 30d
(1d buckets). An explicit interval overrides the preset's; combining
range with explicit from/to is rejected.
ISO 8601 start timestamp, inclusive. Raw (unbucketed) filter unless
interval is also given.
ISO 8601 end timestamp, inclusive. Raw (unbucketed) filter unless
interval is also given.
Reserved for resampling (e.g. "1m", "15m", "1h", "1d"). Currently
rejected; interval is the supported spelling.
Wall-clock bucket width. Switches this endpoint into time-bucketed
mode. Mutually exclusive with ledger_bucket/from_ledger/to_ledger.
Ledger bucket size (>= 1). Switches this endpoint into ledger-bucketed
mode over blend_position_snapshots.ledger. Requires from_ledger and
to_ledger. Mutually exclusive with interval/range/from/to.
int640 <= valueStart ledger for the ledger-bucketed read, inclusive. Requires ledger_bucket.
int640 <= valueEnd ledger for the ledger-bucketed read, inclusive. Requires ledger_bucket.
int640 <= valueGap-fill behavior for buckets with no snapshot. Requires an active
bucketed mode (interval, range, or ledger_bucket); locf requires
finite bounds on whichever axis is active.
Return snapshots at or before this ledger sequence number. Mutually exclusive with any bucketed mode.
int640 <= valueResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/users/string/positions/blend/string/history"{ "data": { "points": [ { "borrowed_usd": "string", "ledger": 0, "net_usd": "string", "supplied_usd": "string", "timestamp": "2019-08-24T14:15:22Z" } ], "pool_id": "string" }, "enrichment": { "assets": { "property1": { "decimals": 0, "price_source": null, "price_usd": "string", "symbol": "string", "tags": [ "string" ] }, "property2": { "decimals": 0, "price_source": null, "price_usd": "string", "symbol": "string", "tags": [ "string" ] } }, "contracts": { "property1": { "name": "string", "position_types": [ "collateral" ], "protocol": "string", "status": "active", "version": "string" }, "property2": { "name": "string", "position_types": [ "collateral" ], "protocol": "string", "status": "active", "version": "string" } } }, "meta": { "attribution_confidence": 0.1, "data_staleness_seconds": 0, "last_indexed_ledger": 0, "oracle_staleness_seconds": 0, "partial_result": true, "response_time_ms": 0, "sources": [ "soroban_rpc" ] }}