Versions in this module Expand all Collapse all v0 v0.2.3 Nov 2, 2025 v0.2.2 Nov 2, 2025 v0.2.1 Nov 2, 2025 Changes in this version + type AddressBalanceInfo struct + Address string + Confirmed int64 + Error error + Total int64 + Unconfirmed int64 v0.2.0 Nov 2, 2025 Changes in this version + type Runes struct + BlockHash string + BlockHeight int + Cenotaph bool + Divisibility int16 + ID string + Name string + Number int64 + Premine decimal.Decimal + SpacedName string + Symbol string + TermsAmount decimal.Decimal + TermsCap decimal.Decimal + TermsHeightEnd int + TermsHeightStart int + TermsOffsetEnd int + TermsOffsetStart int + Timestamp int64 + Turbo bool + TxID string + TxIndex int64 + type RunesBalanceChanges struct + Address string + Balance decimal.Decimal + BlockHeight int + RuneID string + TotalOperations int64 + type RunesLedger struct + Address string + Amount decimal.Decimal + BlockHash string + BlockHeight int + EventIndex int64 + Operation string + Output int + ReceiverAddress string + RuneID string + Timestamp int64 + TxID string + TxIndex int64 + type RunesSupplyChanges struct + BlockHeight int + Burned decimal.Decimal + Minted decimal.Decimal + RuneID string + TotalBurns decimal.Decimal + TotalMints decimal.Decimal + TotalOperations int64 + type WalletInfo struct + BTCBalance int64 + Mnemonic string + P2PKH string + P2PSH string + P2TR string + P2WPKH string + XPRV string v0.2.0-preview Nov 2, 2025 v0.1.3 Sep 5, 2025 v0.1.2 Sep 5, 2025 v0.1.1 Sep 5, 2025 v0.1.0 Sep 5, 2025 Changes in this version + func GetInSize(addrType AddressType) int + func GetOpReturnSize(dataLen int) int + func GetOutSize(addrType AddressType) (int, int) + type ChainBlock struct + Bits string + Chainwork string + Confirmations int + Difficulty float64 + Hash string + Height int + MedianTime int + MerkleRoot string + NTx int + NextBlockHash string + Nonce int + PreviousBlockHash string + Size int + StrippedSize int + Time int + Tx []string + Version int + VersionHex string + Weight int + type TxUnsignedPSBT struct + PSBTBase64 string + UnsignedTx string v0.0.2 Sep 1, 2025 Changes in this version + var CurrentNetworkParams *chaincfg.Params = &chaincfg.MainNetParams + func OpcodeName(op byte) string + func SetCurrentNetwork(net string) + type AddressInfo struct + Addresses []string + Cls txscript.ScriptClass + PKScript []byte + ReqSigs int + Typ AddressType + type AddressScriptInfo struct + Address string + BechEncoding string + Cls txscript.ScriptClass + IsWitness bool + PubKeyHashHex []byte + RedeemScriptHashHex []byte + ScriptAsm string + ScriptPubKeyHex []byte + TaprootOutputKeyHex []byte + Typ AddressType + WitnessProgramHex []byte + WitnessProgramLen int + WitnessVersion int + type AddressType string + const AddrP2PK + const AddrP2PKH + const AddrP2SH + const AddrP2TR + const AddrP2WPKH + const AddrP2WSH + const AddrUnknown + type BRC20Action struct + Amt string + Lim string + Max string + Op string + Tick string + type Hash32 [32]byte + func (h *Hash32) FromBEHex(s string) error + func (h *Hash32) UnmarshalJSON(b []byte) error + func (h Hash32) BytesBE() []byte + func (h Hash32) BytesLE() []byte + func (h Hash32) MarshalJSON() ([]byte, error) + func (h Hash32) String() string + type Network string + const Mainnet + const Regtest + const Signet + const Testnet + var CurrentNetwork Network = Mainnet + func (n Network) ToParams() *chaincfg.Params + type OrdinalsEnvelope struct + BodyHex string + ContentType string + Records []OrdinalsRecord + type OrdinalsRecord struct + KeyHex string + ValueHex string + type Runestone struct + BodyHex string + type ScriptOp struct + DataHex string + DataLen int + Op string + type TapControlBlock struct + Header byte + InternalKey string + LeafVersion byte + MerkleHashes []string + Parity int + type Tx struct + LockTime uint32 + TxIn []TxIn + TxOut []TxOut + Version int32 + type TxIn struct + PreviousOutPoint TxOutPoint + ScriptSig []byte + Sequence uint32 + Witness TxWitness + func (in TxIn) MarshalJSON() ([]byte, error) + type TxInputParams struct + AmountBTC []float64 + ChangeAddress string + Data string + FeeRate float64 + FromAddress []string + Locktime int64 + PublicKey string + Replaceable bool + ToAddress []string + type TxOut struct + Address string + PkScript []byte + ScriptType string + Value int64 + func (out TxOut) MarshalJSON() ([]byte, error) + type TxOutPoint struct + Hash Hash32 + Index uint32 + type TxUTXO struct + Address string + Coinbase bool + Height uint32 + OutPoint TxOutPoint + PkScript []byte + Value int64 + type TxWitness [][]byte + type VarInt = uint64