⚡ We welcome businesses to test our enterprise-grade service

btg
Bitcoin Gold (BTG)

Method: POST verifytxoutproof

dropdown

方法 RPC verifytxoutproof 例如 Bitcoin Gold (BTG)

POST verifytxoutproof

Method not allowed

验证证明指向块中的交易,返回其承诺的交易并丢弃RPC错误,如果块不在我们的最佳链中

Parameters

proof - 字符串,需要

由GetTxOutProffordprove产生的十六进制编码的证明

Request

curl --location --request POST 'https://btg.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "verifytxoutproof",
"params": [null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}