Documentation ¶
Index ¶
- Constants
- func NormalizeTokenTransfer(t *TokenTransfer) (tx blockatlas.Tx, ok bool)
- func NormalizeTransfer(receipt *TransferReceipt, clause *Clause) (tx blockatlas.Tx, ok bool)
- type Clause
- type Client
- type Meta
- type Platform
- type Receipt
- type TokenTransfer
- type TokenTransferTxs
- type TransferReceipt
- type TransferTx
- type Tx
Constants ¶
View Source
const Handle = "vechain"
View Source
const VeThorContract = "0x0000000000000000000000000000456E65726779"
View Source
const VeThorContractLow = "0x0000000000000000000000000000456e65726779"
Variables ¶
This section is empty.
Functions ¶
func NormalizeTokenTransfer ¶
func NormalizeTokenTransfer(t *TokenTransfer) (tx blockatlas.Tx, ok bool)
func NormalizeTransfer ¶
func NormalizeTransfer(receipt *TransferReceipt, clause *Clause) (tx blockatlas.Tx, ok bool)
Types ¶
type Client ¶
func (*Client) GetAddressTransactions ¶
func (c *Client) GetAddressTransactions(address string) (TransferTx, error)
func (*Client) GetTokenTransferTransactions ¶
func (c *Client) GetTokenTransferTransactions(address string) (TokenTransferTxs, error)
func (*Client) GetTransactionReceipt ¶
func (c *Client) GetTransactionReceipt(cn chan<- TransferReceipt, id string)
type Platform ¶
type Platform struct {
// contains filtered or unexported fields
}
func (*Platform) GetAddressTransactions ¶
func (p *Platform) GetAddressTransactions(address string, token string) []blockatlas.Tx
func (*Platform) RegisterRoutes ¶
type TokenTransfer ¶
type TokenTransferTxs ¶
type TokenTransferTxs struct {
TokenTransfers []TokenTransfer `json:"tokenTransfers"`
}
type TransferReceipt ¶
type TransferTx ¶
type TransferTx struct {
Transactions []Tx `json:"transactions"`
}
Click to show internal directories.
Click to hide internal directories.