FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Demo Request
Other
TEXT MESSAGE
0/300
⚡ We welcome businesses to test our enterprise-grade service
Method: POST importaddress
Method not allowed
添加一个地址或脚本(在十六进制中),可以看好像它在您的钱包中,但不能用于花费。 需要一个新的钱包备份。
请注意,如果Rescan为真,则此通话可能需要一个多小时才能完成,在此期间,其他RPC呼叫可能会报告存在导入的地址,但仍缺少相关的交易,导致暂时不正确/虚假余额和无限额的输出,直到Rackan完成。
如果您有完整的公钥,则应致电ImportPubkey而不是此。
提示使用ImportMulti导入多个地址。
请注意,如果您以十六进制形式导入非标准的原始脚本,则将发送给它的输出将被视为更改,并且不会在许多RPC中显示。
注意使用“ getwalletinfo”查询扫描进度。
address
- 字符串,需要
比特币地址(或十六进制编码的脚本)
label
- 字符串,可选,默认=””
可选标签
rescan
- 布尔值,可选,默认值= true
解放交易钱包
p2sh
- 布尔值,可选,默认值= false
还添加脚本的P2SH版本
curl --location --request POST 'https://grs.getblock.io/mainnet/' \ --header 'x-api-key: YOUR-API-KEY' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "importaddress", "params": [null, null, null, null], "id": "getblock.io"}'
{ "result": "null", "id": "getblock.io", "status_code": 405, "message": "Method not allowed" }
POST getmempoolentry
POST getmempooldescendants
POST gettxoutproof
POST getrawmempool
POST preciousblock
POST getmempoolinfo
POST getmempoolancestors
POST getdifficulty
POST getchaintxstats
POST getchaintips
POST getblockheader
POST getblockstats
POST gettxout
POST getblockhash
POST getblockcount
POST getblock
POST getblockchaininfo
POST getbestblockhash
POST getblockfilter
POST getmemoryinfo
POST getrpcinfo
POST help
POST uptime
POST getblocktemplate
POST getmininginfo
POST getnetworkhashps
POST analyzepsbt
POST combinepsbt
POST combinerawtransaction
POST converttopsbt
POST createpsbt
POST createrawtransaction
POST decodepsbt
POST decoderawtransaction
POST decodescript
POST finalizepsbt
POST fundrawtransaction
POST getrawtransaction
POST joinpsbts
POST sendrawtransaction
POST signrawtransactionwithkey
POST testmempoolaccept
POST utxoupdatepsbt
POST deriveaddresses
POST estimatesmartfee
POST getindexinfo
POST validateaddress
POST verifymessage
POST gettxoutsetinfo
POST pruneblockchain
POST savemempool
POST scantxoutset
POST verifychain
POST verifytxoutproof
POST logging
POST stop
POST generatetodescriptor
POST generatetoaddress
POST generateblock
POST prioritisetransaction
POST submitblock
POST submitheader
POST addnode
POST clearbanned
POST disconnectnode
POST getaddednodeinfo
POST getconnectioncount
POST getnettotals
POST getnetworkinfo
POST getnodeaddresses
POST getpeerinfo
POST listbanned
POST ping
POST setban
POST setnetworkactive
POST createmultisig
POST signmessagewithprivkey
POST abandontransaction
POST abortrescan
POST addmultisigaddress
POST backupwallet
POST bumpfee
POST createwallet
POST dumpprivkey
POST dumpwallet
POST encryptwallet
POST getaddressesbylabel
POST getaddressinfo
POST getbalance
POST getbalances
POST getnewaddress
POST getrawchangeaddress
POST getreceivedbyaddress
POST getreceivedbylabel
POST gettransaction
POST getunconfirmedbalance
POST getwalletinfo
POST importaddress
POST importdescriptors
POST importmulti
POST importprivkey
POST importprunedfunds
POST importpubkey
POST importwallet
POST keypoolrefill
POST listaddressgroupings
POST listlabels
POST listlockunspent
POST listreceivedbyaddress
POST listsinceblock
POST listtransactions
POST listunspent
POST listwalletdir
POST listwallets
POST loadwallet
POST lockunspent
POST psbtbumpfee
POST removeprunedfunds
POST rescanblockchain
POST send
POST sendmany
POST setlabel
POST settxfee
POST setwalletflag
POST signmessage
POST signrawtransactionwithwallet
POST unloadwallet
POST upgradewallet
POST walletcreatefundedpsbt
POST walletlock
POST walletpassphrase
POST walletpassphrasechange
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