-
Notifications
You must be signed in to change notification settings - Fork 3.6k
How to get transaction list by json rpc api ? #2570
Comments
Can you get transactions on your account? cleos get transactions testaccount Why do I get such a error |
call 'cleos get transactions -j testaccount' , it will give your result in json |
Instead of calling
EOSIO's RPC documentation didn't document this interface, but since
Lines 1063 to 1074 in 4cbf721
This block of code reads the transaction id passed to The other thing noteworthy is, each RPC interface have different endpoint. For example, |
@chengevo is correct here. However, in the latest version account_history_api is deprecated and is replaced by history_api. With history_api, it will be like this
|
To anyone coming back to read this in the future, this RPC method has been changed again, where the parameter is now
|
curl https://proxy.eosnode.tools/v1/history/get_transaction \
-X POST -d '{"id":"5781aa1178a6b6d8798eee8fe72c5a799271ae74737e43a0a57eef27ce9b2e55"}' change the |
How to get transaction list by json rpc api ?Thanks!
The text was updated successfully, but these errors were encountered: