zilliqa

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2019 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const Handle = "zilliqa"

Variables

This section is empty.

Functions

func Normalize

func Normalize(srcTx *Tx) (tx blockatlas.Tx)

Types

type Client

type Client struct {
	HTTPClient *http.Client
	BaseURL    string
	APIKey     string
}

func (*Client) GetTxsOfAddress

func (c *Client) GetTxsOfAddress(address string) ([]Tx, error)

type Platform

type Platform struct {
	// contains filtered or unexported fields
}

func (*Platform) Coin

func (p *Platform) Coin() coin.Coin

func (*Platform) GetTxsByAddress

func (p *Platform) GetTxsByAddress(address string) (blockatlas.TxPage, error)

func (*Platform) Handle

func (p *Platform) Handle() string

func (*Platform) Init

func (p *Platform) Init() error

type Tx

type Tx struct {
	Hash           string `json:"hash"`
	BlockHeight    uint64 `json:"blockHeight"`
	From           string `json:"from"`
	To             string `json:"to"`
	Value          string `json:"value"`
	Fee            string `json:"fee"`
	Timestamp      int64  `json:"timestamp"`
	Signature      string `json:"signature"`
	Nonce          uint64 `json:"nonce"`
	ReceiptSuccess bool   `json:"receiptSuccess"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL