Versions in this module Expand all Collapse all v0 v0.8.0 May 16, 2024 Changes in this version + const BackReference + const ConsBoxMarker + const MaxSingleByte + func SerializedLengthFromBytesTrusted(b []byte) (uint64, error) + type ChallengeBlockInfo struct + ChallengeChainIPVDF VDFInfo + ChallengeChainSPSignature G2Element + ChallengeChainSPVDF mo.Option[VDFInfo] + ProofOfSpace ProofOfSpace + type ChallengeChainSubSlot struct + ChallengeChainEndOfSlotVDF VDFInfo + InfusedChallengeChainSubSlotHash mo.Option[Bytes32] + NewDifficulty mo.Option[uint64] + NewSubSlotIters mo.Option[uint64] + SubepochSummaryHash mo.Option[Bytes32] type EndOfSubSlotBundle + ChallengeChain ChallengeChainSubSlot + InfusedChallengeChain mo.Option[InfusedChallengeChainSubSlot] + Proofs SubSlotProofs + RewardChain RewardChainSubSlot + type InfusedChallengeChainSubSlot struct + InfusedChallengeChainEndOfSlotVDF VDFInfo + type KeyData struct + Fingerprint uint32 + Label mo.Option[string] + PublicKey G1Element + Secrets mo.Option[KeyDataSecrets] + type KeyDataSecrets struct + Entropy []byte + Mnemonic []string + PrivateKey PrivateKey + type PrivateKey struct + type RewardChainSubSlot struct + ChallengeChainSubSlotHash Bytes32 + Deficit uint8 + EndOfSlotVDF VDFInfo + InfusedChallengeChainSubSlotHash mo.Option[Bytes32] + type SubSlotProofs struct + ChallengeChainSlotProof VDFProof + InfusedChallengeChainSlotProof mo.Option[VDFProof] + RewardChainSlotProof VDFProof v0.7.0 May 17, 2024 v0.5.3 Feb 27, 2024 Changes in this version + const HarvestingModeCPU + const HarvestingModeGPU + const WalletTypeAtomicSwap + const WalletTypeAuthorizedPayee + const WalletTypeCAT + const WalletTypeCustody + const WalletTypeDID + const WalletTypeDataLayer + const WalletTypeDataLayerOffer + const WalletTypeMultiSig + const WalletTypeNFT + const WalletTypePooling + const WalletTypeRateLimited + const WalletTypeRecoverable + const WalletTypeStandard + var Uint128Max = NewUint128(math.MaxUint64, math.MaxUint64) + type Addition struct + Amount uint64 + Memos []string + PuzzleHash Bytes32 + type BlockCountMetrics struct + CompactBlocks uint64 + HintCount uint64 + UncompactBlocks uint64 + type BlockEvent struct + BlockCost mo.Option[uint64] + BlockFees mo.Option[uint64] + ForkHeight mo.Option[uint32] + HeaderHash Bytes32 + Height uint32 + KSize uint8 + PreValidationTime float64 + ReceiveBlockResult mo.Option[ReceiveBlockResult] + RolledBackRecords mo.Option[uint64] + Timestamp mo.Option[Timestamp] + TransactionBlock bool + TransactionGeneratorRefList []uint32 + TransactionGeneratorSizeBytes mo.Option[uint64] + ValidationTime float64 + type BlockRecord struct + ChallengeBlockInfoHash Bytes32 + ChallengeVDFOutput ClassgroupElement + Deficit uint8 + FarmerPuzzleHash Bytes32 + Fees mo.Option[uint64] + FinishedChallengeSlotHashes mo.Option[[]Bytes32] + FinishedInfusedChallengeSlotHashes mo.Option[[]Bytes32] + FinishedRewardSlotHashes mo.Option[[]Bytes32] + HeaderHash Bytes32 + Height uint32 + InfusedChallengeVDFOutput mo.Option[ClassgroupElement] + Overflow bool + PoolPuzzleHash Bytes32 + PrevHash Bytes32 + PrevTransactionBlockHash mo.Option[Bytes32] + PrevTransactionBlockHeight uint32 + RequiredIters uint64 + RewardClaimsIncorporated mo.Option[[]Coin] + RewardInfusionNewChallenge Bytes32 + SignagePointIndex uint8 + SubEpochSummaryIncluded mo.Option[SubEpochSummary] + SubSlotIters uint64 + Timestamp mo.Option[Timestamp] + TotalIters Uint128 + Weight Uint128 + type BlockchainState struct + BlockMaxCost uint64 + Difficulty uint64 + GenesisChallengeInitialized bool + MempoolCost uint64 + MempoolMaxTotalCost uint64 + MempoolMinFees MempoolMinFees + MempoolSize uint64 + Peak mo.Option[BlockRecord] + Space Uint128 + SubSlotIters uint64 + Sync Sync + type Bytes []byte + func Bytes100ToBytes(bytes100 Bytes100) Bytes + func Bytes32ToBytes(bytes32 Bytes32) Bytes + func Bytes48ToBytes(bytes48 Bytes48) Bytes + func Bytes96ToBytes(bytes96 Bytes96) Bytes + func BytesFromHexString(hexstr string) (Bytes, error) + func (b *Bytes) UnmarshalJSON(data []byte) error + func (b Bytes) MarshalJSON() ([]byte, error) + func (b Bytes) String() string + type Bytes100 [100]byte + func BytesToBytes100(bytes Bytes) (Bytes100, error) + func (b *Bytes100) UnmarshalJSON(data []byte) error + func (b Bytes100) MarshalJSON() ([]byte, error) + func (b Bytes100) String() string + type Bytes32 [32]byte + func Bytes32FromHexString(hexstr string) (Bytes32, error) + func BytesToBytes32(bytes Bytes) (Bytes32, error) + func (b *Bytes32) UnmarshalJSON(data []byte) error + func (b Bytes32) MarshalJSON() ([]byte, error) + func (b Bytes32) String() string + type Bytes48 [48]byte + func BytesToBytes48(bytes Bytes) (Bytes48, error) + func (b *Bytes48) UnmarshalJSON(data []byte) error + func (b Bytes48) MarshalJSON() ([]byte, error) + func (b Bytes48) String() string + type Bytes96 [96]byte + func BytesToBytes96(bytes Bytes) (Bytes96, error) + func (b *Bytes96) UnmarshalJSON(data []byte) error + func (b Bytes96) MarshalJSON() ([]byte, error) + func (b Bytes96) String() string + type ClassgroupElement struct + Data Bytes100 + type Coin struct + Amount uint64 + ParentCoinInfo Bytes32 + PuzzleHash Bytes32 + func (c *Coin) ID() Bytes32 + type CoinAddedEvent struct + State string + Success bool + WalletID uint32 + type CoinRecord struct + Coin Coin + Coinbase bool + ConfirmedBlockIndex uint32 + SpentBlockIndex uint32 + Timestamp Timestamp + func (cr *CoinRecord) Spent() bool + type CoinSpend struct + Coin Coin + PuzzleReveal SerializedProgram + Solution SerializedProgram + type CompressibleVDFField uint8 + const CompressibleVDFFieldCCEOSVDF + const CompressibleVDFFieldCCIPVDF + const CompressibleVDFFieldCCSPVDF + const CompressibleVDFFieldICCEOSVDF + type Connection struct + BytesRead uint64 + BytesWritten uint64 + CreationTime Timestamp + LastMessageTime Timestamp + LocalPort uint16 + NodeID Bytes32 + PeakHash mo.Option[Bytes32] + PeakHeight mo.Option[uint32] + PeakWeight mo.Option[Uint128] + PeerHost string + PeerPort uint16 + PeerServerPort uint16 + Type NodeType + type CrawlerPeerCounts struct + IPV4Last5Days uint + IPV6Last5Days uint + ReliableNodes uint + TotalLast5Days uint + Versions map[string]int + type DeclareProofOfSpace struct + ChallengeChainSP Bytes32 + ChallengeChainSPSignature G2Element + ChallengeHash Bytes32 + FarmerPuzzleHash Bytes32 + PoolSignature mo.Option[G2Element] + PoolTarget mo.Option[PoolTarget] + ProofOfSpace ProofOfSpace + RewardChainSP Bytes32 + RewardChainSPSignature G2Element + SignagePointIndex uint8 + type EndOfSubSlotBundle struct + type EventFarmerNewFarmingInfo struct + FarmingInfo struct{ ... } + type EventFarmerNewSignagePoint struct + MissingSignagePoints mo.Option[tuple.Tuple[FarmerMissingSignagePoints]] + SPHash Bytes32 + type EventFarmerProof struct + PassedFilter bool + Proof DeclareProofOfSpace + type EventFarmerSubmittedPartial struct + CurrentDifficulty uint64 + LauncherID Bytes32 + PointsAcknowledgedSinceStart uint64 + PoolURL string + type EventHarvesterFarmingInfo struct + ChallengeHash Bytes32 + EligiblePlots uint64 + FoundProofs uint64 + Time float64 + TotalPlots uint64 + type FarmerMissingSignagePoints struct + Count uint32 + Timestamp Timestamp + type FinishedPoTEvent struct + Chain TimelordChain + EstimatedIPS float64 + IterationsNeeded uint64 + Success bool + VDFInfo VDFInfo + VDFProof VDFProof + type Foliage struct + FoliageBlockData FoliageBlockData + FoliageBlockDataSignature G2Element + FoliageTransactionBlockHash mo.Option[Bytes32] + FoliageTransactionBlockSignature mo.Option[G2Element] + PrevBlockHash Bytes32 + RewardBlockHash Bytes32 + type FoliageBlockData struct + ExtensionData Bytes32 + FarmerRewardPuzzleHash Bytes32 + PoolSignature mo.Option[G2Element] + PoolTarget PoolTarget + UnfinishedRewardBlockHash Bytes32 + type FoliageTransactionBlock struct + AdditionsRoot Bytes32 + FilterHash Bytes32 + PrevTransactionBlockHash Bytes32 + RemovalsRoot Bytes32 + Timestamp Timestamp + TransactionsInfoHash Bytes32 + type FullBlock struct + ChallengeChainIPProof VDFProof + ChallengeChainSPProof mo.Option[VDFProof] + FinishedSubSlots []EndOfSubSlotBundle + Foliage Foliage + FoliageTransactionBlock mo.Option[FoliageTransactionBlock] + InfusedChallengeChainIPProof mo.Option[VDFProof] + RewardChainBlock RewardChainBlock + RewardChainIPProof VDFProof + RewardChainSPProof mo.Option[VDFProof] + TransactionsGenerator mo.Option[SerializedProgram] + TransactionsGeneratorRefList []uint32 + TransactionsInfo mo.Option[TransactionsInfo] + type G1Element PublicKeyMPL + func (g *G1Element) UnmarshalJSON(data []byte) error + func (g G1Element) MarshalJSON() ([]byte, error) + type G2Element SignatureMPL + func (g *G2Element) UnmarshalJSON(data []byte) error + func (g G2Element) MarshalJSON() ([]byte, error) + type HarvestingMode int + type MemoTuple struct + CoinID Bytes32 + Memo []Bytes + type MempoolInclusionStatus uint8 + const MempoolInclusionStatusFailed + const MempoolInclusionStatusPending + const MempoolInclusionStatusSuccess + type MempoolMinFees struct + Cost5m float64 + type NFTInfo struct + ChainInfo string + DataHash Bytes + DataUris []string + EditionNumber uint64 + EditionTotal uint64 + LauncherID Bytes32 + LauncherPuzhash Bytes32 + LicenseHash Bytes + LicenseURIs []string + MetadataHash Bytes + MetadataURIs []string + MintHeight uint32 + MinterDid mo.Option[Bytes32] + NftCoinID Bytes32 + OffChainMetadata mo.Option[string] + OwnerDid mo.Option[Bytes32] + P2Address Bytes32 + PendingTransaction bool + RoyaltyPercentage mo.Option[uint16] + RoyaltyPuzzleHash mo.Option[Bytes32] + SupportsDid bool + UpdaterPuzhash Bytes32 + type NewCompactProofEvent struct + FieldVdf CompressibleVDFField + HeaderHash Bytes32 + Height uint32 + Success bool + type NewPeakEvent struct + Height uint32 + Success bool + type NewSignagePoint struct + ChallengeChainHash Bytes32 + ChallengeHash Bytes32 + Difficulty uint64 + RewardChainSP Bytes32 + SignagePointIndex uint8 + SubSlotIters uint64 + type NodeType uint8 + const NodeTypeDataLayer + const NodeTypeFarmer + const NodeTypeFullNode + const NodeTypeHarvester + const NodeTypeIntroducer + const NodeTypeTimelord + const NodeTypeWallet + type PoolTarget struct + MaxHeight uint32 + PuzzleHash Bytes32 + type ProofOfSpace struct + Challenge Bytes32 + PlotPublicKey G1Element + PoolContractPuzzleHash mo.Option[Bytes32] + PoolPublicKey mo.Option[G1Element] + Proof Bytes + Size uint8 + type PublicKeyMPL Bytes48 + type ReceiveBlockResult uint8 + const ReceiveBlockResultAlreadyHaveBlock + const ReceiveBlockResultDisconnectedBlock + const ReceiveBlockResultInvalidBlock + const ReceiveBlockResultNewPeak + const ReceiveBlockResultOrphan + type RewardChainBlock struct + ChallengeChainIPVDF VDFInfo + ChallengeChainSPSignature G2Element + ChallengeChainSPVDF mo.Option[VDFInfo] + Height uint32 + InfusedChallengeChainIPVDF mo.Option[VDFInfo] + IsTransactionBlock bool + POSSSCCChallengeHash Bytes32 + ProofOfSpace ProofOfSpace + RewardChainIPVDF VDFInfo + RewardChainSPSignature G2Element + RewardChainSPVDF mo.Option[VDFInfo] + SignagePointIndex uint8 + TotalIters Uint128 + Weight Uint128 + type SentTo struct + Error mo.Option[string] + MempoolInclusionStatus MempoolInclusionStatus + Peer string + type SerializedProgram Bytes + func (g *SerializedProgram) UnmarshalJSON(data []byte) error + func (g SerializedProgram) MarshalJSON() ([]byte, error) + type SignagePointEvent struct + BroadcastFarmer NewSignagePoint + Success bool + type SignatureMPL Bytes96 + type SkippingPeakEvent struct + Height uint32 + Success bool + type SpendBundle struct + AggregatedSignature G2Element + CoinSpends []CoinSpend + type SubEpochSummary struct + NewDifficulty mo.Option[uint64] + NewSubSlotIters mo.Option[uint64] + NumBlocksOverflow uint8 + PrevSubEpochSummaryHash Bytes32 + RewardChainHash Bytes32 + type Sync struct + SyncMode bool + SyncProgressHeight uint32 + SyncTipHeight uint32 + Synced bool + type TimelordChain uint8 + const TimelordChainBluebox + const TimelordChainChallenge + const TimelordChainInfusedChallenge + const TimelordChainReward + type Timestamp struct + func (t *Timestamp) UnmarshalJSON(data []byte) error + func (t Timestamp) MarshalJSON() ([]byte, error) + type TimestampedPeerInfo struct + Host string + Port uint16 + Timestamp uint64 + type TransactionRecord struct + Additions []Coin + Amount uint64 + Confirmed bool + ConfirmedAtHeight uint32 + CreatedAtTime Timestamp + FeeAmount uint64 + Memos []tuple.Tuple[MemoTuple] + MemosDict map[string]string + Name Bytes32 + Removals []Coin + Sent uint32 + SentTo []tuple.Tuple[SentTo] + SpendBundle mo.Option[SpendBundle] + ToAddress string + ToPuzzleHash Bytes32 + TradeID mo.Option[Bytes32] + Type TransactionType + WalletID uint32 + func (t *TransactionRecord) UnmarshalJSON(data []byte) error + func (t TransactionRecord) MarshalJSON() ([]byte, error) + type TransactionType uint32 + const TransactionTypeCoinbaseReward + const TransactionTypeFeeReward + const TransactionTypeIncomingTX + const TransactionTypeIncomingTrade + const TransactionTypeOutgoingTX + const TransactionTypeOutgoingTrade + type TransactionsInfo struct + AggregatedSignature G2Element + Cost uint64 + Fees uint64 + GeneratorRefsRoot Bytes32 + GeneratorRoot Bytes32 + RewardClaimsIncorporated []Coin + type Uint128 struct + Hi uint64 + Lo uint64 + var Uint128Zero Uint128 + func NewUint128(lo, hi uint64) Uint128 + func Uint128From64(v uint64) Uint128 + func Uint128FromBig(i *big.Int) (u Uint128) + func Uint128FromBytes(b []byte) Uint128 + func (u *Uint128) UnmarshalJSON(data []byte) error + func (u Uint128) Add(v Uint128) Uint128 + func (u Uint128) Add64(v uint64) Uint128 + func (u Uint128) AddWrap(v Uint128) Uint128 + func (u Uint128) AddWrap64(v uint64) Uint128 + func (u Uint128) And(v Uint128) Uint128 + func (u Uint128) And64(v uint64) Uint128 + func (u Uint128) Big() *big.Int + func (u Uint128) Cmp(v Uint128) int + func (u Uint128) Cmp64(v uint64) int + func (u Uint128) Div(v Uint128) Uint128 + func (u Uint128) Div64(v uint64) Uint128 + func (u Uint128) Equals(v Uint128) bool + func (u Uint128) Equals64(v uint64) bool + func (u Uint128) FitsInUint64() bool + func (u Uint128) IsZero() bool + func (u Uint128) LeadingZeros() int + func (u Uint128) Len() int + func (u Uint128) Lsh(n uint) (s Uint128) + func (u Uint128) MarshalJSON() ([]byte, error) + func (u Uint128) Mod(v Uint128) (r Uint128) + func (u Uint128) Mod64(v uint64) (r uint64) + func (u Uint128) Mul(v Uint128) Uint128 + func (u Uint128) Mul64(v uint64) Uint128 + func (u Uint128) MulWrap(v Uint128) Uint128 + func (u Uint128) MulWrap64(v uint64) Uint128 + func (u Uint128) OnesCount() int + func (u Uint128) Or(v Uint128) Uint128 + func (u Uint128) Or64(v uint64) Uint128 + func (u Uint128) PutBytes(b []byte) + func (u Uint128) QuoRem(v Uint128) (q, r Uint128) + func (u Uint128) QuoRem64(v uint64) (q Uint128, r uint64) + func (u Uint128) Reverse() Uint128 + func (u Uint128) ReverseBytes() Uint128 + func (u Uint128) RotateLeft(k int) Uint128 + func (u Uint128) RotateRight(k int) Uint128 + func (u Uint128) Rsh(n uint) (s Uint128) + func (u Uint128) String() string + func (u Uint128) Sub(v Uint128) Uint128 + func (u Uint128) Sub64(v uint64) Uint128 + func (u Uint128) SubWrap(v Uint128) Uint128 + func (u Uint128) SubWrap64(v uint64) Uint128 + func (u Uint128) TrailingZeros() int + func (u Uint128) Uint64() uint64 + func (u Uint128) Xor(v Uint128) Uint128 + func (u Uint128) Xor64(v uint64) Uint128 + type VDFInfo struct + Challenge Bytes32 + NumberOfIterations uint64 + Output ClassgroupElement + type VDFProof struct + NormalizedToIdentity bool + Witness Bytes + WitnessType uint8 + type WalletBalance struct + AssetID string + ConfirmedWalletBalance Uint128 + Fingerprint int + MaxSendAmount Uint128 + PendingChange int64 + PendingCoinRemovalCount int64 + SpendableBalance Uint128 + UnconfirmedWalletBalance Uint128 + UnspentCoinCount int64 + WalletID int32 + WalletType WalletType + type WalletInfo struct + Data string + ID uint32 + Name string + Type WalletType + type WalletType uint8 + type WebsocketBlockchainState struct + BlockchainState BlockchainState + type WebsocketRequest struct + Ack bool + Command string + Data interface{} + Destination string + Origin string + RequestID string + type WebsocketResponse struct + Ack bool + Command string + Data json.RawMessage + Destination string + Origin string + RequestID string + type WebsocketSubscription struct + Service string