Skip to content

endpoint to get transactions concerning account from chain #92

@thepiwo

Description

@thepiwo
  • GET /tx/:account: endpoint returning all transactions concerning account
    tx can be fetched from chainstate, find block, filter transactions
  • GET /tx/:account:?include_proof=true include merkle proof and block_hash in result, to get the proof fetch the block by hash, build the tx merkle tree, filter the transaction by hash and create the proof via https://github.com/aeternity/gb_merkle_trees/blob/dev/src/gb_merkle_trees.erl#L128

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions