package
Version:
v0.0.0-...-86f5c60
Opens a new window with list of versions in this module.
Published: Jun 25, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func WithEndpoint(endpoint string)
type AccountStakeInfo struct {
AccountID string `json:"account_id"`
UnstakedBalance string `json:"unstaked_balance"`
StakedBalance string `json:"staked_balance"`
CanWithdraw bool `json:"can_withdraw"`
}
type GetAccountsReq struct {
RequestType string `json:"request_type"`
AccountID string `json:"account_id"`
MethodName string `json:"method_name"`
ArgsBase64 string `json:"args_base64"`
Finality string `json:"finality"`
}
type GetAccountsResult struct {
Result []byte `json:"result"`
BlockHeight int `json:"block_height"`
BlockHash string `json:"block_hash"`
}
type Page struct {
FromIndex int `json:"from_index"`
Limit int `json:"limit"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.