Skip to content

services.blockfrost

services.blockfrost.enable

Whether to enable Blockfrost.

Type: boolean

Default: false

Example: true

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.package

Type: package

Default: <derivation blockfrost-backend-ryo>

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.group

Group to run blockfrost service as

Type: string

Default: "blockfrost"

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.settings

Freeform attrset that generates the JSON configuration file used by Blockfrost.

Type: JSON value

Default: { }

Example:

1
2
3
4
5
6
7
8
''
  {
    user = config.services.cardano-db-sync.postgres.user;
    port = config.services.cardano-db-sync.postgres.port;
    database = config.services.cardano-db-sync.postgres.database;
    host = config.services.cardano-db-sync.postgres.socketdir;
  }
''

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.settings.dbSync.database

Type: string

Default: "cdbsync"

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.settings.dbSync.host

Type: string

Default: "localhost"

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.settings.dbSync.maxConnections

Type: signed integer

Default: 10

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.settings.dbSync.port

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default: 5432

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.settings.dbSync.user

Type: string

Default: "cexplorer"

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.settings.network

Type: one of “mainnet”, “preprod”, “preview”, “testnet”, “sanchonet”

Default: "mainnet"

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.settings.server.debug

Type: boolean

Default: false

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.settings.server.listenAddress

Type: string

Default: "localhost"

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.settings.server.port

Type: 16 bit unsigned integer; between 0 and 65535 (both inclusive)

Default: 3000

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.settings.server.prometheusMetrics

Type: boolean

Default: false

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.settings.tokenRegistryUrl

Type: string

Default: "https://tokens.cardano.org"

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.stateDir

Type: path

Default: "/var/lib/blockfrost"

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix

services.blockfrost.user

User to run blockfrost service as

Type: string

Default: "blockfrost"

Declared by: - https://github.com/blockfrost/blockfrost-backend-ryo/tree/master/nixos-module.nix