Questions tagged [sendrawtransaction]

32 questions
5
votes
1 answer

What is the min relay min fee code -26?

What is this code ? 66 : min relay fee not met ( code - 26 ) I received this code after trying to send my rawtransaction.
Start85
  • 71
  • 1
  • 5
4
votes
2 answers

How to send bitcoin from an offline Bitcoin Core that doesn't have a synced balance?

I am setting up a cold wallet. How can I generate a signed raw transaction from bitcoin core wallet that controls some bitcoins? PS: I generated the wallet using getnewaddress in console from the bitcoin-qt GUI
3
votes
1 answer

Can't send raw transaction Bitcoin Core 0.19.1 - non-mandatory-script-verify-flag (Signature must be zero for failed CHECK(MULTI)SIG operation)

I wanted to send a raw testnet transaction and I was doing it like in the bitcoin documentation, but I still get this error: non-mandatory-script-verify-flag (Signature must be zero for failed CHECK(MULTI)SIG operation) (code 64) (code -26). What am…
3
votes
2 answers

Create a raw transaction and broadcast it to blockchain using bitcoin core

I have a address- n3xYQtxvVwpBPSbgGsGRdMWz1YTUjakiMV, amount that i want to send-1 BTC and i have a private key. How can i create a raw transaction using it and broadcast it to blockchain using bitcoin core. I have tried this command: bitcoin-cli…
2
votes
1 answer

How Bitcoin-Core does decide whether high fee during sendrawtransaction?

I am testing commands through Bitcoin testnet and Bitcoin Core. During the test, I intentionally attempted to create and broadcasts transactions by charging high fees.(1 BTC) During the final phase, sendrawtransaction blocked the progress with error…
2
votes
1 answer

Send raw transaction (have tx_hex) on litecoin testnet using api or module

I have raw data (tx_hex) for raw transaction, but I cant send it to litecoin tesnet using post request to testnet.litecore.api. If I insert tx_hex manually in the browser, the transaction is correctly sent. My code: request({ url:…
2
votes
3 answers

Trying to send bcc with bitcoin-qt but getting "16: mandatory-script-verify-flag-failed" - error

I'm trying to use the method from this reddit link to send a raw transaction to the bcc-network, but keep getting the error: "16: mandatory-script-verify-flag-failed (Script evaluated without error but finished with a false/empty top stack element)…
2
votes
1 answer

What does allowhighfees in sendrawtransaction actually does?

lets say. i have created a raw transaction with inputs = outputs aka setting 0 fees. so when i do bitcoin-cli sendrawtransaction 1 1 is for allowhighfees what it actually does ? if it increases fees ? then how much ? how much fees…
user10603
2
votes
1 answer

Where can I find the list of all possible sendrawtransaction RPC error codes & messages?

Where can I find the list of all possible sendrawtransaction RPC error codes & messages? Such as this: {"code":-22,"message":"TX decode failed. Make sure the tx has at least one input."}
1
vote
1 answer

Bitcoin Script: mandatory-script-verify-flag-failed Script failed an OP_EQUALVERIFY operation

I try to spend a P2SH transaction (in regtest) with a timelockscript of 200 blocks. I got the following error: mandatory-script-verify-flag-failed (Script failed an OP_EQUALVERIFY operation) (code 16) Unfortunately I can't find the error, as the…
1
vote
1 answer

About insufficient priority error

The input of UTXO transaction being used is 10 pieces, total 0.0082 BTC. Broadcasting the fee at 0.000012 BTC (sendrawtransaction), the following error occurs. insufficient priority Is the fee setting not good? I do not know the cause.
kogane
  • 11
  • 1
1
vote
1 answer

(Mastering Bitcoin) When sending a raw transaction, why is the receiver included in the details hash as a "send" transaction?

I'm working my way through Mastering Bitcoin. The author made a transaction to send 0.05 BTC from one address to another (http://chainquery.com/bitcoin-api/getrawtransaction/ae74538baa914f3799081ba78429d5d84f36a0127438e9f721dff584ac17b346/1) In the…
Huy
  • 195
  • 6
1
vote
1 answer

How to fetch the latest unspent transaction by an address using bitcoind?

I want to build a server, which provide following APIs: 1.Get balance by address. 2.Get latest unspent transaction. 3.broadcast the transaction. First by first, I know I can do above stuffes by blockchain and coinb, but I want to build my own…
Frank AK
  • 141
  • 9
1
vote
1 answer

Is the any workable testnet3 Bitcoin solution for creating, signing, broadcast a normal transaction using Golang?

Currently I'm trying to create, sign & broadcast bitcoin transaction using btcsuite. For start, I've already had testnet3 address & its associated privatekey for testing. However, hunting through the post and articles like…
1
vote
1 answer

64: non-mandatory-script-verify-flag while broadcasting P2WPKH Bech32 with specific inputs

Note: This happens with specific input, even though I've used the same code for other inputs and it works. I have created a raw transaction using the following unspent: Array ( [0] => Array ( [txid] =>…
1
2 3