Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ABCIResponse ¶
type ABCIResponse struct {
Result ABCIResult `json:"result"`
}
type ABCIResult ¶
type ABCIResult struct {
Response Response `json:"response"`
}
type DelegationResponse ¶
type DelegationResponse struct {
DelegationResponses []struct {
Delegation struct {
DelegatorAddress string `json:"delegator_address"`
ValidatorAddress string `json:"validator_address"`
Shares string `json:"shares"`
} `json:"delegation"`
Balance struct {
Denom string `json:"denom"`
Amount string `json:"amount"`
} `json:"balance"`
} `json:"delegation_responses"`
Pagination struct {
NextKey interface{} `json:"next_key"`
Total string `json:"total"`
} `json:"pagination"`
}
type TxByHeightResponse ¶
type TxByHeightResponse struct {
Result TxByHeightResult `json:"result"`
}
type TxByHeightResult ¶
type TxByHeightResult struct {
Txs []TxForTxByHeight `json:"txs"`
TotalCount string `json:"total_count"`
}
type TxForTxByHeight ¶
type TxForTxByHeight struct {
Hash string `json:"hash"`
Height string `json:"height"`
Index int `json:"index"`
TxResult struct {
Code int `json:"code"`
Data string `json:"data"`
Log string `json:"log"`
Info string `json:"info"`
GasWanted string `json:"gas_wanted"`
GasUsed string `json:"gas_used"`
Events []struct {
Type string `json:"type"`
Attributes []struct {
Key string `json:"key"`
Value string `json:"value"`
Index bool `json:"index"`
} `json:"attributes"`
} `json:"events"`
Codespace string `json:"codespace"`
} `json:"tx_result"`
Tx string `json:"tx"`
}
type TxHashResponse ¶
type TxHashResponse struct {
TxResponse TxResponse `json:"tx_response"`
}
type TxResponse ¶
type WebSocketTx ¶
type WebSocketTx struct {
Jsonrpc string `json:"jsonrpc"`
Id string `json:"id"`
Result struct {
Query string `json:"query"`
Data struct {
Type string `json:"type"`
Value struct {
TxResult struct {
Height string `json:"height"`
Tx string `json:"tx"`
Result struct {
Code int `json:"code,omitempty"`
Log string `json:"log"`
GasWanted string `json:"gas_wanted"`
GasUsed string `json:"gas_used"`
Codespace string `json:"codespace"`
} `json:"result"`
} `json:"TxResult"`
} `json:"value"`
} `json:"data"`
Events struct {
TmEvent []string `json:"tm.event"`
TxHash []string `json:"tx.hash"`
TxHeight []string `json:"tx.height"`
} `json:"events"`
} `json:"result"`
}
Click to show internal directories.
Click to hide internal directories.