Skip to content

Commit

Permalink
feat: support mercury RPC get_balance extra (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
fjchen7 authored Oct 14, 2022
1 parent 23b5642 commit 54c096e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mercury/model/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ type GetAccountInfoPayload struct {
}

type GetBalancePayload struct {
AssetInfos []*AssetInfo `json:"asset_infos"`
TipBlockNumber uint64 `json:"tip_block_number,omitempty"`
Item *Item `json:"item"`
AssetInfos []*AssetInfo `json:"asset_infos"`
TipBlockNumber uint64 `json:"tip_block_number,omitempty"`
Item *Item `json:"item"`
Extra *ExtraFilterType `json:"extra,omitempty"`
}

type GetBlockInfoPayload struct {
Expand Down

0 comments on commit 54c096e

Please sign in to comment.