API Reference v3.0
- auth.v1
- API Reference
- ledger.v1
- GETShow server information
- GETGet information about a ledger
- GETList accounts from a ledger
- HEADCount the accounts from a ledger
- GETGet account by its address
- POSTAdd metadata to an account
- GETGet the mapping of a ledger
- PUTUpdate the mapping of a ledger
- POSTExecute a Numscriptdeprecated
- GETGet statistics from a ledger
- GETList transactions from a ledger
- POSTCreate a new transaction to a ledger
- HEADCount the transactions from a ledger
- GETGet transaction from a ledger by its ID
- POSTSet the metadata of a transaction by its ID
- POSTRevert a ledger transaction by its ID
- POSTCreate a new batch of transactions to a ledger
- GETGet the balances from a ledger's account
- GETGet the aggregated balances from selected accounts
- GETList the logs from a ledger
- GET
- ledger.v2
- payments.v1
- payments.v3
- search.v1
- webhooks.v1
- wallets.v1
- orchestration.v1
- orchestration.v2
- reconciliation.v1
ledger.v1
Show server information
GET
/
api
/
ledger
/
_info
Copy
Ask AI
curl --request GET \
--url http://localhost:55001/api/ledger/_info \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"data": {
"config": {
"storage": {
"driver": "<string>",
"ledgers": [
"<string>"
]
}
},
"server": "<string>",
"version": "<string>"
}
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Response
200
application/json
OK
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url http://localhost:55001/api/ledger/_info \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"data": {
"config": {
"storage": {
"driver": "<string>",
"ledgers": [
"<string>"
]
}
},
"server": "<string>",
"version": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.