尝试使用python https://github.com/petertodd/python-bitcoinlib发送事务
我们调试了rest,该API将事务发布到服务于chain.so,并且它是成功的,我们还可以在这里看到这个TX:
https://chain.so/tx/BTCTEST/98d9f2bc3f65b0ca81f775f43c2f48b6ffe29fcfa06779c7ab299709ea7fc639
DST地址是我们的BitPay测试网钱包,SRC地址来自python,使用wallet.get_key()
另外,我们甚至在其他服务上也找不到它。
此外,我们也试图将事务发布到bitaps.com,但我们也看不到它。
也许有人可以给出一个线索,看看哪里是错的,为什么对chain.so的信心是0%。也许你可以推荐其他服务?
代码非常简单:
wallet = wallet_create_or_open(name='MainWallet', network='testnet', witness_type='segwit')
transaction = wallet.send_to(
to_address=body.address,
amount=decimal_to_satoshi(body.amount),
fee='low', offline=True,
)
transaction.send(offline=False)发布于 2022-07-12 19:57:09
发现了一个问题:
Raw hex into https://tbtc.bitaps.com/broadcast but there is an error it shows "Broadcast transaction failed: min relay fee not met, 111 < 141 (code 66)"
Based on the error it seems that I am sending tBTC with a below minimum fee.https://stackoverflow.com/questions/72831010
复制相似问题