Author @GeekRich
EOS has a lot of API services for querying the information, but most of them are not convenient or practical. For example, querying the account transaction record, which matches the huge demand for developers. Currently, EOSPark is the only platform that provides this service for developers. I recommend each developer to experience the service from EOSPark API. In addition, EOSPark always keeps communicating with developers to offer better and unique services. This article introduces the whole process of applying EOSPark API to inquire about the account transaction. Extremely easy and simple!
EOSPark API website https://eospark.com/openapiEOSPark
The API documentation https://developer.eospark.com/api-doc/zh/https/
After Clicking ‘Get Free API KEY ‘ and filling the mailbox, the new users can get the free API KEY. It‘s usually sent to your mailbox within a minute.
EOSPark API accepts GET requests, which can be easily and directly output results in the browser. The answer for ‘How to query account transaction record’ is written as follow:
https://api.eospark.com/api?module=account&action=get_account_related_trx_info&apikey= Fill in your API KEY&account = EOS account name to be queried &page=1&size=20
The transaction records found include in and out.
You also can specify the token when you query, like:
https://api.eospark.com/api?module=account&action=get_account_related_trx_info&apikey=fill in your KEY&account= EOS account name to be queried&page=1&size=20&symbol= token symbol&code= token contract account
such as inquiring EOS
https://api.eospark.com/api?module=account&action=get_account_related_trx_info&apikey= fill in your API KEY&account= EOS account name to be queried&page=1&size=20&symbol=EOS&code=eosio.token
Check the trading records of the eosio account directly in the Firefox browser:
block-end implementation reference (nodejs):