Post
Topic
Board Development & Technical Discussion
Topic OP
bitcoin rpc createrawtransaction error
by
lib3rat0r
on 29/10/2019, 20:35:09 UTC
Hello everyone,

I am calling bitcoin RPC createrawtransaction command with the following args:

arg 1:
Code:
[{"txid":"TXID","vout":19,"address":"ADDR","label":"","scriptPubKey":"PUB_KEY","amount":0.0002,"confirmations":139242,"spendable":true,"solvable":true,"desc":"...","safe":true,"priority":27.8484}]

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.