⚡ We welcome businesses to test our enterprise-grade service

btg
Bitcoin Gold (BTG)

Method: POST importprunedfunds

dropdown

方法 RPC importprunedfunds 例如 Bitcoin Gold (BTG)

POST importprunedfunds

Method not allowed

进口资金没有扫描。 相应的地址或脚本以前必须包含在钱包中。 针对修剪的钱包。 最终用户有责任进口其他交易,这些交易随后在区块链中包括交易的点之后将导入的输出或恢复。

Parameters

rawtransaction - 字符串,需要

十六进制的原始交易,资助钱包中已经存在的地址

txoutproof - 字符串,需要

包含交易的GetTxOutProof的HEX输出

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": "importprunedfunds",
"params": [null, null],
"id": "getblock.io"}'


Response

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