Post
Topic
Board Development & Technical Discussion
Merits 3 from 2 users
Re: bitcoin rpc createrawtransaction error
by
achow101
on 29/10/2019, 20:53:20 UTC
⭐ Merited by Foxpup (2) ,gmaxwell (1)
arg 2:
Code:
ADDR => 0.00005
ADDR => 0.00015000000000000001

Getting the following error: Request error: {"code":-3,"message":"Invalid amount"}

This code used to work around ~1 month ago and I'm wondering if anything has changed... any help is appreciated.
This shouldn't have ever worked. There are way too many decimal places in your second output. Bitcoin only goes down to 8 decimal places, anything beyond that is invalid.