coinbase / mesh-specifications

Specification files for the Mesh Blockchain Standard
Apache License 2.0
324 stars 92 forks source link

A separate pageable UTXO endpoint #42

Closed shaojunda closed 3 years ago

shaojunda commented 4 years ago

Is your feature request related to a problem? Please describe. In the document, https://www.rosetta-api.org/docs/models/AccountBalanceResponse.html suggests we put all unspent Coins owned by an account_identifier to coins field, but there may be a lot of unspent coins, so returning all unspent coins in one request may cause performance issues.

Describe the solution you'd like It might be better if there is a separate pageable UTXO endpoint to get unspent coins for that account.

Describe alternatives you've considered

n/a

Additional context

n/a