mirror of
https://github.com/alexgo-io/gaze-brc20-indexer.git
synced 2026-01-12 22:22:19 +08:00
27 lines
574 B
Go
27 lines
574 B
Go
package ordinals
|
|
|
|
import "time"
|
|
|
|
type Inscription struct {
|
|
Content []byte
|
|
ContentEncoding string
|
|
ContentType string
|
|
Delegate *InscriptionId
|
|
Metadata []byte
|
|
Metaprotocol string
|
|
Parent *InscriptionId // in 0.14, inscription has only one parent
|
|
Pointer *uint64
|
|
}
|
|
|
|
type InscriptionEntry struct {
|
|
Id InscriptionId
|
|
Number int64
|
|
SequenceNumber uint64
|
|
Cursed bool
|
|
CursedForBRC20 bool
|
|
CreatedAt time.Time
|
|
CreatedAtHeight uint64
|
|
Inscription Inscription
|
|
TransferCount uint32
|
|
}
|