indexer

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Indexer

type Indexer struct {
	// contains filtered or unexported fields
}

func NewIndexer

func NewIndexer(indexerUrl string) *Indexer

func (*Indexer) Outpoint

func (w *Indexer) Outpoint(outpoint string) (*OutpointResp, error)

type IndexerInterface

type IndexerInterface interface {
	Outpoint(outpoint string) (*OutpointResp, error)
}

type OutpointResp

type OutpointResp struct {
	Address      string   `json:"address"`
	Inscriptions []string `json:"inscriptions"`
	ScriptPubKey string   `json:"script_pubkey"`
	Transaction  string   `json:"transaction"`
	Value        int64    `json:"value"`
}

Jump to

Keyboard shortcuts

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