Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Moves transaction for a block to a "transactions" route #42

Merged
merged 1 commit into from Apr 7, 2020

Conversation

madninja
Copy link
Member

@madninja madninja commented Apr 7, 2020

This PR:

  • Removes the transactions field from v1/blocks/:height and v1/blocks/hash/:hash. These routes just return the top level block descriptor but is no longer paged since there are no longer any transactions being returned.
  • Adds transaction list routes to retrieve paged responses for transactions for a block based on either height or hash. The new routes are:v1/blocks/:height/transactions and v1/blocks/hash/:hash/transactions

@madninja madninja merged commit b94da1e into master Apr 7, 2020
@madninja madninja deleted the madninja/block_transactions branch April 7, 2020 19:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant