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"`
	PrevBlockHash    string `json:"prevBlockHash"`
	BlockTime        string `json:"blockTime"`
	QuotaUsed        string `json:"quotaUsed"`
	TransactionsRoot string `json:"transactionsRoot"`
	StateRoot        string `json:"stateRoot"`
	ReceiptsRoot     string `json:"receiptsRoot"`

	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 TranReceiptLogData

type TranReceiptLogData struct {
	Removed             bool     `json:"removed"`
	LogIndex            uint64   `json:"logIndex"`
	TransactionIndex    uint64   `json:"transactionIndex"`
	TransactionHash     string   `json:"transactionHash"`
	BlockHash           string   `json:"blockHash"`
	BlockNumber         uint64   `json:"blockNumber"`
	Address             string   `json:"address"`
	Data                string   `json:"data"`
	TransactionLogIndex string   `json:"transactionLogIndex"`
	TransactionIndexRaw string   `json:"transactionIndexRaw"`
	BlockNumberRaw      string   `json:"blockNumberRaw"`
	LogIndexRaw         string   `json:"logIndexRaw"`
	Topics              []string `json:"topics"`
}

type TransResData

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

func (*TransResData) GetEncryptionValue

func (f *TransResData) GetEncryptionValue() string

type TransResDataDataBody

type TransResDataDataBody struct {
	TxId string `json:"txId"`

	Status string `json:"status"`

	Data string `json:"data"`
}

type TransactionData

type TransactionData struct {
	TxHash          string `json:"txHash"`
	BlockHash       string `json:"blockHash"`
	BlockNumber     int64  `json:"blockNumber"`
	Data            string `json:"data"`
	ChainId         string `json:"chainId"`
	Quota           string `json:"quota"`
	From            string `json:"from"`
	To              string `json:"to"`
	Nonce           string `json:"nonce"`
	ValidUntilBlock string `json:"validUntilBlock"`
	Version         string `json:"version"`
}

func (*TransactionData) GetEncryptionValue

func (f *TransactionData) GetEncryptionValue() string

type TxReceiptData

type TxReceiptData struct {
	TransactionHash        string               `json:"transactionHash"`
	TransactionIndex       int64                `json:"transactionIndex"`
	BlockHash              string               `json:"blockHash"`
	BlockNumber            uint64               `json:"blockNumber"`
	CumulativeGasUsed      string               `json:"cumulativeGasUsed"`
	CumulativeQuotaUsed    uint64               `json:"cumulativeQuotaUsed"`
	GasUsed                string               `json:"gasUsed"`
	QuotaUsed              uint64               `json:"quotaUsed"`
	ContractAddress        string               `json:"contractAddress"`
	Root                   string               `json:"root"`
	Status                 string               `json:"status"`
	From                   string               `json:"from"`
	To                     string               `json:"to"`
	LogsBloom              string               `json:"logsBloom"`
	ErrorMessage           string               `json:"errorMessage"`
	TransactionIndexRaw    string               `json:"transactionIndexRaw"`
	BlockNumberRaw         string               `json:"blockNumberRaw"`
	CumulativeGasUsedRaw   string               `json:"cumulativeGasUsedRaw"`
	CumulativeQuotaUsedRaw string               `json:"cumulativeQuotaUsedRaw"`
	GasUsedRaw             string               `json:"gasUsedRaw"`
	QuotaUsedRaw           string               `json:"quotaUsedRaw"`
	Logs                   []TranReceiptLogData `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