Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get transactions of account #145

Open
dev-dantealighieri opened this issue Feb 6, 2024 · 1 comment
Open

get transactions of account #145

dev-dantealighieri opened this issue Feb 6, 2024 · 1 comment

Comments

@dev-dantealighieri
Copy link

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,
});
@igorls
Copy link
Member

igorls commented Feb 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants