Versions in this module Expand all Collapse all v6 v6.0.0 Nov 18, 2024 Changes in this version + func GetMetadataDatumMapV5(txMetadata json.RawMessage, metadataDatumKey int) (map[string][]byte, error) + func GetMetadataDatumsV5(txMetadata json.RawMessage, metadataDatumKey int) ([][]byte, error) + type BlockHeaderV5 struct + BlockHash string + BlockHeight uint64 + BlockSize uint64 + IssuerVK string + IssuerVrf string + LeaderValue map[string][]byte + Nonce map[string]string + OpCert map[string]interface{} + PrevHash string + ProtocolVersion map[string]int + Signature string + Slot uint64 + type BlockV5 struct + Body []TxV5 + Header BlockHeaderV5 + HeaderHash string + func (b BlockV5) PointStruct() PointStructV5 + type ByronBlock struct + Body ByronBody + Hash string + Header ByronHeader + type ByronBody struct + DlgPayload []json.RawMessage + TxPayload []ByronTxPayload + UpdatePayload json.RawMessage + type ByronHeader struct + BlockHeight uint64 + Epoch uint32 + GenesisKey string + PrevHash string + Proof json.RawMessage + ProtocolMagicId uint64 + ProtocolVersion chainsync.ProtocolVersion + Signature json.RawMessage + Slot uint64 + SoftwareVersion map[string]interface{} + type ByronTxBody struct + Inputs []chainsync.TxIn + Outputs []chainsync.TxOut + type ByronTxPayload struct + ID string + Witness []ByronWitness + type ByronWitness struct + RedeemWitness map[string]string + type IntersectionFoundV5 struct + Point *PointV5 + Tip *PointStructV5 + type IntersectionNotFoundV5 struct + Tip *PointStructV5 + type OgmiosAuxiliaryDataV5 struct + Body *OgmiosAuxiliaryDataV5Body + Hash string + func OgmiosAuxiliaryDataFromV6(t chainsync.OgmiosAuxiliaryDataV6) (OgmiosAuxiliaryDataV5, error) + func (t OgmiosAuxiliaryDataV5) ConvertToV6() chainsync.OgmiosAuxiliaryDataV6 + type OgmiosAuxiliaryDataV5Body struct + Blob OgmiosMetadataV5 + type OgmiosMetadataV5 map[int]chainsync.OgmiosMetadatum + type PointStructV5 struct + BlockNo uint64 + Hash string + Slot uint64 + func (p PointStructV5) ConvertToV6() chainsync.PointStruct + func (p PointStructV5) Point() PointV5 + type PointV5 struct + func PointFromV6(p chainsync.Point) *PointV5 + func (p *PointV5) UnmarshalCBOR(data []byte) error + func (p *PointV5) UnmarshalJSON(data []byte) error + func (p PointV5) ConvertToV6() chainsync.Point + func (p PointV5) MarshalCBOR() ([]byte, error) + func (p PointV5) MarshalJSON() ([]byte, error) + func (p PointV5) PointString() (chainsync.PointString, bool) + func (p PointV5) PointStruct() (*PointStructV5, bool) + func (p PointV5) PointType() chainsync.PointType + func (p PointV5) String() string + type PointsV5 []PointV5 + func (pp PointsV5) ConvertToV6() chainsync.Points + func (pp PointsV5) String() string + type ResponseV5 struct + MethodName string + Reflection json.RawMessage + Result *ResultV5 + ServiceName string + Type string + Version string + func ResponseFromV6(r chainsync.ResponsePraos) ResponseV5 + func (r ResponseV5) ConvertToV6() chainsync.ResponsePraos + type ResultFindIntersectionV5 struct + IntersectionFound *IntersectionFoundV5 + IntersectionNotFound *IntersectionNotFoundV5 + func ResultFindIntersectionFromV6(rfi chainsync.ResultFindIntersectionPraos) ResultFindIntersectionV5 + func (r ResultFindIntersectionV5) ConvertToV6() chainsync.ResultFindIntersectionPraos + type ResultNextBlockV5 struct + RollBackward *RollBackwardV5 + RollForward *RollForwardV5 + func ResultNextBlockFromV6(rnb chainsync.ResultNextBlockPraos) ResultNextBlockV5 + func (r ResultNextBlockV5) ConvertToV6() chainsync.ResultNextBlockPraos + type ResultV5 struct + IntersectionFound *IntersectionFoundV5 + IntersectionNotFound *IntersectionNotFoundV5 + RollBackward *RollBackwardV5 + RollForward *RollForwardV5 + type RollBackwardV5 struct + Point PointV5 + Tip PointStructV5 + type RollForwardBlockV5 struct + Allegra *BlockV5 + Alonzo *BlockV5 + Babbage *BlockV5 + Byron *ByronBlock + Mary *BlockV5 + Shelley *BlockV5 + func BlockFromV6(b chainsync.Block) (RollForwardBlockV5, error) + func (b RollForwardBlockV5) ConvertToV6() (chainsync.Block, error) + func (b RollForwardBlockV5) Era() string + func (b RollForwardBlockV5) GetNonByronBlock() *BlockV5 + type RollForwardV5 struct + Block RollForwardBlockV5 + Tip PointStructV5 + type TxBodyV5 struct + Certificates []json.RawMessage + CollateralReturn *TxOutV5 + Collaterals TxInsV5 + Fee num.Int + Inputs TxInsV5 + Mint *ValueV5 + Network json.RawMessage + Outputs TxOutsV5 + References TxInsV5 + RequiredExtraSignatures []string + ScriptIntegrityHash string + TimeToLive int64 + TotalCollateral *int64 + Update json.RawMessage + ValidityInterval ValidityIntervalV5 + Withdrawals map[string]int64 + type TxInV5 struct + Index int + TxHash string + func InputFromV6(t chainsync.TxIn) TxInV5 + func (t TxInV5) ConvertToV6() chainsync.TxIn + func (t TxInV5) String() string + type TxInsV5 []TxInV5 + func InputsFromV6(t chainsync.TxIns) TxInsV5 + func (t TxInsV5) ConvertToV6() chainsync.TxIns + type TxOutV5 struct + Address string + Datum string + DatumHash string + Script json.RawMessage + Value ValueV5 + func TxOutFromV6(t chainsync.TxOut) TxOutV5 + func (t TxOutV5) ConvertToV6() chainsync.TxOut + type TxOutsV5 []TxOutV5 + func TxOutsFromV6(t chainsync.TxOuts) TxOutsV5 + func (t TxOutsV5) ConvertToV6() chainsync.TxOuts + func (tt TxOutsV5) FindByAssetID(assetID shared.AssetID) (TxOutV5, bool) + type TxV5 struct + Body TxBodyV5 + ID string + InputSource string + Metadata json.RawMessage + Raw string + Witness chainsync.Witness + func TxFromV6(t chainsync.Tx) TxV5 + func (t TxV5) ConvertToV6() chainsync.Tx + type ValidityIntervalV5 struct + InvalidBefore uint64 + InvalidHereafter uint64 + func ValidityIntervalFromV6(v chainsync.ValidityInterval) ValidityIntervalV5 + func (v ValidityIntervalV5) ConvertToV6() chainsync.ValidityInterval + type ValueV5 struct + Assets map[shared.AssetID]num.Int + Coins num.Int + func ValueFromV6(v shared.Value) ValueV5 + func (v ValueV5) ConvertToV6() shared.Value