datacash icon indicating copy to clipboard operation
datacash copied to clipboard

Transaction sending failing

Open FreeTrade opened this issue 7 years ago • 2 comments

Basic example generates following transaction - data: ["0x6d02","hello world"],

01000000011e1b52f4da233e921b99b1b156f6d76e2105539c4d8b376034ce300932bfa169010000006a47304402201f1ba5f9169d394f5ad1c7935147c985840c8487f765884d33eefb40151fbe110220403f7dbb0f285af1b4019dc8f6c2aec3c2e2bd6f6af582bf75c34f0b9dfc2a934121024e40f988cede264bc37f8dc04b03e74342e252be3143173e4cdef1aa893b522effffffff020000000000000000106a026d020b68656c6c6f20776f726c64c8000000000000001976a9145c7a23e14a81666beccd146b073672a40785b8e188ac00000000

but it is getting a 400(Bad Request) error back when trying to broadcast this trx. Is it generating invalid transactions?

I get a similar error when trying to broadcast it here - https://pool.viabtc.com/tools/BCH/broadcast/

FreeTrade avatar Jun 01 '18 11:06 FreeTrade

Hmm, bitcoin.com regards it as a dust transaction - have to set the fee up to 1000 sats to get it accepted.

FreeTrade avatar Jun 01 '18 11:06 FreeTrade

Actually I think it is not the trx fee that is too low - it's the change output it regards as dust, and won't accept the trx.

FreeTrade avatar Jun 02 '18 08:06 FreeTrade