hyperion-history-api
hyperion-history-api copied to clipboard
get transactions of account
i want to get transactions of an account instead of actions but your api seems not supporting this, is there a work around for this?
I am currently fetching actions of an account, but this is not what i want, i want to get last N transactions of account with offset
const result = await this.indexerRequest(EOS_INDEXER_API.V2.GET_ACTIONS, {
params: {
account: address,
limit: limit,
skip: offset,
},
method: GET_METHOD,
});
Hyperion was designed to store only actions, but they include the transaction id on each of them. If you want to get only the root actions of each transaction you could use a filter like /v2/history/get_actions?action_ordinal=1