Get transaction events by account
GET/api/chain/tx_events_by_account/:account
Transactions an account sent (it is the signer) or received (it is the first argument), ordered by signer nonce. Each transaction's metadata.tx_event is sent or recv.
Paging: pass type=sent or type=recv and feed the returned cursor back as cursor_b58, or resume from a nonce with start_nonce. Without type both directions are merged and cursor is always null.
This route reads the same index as /api/chain/tx_by_filter: function only works together with contract or contract_b58, otherwise the page is empty.
Nodes that keep full history (ARCHIVALNODE=true or HISTORY_KEEP_EPOCHS=0; the public RPC hosts answer it) serve this route themselves. Other nodes forward it to an upstream node once they have pruned history, and answer 404 before that.
Request
Responses
- 200
One page of transactions