node

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockData

type BlockData struct {
	BlockHash   string `json:"blockHash"`
	BlockNumber int64  `json:"blockNumber"`

	ParentBlockHash string `json:"parentBlockHash"`

	BlockSize int64 `json:"blockSize"`

	BlockTime int64 `json:"blockTime"`

	Author string `json:"author"`

	Transactions []*TransactionData `json:"transactions"`
}

func (*BlockData) GetEncryptionValue

func (f *BlockData) GetEncryptionValue() string

type BlockHeightResData

type BlockHeightResData struct {
	base.BaseResModel
	Body BlockHeightResDataBody `json:"body"`
}

func (*BlockHeightResData) GetEncryptionValue

func (f *BlockHeightResData) GetEncryptionValue() string

type BlockHeightResDataBody

type BlockHeightResDataBody struct {
	Data string `json:"data"`
}

type BlockResData

type BlockResData struct {
	base.BaseResModel
	Body *BlockData `json:"body"`
}

func (*BlockResData) GetEncryptionValue

func (f *BlockResData) GetEncryptionValue() string

type BlockTxReceiptResData

type BlockTxReceiptResData struct {
	base.BaseResModel
	Body *TxReceiptData `json:"body"`
}

func (*BlockTxReceiptResData) GetEncryptionValue

func (f *BlockTxReceiptResData) GetEncryptionValue() string

type BlockTxResData

type BlockTxResData struct {
	base.BaseResModel
	Body TransactionData `json:"body"`
}

func (*BlockTxResData) GetEncryptionValue

func (f *BlockTxResData) GetEncryptionValue() string

type TransResData

type TransResData struct {
	base.BaseResModel
	Body *TransResDataDataBody `json:"body"`
}

func (*TransResData) GetEncryptionValue

func (f *TransResData) GetEncryptionValue() string

type TransResDataDataBody

type TransResDataDataBody struct {
	Constant bool `json:"constant"`

	QueryInfo string `json:"queryInfo"`

	TxId        string `json:"txId"`
	BlockHash   string `json:"blockHash"`
	BlockNumber int64  `json:"blockNumber"`

	GasUsed int64 `json:"gasUsed"`

	Status string `json:"status"`

	From string `json:"from"`
	To   string `json:"to"`

	Input     string `json:"input"`
	Output    string `json:"output"`
	EventLogs string `json:"logs"`
}

type TransactionData

type TransactionData struct {
	TxId        string `json:"txId"`
	BlockHash   string `json:"blockHash"`
	BlockNumber uint64 `json:"blockNumber"`

	GasUsed int64 `json:"gasUsed"`

	From  string `json:"from"`
	To    string `json:"to"`
	Value int64  `json:"value"`

	Input string `json:"input"`
}

func (*TransactionData) GetEncryptionValue

func (f *TransactionData) GetEncryptionValue() string

type TxReceiptData

type TxReceiptData struct {
	TxId        string `json:"txId"`
	BlockHash   string `json:"blockHash"`
	BlockNumber int64  `json:"blockNumber"`

	GasUsed int64 `json:"gasUsed"`

	From string `json:"from"`
	To   string `json:"to"`

	ContractAddress string `json:"contractAddress"`
	Logs            string `json:"logs"`
}

func (*TxReceiptData) GetEncryptionValue

func (f *TxReceiptData) GetEncryptionValue() string

Jump to

Keyboard shortcuts

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