Skip to content

Commit

Permalink
Add offset & limit
Browse files Browse the repository at this point in the history
  • Loading branch information
kacpersaw committed May 22, 2024
1 parent 005de86 commit af2bda6
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 29 deletions.
74 changes: 46 additions & 28 deletions release/go/spacemesh/v2alpha1/account.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion spacemesh/v2alpha1/account.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ message AccountState {
}

message AccountRequest {
repeated string address = 1; // bech32 format including HRP
repeated string address = 1;
uint64 offset = 5; // adjusts the starting point for data
uint64 limit = 6; // specifies max number of items to fetch// bech32 format including HRP
};

message AccountList {
Expand Down

0 comments on commit af2bda6

Please sign in to comment.