Skip to content

UtxoRPC

The UtxoRPC (U5C) source fetches blocks over gRPC from a Dolos node or a hosted endpoint like Demeter. It’s a good fit when you’d rather consume a managed data service than run and maintain a Cardano node yourself.

Configuration

daemon.toml
[source]
type = "U5C"
url = "https://<hostname>"
use_parsed_blocks = false # optional
[source.metadata] # optional
"key" = "value"
  • type (required): the literal value U5C.
  • url (required): the gRPC URL of the Dolos/U5C endpoint.
  • use_parsed_blocks (optional, default = false): parse blocks into structured records directly in the source, instead of emitting raw CBOR.
  • [source.metadata] (optional): a key-value map added to the gRPC connection metadata — useful for API keys and similar headers.

Examples

Connecting to a hosted preprod endpoint on Demeter, authenticating with an API key:

daemon.toml
[source]
type = "U5C"
url = "https://preprod.utxorpc-v0.demeter.run"
[source.metadata]
"dmtr-api-key" = "YOUR DEMETER API KEY"