send passed amount using specific account
accountName: (string)
from accountaddressStr: (string)
to addressamount: (numeric)
send amount coincomment: (string)
not used, reserved for future usecommentTo: (string)
not used, reserved for future useTxID: (hex string)
the TxID for the created transaction
-32000
-13
Enter the wallet passphrase with walletpassphrase first-32603
transaction output amount exceeds maximum value-32603
balance is not enough,please deduct the service charge$ curl -sk -u "test:test" -X POST -H 'Content-Type: application/json' --data '{"jsonrpc":"1.0","method":"wallet_sendToAddressByAccount","params":["test", "Tmb1dCAB8ixNC6d2VtdCYZuhXBVPbnRVi7y", 0.999, "MEER", "", ""],"id":1}' http://127.0.0.1:8130/api |jq .
{
"jsonrpc": "2.0",
"id": 1,
"result": "cfd933e4590a3cfbcf94e9220c77834fe8a869414c51e3bd0ce5af23592e80f9"
}
© Copyright Qitmeer 2021.
This work is licensed under a Creative Commons Attribution 4.0 International License