Blend

Get Blend summary history

GET
/v1/users/{address}/positions/blend/summary/history

Path Parameters

address*string

Stellar account address

Query Parameters

as_of_ledger?|

Return the account summary as of this ledger: the latest stored snapshot at or before it. Mutually exclusive with the from_ledger/to_ledger range and with any bucketed mode.

Formatint64
Range0 <= value
from_ledger?|

Start ledger for a from→to range read, inclusive. Requires to_ledger when ledger_bucket is absent; bounds the bucketed ledger-axis read when ledger_bucket is present.

Formatint64
Range0 <= value
to_ledger?|

End ledger for a from→to range read, inclusive. Requires from_ledger when ledger_bucket is absent; bounds the bucketed ledger-axis read when ledger_bucket is present.

Formatint64
Range0 <= value
interval?|

Wall-clock bucket width. Switches this endpoint into time-bucketed mode; requires from and to. Mutually exclusive with ledger_bucket/from_ledger/to_ledger and with as_of_ledger.

from?|

ISO 8601 start timestamp, inclusive. Only meaningful with interval.

to?|

ISO 8601 end timestamp, inclusive. Only meaningful with interval.

ledger_bucket?|

Ledger bucket size (>= 1). Switches the existing from_ledger/to_ledger range into a bucketed ledger-axis read over position_summary_snapshots.ledger.

Formatint64
Range0 <= value
fill?|

Gap-fill behavior for buckets with no snapshot. Requires an active bucketed mode (interval or ledger_bucket); locf requires finite bounds on whichever axis is active.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/users/string/positions/blend/summary/history"
{  "data": {    "address": "string",    "points": [      {        "borrow_limit_pct": "string",        "borrowed_usd": "string",        "deposited_usd": "string",        "health_factor": "string",        "ledger": 0,        "net_apy": "string",        "supplied_usd": "string",        "timestamp": "2019-08-24T14:15:22Z"      }    ]  },  "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"    ]  }}