zanod

package
v0.0.0-...-e78d781 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Offer

type Offer struct {
	Id      int    `json:"id"`
	Jsonrpc string `json:"jsonrpc"`
	Result  struct {
		Offers []struct {
			Ap             string `json:"ap"`
			At             string `json:"at"`
			B              string `json:"b"`
			Cat            string `json:"cat"`
			Cnt            string `json:"cnt"`
			Com            string `json:"com"`
			Do             string `json:"do"`
			Et             int    `json:"et"`
			Fee            int64  `json:"fee"`
			IndexInTx      int    `json:"index_in_tx"`
			Lci            string `json:"lci"`
			Lco            string `json:"lco"`
			Ot             int    `json:"ot"`
			P              string `json:"p"`
			Pt             string `json:"pt"`
			Security       string `json:"security"`
			T              string `json:"t"`
			Timestamp      int    `json:"timestamp"`
			TxHash         string `json:"tx_hash"`
			TxOriginalHash string `json:"tx_original_hash"`
			Url            string `json:"url"`
		} `json:"offers"`
		Status      string `json:"status"`
		TotalOffers int    `json:"total_offers"`
	} `json:"result"`
}

func ReadOffers

func ReadOffers(zanodUrl string, sugar *zap.SugaredLogger) (Offer, error)

Jump to

Keyboard shortcuts

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