Hi,
I made test address and private key and try to sent transaction on test net, but it shows error "absurdly-high-fee. Code:-26".
Sample code:var a_key = "cMoF2UjVmL1gUYBVMbY6YcBaTmApiU5Lqt5SnsWmZdwfngGyh3Hy"
var b_address = "muBfaVAj6JNzouYznzrXAErtFdezErui3V"
var tx = new bitcoin.TransactionBuilder(testnet)
var txId = '2d4b63d602f2c10394f1ea3ab294bfea54eb8c97e729156bbd568ddd6c2a4f06'
tx.addInput(txId, 0)
tx.addOutput(b_address, 1)
var privateKeyWIF = a_key
var keyPair = bitcoin.ECPair.fromWIF(privateKeyWIF,testnet)
tx.sign(0, keyPair)
console.log(tx.build().toHex())
Transaction:0100000001064f2a6cdd8d56bd6b1529e7978ceb54eabf94b23aeaf19403c1f202d6634b2d00000
0006a473044022078626375cd3c69d9044e650954f42c60c31f2b173026e031c9baa5b16173e8a1
02201b49b7dda678ed9b6f6ff3f4e34ea64a8f7e3852eb5dfd373baae51df8658938012103887c5
a740b7ac673791553c0fa9ccd4f30d01745c6c8c8547419d1ce0d15af36ffffffff010100000000
0000001976a91495ebe73faf808abafd5775717f99da37f14b4c2388ac00000000
Broadcast on testnetI tried on followings but all of those respond error(fee is too high).
https://live.blockcypher.com/btc-testnet/pushtx/https://testnet.blockexplorer.com/tx/sendhttps://blockr.io/tx/pushDoes someone have any idea to fix this issue?