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 fundrawtransaction
如果交易没有输入,则将自动选择它们以满足其输出值。
它最多将添加一个更改输出到输出。
除非指定“ subtractfeefeefromoutputs”,否则不会修改现有的输出。
请注意,由于添加了/输出,可能需要在完成后签署的输入。
将不会签署添加的输入,使用SignRawTransactionWithKey或SignRawTransactionWithWallet。
请注意,所有现有的输入都必须具有以前的输出交易。
请注意,所选的所有输入都必须是标准形式,并且P2SH脚本必须使用ImportAddress或AddMultisigAddress(以计算费用)。
您可以通过检查ListUnSpent输出中的“可解决”字段来查看这种情况。
目前仅支持付费付费,Multisig和P2SH版本。
hexstring
- 字符串,需要
原始交易的十六进制字符串
options
- JSON对象,可选
为了向后兼容:传递真而不是对象将导致{includewatching':true}
iswitness
- 布尔值,可选,默认值=取决于启发式测试
交易十六进制是否是串行的证人交易。
如果不存在ISWITNESS,则将使用启发式测试来解码。
如果是真的,只会尝试证人的挑战。
如果是错误的,则将仅尝试非授权。
该布尔值应反映交易是否具有输入(例如完全有效的或链交易),如果是呼叫者的知道的话。
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": "fundrawtransaction", "params": ["hexstring", "", null], "id": "getblock.io"}'
{ "error": null, "id": "getblock.io", "result": "010000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff1b035025390485393661087ddf058133cfb60008694f6f417068647100000000020065cd1d0000000017a914875ff5ac568b44a58b7f71df71e6d8288725a9a7870000000000000000266a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf90120000000000000000000000000000000000000000000000000000000000000000000000000" }
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