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 lockunspent
方法不允许
更新暂时无法消耗的输出列表。
临时锁定 (unlock=false) 或解锁 (unlock=true) 指定的交易输出。
如果在解锁时没有指定交易输出,则所有当前锁定的交易输出都被解锁。
使用比特币时,自动硬币选择不会选择锁定的交易输出。
手动选择的硬币会自动解锁。
锁只存储在内存中。节点以零锁定输出开始,当节点停止或失败时,锁定输出列表总是被清除(通过进程退出)。
另请参阅 listunspent 调用
unlock
- 布尔值,必填
是否解锁(真)或锁定(假)指定的交易
transactions
- json 数组,可选,默认=空数组
交易输出并在每个交易中输出 txid(字符串)vout(数字)。
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": "lockunspent", "params": [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