types

package
v1.114.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockResult

type BlockResult struct {
	Jsonrpc string     `json:"jsonrpc"`
	ID      string     `json:"id"`
	Result  itemResult `json:"result"`
}

type QueryResult

type QueryResult struct {
	Result struct {
		Response struct {
			Value string `json:"value"`
		} `json:"response"`
	} `json:"result"`
}

type RPCTxSearch

type RPCTxSearch struct {
	Jsonrpc string `json:"jsonrpc"`
	ID      string `json:"id"`
	Result  struct {
		Txs []struct {
			Hash   string `json:"hash"`
			Height string `json:"height"`
			Tx     string `json:"tx"`
		} `json:"txs"`
		TotalCount string `json:"total_count"`
	} `json:"result"`
}

type SocketTxfr

type SocketTxfr struct {
	Stream string `json:"stream"`
	Data   struct {
		EventType   string `json:"e"`
		EventHeight int    `json:"E"`
		Hash        string `json:"H"`
		Memo        string `json:"M"`
		FromAddr    string `json:"f"`
		T           []struct {
			ToAddr string `json:"o"`
			Coins  []struct {
				Asset  string `json:"a"`
				Amount string `json:"A"`
			} `json:"c"`
		} `json:"t"`
	} `json:"data"`
}

type Validators

type Validators struct {
	BlockHeight int64 `json:"block_height"`
}

Jump to

Keyboard shortcuts

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