Admin
Manage config
Changed onReport 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
Request
- Base URLhttp://localhost:8080
- Authnone declared
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"
}Changes
- info
added the new optional
queryrequest parameterdump
- info
- warning
deleted the
queryrequest parameternoheader - info
added the new optional
queryrequest parameternoHeader
- warning