Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge rc170 into rc17next1 2024.05.08 #302

Merged
merged 3 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions data/api/apiAccountResponse.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ package api

// AccountResponse is the data transfer object to be returned on API when requesting an address data
type AccountResponse struct {
Address string `json:"address"`
Nonce uint64 `json:"nonce"`
Balance string `json:"balance"`
Username string `json:"username"`
Code string `json:"code"`
CodeHash []byte `json:"codeHash"`
RootHash []byte `json:"rootHash"`
CodeMetadata []byte `json:"codeMetadata"`
DeveloperReward string `json:"developerReward"`
OwnerAddress string `json:"ownerAddress"`
Address string `json:"address"`
Nonce uint64 `json:"nonce"`
Balance string `json:"balance"`
Username string `json:"username"`
Code string `json:"code"`
CodeHash []byte `json:"codeHash"`
RootHash []byte `json:"rootHash"`
CodeMetadata []byte `json:"codeMetadata"`
DeveloperReward string `json:"developerReward"`
OwnerAddress string `json:"ownerAddress"`
Pairs map[string]string `json:"pairs,omitempty"`
}
1 change: 1 addition & 0 deletions data/api/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ type AccountQueryOptions struct {
BlockHash []byte
BlockRootHash []byte
HintEpoch core.OptionalUint32
WithKeys bool
}

// BlockQueryOptions holds options for block queries
Expand Down
Loading