Data node
The platform can connect to a Dolos data node to serve blockchain query endpoints such as blocks, transactions, accounts, addresses, assets, pools, and more. Without a data node configured, these endpoints will not be available.
Dolos provides indexed blockchain data over HTTP. The cardano-node is still required for node synchronization and health monitoring.
Configuration
To connect to a Dolos instance, use the --data-node flag:
blockfrost-platform --node-socket-path /path/to/node.socket \
--data-node http://localhost:3010You can also set a custom timeout for data node requests (default is 30 seconds):
blockfrost-platform --node-socket-path /path/to/node.socket \
--data-node http://localhost:3010 \
--data-node-timeout-sec 60The --init wizard will also prompt you for the data node URL during configuration file generation.
Supported endpoints
The following endpoints work without a data node:
GET /— root health endpointGET /metrics— Prometheus metrics (unless disabled with--no-metrics)GET /health— health checkGET /health/clock— server timePOST /tx/submit— transaction submissionGET /genesis— network genesis parameters
When a data node is connected, the following endpoints become available:
Accounts
GET /accounts/{stake_address}GET /accounts/{stake_address}/rewardsGET /accounts/{stake_address}/delegationsGET /accounts/{stake_address}/registrationsGET /accounts/{stake_address}/addresses
Addresses
GET /addresses/{address}/utxosGET /addresses/{address}/utxos/{asset}GET /addresses/{address}/transactions
Assets
GET /assets/{asset}
Blocks
GET /blocks/latestGET /blocks/latest/txsGET /blocks/{hash_or_number}GET /blocks/{hash_or_number}/nextGET /blocks/{hash_or_number}/previousGET /blocks/{hash_or_number}/txsGET /blocks/slot/{slot_number}
Epochs
GET /epochs/latest/parametersGET /epochs/{epoch_number}/parameters
Metadata
GET /metadata/txs/labelsGET /metadata/txs/labels/{label}GET /metadata/txs/labels/{label}/cbor
Network
GET /networkGET /network/eras
Pools
GET /pools/extendedGET /pools/{pool_id}/delegators
Governance
GET /governance/dreps/{drep_id}
Transactions
GET /txs/{hash}GET /txs/{hash}/utxosGET /txs/{hash}/stakesGET /txs/{hash}/delegationsGET /txs/{hash}/withdrawalsGET /txs/{hash}/mirsGET /txs/{hash}/pool_updatesGET /txs/{hash}/pool_retiresGET /txs/{hash}/metadataGET /txs/{hash}/metadata/cborGET /txs/{hash}/redeemersGET /txs/{hash}/cbor
Docker Compose
When using Docker Compose, the platform automatically connects to the Dolos container:
dolos:
image: ghcr.io/txpipe/dolos
ports:
- 3010:3010
blockfrost-platform:
command:
- --data-node
- http://dolos:3010