Documentation ¶
Index ¶
Constants ¶
View Source
const Handle = "semux"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Account ¶
type Account struct { Available blockatlas.Amount `json:"available"` Locked blockatlas.Amount `json:"locked"` Nonce string `json:"nonce"` PendingTransactionCount uint64 `json:"pendingTransactionCount"` TransactionCount uint64 `json:"transactionCount"` }
type Client ¶
type Client struct { BaseURL string // contains filtered or unexported fields }
func (*Client) GetAccount ¶
func (*Client) GetTxsOfAddress ¶
type GetAccountResponse ¶
type GetAccountResponse struct {
Result Account `json:"result"`
}
type GetAccountTransactionsResponse ¶
type GetAccountTransactionsResponse struct {
Result []Tx `json:"result"`
}
type Platform ¶
type Platform struct {
// contains filtered or unexported fields
}
func (*Platform) GetTxsByAddress ¶
func (p *Platform) GetTxsByAddress(address string) (blockatlas.TxPage, error)
type Tx ¶
type Tx struct { BlockNumber string `json:"blockNumber"` Data string `json:"data"` Fee blockatlas.Amount `json:"fee"` From string `json:"from"` Hash string `json:"hash"` Nonce string `json:"nonce"` Timestamp string `json:"timestamp"` To string `json:"to"` Type string `json:"type"` Value blockatlas.Amount `json:"value"` }
Click to show internal directories.
Click to hide internal directories.