Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
292 changes: 292 additions & 0 deletions btc.json
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,298 @@
],
"extensions": []
},
{
"enabled": true,
"collection_data": {
"api_interface": "jsonrpc",
"internal_path": "",
"type": "POST",
"add_on": "blockbook"
},
"apis": [
{
"name": "bb_getAddress",
"block_parsing": {
"parser_arg": [
"1",
"toHeight"
],
"parser_func": "PARSE_CANONICAL"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": false,
"stateful": 0
}
},
{
"name": "bb_getBalanceHistory",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": false,
"stateful": 0
}
},
{
"name": "bb_getBlock",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": false,
"stateful": 0
}
},
{
"name": "bb_getBlockHash",
"block_parsing": {
"parser_arg": [
"0"
],
"parser_func": "PARSE_BY_ARG"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": true,
"stateful": 0
},
"parsers": [
{
"parse_path": ".params.[0]",
"parse_type": "BLOCK_LATEST"
}
]
},
{
"name": "bb_getEstimateFee",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": false,
"stateful": 0
}
},
{
"name": "bb_getFeeStats",
"block_parsing": {
"parser_arg": [
"0"
],
"parser_func": "PARSE_BY_ARG"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": true,
"stateful": 0
},
"parsers": [
{
"parse_path": ".params.[0]",
"parse_type": "BLOCK_HASH"
},
{
"parse_path": ".params.[0]",
"parse_type": "BLOCK_LATEST"
}
]
},
{
"name": "bb_getMultiTickers",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": false,
"stateful": 0
}
},
{
"name": "bb_getRawBlock",
"block_parsing": {
"parser_arg": [
"0"
],
"parser_func": "PARSE_BY_ARG"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": true,
"stateful": 0
},
"parsers": [
{
"parse_path": ".params.[0]",
"parse_type": "BLOCK_HASH"
},
{
"parse_path": ".params.[0]",
"parse_type": "BLOCK_LATEST"
}
]
},
{
"name": "bb_getTickers",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": false,
"stateful": 0
}
},
{
"name": "bb_getTickersList",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": false,
"stateful": 0
}
},
{
"name": "bb_getTx",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": true,
"stateful": 0
}
},
{
"name": "bb_getTxSpecific",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": true,
"stateful": 0
}
},
{
"name": "bb_getUTXOs",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": false,
"stateful": 0
}
},
{
"name": "bb_getXPUB",
"block_parsing": {
"parser_arg": [
"1",
"toHeight"
],
"parser_func": "PARSE_CANONICAL"
},
"compute_units": 20,
"enabled": true,
"category": {
"deterministic": false,
"stateful": 0
}
},
{
"name": "bb_sendTransaction",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 10,
"timeout_ms": 10000,
"enabled": true,
"category": {
"deterministic": false,
"stateful": 1,
"hanging_api": true
}
}
],
"headers": [],
"inheritance_apis": [],
"parse_directives": [],
"verifications": [
{
"name": "enabled",
"parse_directive": {
"function_template": "{\"jsonrpc\":\"2.0\",\"method\":\"bb_getBlockHash\",\"params\":[\"0\"],\"id\":1}",
"function_tag": "VERIFICATION",
"result_parsing": {
"parser_arg": [
"0",
"blockHash"
],
"parser_func": "PARSE_CANONICAL"
},
"api_name": "bb_getBlockHash"
},
"values": [
{
"expected_value": "*"
}
]
}
],
"extensions": []
},
{
"enabled": true,
"collection_data": {
Expand Down
Loading