由于已经不从事区块链相关项目,对疑惑的小伙伴提供一些帮助~~
#xff0c is no longer engaged in block chain-related projects; some help is given to confused little partners ~
背景:
Background #xff1a;
1.主要是对区块链离线交易进行utxo上链。
1. The utxo upper chain is mainly for transactions off the line of the block chain.
2.对usdt地址下的全部币进行汇集交易,单独由btc进行手续费支付
Convey all currency under the Usdt address & #xff0c; paid separately by btc
一、对于如何查看一个unspent 交易:?
i. For how to view an unspent transaction #xff1a?
1.调用钱包的 unspent接口
1. Unspent interface to call wallets
2.调用三方区块链浏览器的接口 例如:(blockchain : https://blockchain.info/unspent?active=35nNMpckrvuaryxFSiUd6jLvLGXJCWUyAY)
2. Interfaces to call triangular block chains such as xff1a; xff08; blockchain: https://blockchain.info/unspent?active= 35nNmpckrvaryxFSiUd6jLvLGXCWuyAY)
?
拿到钱包地址的unspentUTXO即可进行离线交易获取签名信息了?,直接上代码:
UnspentUTXO with wallet address allows offline transactions to obtain signature information? & #xff0c; direct access code & #xff1a;
UnspentUtxo:
Transaction:
获取OmniHex:
Get OmniHex:
? ? ?调用RPC: get_balance 、?omni_createpayload_simplesend 、?omni_createrawtx_opreturn
♪ Call RPC: get_balance, ♪omni_createpayload_simplesend, ♪omni_createrawtx_open
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论