There is also eostracker API that provides more convenient data format than nodeos
.
For your request you can use an url like this: https://api.eostracker.io/accounts/ha4tmnbqgige/actions
ha4tmnbqgige
- target account name
Site | API | Source (can be referred as documentation for API methods)
Of course,
eosjs
provides methodgetActions
. Here's an example:const Eos = require('eosjs'); const api = new Eos({ httpEndpoint: 'https://eos.greymass.com', chainId: 'aca376f206b8fc25a6ed44dbdc66547c36c6c33e3a119ffbeaef943642f0e906', }); api.getActions('wangruixiwww').then(console.log);
You can send direct request to some API like this