json

package
v0.0.0-...-3680526 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BillResult

type BillResult []PaymentResult

type BlockHttpResult

type BlockHttpResult struct {
	Hash          string             `json:"hash"`
	Confirmations uint32             `json:"confirmations"`
	Version       int32              `json:"version"`
	Weight        int64              `json:"weight"`
	Order         uint32             `json:"order"`
	TxRoot        string             `json:"txRoot"`
	Transactions  []json.TxRawResult `json:"transactions,omitempty"`
	StateRoot     string             `json:"stateRoot"`
	Bits          string             `json:"bits"`
	Difficulty    float64            `json:"difficulty"`
	Nonce         uint64             `json:"nonce"`
	Timestamp     time.Time          `json:"timestamp"`
	Parents       []string           `json:"parents"`
	Children      []string           `json:"children"`
	Txsvalid      bool               `json:"txsvalid"`
	IsBlue        bool               `json:"isblue"`
}

type PageTxRawResult

type PageTxRawResult struct {
	Total        int32              `json:"total"`
	Page         int32              `json:"page"`
	PageSize     int32              `json:"page_size"`
	Transactions []json.TxRawResult `json:"transactions,omitempty"`
}

type PagedBillResult

type PagedBillResult struct {
	Total    int32      `json:"total"`
	PageNo   int32      `json:"page_no"`
	PageSize int32      `json:"page_size"`
	Bill     BillResult `json:"bill,omitempty"`
}

type PaymentResult

type PaymentResult struct {
	TxID      string `json:"tx_id"`
	Variation int64  `json:"variation"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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