v1

latestOpenAPI 3.1.0GPL 3.02026-07-131857173.1 KB
Admin

Manage config

Report on and edit the configuration of the TrueBlocks system. Corresponds to the <a href="/chifra/admin/#chifra-config">chifra config</a> command line.

get/config

Query parameters

mode'show' | 'edit'

either show or edit the configuration

pathsboolean

show the configuration paths for the system

dumpboolean

dump the configuration to stdout

chainstring

the chain to use

noHeaderboolean

suppress the header in the output

fmtstring

export format, one of [ txt | csv | json ]

Response

returns the requested data

Example response

{
  "clientVersion": "erigon/2021.09.2/linux-amd64/go1.16.3",
  "trueblocksVersion": "GHC-TrueBlocks//0.12.1-alpha-7ac3196d7-20210903",
  "rpcProvider": "http://localhost:23456",
  "configPath": "~/Library/Application Support/TrueBlocks/",
  "cachePath": "~/Library/Application Support/TrueBlocks/cache/",
  "indexPath": "~/Library/Application Support/TrueBlocks/unchained/",
  "isTesting": false,
  "isArchive": true,
  "isTracing": true,
  "hasEskey": true,
  "hasPinkey": true,
  "date": "2021-09-03 19:38:19 UTC"
}