GET
/
api
/
ledger
/
v2
/
{ledger}
/
volumes
curl --request GET \
  --url http://localhost:55001/api/ledger/v2/{ledger}/volumes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "cursor": {
    "pageSize": 15,
    "hasMore": false,
    "previous": "YXVsdCBhbmQgYSBtYXhpbXVtIG1heF9yZXN1bHRzLol=",
    "next": "",
    "data": [
      {
        "account": "<string>",
        "asset": "<string>",
        "input": 123,
        "output": 123,
        "balance": 123
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

ledger
string
required

Name of the ledger.

Example:

"ledger001"

Query Parameters

pageSize
integer

The maximum number of results to return per page.

Required range: 1 <= x <= 1000
cursor
string

Parameter used in pagination requests. Maximum page size is set to 15. Set to the value of next for the next page of results. Set to the value of previous for the previous page of results. No other parameters can be set when this parameter is set.

Example:

"aHR0cHM6Ly9nLnBhZ2UvTmVrby1SYW1lbj9zaGFyZQ=="

endTime
string
startTime
string
insertionDate
boolean

Use insertion date instead of effective date

groupBy
integer

Group volumes and balance by the level of the segment of the address

Required range: 0 <= x <= 1000

Body

application/json · object

Response

200
application/json

OK

The response is of type object.