Versions in this module Expand all Collapse all v3 v3.1.3 Jan 30, 2024 v3.1.2 Jan 27, 2023 v3.1.1 Nov 28, 2022 v3.1.0 Nov 28, 2022 v3.0.0 Nov 28, 2022 Changes in this version + const DefaultAPIVersion + const DefaultOrigin + const DefaultPort + const DefaultRateLimit + const DefaultScheme + const GuildHost + const LibraryVersion + const MainnetHost + const MainnetHostEU + const PageSize + const PreProdHost + const PreviewHost + var ErrHTTPClientChange = errors.New("http.Client can only be set as option to koios.New") + var ErrHTTPClientTimeoutSetting = errors.New("http.Client.Timeout should never be 0 in production") + var ErrNoAddress = errors.New("missing address") + var ErrNoData = errors.New("no data") + var ErrNoDatumHash = errors.New("missing datum hash(es)") + var ErrNoPoolID = errors.New("missing pool id") + var ErrNoTxHash = errors.New("missing transaxtion hash(es)") + var ErrOriginSet = errors.New("origin can only be set as option to koios.New") + var ErrRateLimitRange = errors.New("rate limit must be between 1-255 requests per sec") + var ErrReqOptsAlreadyUsed = errors.New("request options can only be used once") + var ErrResponse = errors.New("response error") + var ErrResponseIsNotJSON = errors.New("got non json response") + var ErrSchema = errors.New("scheme must be http or https") + var ErrURLValuesLenght = errors.New("if presenent then only single url.Values should be provided") + var ErrUTxOInputAlreadyUsed = errors.New("UTxO already used") + var ErrUnexpectedResponseField = errors.New("unexpected response field") + var ZeroCoin = decimal.Zero.Copy() + var ZeroLovelace = decimal.Zero.Copy() + func ReadAndUnmarshalResponse(rsp *http.Response, res *Response, dest any) error + func ReadResponseBody(rsp *http.Response) (body []byte, err error) + type AccountAddresses struct + Addresses []Address + StakeAddress Address + type AccountAddressesResponse struct + Data *AccountAddresses + type AccountAssets struct + Assets []Asset + StakeAddress Address + type AccountAssetsResponse struct + Data *AccountAssets + type AccountHistory struct + History []AccountHistoryEntry + StakeAddress Address + type AccountHistoryEntry struct + ActiveStake decimal.Decimal + EpochNo EpochNo + PoolID PoolID + type AccountHistoryResponse struct + Data *AccountHistory + type AccountInfo struct + DelegatedPool *PoolID + Reserves decimal.Decimal + Rewards decimal.Decimal + RewardsAvailable decimal.Decimal + StakeAddress Address + Status string + TotalBalance decimal.Decimal + Treasury decimal.Decimal + UTxO decimal.Decimal + Withdrawals decimal.Decimal + type AccountInfoResponse struct + Data *AccountInfo + type AccountListResponse struct + Data []Address + type AccountRewards struct + Amount decimal.Decimal + EarnedEpoch EpochNo + PoolID PoolID + SpendableEpoch EpochNo + Type string + type AccountRewardsInfo struct + Rewards []AccountRewards + StakeAddress Address + type AccountRewardsResponse struct + Data *AccountRewardsInfo + type AccountUpdate struct + AbsoluteSlot Slot + ActionType string + BlockTime Timestamp + EpochNo EpochNo + EpochSlot Slot + TxHash TxHash + type AccountUpdates struct + StakeAddress Address + Updates []AccountUpdate + type AccountUpdatesResponse struct + Data *AccountUpdates + type AccountsAddressesResponse struct + Data []AccountAddresses + type AccountsAssetsResponse struct + Data []AccountAssets + type AccountsHistoryResponse struct + Data []AccountHistory + type AccountsInfoResponse struct + Data []AccountInfo + type AccountsRewardsResponse struct + Data []AccountRewardsInfo + type AccountsUpdatesResponse struct + Data []AccountUpdates + type Address string + func (a Address) Bytes() []byte + func (a Address) String() string + func (a Address) Valid() (bool, error) + type AddressAsset struct + AssetName AssetName + AssetNameASCII string + Balance decimal.Decimal + type AddressAssets struct + Address Address + AssetList []Asset + type AddressAssetsResponse struct + Data *AddressAssets + type AddressInfo struct + Address Address + Balance decimal.Decimal + ScriptAddress bool + StakeAddress Address + UTxOs []UTxO + type AddressInfoResponse struct + Data *AddressInfo + type AddressTx struct + BlockHeight uint64 + BlockTime Timestamp + EpochNo EpochNo + TxHash TxHash + type AddressTxsResponse struct + Data []AddressTx + type AddressesAssetsResponse struct + Data []AddressAssets + type AddressesInfoResponse struct + Data []AddressInfo + type Asset struct + AssetName AssetName + Fingerprint AssetFingerprint + PolicyID PolicyID + Quantity decimal.Decimal + type AssetAddressListResponse struct + Data []AssetHolder + type AssetFingerprint string + func (v AssetFingerprint) String() string + type AssetHistory struct + MintingTXs []AssetMintTX + type AssetHistoryResponse struct + Data *AssetHistory + type AssetHolder struct + PaymentAddress Address + Quantity decimal.Decimal + type AssetInfo struct + AssetName AssetName + AssetNameASCII string + BurnCnt int + CreationTime Timestamp + Fingerprint AssetFingerprint + MintCnt int + MintingTxHash TxHash + MintingTxMetadata *json.RawMessage + PolicyID PolicyID + TokenRegistryMetadata *TokenRegistryMetadata + TotalSupply decimal.Decimal + type AssetInfoResponse struct + Data *AssetInfo + type AssetListResponse struct + Data []Asset + type AssetMintTX struct + BlockTime Timestamp + Metadata TxMetadata + Quantity decimal.Decimal + TxHash TxHash + type AssetName string + func (v AssetName) String() string + type AssetPolicyInfoResponse struct + Data []AssetInfo + type AssetSummary struct + StakedWallets uint64 + TotalTransactions uint64 + UnstakedAddresses uint64 + type AssetSummaryResponse struct + Data []AssetSummary + type AssetTxsResponse struct + Data []AddressTx + type Block struct + AbsSlot Slot + ChildHash BlockHash + Confirmations int + EpochNo EpochNo + EpochSlot Slot + Hash BlockHash + Height int + OpCert string + OpCertCounter int + ParentHash BlockHash + Pool string + ProtoMajor int + ProtoMinor int + Size int + Time Timestamp + TotalFees decimal.Decimal + TotalOutput decimal.Decimal + TxCount int + VrfKey string + func (block *Block) UnmarshalJSON(b []byte) error + type BlockHash string + func (v BlockHash) String() string + type BlockInfoResponse struct + Data Block + type BlockNo int + type BlockProtocol struct + Blocks int + ProtoMajor int + ProtoMinor int + type BlockTxs struct + BlockHash BlockHash + TxHashes []TxHash + type BlockTxsResponse struct + Data BlockTxs + type BlocksInfoResponse struct + Data []Block + type BlocksResponse struct + Data []Block + type BlocksTxsResponse struct + Data []BlockTxs + type Certificate struct + Index int + Info map[string]json.RawMessage + Type string + type Client struct + func New(opts ...Option) (*Client, error) + func (c *Client) BaseURL() string + func (c *Client) GET(ctx context.Context, path string, opts *RequestOptions) (*http.Response, error) + func (c *Client) GetAccountAddresses(ctx context.Context, acc Address, epoch *EpochNo, opts *RequestOptions) (res *AccountAddressesResponse, err error) + func (c *Client) GetAccountAssets(ctx context.Context, acc Address, epoch *EpochNo, opts *RequestOptions) (res *AccountAssetsResponse, err error) + func (c *Client) GetAccountHistory(ctx context.Context, acc Address, epoch *EpochNo, opts *RequestOptions) (res *AccountHistoryResponse, err error) + func (c *Client) GetAccountInfo(ctx context.Context, acc Address, cached bool, opts *RequestOptions) (res *AccountInfoResponse, err error) + func (c *Client) GetAccountRewards(ctx context.Context, acc Address, epoch *EpochNo, opts *RequestOptions) (res *AccountRewardsResponse, err error) + func (c *Client) GetAccountUpdates(ctx context.Context, acc Address, epoch *EpochNo, opts *RequestOptions) (res *AccountUpdatesResponse, err error) + func (c *Client) GetAccounts(ctx context.Context, opts *RequestOptions) (res *AccountListResponse, err error) + func (c *Client) GetAccountsAddresses(ctx context.Context, accs []Address, opts *RequestOptions) (res *AccountsAddressesResponse, err error) + func (c *Client) GetAccountsAssets(ctx context.Context, accs []Address, opts *RequestOptions) (res *AccountsAssetsResponse, err error) + func (c *Client) GetAccountsHistory(ctx context.Context, accs []Address, opts *RequestOptions) (res *AccountsHistoryResponse, err error) + func (c *Client) GetAccountsInfo(ctx context.Context, accs []Address, cached bool, opts *RequestOptions) (res *AccountsInfoResponse, err error) + func (c *Client) GetAccountsRewards(ctx context.Context, accs []Address, epoch *EpochNo, opts *RequestOptions) (res *AccountsRewardsResponse, err error) + func (c *Client) GetAccountsUpdates(ctx context.Context, accs []Address, opts *RequestOptions) (res *AccountsUpdatesResponse, err error) + func (c *Client) GetAddressAssets(ctx context.Context, addr Address, opts *RequestOptions) (res *AddressAssetsResponse, err error) + func (c *Client) GetAddressInfo(ctx context.Context, addr Address, opts *RequestOptions) (res *AddressInfoResponse, err error) + func (c *Client) GetAddressTxs(ctx context.Context, addrs []Address, h uint64, opts *RequestOptions) (*AddressTxsResponse, error) + func (c *Client) GetAddressesAssets(ctx context.Context, addrs []Address, opts *RequestOptions) (*AddressesAssetsResponse, error) + func (c *Client) GetAddressesInfo(ctx context.Context, addr []Address, opts *RequestOptions) (res *AddressesInfoResponse, err error) + func (c *Client) GetAssetAddresses(ctx context.Context, policy PolicyID, assetName AssetName, ...) (res *AssetAddressListResponse, err error) + func (c *Client) GetAssetHistory(ctx context.Context, policy PolicyID, name AssetName, opts *RequestOptions) (res *AssetHistoryResponse, err error) + func (c *Client) GetAssetInfo(ctx context.Context, policy PolicyID, name AssetName, opts *RequestOptions) (res *AssetInfoResponse, err error) + func (c *Client) GetAssetPolicyInfo(ctx context.Context, policy PolicyID, opts *RequestOptions) (res *AssetPolicyInfoResponse, err error) + func (c *Client) GetAssetSummary(ctx context.Context, policy PolicyID, name AssetName, opts *RequestOptions) (res *AssetSummaryResponse, err error) + func (c *Client) GetAssetTxs(ctx context.Context, policy PolicyID, name AssetName, afterBlockHeight int, ...) (res *AssetTxsResponse, err error) + func (c *Client) GetAssets(ctx context.Context, opts *RequestOptions) (res *AssetListResponse, err error) + func (c *Client) GetBlockInfo(ctx context.Context, hash BlockHash, opts *RequestOptions) (res *BlockInfoResponse, err error) + func (c *Client) GetBlockInfos(ctx context.Context, hashes []BlockHash, opts *RequestOptions) (res *BlocksInfoResponse, err error) + func (c *Client) GetBlockTxs(ctx context.Context, hash BlockHash, opts *RequestOptions) (res *BlockTxsResponse, err error) + func (c *Client) GetBlocks(ctx context.Context, opts *RequestOptions) (res *BlocksResponse, err error) + func (c *Client) GetBlocksTxs(ctx context.Context, hashes []BlockHash, opts *RequestOptions) (res *BlocksTxsResponse, err error) + func (c *Client) GetCredentialTxs(ctx context.Context, creds []PaymentCredential, h uint64, opts *RequestOptions) (res *CredentialTxsResponse, err error) + func (c *Client) GetDatumInfo(ctx context.Context, hash DatumHash, opts *RequestOptions) (res *DatumInfoResponse, err error) + func (c *Client) GetDatumInfos(ctx context.Context, hashes []DatumHash, opts *RequestOptions) (*DatumInfosResponse, error) + func (c *Client) GetEpochBlockProtocols(ctx context.Context, epoch *EpochNo, opts *RequestOptions) (res *EpochBlockProtocolsResponse, err error) + func (c *Client) GetEpochInfo(ctx context.Context, epoch *EpochNo, opts *RequestOptions) (res *EpochInfoResponse, err error) + func (c *Client) GetEpochParams(ctx context.Context, epoch *EpochNo, opts *RequestOptions) (res *EpochParamsResponse, err error) + func (c *Client) GetGenesis(ctx context.Context, opts *RequestOptions) (*GenesisResponse, error) + func (c *Client) GetNativeScripts(ctx context.Context, opts *RequestOptions) (res *NativeScriptListResponse, err error) + func (c *Client) GetPlutusScripts(ctx context.Context, opts *RequestOptions) (res *PlutusScriptListResponse, err error) + func (c *Client) GetPoolBlocks(ctx context.Context, pid PoolID, epoch *EpochNo, opts *RequestOptions) (res *PoolBlocksResponse, err error) + func (c *Client) GetPoolDelegators(ctx context.Context, pid PoolID, opts *RequestOptions) (res *PoolDelegatorsResponse, err error) + func (c *Client) GetPoolDelegatorsHistory(ctx context.Context, pid PoolID, epoch *EpochNo, opts *RequestOptions) (res *PoolDelegatorsHistoryResponse, err error) + func (c *Client) GetPoolHistory(ctx context.Context, pid PoolID, epoch *EpochNo, opts *RequestOptions) (res *PoolHistoryResponse, err error) + func (c *Client) GetPoolInfo(ctx context.Context, pid PoolID, opts *RequestOptions) (res *PoolInfoResponse, err error) + func (c *Client) GetPoolInfos(ctx context.Context, pids []PoolID, opts *RequestOptions) (res *PoolInfosResponse, err error) + func (c *Client) GetPoolMetadata(ctx context.Context, pids []PoolID, opts *RequestOptions) (res *PoolMetadataResponse, err error) + func (c *Client) GetPoolRelays(ctx context.Context, opts *RequestOptions) (res *PoolRelaysResponse, err error) + func (c *Client) GetPoolSnapshot(ctx context.Context, pid PoolID, opts *RequestOptions) (res *PoolSnapshotResponse, err error) + func (c *Client) GetPoolUpdates(ctx context.Context, pid *PoolID, opts *RequestOptions) (res *PoolUpdatesResponse, err error) + func (c *Client) GetPools(ctx context.Context, opts *RequestOptions) (res *PoolListResponse, err error) + func (c *Client) GetScriptRedeemers(ctx context.Context, sh ScriptHash, opts *RequestOptions) (res *ScriptRedeemersResponse, err error) + func (c *Client) GetTip(ctx context.Context, opts *RequestOptions) (res *TipResponse, err error) + func (c *Client) GetTotals(ctx context.Context, epoch *EpochNo, opts *RequestOptions) (*TotalsResponse, error) + func (c *Client) GetTxInfo(ctx context.Context, hash TxHash, opts *RequestOptions) (res *TxInfoResponse, err error) + func (c *Client) GetTxMetaLabels(ctx context.Context, opts *RequestOptions) (*TxMetaLabelsResponse, error) + func (c *Client) GetTxMetadata(ctx context.Context, hash TxHash, opts *RequestOptions) (res *TxMetadataResponse, err error) + func (c *Client) GetTxStatus(ctx context.Context, hash TxHash, opts *RequestOptions) (res *TxStatusResponse, err error) + func (c *Client) GetTxUTxOs(ctx context.Context, hash TxHash, opts *RequestOptions) (res *TxUTxOsResponse, err error) + func (c *Client) GetTxsInfo(ctx context.Context, txs []TxHash, opts *RequestOptions) (*TxsInfosResponse, error) + func (c *Client) GetTxsMetadata(ctx context.Context, txs []TxHash, opts *RequestOptions) (*TxsMetadataResponse, error) + func (c *Client) GetTxsStatuses(ctx context.Context, txs []TxHash, opts *RequestOptions) (*TxsStatusesResponse, error) + func (c *Client) GetTxsUTxOs(ctx context.Context, txs []TxHash, opts *RequestOptions) (*TxsUTxOsResponse, error) + func (c *Client) HEAD(ctx context.Context, path string, opts *RequestOptions) (*http.Response, error) + func (c *Client) NewRequestOptions() *RequestOptions + func (c *Client) POST(ctx context.Context, path string, body io.Reader, opts *RequestOptions) (*http.Response, error) + func (c *Client) ServerURL() *url.URL + func (c *Client) SubmitSignedTx(ctx context.Context, stx TxBodyJSON, opts *RequestOptions) (*SubmitSignedTxResponse, error) + func (c *Client) WithOptions(opts ...Option) (*Client, error) + type CredentialTxsResponse struct + Data []AddressTx + type DatumHash string + func (v DatumHash) String() string + type DatumInfo struct + Bytes string + Hash DatumHash + Value *json.RawMessage + type DatumInfoResponse struct + Data *DatumInfo + type DatumInfosResponse struct + Data []DatumInfo + type EUTxO struct + Inputs []UTxO + Outputs []UTxO + TxHash TxHash + type EpochBlockProtocolsResponse struct + Data []BlockProtocol + type EpochInfo struct + ActiveStake decimal.Decimal + AvgBlkReward decimal.Decimal + BlkCount int + EndTime Timestamp + EpochNo EpochNo + Fees decimal.Decimal + FirstBlockTime Timestamp + LastBlockTime Timestamp + OutSum decimal.Decimal + StartTime Timestamp + TotalRewards decimal.Decimal + TxCount int + type EpochInfoResponse struct + Data []EpochInfo + type EpochNo int + func (v EpochNo) String() string + type EpochParams struct + BlockHash BlockHash + CoinsPerUtxoSize decimal.Decimal + CollateralPercent int + CostModels string + Decentralisation float64 + EpochNo EpochNo + ExtraEntropy string + Influence float64 + KeyDeposit decimal.Decimal + MaxBhSize int + MaxBlockExMem float32 + MaxBlockExSteps float32 + MaxBlockSize int + MaxCollateralInputs int + MaxEpoch int + MaxTxExMem float32 + MaxTxExSteps float32 + MaxTxSize int + MaxValSize float64 + MinFeeA decimal.Decimal + MinFeeB decimal.Decimal + MinPoolCost decimal.Decimal + MinUtxoValue decimal.Decimal + MonetaryExpandRate float64 + Nonce string + OptimalPoolCount int + PoolDeposit decimal.Decimal + PriceMem decimal.Decimal + PriceStep decimal.Decimal + ProtocolMajor int + ProtocolMinor int + TreasuryGrowthRate float64 + type EpochParamsResponse struct + Data []EpochParams + type ErrorCode string + func ErrorCodeFromInt(code int) ErrorCode + func (c ErrorCode) Int() int + func (c ErrorCode) String() string + type Genesis struct + ActiveSlotCoeff decimal.Decimal + AlonzoGenesis json.RawMessage + EpochLength decimal.Decimal + MaxKesRevolutions decimal.Decimal + MaxLovelaceSupply decimal.Decimal + NetworkID string + NetworkMagic decimal.Decimal + SecurityParam decimal.Decimal + SlotLength decimal.Decimal + SlotsPerKesPeriod decimal.Decimal + SystemStart Timestamp + UpdateQuorum decimal.Decimal + func (g *Genesis) AlonzoGenesisMap() (map[string]any, error) + type GenesisResponse struct + Data Genesis + type NativeScript struct + CreationTxHash TxHash + Script struct{ ... } + ScriptHash string + Type string + type NativeScriptListResponse struct + Data []NativeScript + type Option struct + func APIVersion(version string) Option + func CollectRequestsStats(enabled bool) Option + func HTTPClient(client *http.Client) Option + func Host(host string) Option + func Origin(origin string) Option + func Port(port uint16) Option + func RateLimit(reqps int) Option + func Scheme(scheme string) Option + type PaymentAddr struct + Bech32 Address + Cred PaymentCredential + type PaymentCredential string + func (v PaymentCredential) String() string + type PlutusContract struct + Address Address + ByteCode string + ScriptHash ScriptHash + Size int + ValidContract bool + type PlutusScriptListItem struct + CreationTxHash TxHash + ScriptHash string + type PlutusScriptListResponse struct + Data []PlutusScriptListItem + type PolicyID string + func (v PolicyID) String() string + type PoolBlockInfo struct + AbsSlot Slot + BlockHash BlockHash + BlockHeight uint64 + BlockTime Timestamp + EpochNo EpochNo + EpochSlot Slot + type PoolBlocksResponse struct + Data []PoolBlockInfo + type PoolDelegator struct + ActiveEpochNo EpochNo + Amount decimal.Decimal + LatestDelegationTxHash TxHash + StakeAddress Address + type PoolDelegatorHistory struct + Amount decimal.Decimal + EpochNo EpochNo + StakeAddress Address + type PoolDelegatorsHistoryResponse struct + Data []PoolDelegatorHistory + type PoolDelegatorsResponse struct + Data []PoolDelegator + type PoolHistory struct + ActiveStake decimal.Decimal + ActiveStakePCT float64 + BlockCNT int + DelegRewards decimal.Decimal + DelegatorCNT int + EpochNo EpochNo + EpochROS decimal.Decimal + FixedCost decimal.Decimal + Margin float64 + PoolFees decimal.Decimal + SaturationPCT float64 + type PoolHistoryResponse struct + Data []PoolHistory + type PoolID string + func (v PoolID) String() string + type PoolInfo struct + ActiveEpoch EpochNo + ActiveStake decimal.Decimal + BlockCount uint64 + FixedCost decimal.Decimal + LiveDelegators uint64 + LivePledge decimal.Decimal + LiveSaturation float32 + LiveStake decimal.Decimal + Margin float32 + MetaHash string + MetaJSON PoolMetaJSON + MetaURL string + OpCert string + OpCertCounter int + Owners []Address + Pledge decimal.Decimal + PoolID PoolID + PoolIdHex string + PoolStatus string + Relays []Relay + RetiringEpoch *EpochNo + RewardAddr Address + Sigma float64 + VrfKeyHash string + type PoolInfoResponse struct + Data *PoolInfo + type PoolInfosResponse struct + Data []PoolInfo + type PoolListItem struct + PoolID PoolID + Ticker string + type PoolListResponse struct + Data []PoolListItem + type PoolMetaJSON struct + Description *string + Homepage *string + Name *string + Ticker *string + type PoolMetadata struct + MetaHash string + MetaJSON *PoolMetaJSON + MetaURL string + PoolID PoolID + type PoolMetadataResponse struct + Data []PoolMetadata + type PoolRelays struct + PoolID PoolID + Relays []Relay + type PoolRelaysResponse struct + Data []PoolRelays + type PoolSnapshot struct + ActiveStake decimal.Decimal + EpochNo EpochNo + Nonce string + PoolStake decimal.Decimal + Snapshot string + type PoolSnapshotResponse struct + Data []PoolSnapshot + type PoolUpdateInfo struct + ActiveEpoch EpochNo + BlockTime Timestamp + FixedCost decimal.Decimal + Margin float32 + MetaHash string + MetaURL string + Owners []Address + Pledge decimal.Decimal + PoolID PoolID + PoolIDHex string + PoolStatus string + Relays []Relay + RetiringEpoch *EpochNo + RewardAddr Address + TxHash TxHash + VrfKeyHash string + type PoolUpdatesResponse struct + Data []PoolUpdateInfo + type Relay struct + DNS string + Ipv4 string + Ipv6 string + Port uint16 + Srv string + type RequestOptions struct + func (ro *RequestOptions) Clone() *RequestOptions + func (ro *RequestOptions) HeaderAdd(key, val string) + func (ro *RequestOptions) HeaderApply(h http.Header) + func (ro *RequestOptions) HeaderSet(key, val string) + func (ro *RequestOptions) QueryAdd(key, val string) + func (ro *RequestOptions) QueryApply(h url.Values) + func (ro *RequestOptions) QuerySet(key, val string) + func (ro *RequestOptions) SetCurrentPage(page uint) + func (ro *RequestOptions) SetPageSize(size uint) + type RequestStats struct + DNSLookupDur time.Duration + ESTCXNDur time.Duration + ReqDur time.Duration + ReqDurStr string + ReqStartedAt time.Time + TLSHSDur time.Duration + TTFB time.Duration + type Response struct + ContentLocation string + ContentRange string + Date string + Error *ResponseError + RequestMethod string + RequestURL string + Stats *RequestStats + Status string + StatusCode int + type ResponseError struct + Code ErrorCode + Details string + Hint string + Message string + func (e *ResponseError) Error() string + func (e *ResponseError) Unwrap() error + type ScriptHash string + func (v ScriptHash) String() string + type ScriptRedeemer struct + DatumHash string + DatumValue map[string]any + Fee decimal.Decimal + Purpose string + TxHash TxHash + TxIndex uint32 + UnitMem int + UnitSteps int + type ScriptRedeemers struct + Redeemers []ScriptRedeemer + ScriptHash ScriptHash + type ScriptRedeemersResponse struct + Data *ScriptRedeemers + type Slot int + type SubmitSignedTxResponse struct + Data TxHash + type TX struct + type Timestamp struct + func (t *Timestamp) UnmarshalJSON(b []byte) error + func (t Timestamp) MarshalJSON() ([]byte, error) + type Tip struct + AbsSlot Slot + BlockNo BlockNo + BlockTime Timestamp + EpochNo EpochNo + EpochSlot Slot + Hash BlockHash + type TipResponse struct + Data Tip + type TokenRegistryMetadata struct + Decimals int + Description string + Logo string + Name string + Ticker string + URL string + type Totals struct + Circulation decimal.Decimal + EpochNo EpochNo + Reserves decimal.Decimal + Reward decimal.Decimal + Supply decimal.Decimal + Treasury decimal.Decimal + type TotalsResponse struct + Data []Totals + type TxBodyJSON struct + CborHex string + Description string + Type string + type TxHash string + func (v TxHash) String() string + type TxInfo struct + AbsoluteSlot Slot + AssetsMinted []Asset + BlockHash BlockHash + BlockHeight int + Certificates []Certificate + CollateralInputs []UTxO + CollateralOutput *UTxO + Deposit decimal.Decimal + EpochNo EpochNo + EpochSlot Slot + Fee decimal.Decimal + InvalidAfter Timestamp + InvalidBefore Timestamp + Metadata TxMetadata + NativeScripts []NativeScript + PlutusContracts []PlutusContract + ReferenceInputs []UTxO + TotalOutput decimal.Decimal + TxBlockIndex int + TxSize int + TxTimestamp Timestamp + Withdrawals []TxsWithdrawal + type TxInfoResponse struct + Data TX + type TxMetaLabelsResponse struct + Data []TxMetalabel + type TxMetadata map[string]json.RawMessage + func (m *TxMetadata) UnmarshalJSON(b []byte) error + type TxMetadataOf struct + Metadata TxMetadata + TxHash TxHash + func (m *TxMetadataOf) UnmarshalJSON(b []byte) error + type TxMetadataResponse struct + Data *TxMetadataOf + type TxMetalabel struct + Key string + type TxStatus struct + Confirmations uint64 + TxHash TxHash + type TxStatusResponse struct + Data *TxStatus + type TxUTxOsResponse struct + Data *EUTxO + type TxsInfosResponse struct + Data []TX + type TxsMetadataResponse struct + Data []TxMetadataOf + type TxsStatusesResponse struct + Data []TxStatus + type TxsUTxOsResponse struct + Data []EUTxO + type TxsWithdrawal struct + Amount decimal.Decimal + StakeAddress Address + type UTxO struct + AssetList []Asset + DatumHash DatumHash + InlineDatum any + PaymentAddr *PaymentAddr + ReferenceScript any + StakeAddress *Address + TxHash TxHash + TxIndex int + Value decimal.Decimal v3.0.0-rc.1 Nov 18, 2022 Other modules containing this package github.com/cardano-community/koios-go-client github.com/cardano-community/koios-go-client/v2