FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Demo Request
Other
TEXT MESSAGE
0/300
📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests
Method: POST importpubkey
方法不允许
添加一个公钥(十六进制),可以像在钱包中一样查看,但不能用于消费。需要一个新的钱包备份。
提示使用 importmulti 导入多个公钥。
注意如果重新扫描为真,此调用可能需要一个多小时才能完成,在此期间,其他 rpc 调用可能会报告导入的公钥存在但相关交易仍然丢失,导致暂时不正确/虚假余额和未花费输出,直到重新扫描完成。
说明 使用“getwalletinfo”查询扫描进度。
pubkey
- 字符串,必填
十六进制编码的公钥
label
- 字符串,可选,默认=””
可选标签
rescan
- 布尔值,可选,默认=真
重新扫描钱包进行交易
curl --location --request POST 'https://bch.getblock.io/mainnet/' --header 'x-api-key: YOUR-API-KEY' --header 'Content-Type: application/json' --data-raw '{"jsonrpc": "2.0", "method": "importpubkey", "params": [null, null, null], "id": "getblock.io"}'
{ "result": "null", "id": "getblock.io", "status_code": 405, "message": "Method not allowed" }
POST getbestblockhash
POST getblock
POST getblockchaininfo
POST getblockcount
POST getblockhash
POST getblockheader
POST getblockstats
POST getchaintips
POST getchaintxstats
POST getdifficulty
POST getfinalizedblockhash
POST getmempoolancestors
POST getmempooldescendants
POST getmempoolentry
POST getmempoolinfo
POST getrawmempool
POST gettxout
POST gettxoutproof
POST preciousblock
POST getmemoryinfo
POST getrpcinfo
POST help
POST uptime
POST getblocktemplate
POST getmininginfo
POST getnetworkhashps
POST combinepsbt
POST combinerawtransaction
POST converttopsbt
POST createpsbt
POST createrawtransaction
POST decodepsbt
POST decoderawtransaction
POST decodescript
POST finalizepsbt
POST fundrawtransaction
POST getrawtransaction
POST sendrawtransaction
POST signrawtransactionwithkey
POST testmempoolaccept
POST validateaddress
POST verifymessage
POST finalizeblock
POST getdsproof
POST getdsprooflist
POST gettxoutsetinfo
POST invalidateblock
POST parkblock
POST pruneblockchain
POST reconsiderblock
POST savemempool
POST scantxoutset
POST unparkblock
POST verifychain
POST verifytxoutproof
POST logging
POST stop
POST generate
POST generatetoaddress
POST getblocktemplatelight
POST prioritisetransaction
POST submitblock
POST submitblocklight
POST submitheader
POST addnode
POST clearbanned
POST disconnectnode
POST getaddednodeinfo
POST getconnectioncount
POST getexcessiveblock
POST getnettotals
POST getnetworkinfo
POST getnodeaddresses
POST getpeerinfo
POST listbanned
POST ping
POST setban
POST setexcessiveblock
POST setnetworkactive
POST createmultisig
POST estimatefee
POST signmessagewithprivkey
POST abortrescan
POST addmultisigaddress
POST createwallet
POST dumpprivkey
POST dumpwallet
POST encryptwallet
POST getaddressesbylabel
POST getaddressinfo
POST getbalance
POST getbalances
POST getnewaddress
POST getrawchangeaddress
POST getreceivedbyaddress
POST getunconfirmedbalance
POST getwalletinfo
POST importaddress
POST importmulti
POST importprivkey
POST importprunedfunds
POST importpubkey
POST importwallet
POST keypoolrefill
POST listaddressgroupings
POST listlabels
POST listlockunspent
POST listsinceblock
POST listtransactions
POST listunspent
POST listwalletdir
POST listwallets
POST loadwallet
POST lockunspent
POST removeprunedfunds
POST rescanblockchain
POST sendmany
POST setlabel
POST settxfee
POST setwalletflag
POST signmessage
POST signrawtransactionwithwallet
POST unloadwallet
POST walletcreatefundedpsbt
POST walletprocesspsbt
POST sethdseed
POST sendtoaddress
Nodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitPartnerships
Media KitFeel Free to Reach Out Anytime! 👋
FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Demo Request
Other
TEXT MESSAGE
0/300
KakaoTalk