I am trying to create a tron transaction using trongrid APi. But when I do so, I get the following error:
{ "Error": "class org.tron.core.exception.ContractValidateException : Validate TransferContract error, no OwnerAccount." }
There is the api: https://developers.tron.network/reference/createtransaction
There is the curl command:
curl --request POST \
--url https://api.shasta.trongrid.io/wallet/createtransaction \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"to_address": "41e9d79cc47518930bc322d9bf7cddd260a0260a8d",
"owner_address": "415c543dca23f94f3e3db585368cb070204efeca0f",
"amount": 100000
}
'