Ledger
Query ledger entries for a venture. Supports filtering by direction (in/out) and cursor-based pagination.
GET
/v1/ventures/:venture_id/ledgerGet ledger entries with optional direction filter and pagination.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| venture_id | string | Yes | Venture ID |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| direction | string | No | Filter: in, out, or all (default: all) |
| cursor | string | No | Pagination cursor from previous response |
| limit | number | No | Max entries per page (default: 20) |
Response (200 OK)json
{
"data": [
{
"id": "ledg_abc123",
"venture_id": "vent_abc123",
"direction": "in",
"amount": "100.00",
"token_symbol": "USDC",
"created_at": "2025-03-04T12:00:00Z"
}
],
"pagination": {
"cursor": "eyJpZCI6ImxlZGdfYWJjMTIzIn0=",
"has_more": true
}
}GET
/v1/ventures/:venture_id/inflowsAlias for ledger with direction=in. Get inflow entries only.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| cursor | string | No | Pagination cursor |
| limit | number | No | Max entries per page |
GET
/v1/ventures/:venture_id/outflowsAlias for ledger with direction=out. Get outflow entries only.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| cursor | string | No | Pagination cursor |
| limit | number | No | Max entries per page |