explorer

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	client.Request
}

func (Client) GetMessagesByAddress

func (c Client) GetMessagesByAddress(address string, pageSize int) (res Response, err error)

type Message

type Message struct {
	Cid       string  `json:"cid"`
	Height    uint64  `json:"height"`
	Timestamp int64   `json:"timestamp"`
	From      string  `json:"from"`
	To        string  `json:"to"`
	Nonce     uint64  `json:"nonce"`
	Value     string  `json:"value"`
	Method    string  `json:"method"`
	Receipt   Receipt `json:"receipt"`
}

type Receipt

type Receipt struct {
	ExitCode int `json:"exitCode"`
}

type Response

type Response struct {
	TotalCount int       `json:"totalCount"`
	Messages   []Message `json:"messages"`
}

Jump to

Keyboard shortcuts

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