hiro

package
v0.0.0-...-ae8d08c Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 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 HiroInscriptionInfo

type HiroInscriptionInfo struct {
	Id                 string      `json:"id"`
	Number             int         `json:"number"`
	Address            string      `json:"address"`
	GenesisAddress     string      `json:"genesis_address"`
	GenesisBlockHeight int         `json:"genesis_block_height"`
	GenesisBlockHash   string      `json:"genesis_block_hash"`
	GenesisTxId        string      `json:"genesis_tx_id"`
	GenesisFee         string      `json:"genesis_fee"`
	GenesisTimestamp   int64       `json:"genesis_timestamp"`
	TxId               string      `json:"tx_id"`
	Location           string      `json:"location"`
	Output             string      `json:"output"`
	Value              string      `json:"value"`
	Offset             string      `json:"offset"`
	SatOrdinal         string      `json:"sat_ordinal"`
	SatRarity          string      `json:"sat_rarity"`
	SatCoinbaseHeight  int         `json:"sat_coinbase_height"`
	MimeType           string      `json:"mime_type"`
	ContentType        string      `json:"content_type"`
	ContentLength      int         `json:"content_length"`
	Timestamp          int64       `json:"timestamp"`
	CurseType          interface{} `json:"curse_type"`
	Recursive          bool        `json:"recursive"`
	RecursionRefs      interface{} `json:"recursion_refs"`
	Parent             interface{} `json:"parent"`
	Metadata           struct {
		Attributes []struct {
			TraitType string `json:"trait_type"`
			Value     string `json:"value"`
		} `json:"attributes"`
		Name string `json:"name"`
	} `json:"metadata"`
}

type HiroService

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

func NewHiroService

func NewHiroService(baseUrl string) *HiroService

func (*HiroService) GetInscriptionInfo

func (s *HiroService) GetInscriptionInfo(inscriptionId string) (*HiroInscriptionInfo, error)

Jump to

Keyboard shortcuts

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