Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AccountAction
- type AccountHistory
- func (o *AccountHistory) GetActiveStake() int64
- func (o *AccountHistory) GetActiveStakeOk() (*int64, bool)
- func (o *AccountHistory) GetEpochNo() int32
- func (o *AccountHistory) GetEpochNoOk() (*int32, bool)
- func (o *AccountHistory) GetPoolId() string
- func (o *AccountHistory) GetPoolIdOk() (*string, bool)
- func (o *AccountHistory) HasPoolId() bool
- func (o AccountHistory) MarshalJSON() ([]byte, error)
- func (o *AccountHistory) SetActiveStake(v int64)
- func (o *AccountHistory) SetEpochNo(v int32)
- func (o *AccountHistory) SetPoolId(v string)
- func (o AccountHistory) ToMap() (map[string]interface{}, error)
- type AccountInfo
- func (o *AccountInfo) GetDelegatedPool() string
- func (o *AccountInfo) GetDelegatedPoolOk() (*string, bool)
- func (o *AccountInfo) GetRegistered() bool
- func (o *AccountInfo) GetRegisteredOk() (*bool, bool)
- func (o *AccountInfo) GetRewardsAvailable() int64
- func (o *AccountInfo) GetRewardsAvailableOk() (*int64, bool)
- func (o *AccountInfo) GetStakeAddress() string
- func (o *AccountInfo) GetStakeAddressOk() (*string, bool)
- func (o *AccountInfo) GetTotalBalance() int64
- func (o *AccountInfo) GetTotalBalanceOk() (*int64, bool)
- func (o *AccountInfo) GetTotalRewarded() int64
- func (o *AccountInfo) GetTotalRewardedOk() (*int64, bool)
- func (o *AccountInfo) GetTotalWithdrawn() int64
- func (o *AccountInfo) GetTotalWithdrawnOk() (*int64, bool)
- func (o *AccountInfo) GetUtxoBalance() int64
- func (o *AccountInfo) GetUtxoBalanceOk() (*int64, bool)
- func (o *AccountInfo) HasDelegatedPool() bool
- func (o AccountInfo) MarshalJSON() ([]byte, error)
- func (o *AccountInfo) SetDelegatedPool(v string)
- func (o *AccountInfo) SetRegistered(v bool)
- func (o *AccountInfo) SetRewardsAvailable(v int64)
- func (o *AccountInfo) SetStakeAddress(v string)
- func (o *AccountInfo) SetTotalBalance(v int64)
- func (o *AccountInfo) SetTotalRewarded(v int64)
- func (o *AccountInfo) SetTotalWithdrawn(v int64)
- func (o *AccountInfo) SetUtxoBalance(v int64)
- func (o AccountInfo) ToMap() (map[string]interface{}, error)
- type AccountReward
- func (o *AccountReward) GetAmount() int64
- func (o *AccountReward) GetAmountOk() (*int64, bool)
- func (o *AccountReward) GetEarnedEpoch() int32
- func (o *AccountReward) GetEarnedEpochOk() (*int32, bool)
- func (o *AccountReward) GetPoolId() string
- func (o *AccountReward) GetPoolIdOk() (*string, bool)
- func (o *AccountReward) GetSpendableEpoch() int32
- func (o *AccountReward) GetSpendableEpochOk() (*int32, bool)
- func (o *AccountReward) GetType() AccountStakingRewardType
- func (o *AccountReward) GetTypeOk() (*AccountStakingRewardType, bool)
- func (o AccountReward) MarshalJSON() ([]byte, error)
- func (o *AccountReward) SetAmount(v int64)
- func (o *AccountReward) SetEarnedEpoch(v int32)
- func (o *AccountReward) SetPoolId(v string)
- func (o *AccountReward) SetSpendableEpoch(v int32)
- func (o *AccountReward) SetType(v AccountStakingRewardType)
- func (o AccountReward) ToMap() (map[string]interface{}, error)
- type AccountRewardType
- type AccountStakingRewardType
- type AccountUpdate
- func (o *AccountUpdate) GetAbsSlot() int32
- func (o *AccountUpdate) GetAbsSlotOk() (*int32, bool)
- func (o *AccountUpdate) GetAction() AccountAction
- func (o *AccountUpdate) GetActionOk() (*AccountAction, bool)
- func (o *AccountUpdate) GetEpochNo() int32
- func (o *AccountUpdate) GetEpochNoOk() (*int32, bool)
- func (o *AccountUpdate) GetTxHash() string
- func (o *AccountUpdate) GetTxHashOk() (*string, bool)
- func (o AccountUpdate) MarshalJSON() ([]byte, error)
- func (o *AccountUpdate) SetAbsSlot(v int32)
- func (o *AccountUpdate) SetAction(v AccountAction)
- func (o *AccountUpdate) SetEpochNo(v int32)
- func (o *AccountUpdate) SetTxHash(v string)
- func (o AccountUpdate) ToMap() (map[string]interface{}, error)
- type AccountsAPI
- type AccountsAPIAccountAddressesRequest
- type AccountsAPIAccountAssetsRequest
- type AccountsAPIAccountHistoryRequest
- func (r AccountsAPIAccountHistoryRequest) Count(count int32) AccountsAPIAccountHistoryRequest
- func (r AccountsAPIAccountHistoryRequest) EpochNo(epochNo int32) AccountsAPIAccountHistoryRequest
- func (r AccountsAPIAccountHistoryRequest) Execute() ([]AccountHistory, *http.Response, error)
- func (r AccountsAPIAccountHistoryRequest) Page(page int32) AccountsAPIAccountHistoryRequest
- type AccountsAPIAccountInfoRequest
- type AccountsAPIAccountRewardsRequest
- type AccountsAPIAccountUpdatesRequest
- type AccountsAPIService
- func (a *AccountsAPIService) AccountAddresses(ctx context.Context, stakeAddress string) AccountsAPIAccountAddressesRequest
- func (a *AccountsAPIService) AccountAddressesExecute(r AccountsAPIAccountAddressesRequest) ([]string, *http.Response, error)
- func (a *AccountsAPIService) AccountAssets(ctx context.Context, stakeAddress string) AccountsAPIAccountAssetsRequest
- func (a *AccountsAPIService) AccountAssetsExecute(r AccountsAPIAccountAssetsRequest) ([]Asset, *http.Response, error)
- func (a *AccountsAPIService) AccountHistory(ctx context.Context, stakeAddress string) AccountsAPIAccountHistoryRequest
- func (a *AccountsAPIService) AccountHistoryExecute(r AccountsAPIAccountHistoryRequest) ([]AccountHistory, *http.Response, error)
- func (a *AccountsAPIService) AccountInfo(ctx context.Context, stakeAddress string) AccountsAPIAccountInfoRequest
- func (a *AccountsAPIService) AccountInfoExecute(r AccountsAPIAccountInfoRequest) (*AccountInfo, *http.Response, error)
- func (a *AccountsAPIService) AccountRewards(ctx context.Context, stakeAddress string) AccountsAPIAccountRewardsRequest
- func (a *AccountsAPIService) AccountRewardsExecute(r AccountsAPIAccountRewardsRequest) ([]AccountReward, *http.Response, error)
- func (a *AccountsAPIService) AccountUpdates(ctx context.Context, stakeAddress string) AccountsAPIAccountUpdatesRequest
- func (a *AccountsAPIService) AccountUpdatesExecute(r AccountsAPIAccountUpdatesRequest) ([]AccountUpdate, *http.Response, error)
- type AddressInfo
- func (o *AddressInfo) GetBech32() string
- func (o *AddressInfo) GetBech32Ok() (*string, bool)
- func (o *AddressInfo) GetHex() string
- func (o *AddressInfo) GetHexOk() (*string, bool)
- func (o *AddressInfo) GetNetwork() NetworkId
- func (o *AddressInfo) GetNetworkOk() (*NetworkId, bool)
- func (o *AddressInfo) GetPaymentCred() PaymentCredential
- func (o *AddressInfo) GetPaymentCredOk() (*PaymentCredential, bool)
- func (o *AddressInfo) GetStakingCred() StakingCredential
- func (o *AddressInfo) GetStakingCredOk() (*StakingCredential, bool)
- func (o *AddressInfo) HasBech32() bool
- func (o *AddressInfo) HasNetwork() bool
- func (o *AddressInfo) HasPaymentCred() bool
- func (o *AddressInfo) HasStakingCred() bool
- func (o AddressInfo) MarshalJSON() ([]byte, error)
- func (o *AddressInfo) SetBech32(v string)
- func (o *AddressInfo) SetHex(v string)
- func (o *AddressInfo) SetNetwork(v NetworkId)
- func (o *AddressInfo) SetPaymentCred(v PaymentCredential)
- func (o *AddressInfo) SetStakingCred(v StakingCredential)
- func (o AddressInfo) ToMap() (map[string]interface{}, error)
- type AddressTxCount
- type AddressesAPI
- type AddressesAPIAddressUtxosRequest
- func (r AddressesAPIAddressUtxosRequest) Count(count int32) AddressesAPIAddressUtxosRequest
- func (r AddressesAPIAddressUtxosRequest) Execute() ([]Utxo, *http.Response, error)
- func (r AddressesAPIAddressUtxosRequest) Page(page int32) AddressesAPIAddressUtxosRequest
- func (r AddressesAPIAddressUtxosRequest) ResolveDatums(resolveDatums bool) AddressesAPIAddressUtxosRequest
- func (r AddressesAPIAddressUtxosRequest) WithCbor(withCbor bool) AddressesAPIAddressUtxosRequest
- type AddressesAPIDecodeAddressRequest
- type AddressesAPIService
- func (a *AddressesAPIService) AddressUtxos(ctx context.Context, address string) AddressesAPIAddressUtxosRequest
- func (a *AddressesAPIService) AddressUtxosExecute(r AddressesAPIAddressUtxosRequest) ([]Utxo, *http.Response, error)
- func (a *AddressesAPIService) DecodeAddress(ctx context.Context, address string) AddressesAPIDecodeAddressRequest
- func (a *AddressesAPIService) DecodeAddressExecute(r AddressesAPIDecodeAddressRequest) (*AddressInfo, *http.Response, error)
- func (a *AddressesAPIService) TxCountByAddress(ctx context.Context, address string) AddressesAPITxCountByAddressRequest
- func (a *AddressesAPIService) TxCountByAddressExecute(r AddressesAPITxCountByAddressRequest) (*AddressTxCount, *http.Response, error)
- func (a *AddressesAPIService) UtxoRefsAtAddress(ctx context.Context, address string) AddressesAPIUtxoRefsAtAddressRequest
- func (a *AddressesAPIService) UtxoRefsAtAddressExecute(r AddressesAPIUtxoRefsAtAddressRequest) ([]UtxoRef, *http.Response, error)
- func (a *AddressesAPIService) UtxosByAddresses(ctx context.Context) AddressesAPIUtxosByAddressesRequest
- func (a *AddressesAPIService) UtxosByAddressesExecute(r AddressesAPIUtxosByAddressesRequest) ([]Utxo, *http.Response, error)
- type AddressesAPITxCountByAddressRequest
- type AddressesAPIUtxoRefsAtAddressRequest
- type AddressesAPIUtxosByAddressesRequest
- func (r AddressesAPIUtxosByAddressesRequest) Count(count int32) AddressesAPIUtxosByAddressesRequest
- func (r AddressesAPIUtxosByAddressesRequest) Execute() ([]Utxo, *http.Response, error)
- func (r AddressesAPIUtxosByAddressesRequest) Page(page int32) AddressesAPIUtxosByAddressesRequest
- func (r AddressesAPIUtxosByAddressesRequest) RequestBody(requestBody []string) AddressesAPIUtxosByAddressesRequest
- func (r AddressesAPIUtxosByAddressesRequest) ResolveDatums(resolveDatums bool) AddressesAPIUtxosByAddressesRequest
- func (r AddressesAPIUtxosByAddressesRequest) WithCbor(withCbor bool) AddressesAPIUtxosByAddressesRequest
- type Asset
- func (o *Asset) GetQuantity() int64
- func (o *Asset) GetQuantityOk() (*int64, bool)
- func (o *Asset) GetUnit() string
- func (o *Asset) GetUnitOk() (*string, bool)
- func (o Asset) MarshalJSON() ([]byte, error)
- func (o *Asset) SetQuantity(v int64)
- func (o *Asset) SetUnit(v string)
- func (o Asset) ToMap() (map[string]interface{}, error)
- type AssetHolder
- func (o *AssetHolder) GetAddress() string
- func (o *AssetHolder) GetAddressOk() (*string, bool)
- func (o *AssetHolder) GetAmount() int64
- func (o *AssetHolder) GetAmountOk() (*int64, bool)
- func (o AssetHolder) MarshalJSON() ([]byte, error)
- func (o *AssetHolder) SetAddress(v string)
- func (o *AssetHolder) SetAmount(v int64)
- func (o AssetHolder) ToMap() (map[string]interface{}, error)
- type AssetInPolicy
- func (o *AssetInPolicy) GetName() string
- func (o *AssetInPolicy) GetNameOk() (*string, bool)
- func (o *AssetInPolicy) GetQuantity() int64
- func (o *AssetInPolicy) GetQuantityOk() (*int64, bool)
- func (o AssetInPolicy) MarshalJSON() ([]byte, error)
- func (o *AssetInPolicy) SetName(v string)
- func (o *AssetInPolicy) SetQuantity(v int64)
- func (o AssetInPolicy) ToMap() (map[string]interface{}, error)
- type AssetInfo
- func (o *AssetInfo) GetAssetName() string
- func (o *AssetInfo) GetAssetNameAscii() string
- func (o *AssetInfo) GetAssetNameAsciiOk() (*string, bool)
- func (o *AssetInfo) GetAssetNameOk() (*string, bool)
- func (o *AssetInfo) GetAssetStandards() AssetStandards
- func (o *AssetInfo) GetAssetStandardsOk() (*AssetStandards, bool)
- func (o *AssetInfo) GetBurnTxCount() int64
- func (o *AssetInfo) GetBurnTxCountOk() (*int64, bool)
- func (o *AssetInfo) GetFingerprint() string
- func (o *AssetInfo) GetFingerprintOk() (*string, bool)
- func (o *AssetInfo) GetFirstMintTime() int32
- func (o *AssetInfo) GetFirstMintTimeOk() (*int32, bool)
- func (o *AssetInfo) GetFirstMintTx() string
- func (o *AssetInfo) GetFirstMintTxOk() (*string, bool)
- func (o *AssetInfo) GetLatestMintTxMetadata() map[string]interface{}
- func (o *AssetInfo) GetLatestMintTxMetadataOk() (map[string]interface{}, bool)
- func (o *AssetInfo) GetMintTxCount() int64
- func (o *AssetInfo) GetMintTxCountOk() (*int64, bool)
- func (o *AssetInfo) GetTokenRegistryMetadata() TokenRegistryMetadata
- func (o *AssetInfo) GetTokenRegistryMetadataOk() (*TokenRegistryMetadata, bool)
- func (o *AssetInfo) GetTotalSupply() int64
- func (o *AssetInfo) GetTotalSupplyOk() (*int64, bool)
- func (o *AssetInfo) HasAssetNameAscii() bool
- func (o *AssetInfo) HasLatestMintTxMetadata() bool
- func (o *AssetInfo) HasTokenRegistryMetadata() bool
- func (o AssetInfo) MarshalJSON() ([]byte, error)
- func (o *AssetInfo) SetAssetName(v string)
- func (o *AssetInfo) SetAssetNameAscii(v string)
- func (o *AssetInfo) SetAssetStandards(v AssetStandards)
- func (o *AssetInfo) SetBurnTxCount(v int64)
- func (o *AssetInfo) SetFingerprint(v string)
- func (o *AssetInfo) SetFirstMintTime(v int32)
- func (o *AssetInfo) SetFirstMintTx(v string)
- func (o *AssetInfo) SetLatestMintTxMetadata(v map[string]interface{})
- func (o *AssetInfo) SetMintTxCount(v int64)
- func (o *AssetInfo) SetTokenRegistryMetadata(v TokenRegistryMetadata)
- func (o *AssetInfo) SetTotalSupply(v int64)
- func (o AssetInfo) ToMap() (map[string]interface{}, error)
- type AssetStandards
- func (o *AssetStandards) GetCip25Metadata() map[string]interface{}
- func (o *AssetStandards) GetCip25MetadataOk() (map[string]interface{}, bool)
- func (o *AssetStandards) GetCip68Metadata() map[string]interface{}
- func (o *AssetStandards) GetCip68MetadataOk() (map[string]interface{}, bool)
- func (o *AssetStandards) HasCip25Metadata() bool
- func (o *AssetStandards) HasCip68Metadata() bool
- func (o AssetStandards) MarshalJSON() ([]byte, error)
- func (o *AssetStandards) SetCip25Metadata(v map[string]interface{})
- func (o *AssetStandards) SetCip68Metadata(v map[string]interface{})
- func (o AssetStandards) ToMap() (map[string]interface{}, error)
- type AssetTx
- func (o *AssetTx) GetBlockHeight() int32
- func (o *AssetTx) GetBlockHeightOk() (*int32, bool)
- func (o *AssetTx) GetEpochNo() int32
- func (o *AssetTx) GetEpochNoOk() (*int32, bool)
- func (o *AssetTx) GetTxHash() string
- func (o *AssetTx) GetTxHashOk() (*string, bool)
- func (o AssetTx) MarshalJSON() ([]byte, error)
- func (o *AssetTx) SetBlockHeight(v int32)
- func (o *AssetTx) SetEpochNo(v int32)
- func (o *AssetTx) SetTxHash(v string)
- func (o AssetTx) ToMap() (map[string]interface{}, error)
- type AssetUtxo
- func (o *AssetUtxo) GetAddress() string
- func (o *AssetUtxo) GetAddressOk() (*string, bool)
- func (o *AssetUtxo) GetAmount() int64
- func (o *AssetUtxo) GetAmountOk() (*int64, bool)
- func (o *AssetUtxo) GetIndex() int32
- func (o *AssetUtxo) GetIndexOk() (*int32, bool)
- func (o *AssetUtxo) GetTxHash() string
- func (o *AssetUtxo) GetTxHashOk() (*string, bool)
- func (o AssetUtxo) MarshalJSON() ([]byte, error)
- func (o *AssetUtxo) SetAddress(v string)
- func (o *AssetUtxo) SetAmount(v int64)
- func (o *AssetUtxo) SetIndex(v int32)
- func (o *AssetUtxo) SetTxHash(v string)
- func (o AssetUtxo) ToMap() (map[string]interface{}, error)
- type AssetsAPI
- type AssetsAPIAssetAddressesRequest
- type AssetsAPIAssetInfoRequest
- type AssetsAPIAssetTxsRequest
- func (r AssetsAPIAssetTxsRequest) Count(count int32) AssetsAPIAssetTxsRequest
- func (r AssetsAPIAssetTxsRequest) Execute() ([]AssetTx, *http.Response, error)
- func (r AssetsAPIAssetTxsRequest) FromHeight(fromHeight int32) AssetsAPIAssetTxsRequest
- func (r AssetsAPIAssetTxsRequest) Order(order string) AssetsAPIAssetTxsRequest
- func (r AssetsAPIAssetTxsRequest) Page(page int32) AssetsAPIAssetTxsRequest
- type AssetsAPIAssetUpdatesRequest
- func (r AssetsAPIAssetUpdatesRequest) Count(count int32) AssetsAPIAssetUpdatesRequest
- func (r AssetsAPIAssetUpdatesRequest) Execute() ([]MintingTx, *http.Response, error)
- func (r AssetsAPIAssetUpdatesRequest) Order(order string) AssetsAPIAssetUpdatesRequest
- func (r AssetsAPIAssetUpdatesRequest) Page(page int32) AssetsAPIAssetUpdatesRequest
- type AssetsAPIAssetUtxosRequest
- type AssetsAPIPolicyAddressesRequest
- type AssetsAPIPolicyInfoRequest
- type AssetsAPIPolicyTxsRequest
- func (r AssetsAPIPolicyTxsRequest) Count(count int32) AssetsAPIPolicyTxsRequest
- func (r AssetsAPIPolicyTxsRequest) Execute() ([]AssetTx, *http.Response, error)
- func (r AssetsAPIPolicyTxsRequest) FromHeight(fromHeight int64) AssetsAPIPolicyTxsRequest
- func (r AssetsAPIPolicyTxsRequest) Order(order string) AssetsAPIPolicyTxsRequest
- func (r AssetsAPIPolicyTxsRequest) Page(page int32) AssetsAPIPolicyTxsRequest
- type AssetsAPIPolicyUtxosRequest
- type AssetsAPIService
- func (a *AssetsAPIService) AssetAddresses(ctx context.Context, asset string) AssetsAPIAssetAddressesRequest
- func (a *AssetsAPIService) AssetAddressesExecute(r AssetsAPIAssetAddressesRequest) ([]string, *http.Response, error)
- func (a *AssetsAPIService) AssetInfo(ctx context.Context, asset string) AssetsAPIAssetInfoRequest
- func (a *AssetsAPIService) AssetInfoExecute(r AssetsAPIAssetInfoRequest) (*AssetInfo, *http.Response, error)
- func (a *AssetsAPIService) AssetTxs(ctx context.Context, asset string) AssetsAPIAssetTxsRequest
- func (a *AssetsAPIService) AssetTxsExecute(r AssetsAPIAssetTxsRequest) ([]AssetTx, *http.Response, error)
- func (a *AssetsAPIService) AssetUpdates(ctx context.Context, asset string) AssetsAPIAssetUpdatesRequest
- func (a *AssetsAPIService) AssetUpdatesExecute(r AssetsAPIAssetUpdatesRequest) ([]MintingTx, *http.Response, error)
- func (a *AssetsAPIService) AssetUtxos(ctx context.Context, asset string) AssetsAPIAssetUtxosRequest
- func (a *AssetsAPIService) AssetUtxosExecute(r AssetsAPIAssetUtxosRequest) ([]AssetUtxo, *http.Response, error)
- func (a *AssetsAPIService) PolicyAddresses(ctx context.Context, policy string) AssetsAPIPolicyAddressesRequest
- func (a *AssetsAPIService) PolicyAddressesExecute(r AssetsAPIPolicyAddressesRequest) ([]string, *http.Response, error)
- func (a *AssetsAPIService) PolicyInfo(ctx context.Context, policy string) AssetsAPIPolicyInfoRequest
- func (a *AssetsAPIService) PolicyInfoExecute(r AssetsAPIPolicyInfoRequest) ([]AssetInfo, *http.Response, error)
- func (a *AssetsAPIService) PolicyTxs(ctx context.Context, policy string) AssetsAPIPolicyTxsRequest
- func (a *AssetsAPIService) PolicyTxsExecute(r AssetsAPIPolicyTxsRequest) ([]AssetTx, *http.Response, error)
- func (a *AssetsAPIService) PolicyUtxos(ctx context.Context, policy string) AssetsAPIPolicyUtxosRequest
- func (a *AssetsAPIService) PolicyUtxosExecute(r AssetsAPIPolicyUtxosRequest) ([]PolicyUtxo, *http.Response, error)
- type BasicAuth
- type Bound
- func (o *Bound) GetEpoch() int64
- func (o *Bound) GetEpochOk() (*int64, bool)
- func (o *Bound) GetSlot() int64
- func (o *Bound) GetSlotOk() (*int64, bool)
- func (o *Bound) GetTime() int64
- func (o *Bound) GetTimeOk() (*int64, bool)
- func (o Bound) MarshalJSON() ([]byte, error)
- func (o *Bound) SetEpoch(v int64)
- func (o *Bound) SetSlot(v int64)
- func (o *Bound) SetTime(v int64)
- func (o Bound) ToMap() (map[string]interface{}, error)
- type CertRedeemer
- func (o *CertRedeemer) GetCertIndex() int32
- func (o *CertRedeemer) GetCertIndexOk() (*int32, bool)
- func (o *CertRedeemer) GetData() Datum
- func (o *CertRedeemer) GetDataOk() (*Datum, bool)
- func (o *CertRedeemer) GetExUnits() int64
- func (o *CertRedeemer) GetExUnitsOk() (*int64, bool)
- func (o CertRedeemer) MarshalJSON() ([]byte, error)
- func (o *CertRedeemer) SetCertIndex(v int32)
- func (o *CertRedeemer) SetData(v Datum)
- func (o *CertRedeemer) SetExUnits(v int64)
- func (o CertRedeemer) ToMap() (map[string]interface{}, error)
- type Certificates
- func (o *Certificates) GetMirTransfers() []MirCert
- func (o *Certificates) GetMirTransfersOk() ([]MirCert, bool)
- func (o *Certificates) GetPoolRegistrations() []PoolRegCert
- func (o *Certificates) GetPoolRegistrationsOk() ([]PoolRegCert, bool)
- func (o *Certificates) GetPoolRetirements() []PoolRetireCert
- func (o *Certificates) GetPoolRetirementsOk() ([]PoolRetireCert, bool)
- func (o *Certificates) GetStakeDelegations() []StakeDelegCert
- func (o *Certificates) GetStakeDelegationsOk() ([]StakeDelegCert, bool)
- func (o *Certificates) GetStakeDeregistrations() []StakeRegCert
- func (o *Certificates) GetStakeDeregistrationsOk() ([]StakeRegCert, bool)
- func (o *Certificates) GetStakeRegistrations() []StakeRegCert
- func (o *Certificates) GetStakeRegistrationsOk() ([]StakeRegCert, bool)
- func (o Certificates) MarshalJSON() ([]byte, error)
- func (o *Certificates) SetMirTransfers(v []MirCert)
- func (o *Certificates) SetPoolRegistrations(v []PoolRegCert)
- func (o *Certificates) SetPoolRetirements(v []PoolRetireCert)
- func (o *Certificates) SetStakeDelegations(v []StakeDelegCert)
- func (o *Certificates) SetStakeDeregistrations(v []StakeRegCert)
- func (o *Certificates) SetStakeRegistrations(v []StakeRegCert)
- func (o Certificates) ToMap() (map[string]interface{}, error)
- type ChainTip
- func (o *ChainTip) GetBlockHash() string
- func (o *ChainTip) GetBlockHashOk() (*string, bool)
- func (o *ChainTip) GetHeight() int64
- func (o *ChainTip) GetHeightOk() (*int64, bool)
- func (o *ChainTip) GetSlot() int64
- func (o *ChainTip) GetSlotOk() (*int64, bool)
- func (o ChainTip) MarshalJSON() ([]byte, error)
- func (o *ChainTip) SetBlockHash(v string)
- func (o *ChainTip) SetHeight(v int64)
- func (o *ChainTip) SetSlot(v int64)
- func (o ChainTip) ToMap() (map[string]interface{}, error)
- type Configuration
- type CurrentEpochInfo
- func (o *CurrentEpochInfo) GetBlkCount() int32
- func (o *CurrentEpochInfo) GetBlkCountOk() (*int32, bool)
- func (o *CurrentEpochInfo) GetEpochNo() int32
- func (o *CurrentEpochInfo) GetEpochNoOk() (*int32, bool)
- func (o *CurrentEpochInfo) GetFees() string
- func (o *CurrentEpochInfo) GetFeesOk() (*string, bool)
- func (o *CurrentEpochInfo) GetStartTime() int64
- func (o *CurrentEpochInfo) GetStartTimeOk() (*int64, bool)
- func (o *CurrentEpochInfo) GetTxCount() int32
- func (o *CurrentEpochInfo) GetTxCountOk() (*int32, bool)
- func (o CurrentEpochInfo) MarshalJSON() ([]byte, error)
- func (o *CurrentEpochInfo) SetBlkCount(v int32)
- func (o *CurrentEpochInfo) SetEpochNo(v int32)
- func (o *CurrentEpochInfo) SetFees(v string)
- func (o *CurrentEpochInfo) SetStartTime(v int64)
- func (o *CurrentEpochInfo) SetTxCount(v int32)
- func (o CurrentEpochInfo) ToMap() (map[string]interface{}, error)
- type CurrentSlot
- type Data
- func (o *Data) GetHash() string
- func (o *Data) GetHashOk() (*string, bool)
- func (o *Data) GetValue() map[string]interface{}
- func (o *Data) GetValueOk() (map[string]interface{}, bool)
- func (o Data) MarshalJSON() ([]byte, error)
- func (o *Data) SetHash(v string)
- func (o *Data) SetValue(v map[string]interface{})
- func (o Data) ToMap() (map[string]interface{}, error)
- type Datum
- func (o *Datum) GetBytes() string
- func (o *Datum) GetBytesOk() (*string, bool)
- func (o *Datum) GetJson() map[string]interface{}
- func (o *Datum) GetJsonOk() (map[string]interface{}, bool)
- func (o Datum) MarshalJSON() ([]byte, error)
- func (o *Datum) SetBytes(v string)
- func (o *Datum) SetJson(v map[string]interface{})
- func (o Datum) ToMap() (map[string]interface{}, error)
- type DatumAPI
- type DatumAPILookupDatumRequest
- type DatumAPIService
- type DatumOption
- func (o *DatumOption) GetBytes() string
- func (o *DatumOption) GetBytesOk() (*string, bool)
- func (o *DatumOption) GetHash() string
- func (o *DatumOption) GetHashOk() (*string, bool)
- func (o *DatumOption) GetJson() map[string]interface{}
- func (o *DatumOption) GetJsonOk() (map[string]interface{}, bool)
- func (o *DatumOption) GetType() DatumOptionType
- func (o *DatumOption) GetTypeOk() (*DatumOptionType, bool)
- func (o *DatumOption) HasBytes() bool
- func (o *DatumOption) HasJson() bool
- func (o DatumOption) MarshalJSON() ([]byte, error)
- func (o *DatumOption) SetBytes(v string)
- func (o *DatumOption) SetHash(v string)
- func (o *DatumOption) SetJson(v map[string]interface{})
- func (o *DatumOption) SetType(v DatumOptionType)
- func (o DatumOption) ToMap() (map[string]interface{}, error)
- type DatumOptionType
- type DelegatorInfo
- func (o *DelegatorInfo) GetActiveEpochNo() int64
- func (o *DelegatorInfo) GetActiveEpochNoOk() (*int64, bool)
- func (o *DelegatorInfo) GetAmount() int64
- func (o *DelegatorInfo) GetAmountOk() (*int64, bool)
- func (o *DelegatorInfo) GetLatestDelegationTxHash() string
- func (o *DelegatorInfo) GetLatestDelegationTxHashOk() (*string, bool)
- func (o *DelegatorInfo) GetStakeAddress() string
- func (o *DelegatorInfo) GetStakeAddressOk() (*string, bool)
- func (o *DelegatorInfo) HasActiveEpochNo() bool
- func (o *DelegatorInfo) HasAmount() bool
- func (o *DelegatorInfo) HasLatestDelegationTxHash() bool
- func (o *DelegatorInfo) HasStakeAddress() bool
- func (o DelegatorInfo) MarshalJSON() ([]byte, error)
- func (o *DelegatorInfo) SetActiveEpochNo(v int64)
- func (o *DelegatorInfo) SetAmount(v int64)
- func (o *DelegatorInfo) SetLatestDelegationTxHash(v string)
- func (o *DelegatorInfo) SetStakeAddress(v string)
- func (o DelegatorInfo) ToMap() (map[string]interface{}, error)
- type EpochInfo
- func (o *EpochInfo) GetBlkCount() int32
- func (o *EpochInfo) GetBlkCountOk() (*int32, bool)
- func (o *EpochInfo) GetEndTime() int64
- func (o *EpochInfo) GetEndTimeOk() (*int64, bool)
- func (o *EpochInfo) GetEpochNo() int32
- func (o *EpochInfo) GetEpochNoOk() (*int32, bool)
- func (o *EpochInfo) GetFees() string
- func (o *EpochInfo) GetFeesOk() (*string, bool)
- func (o *EpochInfo) GetStartTime() int64
- func (o *EpochInfo) GetStartTimeOk() (*int64, bool)
- func (o *EpochInfo) GetTxCount() int32
- func (o *EpochInfo) GetTxCountOk() (*int32, bool)
- func (o EpochInfo) MarshalJSON() ([]byte, error)
- func (o *EpochInfo) SetBlkCount(v int32)
- func (o *EpochInfo) SetEndTime(v int64)
- func (o *EpochInfo) SetEpochNo(v int32)
- func (o *EpochInfo) SetFees(v string)
- func (o *EpochInfo) SetStartTime(v int64)
- func (o *EpochInfo) SetTxCount(v int32)
- func (o EpochInfo) ToMap() (map[string]interface{}, error)
- type EpochsAPI
- type EpochsAPICurrentEpochRequest
- type EpochsAPIEpochInfoRequest
- type EpochsAPIService
- func (a *EpochsAPIService) CurrentEpoch(ctx context.Context) EpochsAPICurrentEpochRequest
- func (a *EpochsAPIService) CurrentEpochExecute(r EpochsAPICurrentEpochRequest) (*CurrentEpochInfo, *http.Response, error)
- func (a *EpochsAPIService) EpochInfo(ctx context.Context, epochNo int32) EpochsAPIEpochInfoRequest
- func (a *EpochsAPIService) EpochInfoExecute(r EpochsAPIEpochInfoRequest) (*EpochInfo, *http.Response, error)
- type EraParameters
- func (o *EraParameters) GetEpochLength() int64
- func (o *EraParameters) GetEpochLengthOk() (*int64, bool)
- func (o *EraParameters) GetSafeZone() int64
- func (o *EraParameters) GetSafeZoneOk() (*int64, bool)
- func (o *EraParameters) GetSlotLength() int64
- func (o *EraParameters) GetSlotLengthOk() (*int64, bool)
- func (o *EraParameters) HasSafeZone() bool
- func (o EraParameters) MarshalJSON() ([]byte, error)
- func (o *EraParameters) SetEpochLength(v int64)
- func (o *EraParameters) SetSafeZone(v int64)
- func (o *EraParameters) SetSlotLength(v int64)
- func (o EraParameters) ToMap() (map[string]interface{}, error)
- type EraSummary
- func (o *EraSummary) GetEnd() Bound
- func (o *EraSummary) GetEndOk() (*Bound, bool)
- func (o *EraSummary) GetParameters() EraParameters
- func (o *EraSummary) GetParametersOk() (*EraParameters, bool)
- func (o *EraSummary) GetStart() Bound
- func (o *EraSummary) GetStartOk() (*Bound, bool)
- func (o *EraSummary) HasEnd() bool
- func (o EraSummary) MarshalJSON() ([]byte, error)
- func (o *EraSummary) SetEnd(v Bound)
- func (o *EraSummary) SetParameters(v EraParameters)
- func (o *EraSummary) SetStart(v Bound)
- func (o EraSummary) ToMap() (map[string]interface{}, error)
- type ExUnit
- func (o *ExUnit) GetMemory() int64
- func (o *ExUnit) GetMemoryOk() (*int64, bool)
- func (o *ExUnit) GetSteps() int64
- func (o *ExUnit) GetStepsOk() (*int64, bool)
- func (o ExUnit) MarshalJSON() ([]byte, error)
- func (o *ExUnit) SetMemory(v int64)
- func (o *ExUnit) SetSteps(v int64)
- func (o ExUnit) ToMap() (map[string]interface{}, error)
- type GeneralAPI
- type GeneralAPIChainTipRequest
- type GeneralAPIEraHistoryRequest
- type GeneralAPIProtocolParamsRequest
- type GeneralAPIService
- func (a *GeneralAPIService) ChainTip(ctx context.Context) GeneralAPIChainTipRequest
- func (a *GeneralAPIService) ChainTipExecute(r GeneralAPIChainTipRequest) (*ChainTip, *http.Response, error)
- func (a *GeneralAPIService) EraHistory(ctx context.Context) GeneralAPIEraHistoryRequest
- func (a *GeneralAPIService) EraHistoryExecute(r GeneralAPIEraHistoryRequest) ([]EraSummary, *http.Response, error)
- func (a *GeneralAPIService) ProtocolParams(ctx context.Context) GeneralAPIProtocolParamsRequest
- func (a *GeneralAPIService) ProtocolParamsExecute(r GeneralAPIProtocolParamsRequest) (*ProtocolParameters, *http.Response, error)
- func (a *GeneralAPIService) SystemStart(ctx context.Context) GeneralAPISystemStartRequest
- func (a *GeneralAPIService) SystemStartExecute(r GeneralAPISystemStartRequest) (*SystemStart, *http.Response, error)
- type GeneralAPISystemStartRequest
- type GenericOpenAPIError
- type MappedNullable
- type MintAsset
- func (o *MintAsset) GetQuantity() int64
- func (o *MintAsset) GetQuantityOk() (*int64, bool)
- func (o *MintAsset) GetUnit() string
- func (o *MintAsset) GetUnitOk() (*string, bool)
- func (o MintAsset) MarshalJSON() ([]byte, error)
- func (o *MintAsset) SetQuantity(v int64)
- func (o *MintAsset) SetUnit(v string)
- func (o MintAsset) ToMap() (map[string]interface{}, error)
- type MintRedeemer
- func (o *MintRedeemer) GetData() Datum
- func (o *MintRedeemer) GetDataOk() (*Datum, bool)
- func (o *MintRedeemer) GetExUnits() int64
- func (o *MintRedeemer) GetExUnitsOk() (*int64, bool)
- func (o *MintRedeemer) GetPolicy() string
- func (o *MintRedeemer) GetPolicyOk() (*string, bool)
- func (o MintRedeemer) MarshalJSON() ([]byte, error)
- func (o *MintRedeemer) SetData(v Datum)
- func (o *MintRedeemer) SetExUnits(v int64)
- func (o *MintRedeemer) SetPolicy(v string)
- func (o MintRedeemer) ToMap() (map[string]interface{}, error)
- type MintingTx
- func (o *MintingTx) GetBlockTimestamp() int32
- func (o *MintingTx) GetBlockTimestampOk() (*int32, bool)
- func (o *MintingTx) GetMetadata() map[string]interface{}
- func (o *MintingTx) GetMetadataOk() (map[string]interface{}, bool)
- func (o *MintingTx) GetMintAmount() int64
- func (o *MintingTx) GetMintAmountOk() (*int64, bool)
- func (o *MintingTx) GetTxHash() string
- func (o *MintingTx) GetTxHashOk() (*string, bool)
- func (o *MintingTx) HasMetadata() bool
- func (o MintingTx) MarshalJSON() ([]byte, error)
- func (o *MintingTx) SetBlockTimestamp(v int32)
- func (o *MintingTx) SetMetadata(v map[string]interface{})
- func (o *MintingTx) SetMintAmount(v int64)
- func (o *MintingTx) SetTxHash(v string)
- func (o MintingTx) ToMap() (map[string]interface{}, error)
- type MirCert
- func (o *MirCert) GetCertIndex() int32
- func (o *MirCert) GetCertIndexOk() (*int32, bool)
- func (o *MirCert) GetFrom() MirSource
- func (o *MirCert) GetFromOk() (*MirSource, bool)
- func (o *MirCert) GetTo() string
- func (o *MirCert) GetToOk() (*string, bool)
- func (o MirCert) MarshalJSON() ([]byte, error)
- func (o *MirCert) SetCertIndex(v int32)
- func (o *MirCert) SetFrom(v MirSource)
- func (o *MirCert) SetTo(v string)
- func (o MirCert) ToMap() (map[string]interface{}, error)
- type MirSource
- type NetworkId
- type NullableAccountAction
- func (v NullableAccountAction) Get() *AccountAction
- func (v NullableAccountAction) IsSet() bool
- func (v NullableAccountAction) MarshalJSON() ([]byte, error)
- func (v *NullableAccountAction) Set(val *AccountAction)
- func (v *NullableAccountAction) UnmarshalJSON(src []byte) error
- func (v *NullableAccountAction) Unset()
- type NullableAccountHistory
- func (v NullableAccountHistory) Get() *AccountHistory
- func (v NullableAccountHistory) IsSet() bool
- func (v NullableAccountHistory) MarshalJSON() ([]byte, error)
- func (v *NullableAccountHistory) Set(val *AccountHistory)
- func (v *NullableAccountHistory) UnmarshalJSON(src []byte) error
- func (v *NullableAccountHistory) Unset()
- type NullableAccountInfo
- func (v NullableAccountInfo) Get() *AccountInfo
- func (v NullableAccountInfo) IsSet() bool
- func (v NullableAccountInfo) MarshalJSON() ([]byte, error)
- func (v *NullableAccountInfo) Set(val *AccountInfo)
- func (v *NullableAccountInfo) UnmarshalJSON(src []byte) error
- func (v *NullableAccountInfo) Unset()
- type NullableAccountReward
- func (v NullableAccountReward) Get() *AccountReward
- func (v NullableAccountReward) IsSet() bool
- func (v NullableAccountReward) MarshalJSON() ([]byte, error)
- func (v *NullableAccountReward) Set(val *AccountReward)
- func (v *NullableAccountReward) UnmarshalJSON(src []byte) error
- func (v *NullableAccountReward) Unset()
- type NullableAccountRewardType
- func (v NullableAccountRewardType) Get() *AccountRewardType
- func (v NullableAccountRewardType) IsSet() bool
- func (v NullableAccountRewardType) MarshalJSON() ([]byte, error)
- func (v *NullableAccountRewardType) Set(val *AccountRewardType)
- func (v *NullableAccountRewardType) UnmarshalJSON(src []byte) error
- func (v *NullableAccountRewardType) Unset()
- type NullableAccountStakingRewardType
- func (v NullableAccountStakingRewardType) Get() *AccountStakingRewardType
- func (v NullableAccountStakingRewardType) IsSet() bool
- func (v NullableAccountStakingRewardType) MarshalJSON() ([]byte, error)
- func (v *NullableAccountStakingRewardType) Set(val *AccountStakingRewardType)
- func (v *NullableAccountStakingRewardType) UnmarshalJSON(src []byte) error
- func (v *NullableAccountStakingRewardType) Unset()
- type NullableAccountUpdate
- func (v NullableAccountUpdate) Get() *AccountUpdate
- func (v NullableAccountUpdate) IsSet() bool
- func (v NullableAccountUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableAccountUpdate) Set(val *AccountUpdate)
- func (v *NullableAccountUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableAccountUpdate) Unset()
- type NullableAddressInfo
- func (v NullableAddressInfo) Get() *AddressInfo
- func (v NullableAddressInfo) IsSet() bool
- func (v NullableAddressInfo) MarshalJSON() ([]byte, error)
- func (v *NullableAddressInfo) Set(val *AddressInfo)
- func (v *NullableAddressInfo) UnmarshalJSON(src []byte) error
- func (v *NullableAddressInfo) Unset()
- type NullableAddressTxCount
- func (v NullableAddressTxCount) Get() *AddressTxCount
- func (v NullableAddressTxCount) IsSet() bool
- func (v NullableAddressTxCount) MarshalJSON() ([]byte, error)
- func (v *NullableAddressTxCount) Set(val *AddressTxCount)
- func (v *NullableAddressTxCount) UnmarshalJSON(src []byte) error
- func (v *NullableAddressTxCount) Unset()
- type NullableAsset
- type NullableAssetHolder
- func (v NullableAssetHolder) Get() *AssetHolder
- func (v NullableAssetHolder) IsSet() bool
- func (v NullableAssetHolder) MarshalJSON() ([]byte, error)
- func (v *NullableAssetHolder) Set(val *AssetHolder)
- func (v *NullableAssetHolder) UnmarshalJSON(src []byte) error
- func (v *NullableAssetHolder) Unset()
- type NullableAssetInPolicy
- func (v NullableAssetInPolicy) Get() *AssetInPolicy
- func (v NullableAssetInPolicy) IsSet() bool
- func (v NullableAssetInPolicy) MarshalJSON() ([]byte, error)
- func (v *NullableAssetInPolicy) Set(val *AssetInPolicy)
- func (v *NullableAssetInPolicy) UnmarshalJSON(src []byte) error
- func (v *NullableAssetInPolicy) Unset()
- type NullableAssetInfo
- type NullableAssetStandards
- func (v NullableAssetStandards) Get() *AssetStandards
- func (v NullableAssetStandards) IsSet() bool
- func (v NullableAssetStandards) MarshalJSON() ([]byte, error)
- func (v *NullableAssetStandards) Set(val *AssetStandards)
- func (v *NullableAssetStandards) UnmarshalJSON(src []byte) error
- func (v *NullableAssetStandards) Unset()
- type NullableAssetTx
- type NullableAssetUtxo
- type NullableBool
- type NullableBound
- type NullableCertRedeemer
- func (v NullableCertRedeemer) Get() *CertRedeemer
- func (v NullableCertRedeemer) IsSet() bool
- func (v NullableCertRedeemer) MarshalJSON() ([]byte, error)
- func (v *NullableCertRedeemer) Set(val *CertRedeemer)
- func (v *NullableCertRedeemer) UnmarshalJSON(src []byte) error
- func (v *NullableCertRedeemer) Unset()
- type NullableCertificates
- func (v NullableCertificates) Get() *Certificates
- func (v NullableCertificates) IsSet() bool
- func (v NullableCertificates) MarshalJSON() ([]byte, error)
- func (v *NullableCertificates) Set(val *Certificates)
- func (v *NullableCertificates) UnmarshalJSON(src []byte) error
- func (v *NullableCertificates) Unset()
- type NullableChainTip
- type NullableCurrentEpochInfo
- func (v NullableCurrentEpochInfo) Get() *CurrentEpochInfo
- func (v NullableCurrentEpochInfo) IsSet() bool
- func (v NullableCurrentEpochInfo) MarshalJSON() ([]byte, error)
- func (v *NullableCurrentEpochInfo) Set(val *CurrentEpochInfo)
- func (v *NullableCurrentEpochInfo) UnmarshalJSON(src []byte) error
- func (v *NullableCurrentEpochInfo) Unset()
- type NullableCurrentSlot
- func (v NullableCurrentSlot) Get() *CurrentSlot
- func (v NullableCurrentSlot) IsSet() bool
- func (v NullableCurrentSlot) MarshalJSON() ([]byte, error)
- func (v *NullableCurrentSlot) Set(val *CurrentSlot)
- func (v *NullableCurrentSlot) UnmarshalJSON(src []byte) error
- func (v *NullableCurrentSlot) Unset()
- type NullableData
- type NullableDatum
- type NullableDatumOption
- func (v NullableDatumOption) Get() *DatumOption
- func (v NullableDatumOption) IsSet() bool
- func (v NullableDatumOption) MarshalJSON() ([]byte, error)
- func (v *NullableDatumOption) Set(val *DatumOption)
- func (v *NullableDatumOption) UnmarshalJSON(src []byte) error
- func (v *NullableDatumOption) Unset()
- type NullableDatumOptionType
- func (v NullableDatumOptionType) Get() *DatumOptionType
- func (v NullableDatumOptionType) IsSet() bool
- func (v NullableDatumOptionType) MarshalJSON() ([]byte, error)
- func (v *NullableDatumOptionType) Set(val *DatumOptionType)
- func (v *NullableDatumOptionType) UnmarshalJSON(src []byte) error
- func (v *NullableDatumOptionType) Unset()
- type NullableDelegatorInfo
- func (v NullableDelegatorInfo) Get() *DelegatorInfo
- func (v NullableDelegatorInfo) IsSet() bool
- func (v NullableDelegatorInfo) MarshalJSON() ([]byte, error)
- func (v *NullableDelegatorInfo) Set(val *DelegatorInfo)
- func (v *NullableDelegatorInfo) UnmarshalJSON(src []byte) error
- func (v *NullableDelegatorInfo) Unset()
- type NullableEpochInfo
- type NullableEraParameters
- func (v NullableEraParameters) Get() *EraParameters
- func (v NullableEraParameters) IsSet() bool
- func (v NullableEraParameters) MarshalJSON() ([]byte, error)
- func (v *NullableEraParameters) Set(val *EraParameters)
- func (v *NullableEraParameters) UnmarshalJSON(src []byte) error
- func (v *NullableEraParameters) Unset()
- type NullableEraSummary
- type NullableExUnit
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableMintAsset
- type NullableMintRedeemer
- func (v NullableMintRedeemer) Get() *MintRedeemer
- func (v NullableMintRedeemer) IsSet() bool
- func (v NullableMintRedeemer) MarshalJSON() ([]byte, error)
- func (v *NullableMintRedeemer) Set(val *MintRedeemer)
- func (v *NullableMintRedeemer) UnmarshalJSON(src []byte) error
- func (v *NullableMintRedeemer) Unset()
- type NullableMintingTx
- type NullableMirCert
- type NullableMirSource
- type NullableNetworkId
- type NullablePaymentCredKind
- func (v NullablePaymentCredKind) Get() *PaymentCredKind
- func (v NullablePaymentCredKind) IsSet() bool
- func (v NullablePaymentCredKind) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentCredKind) Set(val *PaymentCredKind)
- func (v *NullablePaymentCredKind) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentCredKind) Unset()
- type NullablePaymentCredential
- func (v NullablePaymentCredential) Get() *PaymentCredential
- func (v NullablePaymentCredential) IsSet() bool
- func (v NullablePaymentCredential) MarshalJSON() ([]byte, error)
- func (v *NullablePaymentCredential) Set(val *PaymentCredential)
- func (v *NullablePaymentCredential) UnmarshalJSON(src []byte) error
- func (v *NullablePaymentCredential) Unset()
- type NullablePointer
- type NullablePolicyHolder
- func (v NullablePolicyHolder) Get() *PolicyHolder
- func (v NullablePolicyHolder) IsSet() bool
- func (v NullablePolicyHolder) MarshalJSON() ([]byte, error)
- func (v *NullablePolicyHolder) Set(val *PolicyHolder)
- func (v *NullablePolicyHolder) UnmarshalJSON(src []byte) error
- func (v *NullablePolicyHolder) Unset()
- type NullablePolicyUtxo
- type NullablePoolBlock
- type NullablePoolHistory
- func (v NullablePoolHistory) Get() *PoolHistory
- func (v NullablePoolHistory) IsSet() bool
- func (v NullablePoolHistory) MarshalJSON() ([]byte, error)
- func (v *NullablePoolHistory) Set(val *PoolHistory)
- func (v *NullablePoolHistory) UnmarshalJSON(src []byte) error
- func (v *NullablePoolHistory) Unset()
- type NullablePoolInfo
- type NullablePoolListInfo
- func (v NullablePoolListInfo) Get() *PoolListInfo
- func (v NullablePoolListInfo) IsSet() bool
- func (v NullablePoolListInfo) MarshalJSON() ([]byte, error)
- func (v *NullablePoolListInfo) Set(val *PoolListInfo)
- func (v *NullablePoolListInfo) UnmarshalJSON(src []byte) error
- func (v *NullablePoolListInfo) Unset()
- type NullablePoolMetaJson
- func (v NullablePoolMetaJson) Get() *PoolMetaJson
- func (v NullablePoolMetaJson) IsSet() bool
- func (v NullablePoolMetaJson) MarshalJSON() ([]byte, error)
- func (v *NullablePoolMetaJson) Set(val *PoolMetaJson)
- func (v *NullablePoolMetaJson) UnmarshalJSON(src []byte) error
- func (v *NullablePoolMetaJson) Unset()
- type NullablePoolMetadata
- func (v NullablePoolMetadata) Get() *PoolMetadata
- func (v NullablePoolMetadata) IsSet() bool
- func (v NullablePoolMetadata) MarshalJSON() ([]byte, error)
- func (v *NullablePoolMetadata) Set(val *PoolMetadata)
- func (v *NullablePoolMetadata) UnmarshalJSON(src []byte) error
- func (v *NullablePoolMetadata) Unset()
- type NullablePoolRegCert
- func (v NullablePoolRegCert) Get() *PoolRegCert
- func (v NullablePoolRegCert) IsSet() bool
- func (v NullablePoolRegCert) MarshalJSON() ([]byte, error)
- func (v *NullablePoolRegCert) Set(val *PoolRegCert)
- func (v *NullablePoolRegCert) UnmarshalJSON(src []byte) error
- func (v *NullablePoolRegCert) Unset()
- type NullablePoolRelay
- type NullablePoolRetireCert
- func (v NullablePoolRetireCert) Get() *PoolRetireCert
- func (v NullablePoolRetireCert) IsSet() bool
- func (v NullablePoolRetireCert) MarshalJSON() ([]byte, error)
- func (v *NullablePoolRetireCert) Set(val *PoolRetireCert)
- func (v *NullablePoolRetireCert) UnmarshalJSON(src []byte) error
- func (v *NullablePoolRetireCert) Unset()
- type NullablePoolUpdate
- type NullablePrices
- type NullableProtocolParameters
- func (v NullableProtocolParameters) Get() *ProtocolParameters
- func (v NullableProtocolParameters) IsSet() bool
- func (v NullableProtocolParameters) MarshalJSON() ([]byte, error)
- func (v *NullableProtocolParameters) Set(val *ProtocolParameters)
- func (v *NullableProtocolParameters) UnmarshalJSON(src []byte) error
- func (v *NullableProtocolParameters) Unset()
- type NullableRedeemers
- type NullableRelay
- type NullableScript
- type NullableScriptType
- type NullableSpendRedeemer
- func (v NullableSpendRedeemer) Get() *SpendRedeemer
- func (v NullableSpendRedeemer) IsSet() bool
- func (v NullableSpendRedeemer) MarshalJSON() ([]byte, error)
- func (v *NullableSpendRedeemer) Set(val *SpendRedeemer)
- func (v *NullableSpendRedeemer) UnmarshalJSON(src []byte) error
- func (v *NullableSpendRedeemer) Unset()
- type NullableStakeDelegCert
- func (v NullableStakeDelegCert) Get() *StakeDelegCert
- func (v NullableStakeDelegCert) IsSet() bool
- func (v NullableStakeDelegCert) MarshalJSON() ([]byte, error)
- func (v *NullableStakeDelegCert) Set(val *StakeDelegCert)
- func (v *NullableStakeDelegCert) UnmarshalJSON(src []byte) error
- func (v *NullableStakeDelegCert) Unset()
- type NullableStakeRegCert
- func (v NullableStakeRegCert) Get() *StakeRegCert
- func (v NullableStakeRegCert) IsSet() bool
- func (v NullableStakeRegCert) MarshalJSON() ([]byte, error)
- func (v *NullableStakeRegCert) Set(val *StakeRegCert)
- func (v *NullableStakeRegCert) UnmarshalJSON(src []byte) error
- func (v *NullableStakeRegCert) Unset()
- type NullableStakingCredKind
- func (v NullableStakingCredKind) Get() *StakingCredKind
- func (v NullableStakingCredKind) IsSet() bool
- func (v NullableStakingCredKind) MarshalJSON() ([]byte, error)
- func (v *NullableStakingCredKind) Set(val *StakingCredKind)
- func (v *NullableStakingCredKind) UnmarshalJSON(src []byte) error
- func (v *NullableStakingCredKind) Unset()
- type NullableStakingCredential
- func (v NullableStakingCredential) Get() *StakingCredential
- func (v NullableStakingCredential) IsSet() bool
- func (v NullableStakingCredential) MarshalJSON() ([]byte, error)
- func (v *NullableStakingCredential) Set(val *StakingCredential)
- func (v *NullableStakingCredential) UnmarshalJSON(src []byte) error
- func (v *NullableStakingCredential) Unset()
- type NullableString
- type NullableSystemStart
- func (v NullableSystemStart) Get() *SystemStart
- func (v NullableSystemStart) IsSet() bool
- func (v NullableSystemStart) MarshalJSON() ([]byte, error)
- func (v *NullableSystemStart) Set(val *SystemStart)
- func (v *NullableSystemStart) UnmarshalJSON(src []byte) error
- func (v *NullableSystemStart) Unset()
- type NullableTime
- type NullableTokenRegistryMetadata
- func (v NullableTokenRegistryMetadata) Get() *TokenRegistryMetadata
- func (v NullableTokenRegistryMetadata) IsSet() bool
- func (v NullableTokenRegistryMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableTokenRegistryMetadata) Set(val *TokenRegistryMetadata)
- func (v *NullableTokenRegistryMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableTokenRegistryMetadata) Unset()
- type NullableTransactionInfo
- func (v NullableTransactionInfo) Get() *TransactionInfo
- func (v NullableTransactionInfo) IsSet() bool
- func (v NullableTransactionInfo) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionInfo) Set(val *TransactionInfo)
- func (v *NullableTransactionInfo) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionInfo) Unset()
- type NullableTxCbor
- type NullableTxStatus
- type NullableTxStatusInfo
- func (v NullableTxStatusInfo) Get() *TxStatusInfo
- func (v NullableTxStatusInfo) IsSet() bool
- func (v NullableTxStatusInfo) MarshalJSON() ([]byte, error)
- func (v *NullableTxStatusInfo) Set(val *TxStatusInfo)
- func (v *NullableTxStatusInfo) UnmarshalJSON(src []byte) error
- func (v *NullableTxStatusInfo) Unset()
- type NullableUtxo
- type NullableUtxoAddress
- func (v NullableUtxoAddress) Get() *UtxoAddress
- func (v NullableUtxoAddress) IsSet() bool
- func (v NullableUtxoAddress) MarshalJSON() ([]byte, error)
- func (v *NullableUtxoAddress) Set(val *UtxoAddress)
- func (v *NullableUtxoAddress) UnmarshalJSON(src []byte) error
- func (v *NullableUtxoAddress) Unset()
- type NullableUtxoRef
- type NullableUtxoWithBytes
- func (v NullableUtxoWithBytes) Get() *UtxoWithBytes
- func (v NullableUtxoWithBytes) IsSet() bool
- func (v NullableUtxoWithBytes) MarshalJSON() ([]byte, error)
- func (v *NullableUtxoWithBytes) Set(val *UtxoWithBytes)
- func (v *NullableUtxoWithBytes) UnmarshalJSON(src []byte) error
- func (v *NullableUtxoWithBytes) Unset()
- type NullableVersion
- type NullableWdrlRedeemer
- func (v NullableWdrlRedeemer) Get() *WdrlRedeemer
- func (v NullableWdrlRedeemer) IsSet() bool
- func (v NullableWdrlRedeemer) MarshalJSON() ([]byte, error)
- func (v *NullableWdrlRedeemer) Set(val *WdrlRedeemer)
- func (v *NullableWdrlRedeemer) UnmarshalJSON(src []byte) error
- func (v *NullableWdrlRedeemer) Unset()
- type NullableWithdrawal
- type PaymentCredKind
- type PaymentCredential
- func (o *PaymentCredential) GetBech32() string
- func (o *PaymentCredential) GetBech32Ok() (*string, bool)
- func (o *PaymentCredential) GetHex() string
- func (o *PaymentCredential) GetHexOk() (*string, bool)
- func (o *PaymentCredential) GetKind() PaymentCredKind
- func (o *PaymentCredential) GetKindOk() (*PaymentCredKind, bool)
- func (o PaymentCredential) MarshalJSON() ([]byte, error)
- func (o *PaymentCredential) SetBech32(v string)
- func (o *PaymentCredential) SetHex(v string)
- func (o *PaymentCredential) SetKind(v PaymentCredKind)
- func (o PaymentCredential) ToMap() (map[string]interface{}, error)
- type Pointer
- func (o *Pointer) GetCertIndex() int64
- func (o *Pointer) GetCertIndexOk() (*int64, bool)
- func (o *Pointer) GetSlot() int64
- func (o *Pointer) GetSlotOk() (*int64, bool)
- func (o *Pointer) GetTxIndex() int64
- func (o *Pointer) GetTxIndexOk() (*int64, bool)
- func (o Pointer) MarshalJSON() ([]byte, error)
- func (o *Pointer) SetCertIndex(v int64)
- func (o *Pointer) SetSlot(v int64)
- func (o *Pointer) SetTxIndex(v int64)
- func (o Pointer) ToMap() (map[string]interface{}, error)
- type PolicyHolder
- func (o *PolicyHolder) GetAddress() string
- func (o *PolicyHolder) GetAddressOk() (*string, bool)
- func (o *PolicyHolder) GetAssets() []AssetInPolicy
- func (o *PolicyHolder) GetAssetsOk() ([]AssetInPolicy, bool)
- func (o PolicyHolder) MarshalJSON() ([]byte, error)
- func (o *PolicyHolder) SetAddress(v string)
- func (o *PolicyHolder) SetAssets(v []AssetInPolicy)
- func (o PolicyHolder) ToMap() (map[string]interface{}, error)
- type PolicyUtxo
- func (o *PolicyUtxo) GetAddress() string
- func (o *PolicyUtxo) GetAddressOk() (*string, bool)
- func (o *PolicyUtxo) GetAssets() []AssetInPolicy
- func (o *PolicyUtxo) GetAssetsOk() ([]AssetInPolicy, bool)
- func (o *PolicyUtxo) GetIndex() int32
- func (o *PolicyUtxo) GetIndexOk() (*int32, bool)
- func (o *PolicyUtxo) GetTxHash() string
- func (o *PolicyUtxo) GetTxHashOk() (*string, bool)
- func (o PolicyUtxo) MarshalJSON() ([]byte, error)
- func (o *PolicyUtxo) SetAddress(v string)
- func (o *PolicyUtxo) SetAssets(v []AssetInPolicy)
- func (o *PolicyUtxo) SetIndex(v int32)
- func (o *PolicyUtxo) SetTxHash(v string)
- func (o PolicyUtxo) ToMap() (map[string]interface{}, error)
- type PoolBlock
- func (o *PoolBlock) GetAbsSlot() int64
- func (o *PoolBlock) GetAbsSlotOk() (*int64, bool)
- func (o *PoolBlock) GetBlockHash() string
- func (o *PoolBlock) GetBlockHashOk() (*string, bool)
- func (o *PoolBlock) GetBlockHeight() int32
- func (o *PoolBlock) GetBlockHeightOk() (*int32, bool)
- func (o *PoolBlock) GetBlockTime() int32
- func (o *PoolBlock) GetBlockTimeOk() (*int32, bool)
- func (o *PoolBlock) GetEpochNo() int32
- func (o *PoolBlock) GetEpochNoOk() (*int32, bool)
- func (o *PoolBlock) GetEpochSlot() int32
- func (o *PoolBlock) GetEpochSlotOk() (*int32, bool)
- func (o *PoolBlock) HasAbsSlot() bool
- func (o *PoolBlock) HasEpochNo() bool
- func (o *PoolBlock) HasEpochSlot() bool
- func (o PoolBlock) MarshalJSON() ([]byte, error)
- func (o *PoolBlock) SetAbsSlot(v int64)
- func (o *PoolBlock) SetBlockHash(v string)
- func (o *PoolBlock) SetBlockHeight(v int32)
- func (o *PoolBlock) SetBlockTime(v int32)
- func (o *PoolBlock) SetEpochNo(v int32)
- func (o *PoolBlock) SetEpochSlot(v int32)
- func (o PoolBlock) ToMap() (map[string]interface{}, error)
- type PoolHistory
- func (o *PoolHistory) GetActiveStake() int64
- func (o *PoolHistory) GetActiveStakeOk() (*int64, bool)
- func (o *PoolHistory) GetActiveStakePct() string
- func (o *PoolHistory) GetActiveStakePctOk() (*string, bool)
- func (o *PoolHistory) GetBlockCnt() int64
- func (o *PoolHistory) GetBlockCntOk() (*int64, bool)
- func (o *PoolHistory) GetDelegRewards() int64
- func (o *PoolHistory) GetDelegRewardsOk() (*int64, bool)
- func (o *PoolHistory) GetDelegatorCnt() int64
- func (o *PoolHistory) GetDelegatorCntOk() (*int64, bool)
- func (o *PoolHistory) GetEpochNo() int64
- func (o *PoolHistory) GetEpochNoOk() (*int64, bool)
- func (o *PoolHistory) GetEpochRos() string
- func (o *PoolHistory) GetEpochRosOk() (*string, bool)
- func (o *PoolHistory) GetFixedCost() int64
- func (o *PoolHistory) GetFixedCostOk() (*int64, bool)
- func (o *PoolHistory) GetMargin() float32
- func (o *PoolHistory) GetMarginOk() (*float32, bool)
- func (o *PoolHistory) GetPoolFees() int64
- func (o *PoolHistory) GetPoolFeesOk() (*int64, bool)
- func (o *PoolHistory) GetSaturationPct() string
- func (o *PoolHistory) GetSaturationPctOk() (*string, bool)
- func (o *PoolHistory) HasActiveStake() bool
- func (o *PoolHistory) HasActiveStakePct() bool
- func (o *PoolHistory) HasBlockCnt() bool
- func (o *PoolHistory) HasDelegatorCnt() bool
- func (o *PoolHistory) HasMargin() bool
- func (o *PoolHistory) HasSaturationPct() bool
- func (o PoolHistory) MarshalJSON() ([]byte, error)
- func (o *PoolHistory) SetActiveStake(v int64)
- func (o *PoolHistory) SetActiveStakePct(v string)
- func (o *PoolHistory) SetBlockCnt(v int64)
- func (o *PoolHistory) SetDelegRewards(v int64)
- func (o *PoolHistory) SetDelegatorCnt(v int64)
- func (o *PoolHistory) SetEpochNo(v int64)
- func (o *PoolHistory) SetEpochRos(v string)
- func (o *PoolHistory) SetFixedCost(v int64)
- func (o *PoolHistory) SetMargin(v float32)
- func (o *PoolHistory) SetPoolFees(v int64)
- func (o *PoolHistory) SetSaturationPct(v string)
- func (o PoolHistory) ToMap() (map[string]interface{}, error)
- type PoolInfo
- func (o *PoolInfo) GetActiveEpochNo() int64
- func (o *PoolInfo) GetActiveEpochNoOk() (*int64, bool)
- func (o *PoolInfo) GetActiveStake() int64
- func (o *PoolInfo) GetActiveStakeOk() (*int64, bool)
- func (o *PoolInfo) GetBlockCount() int64
- func (o *PoolInfo) GetBlockCountOk() (*int64, bool)
- func (o *PoolInfo) GetFixedCost() int64
- func (o *PoolInfo) GetFixedCostOk() (*int64, bool)
- func (o *PoolInfo) GetLiveDelegators() int64
- func (o *PoolInfo) GetLiveDelegatorsOk() (*int64, bool)
- func (o *PoolInfo) GetLivePledge() int64
- func (o *PoolInfo) GetLivePledgeOk() (*int64, bool)
- func (o *PoolInfo) GetLiveSaturation() string
- func (o *PoolInfo) GetLiveSaturationOk() (*string, bool)
- func (o *PoolInfo) GetLiveStake() int64
- func (o *PoolInfo) GetLiveStakeOk() (*int64, bool)
- func (o *PoolInfo) GetMargin() float32
- func (o *PoolInfo) GetMarginOk() (*float32, bool)
- func (o *PoolInfo) GetMetaHash() string
- func (o *PoolInfo) GetMetaHashOk() (*string, bool)
- func (o *PoolInfo) GetMetaJson() PoolMetaJson
- func (o *PoolInfo) GetMetaJsonOk() (*PoolMetaJson, bool)
- func (o *PoolInfo) GetMetaUrl() string
- func (o *PoolInfo) GetMetaUrlOk() (*string, bool)
- func (o *PoolInfo) GetOpCert() string
- func (o *PoolInfo) GetOpCertCounter() int64
- func (o *PoolInfo) GetOpCertCounterOk() (*int64, bool)
- func (o *PoolInfo) GetOpCertOk() (*string, bool)
- func (o *PoolInfo) GetOwners() []string
- func (o *PoolInfo) GetOwnersOk() ([]string, bool)
- func (o *PoolInfo) GetPledge() int64
- func (o *PoolInfo) GetPledgeOk() (*int64, bool)
- func (o *PoolInfo) GetPoolIdBech32() string
- func (o *PoolInfo) GetPoolIdBech32Ok() (*string, bool)
- func (o *PoolInfo) GetPoolIdHex() string
- func (o *PoolInfo) GetPoolIdHexOk() (*string, bool)
- func (o *PoolInfo) GetPoolStatus() string
- func (o *PoolInfo) GetPoolStatusOk() (*string, bool)
- func (o *PoolInfo) GetRelays() []Relay
- func (o *PoolInfo) GetRelaysOk() ([]Relay, bool)
- func (o *PoolInfo) GetRetiringEpoch() int32
- func (o *PoolInfo) GetRetiringEpochOk() (*int32, bool)
- func (o *PoolInfo) GetRewardAddr() string
- func (o *PoolInfo) GetRewardAddrOk() (*string, bool)
- func (o *PoolInfo) GetSigma() string
- func (o *PoolInfo) GetSigmaOk() (*string, bool)
- func (o *PoolInfo) GetVrfKeyHash() string
- func (o *PoolInfo) GetVrfKeyHashOk() (*string, bool)
- func (o *PoolInfo) HasActiveStake() bool
- func (o *PoolInfo) HasBlockCount() bool
- func (o *PoolInfo) HasLivePledge() bool
- func (o *PoolInfo) HasLiveSaturation() bool
- func (o *PoolInfo) HasLiveStake() bool
- func (o *PoolInfo) HasMetaHash() bool
- func (o *PoolInfo) HasMetaJson() bool
- func (o *PoolInfo) HasMetaUrl() bool
- func (o *PoolInfo) HasOpCert() bool
- func (o *PoolInfo) HasOpCertCounter() bool
- func (o *PoolInfo) HasPoolStatus() bool
- func (o *PoolInfo) HasRetiringEpoch() bool
- func (o *PoolInfo) HasRewardAddr() bool
- func (o *PoolInfo) HasSigma() bool
- func (o PoolInfo) MarshalJSON() ([]byte, error)
- func (o *PoolInfo) SetActiveEpochNo(v int64)
- func (o *PoolInfo) SetActiveStake(v int64)
- func (o *PoolInfo) SetBlockCount(v int64)
- func (o *PoolInfo) SetFixedCost(v int64)
- func (o *PoolInfo) SetLiveDelegators(v int64)
- func (o *PoolInfo) SetLivePledge(v int64)
- func (o *PoolInfo) SetLiveSaturation(v string)
- func (o *PoolInfo) SetLiveStake(v int64)
- func (o *PoolInfo) SetMargin(v float32)
- func (o *PoolInfo) SetMetaHash(v string)
- func (o *PoolInfo) SetMetaJson(v PoolMetaJson)
- func (o *PoolInfo) SetMetaUrl(v string)
- func (o *PoolInfo) SetOpCert(v string)
- func (o *PoolInfo) SetOpCertCounter(v int64)
- func (o *PoolInfo) SetOwners(v []string)
- func (o *PoolInfo) SetPledge(v int64)
- func (o *PoolInfo) SetPoolIdBech32(v string)
- func (o *PoolInfo) SetPoolIdHex(v string)
- func (o *PoolInfo) SetPoolStatus(v string)
- func (o *PoolInfo) SetRelays(v []Relay)
- func (o *PoolInfo) SetRetiringEpoch(v int32)
- func (o *PoolInfo) SetRewardAddr(v string)
- func (o *PoolInfo) SetSigma(v string)
- func (o *PoolInfo) SetVrfKeyHash(v string)
- func (o PoolInfo) ToMap() (map[string]interface{}, error)
- type PoolListInfo
- func (o *PoolListInfo) GetPoolIdBech32() string
- func (o *PoolListInfo) GetPoolIdBech32Ok() (*string, bool)
- func (o *PoolListInfo) GetTicker() string
- func (o *PoolListInfo) GetTickerOk() (*string, bool)
- func (o *PoolListInfo) HasTicker() bool
- func (o PoolListInfo) MarshalJSON() ([]byte, error)
- func (o *PoolListInfo) SetPoolIdBech32(v string)
- func (o *PoolListInfo) SetTicker(v string)
- func (o PoolListInfo) ToMap() (map[string]interface{}, error)
- type PoolMetaJson
- func (o *PoolMetaJson) GetDescription() string
- func (o *PoolMetaJson) GetDescriptionOk() (*string, bool)
- func (o *PoolMetaJson) GetHomepage() string
- func (o *PoolMetaJson) GetHomepageOk() (*string, bool)
- func (o *PoolMetaJson) GetName() string
- func (o *PoolMetaJson) GetNameOk() (*string, bool)
- func (o *PoolMetaJson) GetTicker() string
- func (o *PoolMetaJson) GetTickerOk() (*string, bool)
- func (o *PoolMetaJson) HasDescription() bool
- func (o *PoolMetaJson) HasHomepage() bool
- func (o *PoolMetaJson) HasTicker() bool
- func (o PoolMetaJson) MarshalJSON() ([]byte, error)
- func (o *PoolMetaJson) SetDescription(v string)
- func (o *PoolMetaJson) SetHomepage(v string)
- func (o *PoolMetaJson) SetName(v string)
- func (o *PoolMetaJson) SetTicker(v string)
- func (o PoolMetaJson) ToMap() (map[string]interface{}, error)
- type PoolMetadata
- func (o *PoolMetadata) GetMetaHash() string
- func (o *PoolMetadata) GetMetaHashOk() (*string, bool)
- func (o *PoolMetadata) GetMetaJson() PoolMetaJson
- func (o *PoolMetadata) GetMetaJsonOk() (*PoolMetaJson, bool)
- func (o *PoolMetadata) GetMetaUrl() string
- func (o *PoolMetadata) GetMetaUrlOk() (*string, bool)
- func (o *PoolMetadata) GetPoolIdBech32() string
- func (o *PoolMetadata) GetPoolIdBech32Ok() (*string, bool)
- func (o *PoolMetadata) HasMetaHash() bool
- func (o *PoolMetadata) HasMetaJson() bool
- func (o *PoolMetadata) HasMetaUrl() bool
- func (o PoolMetadata) MarshalJSON() ([]byte, error)
- func (o *PoolMetadata) SetMetaHash(v string)
- func (o *PoolMetadata) SetMetaJson(v PoolMetaJson)
- func (o *PoolMetadata) SetMetaUrl(v string)
- func (o *PoolMetadata) SetPoolIdBech32(v string)
- func (o PoolMetadata) ToMap() (map[string]interface{}, error)
- type PoolRegCert
- func (o *PoolRegCert) GetCertIndex() int32
- func (o *PoolRegCert) GetCertIndexOk() (*int32, bool)
- func (o *PoolRegCert) GetFixedCost() int64
- func (o *PoolRegCert) GetFixedCostOk() (*int64, bool)
- func (o *PoolRegCert) GetFromEpoch() int32
- func (o *PoolRegCert) GetFromEpochOk() (*int32, bool)
- func (o *PoolRegCert) GetMargin() float32
- func (o *PoolRegCert) GetMarginOk() (*float32, bool)
- func (o *PoolRegCert) GetMetadataHash() string
- func (o *PoolRegCert) GetMetadataHashOk() (*string, bool)
- func (o *PoolRegCert) GetMetadataUrl() string
- func (o *PoolRegCert) GetMetadataUrlOk() (*string, bool)
- func (o *PoolRegCert) GetOwnerAddresses() []string
- func (o *PoolRegCert) GetOwnerAddressesOk() ([]string, bool)
- func (o *PoolRegCert) GetPledge() int64
- func (o *PoolRegCert) GetPledgeOk() (*int64, bool)
- func (o *PoolRegCert) GetPoolId() string
- func (o *PoolRegCert) GetPoolIdOk() (*string, bool)
- func (o *PoolRegCert) GetRelays() []Relay
- func (o *PoolRegCert) GetRelaysOk() ([]Relay, bool)
- func (o *PoolRegCert) GetRewardAddress() string
- func (o *PoolRegCert) GetRewardAddressOk() (*string, bool)
- func (o *PoolRegCert) GetVrfKeyHash() string
- func (o *PoolRegCert) GetVrfKeyHashOk() (*string, bool)
- func (o *PoolRegCert) HasMetadataHash() bool
- func (o *PoolRegCert) HasMetadataUrl() bool
- func (o PoolRegCert) MarshalJSON() ([]byte, error)
- func (o *PoolRegCert) SetCertIndex(v int32)
- func (o *PoolRegCert) SetFixedCost(v int64)
- func (o *PoolRegCert) SetFromEpoch(v int32)
- func (o *PoolRegCert) SetMargin(v float32)
- func (o *PoolRegCert) SetMetadataHash(v string)
- func (o *PoolRegCert) SetMetadataUrl(v string)
- func (o *PoolRegCert) SetOwnerAddresses(v []string)
- func (o *PoolRegCert) SetPledge(v int64)
- func (o *PoolRegCert) SetPoolId(v string)
- func (o *PoolRegCert) SetRelays(v []Relay)
- func (o *PoolRegCert) SetRewardAddress(v string)
- func (o *PoolRegCert) SetVrfKeyHash(v string)
- func (o PoolRegCert) ToMap() (map[string]interface{}, error)
- type PoolRelay
- func (o *PoolRelay) GetPoolIdBech32() string
- func (o *PoolRelay) GetPoolIdBech32Ok() (*string, bool)
- func (o *PoolRelay) GetRelays() []Relay
- func (o *PoolRelay) GetRelaysOk() ([]Relay, bool)
- func (o PoolRelay) MarshalJSON() ([]byte, error)
- func (o *PoolRelay) SetPoolIdBech32(v string)
- func (o *PoolRelay) SetRelays(v []Relay)
- func (o PoolRelay) ToMap() (map[string]interface{}, error)
- type PoolRetireCert
- func (o *PoolRetireCert) GetAfterEpoch() int32
- func (o *PoolRetireCert) GetAfterEpochOk() (*int32, bool)
- func (o *PoolRetireCert) GetCertIndex() int32
- func (o *PoolRetireCert) GetCertIndexOk() (*int32, bool)
- func (o *PoolRetireCert) GetPoolId() string
- func (o *PoolRetireCert) GetPoolIdOk() (*string, bool)
- func (o PoolRetireCert) MarshalJSON() ([]byte, error)
- func (o *PoolRetireCert) SetAfterEpoch(v int32)
- func (o *PoolRetireCert) SetCertIndex(v int32)
- func (o *PoolRetireCert) SetPoolId(v string)
- func (o PoolRetireCert) ToMap() (map[string]interface{}, error)
- type PoolUpdate
- func (o *PoolUpdate) GetActiveEpochNo() int64
- func (o *PoolUpdate) GetActiveEpochNoOk() (*int64, bool)
- func (o *PoolUpdate) GetBlockTime() int32
- func (o *PoolUpdate) GetBlockTimeOk() (*int32, bool)
- func (o *PoolUpdate) GetFixedCost() int64
- func (o *PoolUpdate) GetFixedCostOk() (*int64, bool)
- func (o *PoolUpdate) GetMargin() float32
- func (o *PoolUpdate) GetMarginOk() (*float32, bool)
- func (o *PoolUpdate) GetMetaHash() string
- func (o *PoolUpdate) GetMetaHashOk() (*string, bool)
- func (o *PoolUpdate) GetMetaJson() PoolMetaJson
- func (o *PoolUpdate) GetMetaJsonOk() (*PoolMetaJson, bool)
- func (o *PoolUpdate) GetMetaUrl() string
- func (o *PoolUpdate) GetMetaUrlOk() (*string, bool)
- func (o *PoolUpdate) GetOwners() []string
- func (o *PoolUpdate) GetOwnersOk() ([]string, bool)
- func (o *PoolUpdate) GetPledge() int64
- func (o *PoolUpdate) GetPledgeOk() (*int64, bool)
- func (o *PoolUpdate) GetPoolIdBech32() string
- func (o *PoolUpdate) GetPoolIdBech32Ok() (*string, bool)
- func (o *PoolUpdate) GetPoolIdHex() string
- func (o *PoolUpdate) GetPoolIdHexOk() (*string, bool)
- func (o *PoolUpdate) GetPoolStatus() string
- func (o *PoolUpdate) GetPoolStatusOk() (*string, bool)
- func (o *PoolUpdate) GetRelays() []Relay
- func (o *PoolUpdate) GetRelaysOk() ([]Relay, bool)
- func (o *PoolUpdate) GetRetiringEpoch() int32
- func (o *PoolUpdate) GetRetiringEpochOk() (*int32, bool)
- func (o *PoolUpdate) GetRewardAddr() string
- func (o *PoolUpdate) GetRewardAddrOk() (*string, bool)
- func (o *PoolUpdate) GetTxHash() string
- func (o *PoolUpdate) GetTxHashOk() (*string, bool)
- func (o *PoolUpdate) GetVrfKeyHash() string
- func (o *PoolUpdate) GetVrfKeyHashOk() (*string, bool)
- func (o *PoolUpdate) HasBlockTime() bool
- func (o *PoolUpdate) HasMetaHash() bool
- func (o *PoolUpdate) HasMetaJson() bool
- func (o *PoolUpdate) HasMetaUrl() bool
- func (o *PoolUpdate) HasPoolStatus() bool
- func (o *PoolUpdate) HasRetiringEpoch() bool
- func (o *PoolUpdate) HasRewardAddr() bool
- func (o PoolUpdate) MarshalJSON() ([]byte, error)
- func (o *PoolUpdate) SetActiveEpochNo(v int64)
- func (o *PoolUpdate) SetBlockTime(v int32)
- func (o *PoolUpdate) SetFixedCost(v int64)
- func (o *PoolUpdate) SetMargin(v float32)
- func (o *PoolUpdate) SetMetaHash(v string)
- func (o *PoolUpdate) SetMetaJson(v PoolMetaJson)
- func (o *PoolUpdate) SetMetaUrl(v string)
- func (o *PoolUpdate) SetOwners(v []string)
- func (o *PoolUpdate) SetPledge(v int64)
- func (o *PoolUpdate) SetPoolIdBech32(v string)
- func (o *PoolUpdate) SetPoolIdHex(v string)
- func (o *PoolUpdate) SetPoolStatus(v string)
- func (o *PoolUpdate) SetRelays(v []Relay)
- func (o *PoolUpdate) SetRetiringEpoch(v int32)
- func (o *PoolUpdate) SetRewardAddr(v string)
- func (o *PoolUpdate) SetTxHash(v string)
- func (o *PoolUpdate) SetVrfKeyHash(v string)
- func (o PoolUpdate) ToMap() (map[string]interface{}, error)
- type PoolsAPI
- type PoolsAPIListPoolsRequest
- type PoolsAPIPoolBlocksRequest
- func (r PoolsAPIPoolBlocksRequest) Count(count int32) PoolsAPIPoolBlocksRequest
- func (r PoolsAPIPoolBlocksRequest) EpochNo(epochNo int32) PoolsAPIPoolBlocksRequest
- func (r PoolsAPIPoolBlocksRequest) Execute() ([]PoolBlock, *http.Response, error)
- func (r PoolsAPIPoolBlocksRequest) Order(order string) PoolsAPIPoolBlocksRequest
- func (r PoolsAPIPoolBlocksRequest) Page(page int32) PoolsAPIPoolBlocksRequest
- type PoolsAPIPoolDelegatorsRequest
- type PoolsAPIPoolHistoryRequest
- func (r PoolsAPIPoolHistoryRequest) Count(count int32) PoolsAPIPoolHistoryRequest
- func (r PoolsAPIPoolHistoryRequest) EpochNo(epochNo int32) PoolsAPIPoolHistoryRequest
- func (r PoolsAPIPoolHistoryRequest) Execute() ([]PoolHistory, *http.Response, error)
- func (r PoolsAPIPoolHistoryRequest) Order(order string) PoolsAPIPoolHistoryRequest
- func (r PoolsAPIPoolHistoryRequest) Page(page int32) PoolsAPIPoolHistoryRequest
- type PoolsAPIPoolInfoRequest
- type PoolsAPIPoolMetadataRequest
- type PoolsAPIPoolRelaysRequest
- type PoolsAPIPoolUpdatesRequest
- type PoolsAPIService
- func (a *PoolsAPIService) ListPools(ctx context.Context) PoolsAPIListPoolsRequest
- func (a *PoolsAPIService) ListPoolsExecute(r PoolsAPIListPoolsRequest) ([]PoolListInfo, *http.Response, error)
- func (a *PoolsAPIService) PoolBlocks(ctx context.Context, poolId string) PoolsAPIPoolBlocksRequest
- func (a *PoolsAPIService) PoolBlocksExecute(r PoolsAPIPoolBlocksRequest) ([]PoolBlock, *http.Response, error)
- func (a *PoolsAPIService) PoolDelegators(ctx context.Context, poolId string) PoolsAPIPoolDelegatorsRequest
- func (a *PoolsAPIService) PoolDelegatorsExecute(r PoolsAPIPoolDelegatorsRequest) ([]DelegatorInfo, *http.Response, error)
- func (a *PoolsAPIService) PoolHistory(ctx context.Context, poolId string) PoolsAPIPoolHistoryRequest
- func (a *PoolsAPIService) PoolHistoryExecute(r PoolsAPIPoolHistoryRequest) ([]PoolHistory, *http.Response, error)
- func (a *PoolsAPIService) PoolInfo(ctx context.Context, poolId string) PoolsAPIPoolInfoRequest
- func (a *PoolsAPIService) PoolInfoExecute(r PoolsAPIPoolInfoRequest) (*PoolInfo, *http.Response, error)
- func (a *PoolsAPIService) PoolMetadata(ctx context.Context, poolId string) PoolsAPIPoolMetadataRequest
- func (a *PoolsAPIService) PoolMetadataExecute(r PoolsAPIPoolMetadataRequest) (*PoolMetadata, *http.Response, error)
- func (a *PoolsAPIService) PoolRelays(ctx context.Context, poolId string) PoolsAPIPoolRelaysRequest
- func (a *PoolsAPIService) PoolRelaysExecute(r PoolsAPIPoolRelaysRequest) ([]PoolRelay, *http.Response, error)
- func (a *PoolsAPIService) PoolUpdates(ctx context.Context, poolId string) PoolsAPIPoolUpdatesRequest
- func (a *PoolsAPIService) PoolUpdatesExecute(r PoolsAPIPoolUpdatesRequest) ([]PoolUpdate, *http.Response, error)
- type Prices
- func (o *Prices) GetMemory() string
- func (o *Prices) GetMemoryOk() (*string, bool)
- func (o *Prices) GetSteps() string
- func (o *Prices) GetStepsOk() (*string, bool)
- func (o Prices) MarshalJSON() ([]byte, error)
- func (o *Prices) SetMemory(v string)
- func (o *Prices) SetSteps(v string)
- func (o Prices) ToMap() (map[string]interface{}, error)
- type ProtocolParameters
- func (o *ProtocolParameters) GetCoinsPerUtxoByte() int64
- func (o *ProtocolParameters) GetCoinsPerUtxoByteOk() (*int64, bool)
- func (o *ProtocolParameters) GetCollateralPercentage() int64
- func (o *ProtocolParameters) GetCollateralPercentageOk() (*int64, bool)
- func (o *ProtocolParameters) GetCostModels() map[string]map[string]int64
- func (o *ProtocolParameters) GetCostModelsOk() (*map[string]map[string]int64, bool)
- func (o *ProtocolParameters) GetDesiredNumberOfPools() int64
- func (o *ProtocolParameters) GetDesiredNumberOfPoolsOk() (*int64, bool)
- func (o *ProtocolParameters) GetMaxBlockBodySize() int64
- func (o *ProtocolParameters) GetMaxBlockBodySizeOk() (*int64, bool)
- func (o *ProtocolParameters) GetMaxBlockHeaderSize() int64
- func (o *ProtocolParameters) GetMaxBlockHeaderSizeOk() (*int64, bool)
- func (o *ProtocolParameters) GetMaxCollateralInputs() int64
- func (o *ProtocolParameters) GetMaxCollateralInputsOk() (*int64, bool)
- func (o *ProtocolParameters) GetMaxExecutionUnitsPerBlock() ExUnit
- func (o *ProtocolParameters) GetMaxExecutionUnitsPerBlockOk() (*ExUnit, bool)
- func (o *ProtocolParameters) GetMaxExecutionUnitsPerTransaction() ExUnit
- func (o *ProtocolParameters) GetMaxExecutionUnitsPerTransactionOk() (*ExUnit, bool)
- func (o *ProtocolParameters) GetMaxTxSize() int64
- func (o *ProtocolParameters) GetMaxTxSizeOk() (*int64, bool)
- func (o *ProtocolParameters) GetMaxValueSize() int64
- func (o *ProtocolParameters) GetMaxValueSizeOk() (*int64, bool)
- func (o *ProtocolParameters) GetMinFeeCoefficient() int64
- func (o *ProtocolParameters) GetMinFeeCoefficientOk() (*int64, bool)
- func (o *ProtocolParameters) GetMinFeeConstant() int64
- func (o *ProtocolParameters) GetMinFeeConstantOk() (*int64, bool)
- func (o *ProtocolParameters) GetMinPoolCost() int64
- func (o *ProtocolParameters) GetMinPoolCostOk() (*int64, bool)
- func (o *ProtocolParameters) GetMonetaryExpansion() string
- func (o *ProtocolParameters) GetMonetaryExpansionOk() (*string, bool)
- func (o *ProtocolParameters) GetPoolDeposit() int64
- func (o *ProtocolParameters) GetPoolDepositOk() (*int64, bool)
- func (o *ProtocolParameters) GetPoolInfluence() string
- func (o *ProtocolParameters) GetPoolInfluenceOk() (*string, bool)
- func (o *ProtocolParameters) GetPoolRetirementEpochBound() int64
- func (o *ProtocolParameters) GetPoolRetirementEpochBoundOk() (*int64, bool)
- func (o *ProtocolParameters) GetPrices() Prices
- func (o *ProtocolParameters) GetPricesOk() (*Prices, bool)
- func (o *ProtocolParameters) GetProtocolVersion() Version
- func (o *ProtocolParameters) GetProtocolVersionOk() (*Version, bool)
- func (o *ProtocolParameters) GetStakeKeyDeposit() int64
- func (o *ProtocolParameters) GetStakeKeyDepositOk() (*int64, bool)
- func (o *ProtocolParameters) GetTreasuryExpansion() string
- func (o *ProtocolParameters) GetTreasuryExpansionOk() (*string, bool)
- func (o ProtocolParameters) MarshalJSON() ([]byte, error)
- func (o *ProtocolParameters) SetCoinsPerUtxoByte(v int64)
- func (o *ProtocolParameters) SetCollateralPercentage(v int64)
- func (o *ProtocolParameters) SetCostModels(v map[string]map[string]int64)
- func (o *ProtocolParameters) SetDesiredNumberOfPools(v int64)
- func (o *ProtocolParameters) SetMaxBlockBodySize(v int64)
- func (o *ProtocolParameters) SetMaxBlockHeaderSize(v int64)
- func (o *ProtocolParameters) SetMaxCollateralInputs(v int64)
- func (o *ProtocolParameters) SetMaxExecutionUnitsPerBlock(v ExUnit)
- func (o *ProtocolParameters) SetMaxExecutionUnitsPerTransaction(v ExUnit)
- func (o *ProtocolParameters) SetMaxTxSize(v int64)
- func (o *ProtocolParameters) SetMaxValueSize(v int64)
- func (o *ProtocolParameters) SetMinFeeCoefficient(v int64)
- func (o *ProtocolParameters) SetMinFeeConstant(v int64)
- func (o *ProtocolParameters) SetMinPoolCost(v int64)
- func (o *ProtocolParameters) SetMonetaryExpansion(v string)
- func (o *ProtocolParameters) SetPoolDeposit(v int64)
- func (o *ProtocolParameters) SetPoolInfluence(v string)
- func (o *ProtocolParameters) SetPoolRetirementEpochBound(v int64)
- func (o *ProtocolParameters) SetPrices(v Prices)
- func (o *ProtocolParameters) SetProtocolVersion(v Version)
- func (o *ProtocolParameters) SetStakeKeyDeposit(v int64)
- func (o *ProtocolParameters) SetTreasuryExpansion(v string)
- func (o ProtocolParameters) ToMap() (map[string]interface{}, error)
- type Redeemers
- func (o *Redeemers) GetCertificates() []CertRedeemer
- func (o *Redeemers) GetCertificatesOk() ([]CertRedeemer, bool)
- func (o *Redeemers) GetMints() []MintRedeemer
- func (o *Redeemers) GetMintsOk() ([]MintRedeemer, bool)
- func (o *Redeemers) GetSpends() []SpendRedeemer
- func (o *Redeemers) GetSpendsOk() ([]SpendRedeemer, bool)
- func (o *Redeemers) GetWithdrawals() []WdrlRedeemer
- func (o *Redeemers) GetWithdrawalsOk() ([]WdrlRedeemer, bool)
- func (o Redeemers) MarshalJSON() ([]byte, error)
- func (o *Redeemers) SetCertificates(v []CertRedeemer)
- func (o *Redeemers) SetMints(v []MintRedeemer)
- func (o *Redeemers) SetSpends(v []SpendRedeemer)
- func (o *Redeemers) SetWithdrawals(v []WdrlRedeemer)
- func (o Redeemers) ToMap() (map[string]interface{}, error)
- type Relay
- func (o *Relay) GetDns() string
- func (o *Relay) GetDnsOk() (*string, bool)
- func (o *Relay) GetIpv4() string
- func (o *Relay) GetIpv4Ok() (*string, bool)
- func (o *Relay) GetIpv6() string
- func (o *Relay) GetIpv6Ok() (*string, bool)
- func (o *Relay) GetPort() int32
- func (o *Relay) GetPortOk() (*int32, bool)
- func (o *Relay) GetSrv() string
- func (o *Relay) GetSrvOk() (*string, bool)
- func (o *Relay) HasDns() bool
- func (o *Relay) HasIpv4() bool
- func (o *Relay) HasIpv6() bool
- func (o *Relay) HasPort() bool
- func (o *Relay) HasSrv() bool
- func (o Relay) MarshalJSON() ([]byte, error)
- func (o *Relay) SetDns(v string)
- func (o *Relay) SetIpv4(v string)
- func (o *Relay) SetIpv6(v string)
- func (o *Relay) SetPort(v int32)
- func (o *Relay) SetSrv(v string)
- func (o Relay) ToMap() (map[string]interface{}, error)
- type Script
- func (o *Script) GetBytes() string
- func (o *Script) GetBytesOk() (*string, bool)
- func (o *Script) GetHash() string
- func (o *Script) GetHashOk() (*string, bool)
- func (o *Script) GetJson() map[string]interface{}
- func (o *Script) GetJsonOk() (map[string]interface{}, bool)
- func (o *Script) GetType() ScriptType
- func (o *Script) GetTypeOk() (*ScriptType, bool)
- func (o *Script) HasBytes() bool
- func (o *Script) HasJson() bool
- func (o Script) MarshalJSON() ([]byte, error)
- func (o *Script) SetBytes(v string)
- func (o *Script) SetHash(v string)
- func (o *Script) SetJson(v map[string]interface{})
- func (o *Script) SetType(v ScriptType)
- func (o Script) ToMap() (map[string]interface{}, error)
- type ScriptType
- type ScriptsAPI
- type ScriptsAPIScriptByHashRequest
- type ScriptsAPIService
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SpendRedeemer
- func (o *SpendRedeemer) GetData() Datum
- func (o *SpendRedeemer) GetDataOk() (*Datum, bool)
- func (o *SpendRedeemer) GetExUnits() int64
- func (o *SpendRedeemer) GetExUnitsOk() (*int64, bool)
- func (o *SpendRedeemer) GetInputIndex() int32
- func (o *SpendRedeemer) GetInputIndexOk() (*int32, bool)
- func (o SpendRedeemer) MarshalJSON() ([]byte, error)
- func (o *SpendRedeemer) SetData(v Datum)
- func (o *SpendRedeemer) SetExUnits(v int64)
- func (o *SpendRedeemer) SetInputIndex(v int32)
- func (o SpendRedeemer) ToMap() (map[string]interface{}, error)
- type StakeDelegCert
- func (o *StakeDelegCert) GetCertIndex() int32
- func (o *StakeDelegCert) GetCertIndexOk() (*int32, bool)
- func (o *StakeDelegCert) GetPoolId() string
- func (o *StakeDelegCert) GetPoolIdOk() (*string, bool)
- func (o *StakeDelegCert) GetStakeAddress() string
- func (o *StakeDelegCert) GetStakeAddressOk() (*string, bool)
- func (o StakeDelegCert) MarshalJSON() ([]byte, error)
- func (o *StakeDelegCert) SetCertIndex(v int32)
- func (o *StakeDelegCert) SetPoolId(v string)
- func (o *StakeDelegCert) SetStakeAddress(v string)
- func (o StakeDelegCert) ToMap() (map[string]interface{}, error)
- type StakeRegCert
- func (o *StakeRegCert) GetCertIndex() int32
- func (o *StakeRegCert) GetCertIndexOk() (*int32, bool)
- func (o *StakeRegCert) GetStakeAddress() string
- func (o *StakeRegCert) GetStakeAddressOk() (*string, bool)
- func (o StakeRegCert) MarshalJSON() ([]byte, error)
- func (o *StakeRegCert) SetCertIndex(v int32)
- func (o *StakeRegCert) SetStakeAddress(v string)
- func (o StakeRegCert) ToMap() (map[string]interface{}, error)
- type StakingCredKind
- type StakingCredential
- func (o *StakingCredential) GetBech32() string
- func (o *StakingCredential) GetBech32Ok() (*string, bool)
- func (o *StakingCredential) GetHex() string
- func (o *StakingCredential) GetHexOk() (*string, bool)
- func (o *StakingCredential) GetKind() StakingCredKind
- func (o *StakingCredential) GetKindOk() (*StakingCredKind, bool)
- func (o *StakingCredential) GetPointer() Pointer
- func (o *StakingCredential) GetPointerOk() (*Pointer, bool)
- func (o *StakingCredential) GetRewardAddress() string
- func (o *StakingCredential) GetRewardAddressOk() (*string, bool)
- func (o *StakingCredential) HasBech32() bool
- func (o *StakingCredential) HasHex() bool
- func (o *StakingCredential) HasPointer() bool
- func (o *StakingCredential) HasRewardAddress() bool
- func (o StakingCredential) MarshalJSON() ([]byte, error)
- func (o *StakingCredential) SetBech32(v string)
- func (o *StakingCredential) SetHex(v string)
- func (o *StakingCredential) SetKind(v StakingCredKind)
- func (o *StakingCredential) SetPointer(v Pointer)
- func (o *StakingCredential) SetRewardAddress(v string)
- func (o StakingCredential) ToMap() (map[string]interface{}, error)
- type SystemStart
- type TokenRegistryMetadata
- func (o *TokenRegistryMetadata) GetDecimals() int64
- func (o *TokenRegistryMetadata) GetDecimalsOk() (*int64, bool)
- func (o *TokenRegistryMetadata) GetDescription() string
- func (o *TokenRegistryMetadata) GetDescriptionOk() (*string, bool)
- func (o *TokenRegistryMetadata) GetLogo() string
- func (o *TokenRegistryMetadata) GetLogoOk() (*string, bool)
- func (o *TokenRegistryMetadata) GetName() string
- func (o *TokenRegistryMetadata) GetNameOk() (*string, bool)
- func (o *TokenRegistryMetadata) GetTicker() string
- func (o *TokenRegistryMetadata) GetTickerOk() (*string, bool)
- func (o *TokenRegistryMetadata) GetUrl() string
- func (o *TokenRegistryMetadata) GetUrlOk() (*string, bool)
- func (o TokenRegistryMetadata) MarshalJSON() ([]byte, error)
- func (o *TokenRegistryMetadata) SetDecimals(v int64)
- func (o *TokenRegistryMetadata) SetDescription(v string)
- func (o *TokenRegistryMetadata) SetLogo(v string)
- func (o *TokenRegistryMetadata) SetName(v string)
- func (o *TokenRegistryMetadata) SetTicker(v string)
- func (o *TokenRegistryMetadata) SetUrl(v string)
- func (o TokenRegistryMetadata) ToMap() (map[string]interface{}, error)
- type TransactionInfo
- func (o *TransactionInfo) GetAdditionalSigners() []string
- func (o *TransactionInfo) GetAdditionalSignersOk() ([]string, bool)
- func (o *TransactionInfo) GetBlockAbsoluteSlot() int64
- func (o *TransactionInfo) GetBlockAbsoluteSlotOk() (*int64, bool)
- func (o *TransactionInfo) GetBlockHash() string
- func (o *TransactionInfo) GetBlockHashOk() (*string, bool)
- func (o *TransactionInfo) GetBlockHeight() int32
- func (o *TransactionInfo) GetBlockHeightOk() (*int32, bool)
- func (o *TransactionInfo) GetBlockTimestamp() int64
- func (o *TransactionInfo) GetBlockTimestampOk() (*int64, bool)
- func (o *TransactionInfo) GetBlockTxIndex() int32
- func (o *TransactionInfo) GetBlockTxIndexOk() (*int32, bool)
- func (o *TransactionInfo) GetCertificates() Certificates
- func (o *TransactionInfo) GetCertificatesOk() (*Certificates, bool)
- func (o *TransactionInfo) GetCollateralInputs() []Utxo
- func (o *TransactionInfo) GetCollateralInputsOk() ([]Utxo, bool)
- func (o *TransactionInfo) GetCollateralReturn() Utxo
- func (o *TransactionInfo) GetCollateralReturnOk() (*Utxo, bool)
- func (o *TransactionInfo) GetInputs() []Utxo
- func (o *TransactionInfo) GetInputsOk() ([]Utxo, bool)
- func (o *TransactionInfo) GetInvalidBefore() int64
- func (o *TransactionInfo) GetInvalidBeforeOk() (*int64, bool)
- func (o *TransactionInfo) GetInvalidHereafter() int64
- func (o *TransactionInfo) GetInvalidHereafterOk() (*int64, bool)
- func (o *TransactionInfo) GetMetadata() map[string]interface{}
- func (o *TransactionInfo) GetMetadataOk() (map[string]interface{}, bool)
- func (o *TransactionInfo) GetMint() []MintAsset
- func (o *TransactionInfo) GetMintOk() ([]MintAsset, bool)
- func (o *TransactionInfo) GetOutputs() []Utxo
- func (o *TransactionInfo) GetOutputsOk() ([]Utxo, bool)
- func (o *TransactionInfo) GetRedeemers() Redeemers
- func (o *TransactionInfo) GetRedeemersOk() (*Redeemers, bool)
- func (o *TransactionInfo) GetReferenceInputs() []Utxo
- func (o *TransactionInfo) GetReferenceInputsOk() ([]Utxo, bool)
- func (o *TransactionInfo) GetScriptsExecuted() []Script
- func (o *TransactionInfo) GetScriptsExecutedOk() ([]Script, bool)
- func (o *TransactionInfo) GetScriptsSuccessful() bool
- func (o *TransactionInfo) GetScriptsSuccessfulOk() (*bool, bool)
- func (o *TransactionInfo) GetTxHash() string
- func (o *TransactionInfo) GetTxHashOk() (*string, bool)
- func (o *TransactionInfo) GetWithdrawals() []Withdrawal
- func (o *TransactionInfo) GetWithdrawalsOk() ([]Withdrawal, bool)
- func (o *TransactionInfo) HasCollateralReturn() bool
- func (o *TransactionInfo) HasInvalidBefore() bool
- func (o *TransactionInfo) HasInvalidHereafter() bool
- func (o *TransactionInfo) HasMetadata() bool
- func (o TransactionInfo) MarshalJSON() ([]byte, error)
- func (o *TransactionInfo) SetAdditionalSigners(v []string)
- func (o *TransactionInfo) SetBlockAbsoluteSlot(v int64)
- func (o *TransactionInfo) SetBlockHash(v string)
- func (o *TransactionInfo) SetBlockHeight(v int32)
- func (o *TransactionInfo) SetBlockTimestamp(v int64)
- func (o *TransactionInfo) SetBlockTxIndex(v int32)
- func (o *TransactionInfo) SetCertificates(v Certificates)
- func (o *TransactionInfo) SetCollateralInputs(v []Utxo)
- func (o *TransactionInfo) SetCollateralReturn(v Utxo)
- func (o *TransactionInfo) SetInputs(v []Utxo)
- func (o *TransactionInfo) SetInvalidBefore(v int64)
- func (o *TransactionInfo) SetInvalidHereafter(v int64)
- func (o *TransactionInfo) SetMetadata(v map[string]interface{})
- func (o *TransactionInfo) SetMint(v []MintAsset)
- func (o *TransactionInfo) SetOutputs(v []Utxo)
- func (o *TransactionInfo) SetRedeemers(v Redeemers)
- func (o *TransactionInfo) SetReferenceInputs(v []Utxo)
- func (o *TransactionInfo) SetScriptsExecuted(v []Script)
- func (o *TransactionInfo) SetScriptsSuccessful(v bool)
- func (o *TransactionInfo) SetTxHash(v string)
- func (o *TransactionInfo) SetWithdrawals(v []Withdrawal)
- func (o TransactionInfo) ToMap() (map[string]interface{}, error)
- type TransactionsAPI
- type TransactionsAPIAddressByTxoRequest
- type TransactionsAPIIogTxSubmitRequest
- type TransactionsAPIMaestroTxSubmitRequest
- type TransactionsAPIService
- func (a *TransactionsAPIService) AddressByTxo(ctx context.Context, txHash string, index int32) TransactionsAPIAddressByTxoRequest
- func (a *TransactionsAPIService) AddressByTxoExecute(r TransactionsAPIAddressByTxoRequest) (*UtxoAddress, *http.Response, error)
- func (a *TransactionsAPIService) IogTxSubmit(ctx context.Context) TransactionsAPIIogTxSubmitRequest
- func (a *TransactionsAPIService) IogTxSubmitExecute(r TransactionsAPIIogTxSubmitRequest) (string, *http.Response, error)
- func (a *TransactionsAPIService) MaestroTxSubmit(ctx context.Context) TransactionsAPIMaestroTxSubmitRequest
- func (a *TransactionsAPIService) MaestroTxSubmitExecute(r TransactionsAPIMaestroTxSubmitRequest) (string, *http.Response, error)
- func (a *TransactionsAPIService) TxCborByTxHash(ctx context.Context, txHash string) TransactionsAPITxCborByTxHashRequest
- func (a *TransactionsAPIService) TxCborByTxHashExecute(r TransactionsAPITxCborByTxHashRequest) (*TxCbor, *http.Response, error)
- func (a *TransactionsAPIService) TxInfo(ctx context.Context, txHash string) TransactionsAPITxInfoRequest
- func (a *TransactionsAPIService) TxInfoExecute(r TransactionsAPITxInfoRequest) (*TransactionInfo, *http.Response, error)
- func (a *TransactionsAPIService) UtxoByTxoRef(ctx context.Context, txHash string, index int32) TransactionsAPIUtxoByTxoRefRequest
- func (a *TransactionsAPIService) UtxoByTxoRefExecute(r TransactionsAPIUtxoByTxoRefRequest) (*Utxo, *http.Response, error)
- type TransactionsAPITxCborByTxHashRequest
- type TransactionsAPITxInfoRequest
- type TransactionsAPIUtxoByTxoRefRequest
- func (r TransactionsAPIUtxoByTxoRefRequest) Execute() (*Utxo, *http.Response, error)
- func (r TransactionsAPIUtxoByTxoRefRequest) ResolveDatums(resolveDatums bool) TransactionsAPIUtxoByTxoRefRequest
- func (r TransactionsAPIUtxoByTxoRefRequest) WithCbor(withCbor bool) TransactionsAPIUtxoByTxoRefRequest
- type TxCbor
- type TxStatus
- type TxStatusInfo
- func (o *TxStatusInfo) GetTxHash() string
- func (o *TxStatusInfo) GetTxHashOk() (*string, bool)
- func (o *TxStatusInfo) GetTxStatus() TxStatus
- func (o *TxStatusInfo) GetTxStatusOk() (*TxStatus, bool)
- func (o TxStatusInfo) MarshalJSON() ([]byte, error)
- func (o *TxStatusInfo) SetTxHash(v string)
- func (o *TxStatusInfo) SetTxStatus(v TxStatus)
- func (o TxStatusInfo) ToMap() (map[string]interface{}, error)
- type Utxo
- func (o *Utxo) GetAddress() string
- func (o *Utxo) GetAddressOk() (*string, bool)
- func (o *Utxo) GetAssets() []Asset
- func (o *Utxo) GetAssetsOk() ([]Asset, bool)
- func (o *Utxo) GetDatum() DatumOption
- func (o *Utxo) GetDatumOk() (*DatumOption, bool)
- func (o *Utxo) GetIndex() int32
- func (o *Utxo) GetIndexOk() (*int32, bool)
- func (o *Utxo) GetReferenceScript() Script
- func (o *Utxo) GetReferenceScriptOk() (*Script, bool)
- func (o *Utxo) GetTxHash() string
- func (o *Utxo) GetTxHashOk() (*string, bool)
- func (o *Utxo) HasDatum() bool
- func (o *Utxo) HasReferenceScript() bool
- func (o Utxo) MarshalJSON() ([]byte, error)
- func (o *Utxo) SetAddress(v string)
- func (o *Utxo) SetAssets(v []Asset)
- func (o *Utxo) SetDatum(v DatumOption)
- func (o *Utxo) SetIndex(v int32)
- func (o *Utxo) SetReferenceScript(v Script)
- func (o *Utxo) SetTxHash(v string)
- func (o Utxo) ToMap() (map[string]interface{}, error)
- type UtxoAddress
- type UtxoRef
- func (o *UtxoRef) GetIndex() int32
- func (o *UtxoRef) GetIndexOk() (*int32, bool)
- func (o *UtxoRef) GetTxHash() string
- func (o *UtxoRef) GetTxHashOk() (*string, bool)
- func (o UtxoRef) MarshalJSON() ([]byte, error)
- func (o *UtxoRef) SetIndex(v int32)
- func (o *UtxoRef) SetTxHash(v string)
- func (o UtxoRef) ToMap() (map[string]interface{}, error)
- type UtxoWithBytes
- func (o *UtxoWithBytes) GetAddress() string
- func (o *UtxoWithBytes) GetAddressOk() (*string, bool)
- func (o *UtxoWithBytes) GetAssets() []Asset
- func (o *UtxoWithBytes) GetAssetsOk() ([]Asset, bool)
- func (o *UtxoWithBytes) GetDatum() DatumOption
- func (o *UtxoWithBytes) GetDatumOk() (*DatumOption, bool)
- func (o *UtxoWithBytes) GetIndex() int32
- func (o *UtxoWithBytes) GetIndexOk() (*int32, bool)
- func (o *UtxoWithBytes) GetReferenceScript() Script
- func (o *UtxoWithBytes) GetReferenceScriptOk() (*Script, bool)
- func (o *UtxoWithBytes) GetTxHash() string
- func (o *UtxoWithBytes) GetTxHashOk() (*string, bool)
- func (o *UtxoWithBytes) GetTxoutCbor() string
- func (o *UtxoWithBytes) GetTxoutCborOk() (*string, bool)
- func (o *UtxoWithBytes) HasDatum() bool
- func (o *UtxoWithBytes) HasReferenceScript() bool
- func (o *UtxoWithBytes) HasTxoutCbor() bool
- func (o UtxoWithBytes) MarshalJSON() ([]byte, error)
- func (o *UtxoWithBytes) SetAddress(v string)
- func (o *UtxoWithBytes) SetAssets(v []Asset)
- func (o *UtxoWithBytes) SetDatum(v DatumOption)
- func (o *UtxoWithBytes) SetIndex(v int32)
- func (o *UtxoWithBytes) SetReferenceScript(v Script)
- func (o *UtxoWithBytes) SetTxHash(v string)
- func (o *UtxoWithBytes) SetTxoutCbor(v string)
- func (o UtxoWithBytes) ToMap() (map[string]interface{}, error)
- type Version
- func (o *Version) GetMajor() int32
- func (o *Version) GetMajorOk() (*int32, bool)
- func (o *Version) GetMinor() int32
- func (o *Version) GetMinorOk() (*int32, bool)
- func (o Version) MarshalJSON() ([]byte, error)
- func (o *Version) SetMajor(v int32)
- func (o *Version) SetMinor(v int32)
- func (o Version) ToMap() (map[string]interface{}, error)
- type WdrlRedeemer
- func (o *WdrlRedeemer) GetData() Datum
- func (o *WdrlRedeemer) GetDataOk() (*Datum, bool)
- func (o *WdrlRedeemer) GetExUnits() int64
- func (o *WdrlRedeemer) GetExUnitsOk() (*int64, bool)
- func (o *WdrlRedeemer) GetStakeAddress() string
- func (o *WdrlRedeemer) GetStakeAddressOk() (*string, bool)
- func (o WdrlRedeemer) MarshalJSON() ([]byte, error)
- func (o *WdrlRedeemer) SetData(v Datum)
- func (o *WdrlRedeemer) SetExUnits(v int64)
- func (o *WdrlRedeemer) SetStakeAddress(v string)
- func (o WdrlRedeemer) ToMap() (map[string]interface{}, error)
- type Withdrawal
- func (o *Withdrawal) GetAmount() int64
- func (o *Withdrawal) GetAmountOk() (*int64, bool)
- func (o *Withdrawal) GetStakeAddress() string
- func (o *Withdrawal) GetStakeAddressOk() (*string, bool)
- func (o Withdrawal) MarshalJSON() ([]byte, error)
- func (o *Withdrawal) SetAmount(v int64)
- func (o *Withdrawal) SetStakeAddress(v string)
- func (o Withdrawal) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedAccountActionEnumValues = []AccountAction{
"registration",
"deregistration",
"delegation",
"withdrawal",
}
All allowed values of AccountAction enum
var AllowedAccountRewardTypeEnumValues = []AccountRewardType{
"member",
"leader",
"treasury",
"reserves",
"refund",
}
All allowed values of AccountRewardType enum
var AllowedAccountStakingRewardTypeEnumValues = []AccountStakingRewardType{
"member",
"leader",
"refund",
}
All allowed values of AccountStakingRewardType enum
var AllowedDatumOptionTypeEnumValues = []DatumOptionType{
"hash",
"inline",
}
All allowed values of DatumOptionType enum
var AllowedMirSourceEnumValues = []MirSource{
"reserves",
"treasury",
}
All allowed values of MirSource enum
var AllowedNetworkIdEnumValues = []NetworkId{
"mainnet",
"testnet",
}
All allowed values of NetworkId enum
var AllowedPaymentCredKindEnumValues = []PaymentCredKind{
"key",
"script",
}
All allowed values of PaymentCredKind enum
var AllowedScriptTypeEnumValues = []ScriptType{
"native",
"plutusv1",
"plutusv2",
}
All allowed values of ScriptType enum
var AllowedStakingCredKindEnumValues = []StakingCredKind{
"key",
"script",
"pointer",
}
All allowed values of StakingCredKind enum
var AllowedTxStatusEnumValues = []TxStatus{
"Failed",
"Onchain",
"Pending",
"Rejected",
"Rolledback",
}
All allowed values of TxStatus enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { AccountsAPI AccountsAPI AddressesAPI AddressesAPI AssetsAPI AssetsAPI DatumAPI DatumAPI EpochsAPI EpochsAPI GeneralAPI GeneralAPI PoolsAPI PoolsAPI ScriptsAPI ScriptsAPI TransactionsAPI TransactionsAPI // contains filtered or unexported fields }
APIClient manages communication with the Blockchain Indexer API API vV0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AccountAction ¶
type AccountAction string
AccountAction Type of staking-related action
const ( ACCOUNTACTION_REGISTRATION AccountAction = "registration" ACCOUNTACTION_DEREGISTRATION AccountAction = "deregistration" ACCOUNTACTION_DELEGATION AccountAction = "delegation" ACCOUNTACTION_WITHDRAWAL AccountAction = "withdrawal" )
List of AccountAction
func NewAccountActionFromValue ¶
func NewAccountActionFromValue(v string) (*AccountAction, error)
NewAccountActionFromValue returns a pointer to a valid AccountAction for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AccountAction) IsValid ¶
func (v AccountAction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (AccountAction) Ptr ¶
func (v AccountAction) Ptr() *AccountAction
Ptr returns reference to AccountAction value
func (*AccountAction) UnmarshalJSON ¶
func (v *AccountAction) UnmarshalJSON(src []byte) error
type AccountHistory ¶
type AccountHistory struct { // Active stake of the account in the epoch ActiveStake int64 `json:"active_stake"` // Epoch number EpochNo int32 `json:"epoch_no"` // Bech32 encoded pool ID the account was delegated to PoolId *string `json:"pool_id,omitempty"` }
AccountHistory Per-epoch information about a stake account
func NewAccountHistory ¶
func NewAccountHistory(activeStake int64, epochNo int32) *AccountHistory
NewAccountHistory instantiates a new AccountHistory object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountHistoryWithDefaults ¶
func NewAccountHistoryWithDefaults() *AccountHistory
NewAccountHistoryWithDefaults instantiates a new AccountHistory object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountHistory) GetActiveStake ¶
func (o *AccountHistory) GetActiveStake() int64
GetActiveStake returns the ActiveStake field value
func (*AccountHistory) GetActiveStakeOk ¶
func (o *AccountHistory) GetActiveStakeOk() (*int64, bool)
GetActiveStakeOk returns a tuple with the ActiveStake field value and a boolean to check if the value has been set.
func (*AccountHistory) GetEpochNo ¶
func (o *AccountHistory) GetEpochNo() int32
GetEpochNo returns the EpochNo field value
func (*AccountHistory) GetEpochNoOk ¶
func (o *AccountHistory) GetEpochNoOk() (*int32, bool)
GetEpochNoOk returns a tuple with the EpochNo field value and a boolean to check if the value has been set.
func (*AccountHistory) GetPoolId ¶
func (o *AccountHistory) GetPoolId() string
GetPoolId returns the PoolId field value if set, zero value otherwise.
func (*AccountHistory) GetPoolIdOk ¶
func (o *AccountHistory) GetPoolIdOk() (*string, bool)
GetPoolIdOk returns a tuple with the PoolId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountHistory) HasPoolId ¶
func (o *AccountHistory) HasPoolId() bool
HasPoolId returns a boolean if a field has been set.
func (AccountHistory) MarshalJSON ¶
func (o AccountHistory) MarshalJSON() ([]byte, error)
func (*AccountHistory) SetActiveStake ¶
func (o *AccountHistory) SetActiveStake(v int64)
SetActiveStake sets field value
func (*AccountHistory) SetEpochNo ¶
func (o *AccountHistory) SetEpochNo(v int32)
SetEpochNo sets field value
func (*AccountHistory) SetPoolId ¶
func (o *AccountHistory) SetPoolId(v string)
SetPoolId gets a reference to the given string and assigns it to the PoolId field.
func (AccountHistory) ToMap ¶
func (o AccountHistory) ToMap() (map[string]interface{}, error)
type AccountInfo ¶
type AccountInfo struct { // Bech32 pool ID that the stake key is delegated to DelegatedPool *string `json:"delegated_pool,omitempty"` // True if the stake key is registered Registered bool `json:"registered"` // The amount of rewards that are available to be withdrawn RewardsAvailable int64 `json:"rewards_available"` // Bech32 encoded stake address StakeAddress string `json:"stake_address"` // Total balance controlled by the stake key (sum of UTxO and rewards) TotalBalance int64 `json:"total_balance"` // Total rewards earned TotalRewarded int64 `json:"total_rewarded"` // Total rewards withdrawn TotalWithdrawn int64 `json:"total_withdrawn"` // Amount locked in UTxOs controlled by addresses with the stake key UtxoBalance int64 `json:"utxo_balance"` }
AccountInfo Summary of information regarding a stake account
func NewAccountInfo ¶
func NewAccountInfo(registered bool, rewardsAvailable int64, stakeAddress string, totalBalance int64, totalRewarded int64, totalWithdrawn int64, utxoBalance int64) *AccountInfo
NewAccountInfo instantiates a new AccountInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountInfoWithDefaults ¶
func NewAccountInfoWithDefaults() *AccountInfo
NewAccountInfoWithDefaults instantiates a new AccountInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountInfo) GetDelegatedPool ¶
func (o *AccountInfo) GetDelegatedPool() string
GetDelegatedPool returns the DelegatedPool field value if set, zero value otherwise.
func (*AccountInfo) GetDelegatedPoolOk ¶
func (o *AccountInfo) GetDelegatedPoolOk() (*string, bool)
GetDelegatedPoolOk returns a tuple with the DelegatedPool field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountInfo) GetRegistered ¶
func (o *AccountInfo) GetRegistered() bool
GetRegistered returns the Registered field value
func (*AccountInfo) GetRegisteredOk ¶
func (o *AccountInfo) GetRegisteredOk() (*bool, bool)
GetRegisteredOk returns a tuple with the Registered field value and a boolean to check if the value has been set.
func (*AccountInfo) GetRewardsAvailable ¶
func (o *AccountInfo) GetRewardsAvailable() int64
GetRewardsAvailable returns the RewardsAvailable field value
func (*AccountInfo) GetRewardsAvailableOk ¶
func (o *AccountInfo) GetRewardsAvailableOk() (*int64, bool)
GetRewardsAvailableOk returns a tuple with the RewardsAvailable field value and a boolean to check if the value has been set.
func (*AccountInfo) GetStakeAddress ¶
func (o *AccountInfo) GetStakeAddress() string
GetStakeAddress returns the StakeAddress field value
func (*AccountInfo) GetStakeAddressOk ¶
func (o *AccountInfo) GetStakeAddressOk() (*string, bool)
GetStakeAddressOk returns a tuple with the StakeAddress field value and a boolean to check if the value has been set.
func (*AccountInfo) GetTotalBalance ¶
func (o *AccountInfo) GetTotalBalance() int64
GetTotalBalance returns the TotalBalance field value
func (*AccountInfo) GetTotalBalanceOk ¶
func (o *AccountInfo) GetTotalBalanceOk() (*int64, bool)
GetTotalBalanceOk returns a tuple with the TotalBalance field value and a boolean to check if the value has been set.
func (*AccountInfo) GetTotalRewarded ¶
func (o *AccountInfo) GetTotalRewarded() int64
GetTotalRewarded returns the TotalRewarded field value
func (*AccountInfo) GetTotalRewardedOk ¶
func (o *AccountInfo) GetTotalRewardedOk() (*int64, bool)
GetTotalRewardedOk returns a tuple with the TotalRewarded field value and a boolean to check if the value has been set.
func (*AccountInfo) GetTotalWithdrawn ¶
func (o *AccountInfo) GetTotalWithdrawn() int64
GetTotalWithdrawn returns the TotalWithdrawn field value
func (*AccountInfo) GetTotalWithdrawnOk ¶
func (o *AccountInfo) GetTotalWithdrawnOk() (*int64, bool)
GetTotalWithdrawnOk returns a tuple with the TotalWithdrawn field value and a boolean to check if the value has been set.
func (*AccountInfo) GetUtxoBalance ¶
func (o *AccountInfo) GetUtxoBalance() int64
GetUtxoBalance returns the UtxoBalance field value
func (*AccountInfo) GetUtxoBalanceOk ¶
func (o *AccountInfo) GetUtxoBalanceOk() (*int64, bool)
GetUtxoBalanceOk returns a tuple with the UtxoBalance field value and a boolean to check if the value has been set.
func (*AccountInfo) HasDelegatedPool ¶
func (o *AccountInfo) HasDelegatedPool() bool
HasDelegatedPool returns a boolean if a field has been set.
func (AccountInfo) MarshalJSON ¶
func (o AccountInfo) MarshalJSON() ([]byte, error)
func (*AccountInfo) SetDelegatedPool ¶
func (o *AccountInfo) SetDelegatedPool(v string)
SetDelegatedPool gets a reference to the given string and assigns it to the DelegatedPool field.
func (*AccountInfo) SetRegistered ¶
func (o *AccountInfo) SetRegistered(v bool)
SetRegistered sets field value
func (*AccountInfo) SetRewardsAvailable ¶
func (o *AccountInfo) SetRewardsAvailable(v int64)
SetRewardsAvailable sets field value
func (*AccountInfo) SetStakeAddress ¶
func (o *AccountInfo) SetStakeAddress(v string)
SetStakeAddress sets field value
func (*AccountInfo) SetTotalBalance ¶
func (o *AccountInfo) SetTotalBalance(v int64)
SetTotalBalance sets field value
func (*AccountInfo) SetTotalRewarded ¶
func (o *AccountInfo) SetTotalRewarded(v int64)
SetTotalRewarded sets field value
func (*AccountInfo) SetTotalWithdrawn ¶
func (o *AccountInfo) SetTotalWithdrawn(v int64)
SetTotalWithdrawn sets field value
func (*AccountInfo) SetUtxoBalance ¶
func (o *AccountInfo) SetUtxoBalance(v int64)
SetUtxoBalance sets field value
func (AccountInfo) ToMap ¶
func (o AccountInfo) ToMap() (map[string]interface{}, error)
type AccountReward ¶
type AccountReward struct { // Reward amount Amount int64 `json:"amount"` // Epoch in which the reward was earned EarnedEpoch int32 `json:"earned_epoch"` // Bech32 encoded pool ID (if relevant to reward type) PoolId string `json:"pool_id"` // Epoch at which the reward is spendable SpendableEpoch int32 `json:"spendable_epoch"` Type AccountStakingRewardType `json:"type"` }
AccountReward Stake account related reward
func NewAccountReward ¶
func NewAccountReward(amount int64, earnedEpoch int32, poolId string, spendableEpoch int32, type_ AccountStakingRewardType) *AccountReward
NewAccountReward instantiates a new AccountReward object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountRewardWithDefaults ¶
func NewAccountRewardWithDefaults() *AccountReward
NewAccountRewardWithDefaults instantiates a new AccountReward object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountReward) GetAmount ¶
func (o *AccountReward) GetAmount() int64
GetAmount returns the Amount field value
func (*AccountReward) GetAmountOk ¶
func (o *AccountReward) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*AccountReward) GetEarnedEpoch ¶
func (o *AccountReward) GetEarnedEpoch() int32
GetEarnedEpoch returns the EarnedEpoch field value
func (*AccountReward) GetEarnedEpochOk ¶
func (o *AccountReward) GetEarnedEpochOk() (*int32, bool)
GetEarnedEpochOk returns a tuple with the EarnedEpoch field value and a boolean to check if the value has been set.
func (*AccountReward) GetPoolId ¶
func (o *AccountReward) GetPoolId() string
GetPoolId returns the PoolId field value
func (*AccountReward) GetPoolIdOk ¶
func (o *AccountReward) GetPoolIdOk() (*string, bool)
GetPoolIdOk returns a tuple with the PoolId field value and a boolean to check if the value has been set.
func (*AccountReward) GetSpendableEpoch ¶
func (o *AccountReward) GetSpendableEpoch() int32
GetSpendableEpoch returns the SpendableEpoch field value
func (*AccountReward) GetSpendableEpochOk ¶
func (o *AccountReward) GetSpendableEpochOk() (*int32, bool)
GetSpendableEpochOk returns a tuple with the SpendableEpoch field value and a boolean to check if the value has been set.
func (*AccountReward) GetType ¶
func (o *AccountReward) GetType() AccountStakingRewardType
GetType returns the Type field value
func (*AccountReward) GetTypeOk ¶
func (o *AccountReward) GetTypeOk() (*AccountStakingRewardType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (AccountReward) MarshalJSON ¶
func (o AccountReward) MarshalJSON() ([]byte, error)
func (*AccountReward) SetAmount ¶
func (o *AccountReward) SetAmount(v int64)
SetAmount sets field value
func (*AccountReward) SetEarnedEpoch ¶
func (o *AccountReward) SetEarnedEpoch(v int32)
SetEarnedEpoch sets field value
func (*AccountReward) SetPoolId ¶
func (o *AccountReward) SetPoolId(v string)
SetPoolId sets field value
func (*AccountReward) SetSpendableEpoch ¶
func (o *AccountReward) SetSpendableEpoch(v int32)
SetSpendableEpoch sets field value
func (*AccountReward) SetType ¶
func (o *AccountReward) SetType(v AccountStakingRewardType)
SetType sets field value
func (AccountReward) ToMap ¶
func (o AccountReward) ToMap() (map[string]interface{}, error)
type AccountRewardType ¶
type AccountRewardType string
AccountRewardType Type of stake account reward
const ( ACCOUNTREWARDTYPE_MEMBER AccountRewardType = "member" ACCOUNTREWARDTYPE_LEADER AccountRewardType = "leader" ACCOUNTREWARDTYPE_TREASURY AccountRewardType = "treasury" ACCOUNTREWARDTYPE_RESERVES AccountRewardType = "reserves" ACCOUNTREWARDTYPE_REFUND AccountRewardType = "refund" )
List of AccountRewardType
func NewAccountRewardTypeFromValue ¶
func NewAccountRewardTypeFromValue(v string) (*AccountRewardType, error)
NewAccountRewardTypeFromValue returns a pointer to a valid AccountRewardType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AccountRewardType) IsValid ¶
func (v AccountRewardType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (AccountRewardType) Ptr ¶
func (v AccountRewardType) Ptr() *AccountRewardType
Ptr returns reference to AccountRewardType value
func (*AccountRewardType) UnmarshalJSON ¶
func (v *AccountRewardType) UnmarshalJSON(src []byte) error
type AccountStakingRewardType ¶
type AccountStakingRewardType string
AccountStakingRewardType Staking-related reward type
const ( ACCOUNTSTAKINGREWARDTYPE_MEMBER AccountStakingRewardType = "member" ACCOUNTSTAKINGREWARDTYPE_LEADER AccountStakingRewardType = "leader" ACCOUNTSTAKINGREWARDTYPE_REFUND AccountStakingRewardType = "refund" )
List of AccountStakingRewardType
func NewAccountStakingRewardTypeFromValue ¶
func NewAccountStakingRewardTypeFromValue(v string) (*AccountStakingRewardType, error)
NewAccountStakingRewardTypeFromValue returns a pointer to a valid AccountStakingRewardType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AccountStakingRewardType) IsValid ¶
func (v AccountStakingRewardType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (AccountStakingRewardType) Ptr ¶
func (v AccountStakingRewardType) Ptr() *AccountStakingRewardType
Ptr returns reference to AccountStakingRewardType value
func (*AccountStakingRewardType) UnmarshalJSON ¶
func (v *AccountStakingRewardType) UnmarshalJSON(src []byte) error
type AccountUpdate ¶
type AccountUpdate struct { // Absolute slot of the block which contained the transaction AbsSlot int32 `json:"abs_slot"` Action AccountAction `json:"action"` // Epoch number in which the transaction occured EpochNo int32 `json:"epoch_no"` // Transaction hash of the transaction which performed the action TxHash string `json:"tx_hash"` }
AccountUpdate Stake account related update
func NewAccountUpdate ¶
func NewAccountUpdate(absSlot int32, action AccountAction, epochNo int32, txHash string) *AccountUpdate
NewAccountUpdate instantiates a new AccountUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountUpdateWithDefaults ¶
func NewAccountUpdateWithDefaults() *AccountUpdate
NewAccountUpdateWithDefaults instantiates a new AccountUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AccountUpdate) GetAbsSlot ¶
func (o *AccountUpdate) GetAbsSlot() int32
GetAbsSlot returns the AbsSlot field value
func (*AccountUpdate) GetAbsSlotOk ¶
func (o *AccountUpdate) GetAbsSlotOk() (*int32, bool)
GetAbsSlotOk returns a tuple with the AbsSlot field value and a boolean to check if the value has been set.
func (*AccountUpdate) GetAction ¶
func (o *AccountUpdate) GetAction() AccountAction
GetAction returns the Action field value
func (*AccountUpdate) GetActionOk ¶
func (o *AccountUpdate) GetActionOk() (*AccountAction, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*AccountUpdate) GetEpochNo ¶
func (o *AccountUpdate) GetEpochNo() int32
GetEpochNo returns the EpochNo field value
func (*AccountUpdate) GetEpochNoOk ¶
func (o *AccountUpdate) GetEpochNoOk() (*int32, bool)
GetEpochNoOk returns a tuple with the EpochNo field value and a boolean to check if the value has been set.
func (*AccountUpdate) GetTxHash ¶
func (o *AccountUpdate) GetTxHash() string
GetTxHash returns the TxHash field value
func (*AccountUpdate) GetTxHashOk ¶
func (o *AccountUpdate) GetTxHashOk() (*string, bool)
GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.
func (AccountUpdate) MarshalJSON ¶
func (o AccountUpdate) MarshalJSON() ([]byte, error)
func (*AccountUpdate) SetAbsSlot ¶
func (o *AccountUpdate) SetAbsSlot(v int32)
SetAbsSlot sets field value
func (*AccountUpdate) SetAction ¶
func (o *AccountUpdate) SetAction(v AccountAction)
SetAction sets field value
func (*AccountUpdate) SetEpochNo ¶
func (o *AccountUpdate) SetEpochNo(v int32)
SetEpochNo sets field value
func (*AccountUpdate) SetTxHash ¶
func (o *AccountUpdate) SetTxHash(v string)
SetTxHash sets field value
func (AccountUpdate) ToMap ¶
func (o AccountUpdate) ToMap() (map[string]interface{}, error)
type AccountsAPI ¶
type AccountsAPI interface { /* AccountAddresses Stake account addresses Returns a list of addresses seen on-chain which use the specified stake key @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stakeAddress Bech32 encoded stake address @return AccountsAPIAccountAddressesRequest */ AccountAddresses(ctx context.Context, stakeAddress string) AccountsAPIAccountAddressesRequest // AccountAddressesExecute executes the request // @return []string AccountAddressesExecute(r AccountsAPIAccountAddressesRequest) ([]string, *http.Response, error) /* AccountAssets Stake account assets Returns a list of native assets which are owned by addresses with the specified stake key @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stakeAddress Bech32 encoded stake address @return AccountsAPIAccountAssetsRequest */ AccountAssets(ctx context.Context, stakeAddress string) AccountsAPIAccountAssetsRequest // AccountAssetsExecute executes the request // @return []Asset AccountAssetsExecute(r AccountsAPIAccountAssetsRequest) ([]Asset, *http.Response, error) /* AccountHistory Stake account history Returns per-epoch history of the specified stake key @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stakeAddress Bech32 encoded stake address @return AccountsAPIAccountHistoryRequest */ AccountHistory(ctx context.Context, stakeAddress string) AccountsAPIAccountHistoryRequest // AccountHistoryExecute executes the request // @return []AccountHistory AccountHistoryExecute(r AccountsAPIAccountHistoryRequest) ([]AccountHistory, *http.Response, error) /* AccountInfo Stake account information Returns a summary of information regarding a stake account @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stakeAddress Bech32 encoded stake address @return AccountsAPIAccountInfoRequest */ AccountInfo(ctx context.Context, stakeAddress string) AccountsAPIAccountInfoRequest // AccountInfoExecute executes the request // @return AccountInfo AccountInfoExecute(r AccountsAPIAccountInfoRequest) (*AccountInfo, *http.Response, error) /* AccountRewards Stake account rewards Returns a list of staking-related rewards for the specified stake key (pool `member` or `leader` rewards, deposit `refund`) @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stakeAddress Bech32 encoded stake address @return AccountsAPIAccountRewardsRequest */ AccountRewards(ctx context.Context, stakeAddress string) AccountsAPIAccountRewardsRequest // AccountRewardsExecute executes the request // @return []AccountReward AccountRewardsExecute(r AccountsAPIAccountRewardsRequest) ([]AccountReward, *http.Response, error) /* AccountUpdates Stake account updates Returns a list of updates relating to the specified stake key (`registration`, `deregistration`, `delegation`, `withdrawal`) @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stakeAddress Bech32 encoded stake address @return AccountsAPIAccountUpdatesRequest */ AccountUpdates(ctx context.Context, stakeAddress string) AccountsAPIAccountUpdatesRequest // AccountUpdatesExecute executes the request // @return []AccountUpdate AccountUpdatesExecute(r AccountsAPIAccountUpdatesRequest) ([]AccountUpdate, *http.Response, error) }
type AccountsAPIAccountAddressesRequest ¶
type AccountsAPIAccountAddressesRequest struct { ApiService AccountsAPI // contains filtered or unexported fields }
func (AccountsAPIAccountAddressesRequest) Count ¶
func (r AccountsAPIAccountAddressesRequest) Count(count int32) AccountsAPIAccountAddressesRequest
The max number of results per pagination page
func (AccountsAPIAccountAddressesRequest) Execute ¶
func (r AccountsAPIAccountAddressesRequest) Execute() ([]string, *http.Response, error)
func (AccountsAPIAccountAddressesRequest) Page ¶
func (r AccountsAPIAccountAddressesRequest) Page(page int32) AccountsAPIAccountAddressesRequest
Pagination page number to show results for
type AccountsAPIAccountAssetsRequest ¶
type AccountsAPIAccountAssetsRequest struct { ApiService AccountsAPI // contains filtered or unexported fields }
func (AccountsAPIAccountAssetsRequest) Count ¶
func (r AccountsAPIAccountAssetsRequest) Count(count int32) AccountsAPIAccountAssetsRequest
The max number of results per pagination page
func (AccountsAPIAccountAssetsRequest) Execute ¶
func (r AccountsAPIAccountAssetsRequest) Execute() ([]Asset, *http.Response, error)
func (AccountsAPIAccountAssetsRequest) Page ¶
func (r AccountsAPIAccountAssetsRequest) Page(page int32) AccountsAPIAccountAssetsRequest
Pagination page number to show results for
type AccountsAPIAccountHistoryRequest ¶
type AccountsAPIAccountHistoryRequest struct { ApiService AccountsAPI // contains filtered or unexported fields }
func (AccountsAPIAccountHistoryRequest) Count ¶
func (r AccountsAPIAccountHistoryRequest) Count(count int32) AccountsAPIAccountHistoryRequest
The max number of results per pagination page
func (AccountsAPIAccountHistoryRequest) EpochNo ¶
func (r AccountsAPIAccountHistoryRequest) EpochNo(epochNo int32) AccountsAPIAccountHistoryRequest
Fetch result for a specific epoch
func (AccountsAPIAccountHistoryRequest) Execute ¶
func (r AccountsAPIAccountHistoryRequest) Execute() ([]AccountHistory, *http.Response, error)
func (AccountsAPIAccountHistoryRequest) Page ¶
func (r AccountsAPIAccountHistoryRequest) Page(page int32) AccountsAPIAccountHistoryRequest
Pagination page number to show results for
type AccountsAPIAccountInfoRequest ¶
type AccountsAPIAccountInfoRequest struct { ApiService AccountsAPI // contains filtered or unexported fields }
func (AccountsAPIAccountInfoRequest) Execute ¶
func (r AccountsAPIAccountInfoRequest) Execute() (*AccountInfo, *http.Response, error)
type AccountsAPIAccountRewardsRequest ¶
type AccountsAPIAccountRewardsRequest struct { ApiService AccountsAPI // contains filtered or unexported fields }
func (AccountsAPIAccountRewardsRequest) Count ¶
func (r AccountsAPIAccountRewardsRequest) Count(count int32) AccountsAPIAccountRewardsRequest
The max number of results per pagination page
func (AccountsAPIAccountRewardsRequest) Execute ¶
func (r AccountsAPIAccountRewardsRequest) Execute() ([]AccountReward, *http.Response, error)
func (AccountsAPIAccountRewardsRequest) Page ¶
func (r AccountsAPIAccountRewardsRequest) Page(page int32) AccountsAPIAccountRewardsRequest
Pagination page number to show results for
type AccountsAPIAccountUpdatesRequest ¶
type AccountsAPIAccountUpdatesRequest struct { ApiService AccountsAPI // contains filtered or unexported fields }
func (AccountsAPIAccountUpdatesRequest) Count ¶
func (r AccountsAPIAccountUpdatesRequest) Count(count int32) AccountsAPIAccountUpdatesRequest
The max number of results per pagination page
func (AccountsAPIAccountUpdatesRequest) Execute ¶
func (r AccountsAPIAccountUpdatesRequest) Execute() ([]AccountUpdate, *http.Response, error)
func (AccountsAPIAccountUpdatesRequest) Page ¶
func (r AccountsAPIAccountUpdatesRequest) Page(page int32) AccountsAPIAccountUpdatesRequest
Pagination page number to show results for
type AccountsAPIService ¶
type AccountsAPIService service
AccountsAPIService AccountsAPI service
func (*AccountsAPIService) AccountAddresses ¶
func (a *AccountsAPIService) AccountAddresses(ctx context.Context, stakeAddress string) AccountsAPIAccountAddressesRequest
AccountAddresses Stake account addresses
Returns a list of addresses seen on-chain which use the specified stake key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stakeAddress Bech32 encoded stake address @return AccountsAPIAccountAddressesRequest
func (*AccountsAPIService) AccountAddressesExecute ¶
func (a *AccountsAPIService) AccountAddressesExecute(r AccountsAPIAccountAddressesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*AccountsAPIService) AccountAssets ¶
func (a *AccountsAPIService) AccountAssets(ctx context.Context, stakeAddress string) AccountsAPIAccountAssetsRequest
AccountAssets Stake account assets
Returns a list of native assets which are owned by addresses with the specified stake key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stakeAddress Bech32 encoded stake address @return AccountsAPIAccountAssetsRequest
func (*AccountsAPIService) AccountAssetsExecute ¶
func (a *AccountsAPIService) AccountAssetsExecute(r AccountsAPIAccountAssetsRequest) ([]Asset, *http.Response, error)
Execute executes the request
@return []Asset
func (*AccountsAPIService) AccountHistory ¶
func (a *AccountsAPIService) AccountHistory(ctx context.Context, stakeAddress string) AccountsAPIAccountHistoryRequest
AccountHistory Stake account history
Returns per-epoch history of the specified stake key
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stakeAddress Bech32 encoded stake address @return AccountsAPIAccountHistoryRequest
func (*AccountsAPIService) AccountHistoryExecute ¶
func (a *AccountsAPIService) AccountHistoryExecute(r AccountsAPIAccountHistoryRequest) ([]AccountHistory, *http.Response, error)
Execute executes the request
@return []AccountHistory
func (*AccountsAPIService) AccountInfo ¶
func (a *AccountsAPIService) AccountInfo(ctx context.Context, stakeAddress string) AccountsAPIAccountInfoRequest
AccountInfo Stake account information
Returns a summary of information regarding a stake account
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stakeAddress Bech32 encoded stake address @return AccountsAPIAccountInfoRequest
func (*AccountsAPIService) AccountInfoExecute ¶
func (a *AccountsAPIService) AccountInfoExecute(r AccountsAPIAccountInfoRequest) (*AccountInfo, *http.Response, error)
Execute executes the request
@return AccountInfo
func (*AccountsAPIService) AccountRewards ¶
func (a *AccountsAPIService) AccountRewards(ctx context.Context, stakeAddress string) AccountsAPIAccountRewardsRequest
AccountRewards Stake account rewards
Returns a list of staking-related rewards for the specified stake key (pool `member` or `leader` rewards, deposit `refund`)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stakeAddress Bech32 encoded stake address @return AccountsAPIAccountRewardsRequest
func (*AccountsAPIService) AccountRewardsExecute ¶
func (a *AccountsAPIService) AccountRewardsExecute(r AccountsAPIAccountRewardsRequest) ([]AccountReward, *http.Response, error)
Execute executes the request
@return []AccountReward
func (*AccountsAPIService) AccountUpdates ¶
func (a *AccountsAPIService) AccountUpdates(ctx context.Context, stakeAddress string) AccountsAPIAccountUpdatesRequest
AccountUpdates Stake account updates
Returns a list of updates relating to the specified stake key (`registration`, `deregistration`, `delegation`, `withdrawal`)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param stakeAddress Bech32 encoded stake address @return AccountsAPIAccountUpdatesRequest
func (*AccountsAPIService) AccountUpdatesExecute ¶
func (a *AccountsAPIService) AccountUpdatesExecute(r AccountsAPIAccountUpdatesRequest) ([]AccountUpdate, *http.Response, error)
Execute executes the request
@return []AccountUpdate
type AddressInfo ¶
type AddressInfo struct { Bech32 *string `json:"bech32,omitempty"` Hex string `json:"hex"` Network *NetworkId `json:"network,omitempty"` PaymentCred *PaymentCredential `json:"payment_cred,omitempty"` StakingCred *StakingCredential `json:"staking_cred,omitempty"` }
AddressInfo struct for AddressInfo
func NewAddressInfo ¶
func NewAddressInfo(hex string) *AddressInfo
NewAddressInfo instantiates a new AddressInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAddressInfoWithDefaults ¶
func NewAddressInfoWithDefaults() *AddressInfo
NewAddressInfoWithDefaults instantiates a new AddressInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AddressInfo) GetBech32 ¶
func (o *AddressInfo) GetBech32() string
GetBech32 returns the Bech32 field value if set, zero value otherwise.
func (*AddressInfo) GetBech32Ok ¶
func (o *AddressInfo) GetBech32Ok() (*string, bool)
GetBech32Ok returns a tuple with the Bech32 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddressInfo) GetHex ¶
func (o *AddressInfo) GetHex() string
GetHex returns the Hex field value
func (*AddressInfo) GetHexOk ¶
func (o *AddressInfo) GetHexOk() (*string, bool)
GetHexOk returns a tuple with the Hex field value and a boolean to check if the value has been set.
func (*AddressInfo) GetNetwork ¶
func (o *AddressInfo) GetNetwork() NetworkId
GetNetwork returns the Network field value if set, zero value otherwise.
func (*AddressInfo) GetNetworkOk ¶
func (o *AddressInfo) GetNetworkOk() (*NetworkId, bool)
GetNetworkOk returns a tuple with the Network field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddressInfo) GetPaymentCred ¶
func (o *AddressInfo) GetPaymentCred() PaymentCredential
GetPaymentCred returns the PaymentCred field value if set, zero value otherwise.
func (*AddressInfo) GetPaymentCredOk ¶
func (o *AddressInfo) GetPaymentCredOk() (*PaymentCredential, bool)
GetPaymentCredOk returns a tuple with the PaymentCred field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddressInfo) GetStakingCred ¶
func (o *AddressInfo) GetStakingCred() StakingCredential
GetStakingCred returns the StakingCred field value if set, zero value otherwise.
func (*AddressInfo) GetStakingCredOk ¶
func (o *AddressInfo) GetStakingCredOk() (*StakingCredential, bool)
GetStakingCredOk returns a tuple with the StakingCred field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AddressInfo) HasBech32 ¶
func (o *AddressInfo) HasBech32() bool
HasBech32 returns a boolean if a field has been set.
func (*AddressInfo) HasNetwork ¶
func (o *AddressInfo) HasNetwork() bool
HasNetwork returns a boolean if a field has been set.
func (*AddressInfo) HasPaymentCred ¶
func (o *AddressInfo) HasPaymentCred() bool
HasPaymentCred returns a boolean if a field has been set.
func (*AddressInfo) HasStakingCred ¶
func (o *AddressInfo) HasStakingCred() bool
HasStakingCred returns a boolean if a field has been set.
func (AddressInfo) MarshalJSON ¶
func (o AddressInfo) MarshalJSON() ([]byte, error)
func (*AddressInfo) SetBech32 ¶
func (o *AddressInfo) SetBech32(v string)
SetBech32 gets a reference to the given string and assigns it to the Bech32 field.
func (*AddressInfo) SetNetwork ¶
func (o *AddressInfo) SetNetwork(v NetworkId)
SetNetwork gets a reference to the given NetworkId and assigns it to the Network field.
func (*AddressInfo) SetPaymentCred ¶
func (o *AddressInfo) SetPaymentCred(v PaymentCredential)
SetPaymentCred gets a reference to the given PaymentCredential and assigns it to the PaymentCred field.
func (*AddressInfo) SetStakingCred ¶
func (o *AddressInfo) SetStakingCred(v StakingCredential)
SetStakingCred gets a reference to the given StakingCredential and assigns it to the StakingCred field.
func (AddressInfo) ToMap ¶
func (o AddressInfo) ToMap() (map[string]interface{}, error)
type AddressTxCount ¶
type AddressTxCount struct { // Number of transactions Count int64 `json:"count"` }
AddressTxCount struct for AddressTxCount
func NewAddressTxCount ¶
func NewAddressTxCount(count int64) *AddressTxCount
NewAddressTxCount instantiates a new AddressTxCount object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAddressTxCountWithDefaults ¶
func NewAddressTxCountWithDefaults() *AddressTxCount
NewAddressTxCountWithDefaults instantiates a new AddressTxCount object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AddressTxCount) GetCount ¶
func (o *AddressTxCount) GetCount() int64
GetCount returns the Count field value
func (*AddressTxCount) GetCountOk ¶
func (o *AddressTxCount) GetCountOk() (*int64, bool)
GetCountOk returns a tuple with the Count field value and a boolean to check if the value has been set.
func (AddressTxCount) MarshalJSON ¶
func (o AddressTxCount) MarshalJSON() ([]byte, error)
func (*AddressTxCount) SetCount ¶
func (o *AddressTxCount) SetCount(v int64)
SetCount sets field value
func (AddressTxCount) ToMap ¶
func (o AddressTxCount) ToMap() (map[string]interface{}, error)
type AddressesAPI ¶
type AddressesAPI interface { /* AddressUtxos UTxOs at an address Return UTxOs controlled by an address @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param address Bech32 encoded address @return AddressesAPIAddressUtxosRequest */ AddressUtxos(ctx context.Context, address string) AddressesAPIAddressUtxosRequest // AddressUtxosExecute executes the request // @return []Utxo AddressUtxosExecute(r AddressesAPIAddressUtxosRequest) ([]Utxo, *http.Response, error) /* DecodeAddress Decoded receiving address information Returns the attributes of a decoded receiving address @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param address @return AddressesAPIDecodeAddressRequest */ DecodeAddress(ctx context.Context, address string) AddressesAPIDecodeAddressRequest // DecodeAddressExecute executes the request // @return AddressInfo DecodeAddressExecute(r AddressesAPIDecodeAddressRequest) (*AddressInfo, *http.Response, error) /* TxCountByAddress Transaction count of an address Returns the total number of transactions in which an address spent or received assets @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param address Bech32 encoded address @return AddressesAPITxCountByAddressRequest */ TxCountByAddress(ctx context.Context, address string) AddressesAPITxCountByAddressRequest // TxCountByAddressExecute executes the request // @return AddressTxCount TxCountByAddressExecute(r AddressesAPITxCountByAddressRequest) (*AddressTxCount, *http.Response, error) /* UtxoRefsAtAddress UTxO references at an address Return all UTxO references controlled by an address @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param address Bech32 encoded address @return AddressesAPIUtxoRefsAtAddressRequest */ UtxoRefsAtAddress(ctx context.Context, address string) AddressesAPIUtxoRefsAtAddressRequest // UtxoRefsAtAddressExecute executes the request // @return []UtxoRef UtxoRefsAtAddressExecute(r AddressesAPIUtxoRefsAtAddressRequest) ([]UtxoRef, *http.Response, error) /* UtxosByAddresses UTxOs at multiple addresses Return all UTxOs controlled by each address in a list of addresses @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AddressesAPIUtxosByAddressesRequest */ UtxosByAddresses(ctx context.Context) AddressesAPIUtxosByAddressesRequest // UtxosByAddressesExecute executes the request // @return []Utxo UtxosByAddressesExecute(r AddressesAPIUtxosByAddressesRequest) ([]Utxo, *http.Response, error) }
type AddressesAPIAddressUtxosRequest ¶
type AddressesAPIAddressUtxosRequest struct { ApiService AddressesAPI // contains filtered or unexported fields }
func (AddressesAPIAddressUtxosRequest) Count ¶
func (r AddressesAPIAddressUtxosRequest) Count(count int32) AddressesAPIAddressUtxosRequest
The max number of results per pagination page
func (AddressesAPIAddressUtxosRequest) Execute ¶
func (r AddressesAPIAddressUtxosRequest) Execute() ([]Utxo, *http.Response, error)
func (AddressesAPIAddressUtxosRequest) Page ¶
func (r AddressesAPIAddressUtxosRequest) Page(page int32) AddressesAPIAddressUtxosRequest
Pagination page number to show results for
func (AddressesAPIAddressUtxosRequest) ResolveDatums ¶
func (r AddressesAPIAddressUtxosRequest) ResolveDatums(resolveDatums bool) AddressesAPIAddressUtxosRequest
Try find and include the corresponding datums for datum hashes
func (AddressesAPIAddressUtxosRequest) WithCbor ¶
func (r AddressesAPIAddressUtxosRequest) WithCbor(withCbor bool) AddressesAPIAddressUtxosRequest
Include the CBOR encodings of the transaction outputs in the response
type AddressesAPIDecodeAddressRequest ¶
type AddressesAPIDecodeAddressRequest struct { ApiService AddressesAPI // contains filtered or unexported fields }
func (AddressesAPIDecodeAddressRequest) Execute ¶
func (r AddressesAPIDecodeAddressRequest) Execute() (*AddressInfo, *http.Response, error)
type AddressesAPIService ¶
type AddressesAPIService service
AddressesAPIService AddressesAPI service
func (*AddressesAPIService) AddressUtxos ¶
func (a *AddressesAPIService) AddressUtxos(ctx context.Context, address string) AddressesAPIAddressUtxosRequest
AddressUtxos UTxOs at an address
Return UTxOs controlled by an address
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param address Bech32 encoded address @return AddressesAPIAddressUtxosRequest
func (*AddressesAPIService) AddressUtxosExecute ¶
func (a *AddressesAPIService) AddressUtxosExecute(r AddressesAPIAddressUtxosRequest) ([]Utxo, *http.Response, error)
Execute executes the request
@return []Utxo
func (*AddressesAPIService) DecodeAddress ¶
func (a *AddressesAPIService) DecodeAddress(ctx context.Context, address string) AddressesAPIDecodeAddressRequest
DecodeAddress Decoded receiving address information
Returns the attributes of a decoded receiving address
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param address @return AddressesAPIDecodeAddressRequest
func (*AddressesAPIService) DecodeAddressExecute ¶
func (a *AddressesAPIService) DecodeAddressExecute(r AddressesAPIDecodeAddressRequest) (*AddressInfo, *http.Response, error)
Execute executes the request
@return AddressInfo
func (*AddressesAPIService) TxCountByAddress ¶
func (a *AddressesAPIService) TxCountByAddress(ctx context.Context, address string) AddressesAPITxCountByAddressRequest
TxCountByAddress Transaction count of an address
Returns the total number of transactions in which an address spent or received assets
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param address Bech32 encoded address @return AddressesAPITxCountByAddressRequest
func (*AddressesAPIService) TxCountByAddressExecute ¶
func (a *AddressesAPIService) TxCountByAddressExecute(r AddressesAPITxCountByAddressRequest) (*AddressTxCount, *http.Response, error)
Execute executes the request
@return AddressTxCount
func (*AddressesAPIService) UtxoRefsAtAddress ¶
func (a *AddressesAPIService) UtxoRefsAtAddress(ctx context.Context, address string) AddressesAPIUtxoRefsAtAddressRequest
UtxoRefsAtAddress UTxO references at an address
Return all UTxO references controlled by an address
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param address Bech32 encoded address @return AddressesAPIUtxoRefsAtAddressRequest
func (*AddressesAPIService) UtxoRefsAtAddressExecute ¶
func (a *AddressesAPIService) UtxoRefsAtAddressExecute(r AddressesAPIUtxoRefsAtAddressRequest) ([]UtxoRef, *http.Response, error)
Execute executes the request
@return []UtxoRef
func (*AddressesAPIService) UtxosByAddresses ¶
func (a *AddressesAPIService) UtxosByAddresses(ctx context.Context) AddressesAPIUtxosByAddressesRequest
UtxosByAddresses UTxOs at multiple addresses
Return all UTxOs controlled by each address in a list of addresses
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return AddressesAPIUtxosByAddressesRequest
func (*AddressesAPIService) UtxosByAddressesExecute ¶
func (a *AddressesAPIService) UtxosByAddressesExecute(r AddressesAPIUtxosByAddressesRequest) ([]Utxo, *http.Response, error)
Execute executes the request
@return []Utxo
type AddressesAPITxCountByAddressRequest ¶
type AddressesAPITxCountByAddressRequest struct { ApiService AddressesAPI // contains filtered or unexported fields }
func (AddressesAPITxCountByAddressRequest) Execute ¶
func (r AddressesAPITxCountByAddressRequest) Execute() (*AddressTxCount, *http.Response, error)
type AddressesAPIUtxoRefsAtAddressRequest ¶
type AddressesAPIUtxoRefsAtAddressRequest struct { ApiService AddressesAPI // contains filtered or unexported fields }
func (AddressesAPIUtxoRefsAtAddressRequest) Count ¶
func (r AddressesAPIUtxoRefsAtAddressRequest) Count(count int32) AddressesAPIUtxoRefsAtAddressRequest
The max number of results per pagination page
func (AddressesAPIUtxoRefsAtAddressRequest) Execute ¶
func (r AddressesAPIUtxoRefsAtAddressRequest) Execute() ([]UtxoRef, *http.Response, error)
func (AddressesAPIUtxoRefsAtAddressRequest) Page ¶
func (r AddressesAPIUtxoRefsAtAddressRequest) Page(page int32) AddressesAPIUtxoRefsAtAddressRequest
Pagination page number to show results for
type AddressesAPIUtxosByAddressesRequest ¶
type AddressesAPIUtxosByAddressesRequest struct { ApiService AddressesAPI // contains filtered or unexported fields }
func (AddressesAPIUtxosByAddressesRequest) Count ¶
func (r AddressesAPIUtxosByAddressesRequest) Count(count int32) AddressesAPIUtxosByAddressesRequest
The max number of results per pagination page
func (AddressesAPIUtxosByAddressesRequest) Execute ¶
func (r AddressesAPIUtxosByAddressesRequest) Execute() ([]Utxo, *http.Response, error)
func (AddressesAPIUtxosByAddressesRequest) Page ¶
func (r AddressesAPIUtxosByAddressesRequest) Page(page int32) AddressesAPIUtxosByAddressesRequest
Pagination page number to show results for
func (AddressesAPIUtxosByAddressesRequest) RequestBody ¶
func (r AddressesAPIUtxosByAddressesRequest) RequestBody(requestBody []string) AddressesAPIUtxosByAddressesRequest
List of addresses
func (AddressesAPIUtxosByAddressesRequest) ResolveDatums ¶
func (r AddressesAPIUtxosByAddressesRequest) ResolveDatums(resolveDatums bool) AddressesAPIUtxosByAddressesRequest
Try find and include the corresponding datums for datum hashes
func (AddressesAPIUtxosByAddressesRequest) WithCbor ¶
func (r AddressesAPIUtxosByAddressesRequest) WithCbor(withCbor bool) AddressesAPIUtxosByAddressesRequest
Include the CBOR encodings of the transaction outputs in the response
type Asset ¶
type Asset struct { // Amount of the asset Quantity int64 `json:"quantity"` // Asset (in either the form `hex(policy_id)#hex(asset_name)` or `lovelace`) Unit string `json:"unit"` }
Asset Lovelace or native asset
func NewAsset ¶
NewAsset instantiates a new Asset object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAssetWithDefaults ¶
func NewAssetWithDefaults() *Asset
NewAssetWithDefaults instantiates a new Asset object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Asset) GetQuantity ¶
GetQuantity returns the Quantity field value
func (*Asset) GetQuantityOk ¶
GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.
func (*Asset) GetUnitOk ¶
GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.
func (Asset) MarshalJSON ¶
type AssetHolder ¶
type AssetHolder struct { // Address of the holder Address string `json:"address"` // Amount of the asset owned by the holder Amount int64 `json:"amount"` }
AssetHolder Holder of a specific asset
func NewAssetHolder ¶
func NewAssetHolder(address string, amount int64) *AssetHolder
NewAssetHolder instantiates a new AssetHolder object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAssetHolderWithDefaults ¶
func NewAssetHolderWithDefaults() *AssetHolder
NewAssetHolderWithDefaults instantiates a new AssetHolder object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AssetHolder) GetAddress ¶
func (o *AssetHolder) GetAddress() string
GetAddress returns the Address field value
func (*AssetHolder) GetAddressOk ¶
func (o *AssetHolder) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*AssetHolder) GetAmount ¶
func (o *AssetHolder) GetAmount() int64
GetAmount returns the Amount field value
func (*AssetHolder) GetAmountOk ¶
func (o *AssetHolder) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (AssetHolder) MarshalJSON ¶
func (o AssetHolder) MarshalJSON() ([]byte, error)
func (*AssetHolder) SetAddress ¶
func (o *AssetHolder) SetAddress(v string)
SetAddress sets field value
func (AssetHolder) ToMap ¶
func (o AssetHolder) ToMap() (map[string]interface{}, error)
type AssetInPolicy ¶
type AssetInPolicy struct { // Hex encoded asset name Name string `json:"name"` // Amount of the asset Quantity int64 `json:"quantity"` }
AssetInPolicy Asset of a specific policy
func NewAssetInPolicy ¶
func NewAssetInPolicy(name string, quantity int64) *AssetInPolicy
NewAssetInPolicy instantiates a new AssetInPolicy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAssetInPolicyWithDefaults ¶
func NewAssetInPolicyWithDefaults() *AssetInPolicy
NewAssetInPolicyWithDefaults instantiates a new AssetInPolicy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AssetInPolicy) GetName ¶
func (o *AssetInPolicy) GetName() string
GetName returns the Name field value
func (*AssetInPolicy) GetNameOk ¶
func (o *AssetInPolicy) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AssetInPolicy) GetQuantity ¶
func (o *AssetInPolicy) GetQuantity() int64
GetQuantity returns the Quantity field value
func (*AssetInPolicy) GetQuantityOk ¶
func (o *AssetInPolicy) GetQuantityOk() (*int64, bool)
GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.
func (AssetInPolicy) MarshalJSON ¶
func (o AssetInPolicy) MarshalJSON() ([]byte, error)
func (*AssetInPolicy) SetQuantity ¶
func (o *AssetInPolicy) SetQuantity(v int64)
SetQuantity sets field value
func (AssetInPolicy) ToMap ¶
func (o AssetInPolicy) ToMap() (map[string]interface{}, error)
type AssetInfo ¶
type AssetInfo struct { // Hex encoding of the asset name AssetName string `json:"asset_name"` // ASCII representation of the asset name AssetNameAscii *string `json:"asset_name_ascii,omitempty"` AssetStandards AssetStandards `json:"asset_standards"` // Number of transactions which burned some of the asset BurnTxCount int64 `json:"burn_tx_count"` // CIP-14 fingerprint of the asset Fingerprint string `json:"fingerprint"` // UNIX timestamp of the first mint transaction FirstMintTime int32 `json:"first_mint_time"` // Transaction hash of the first transaction which minted the asset FirstMintTx string `json:"first_mint_tx"` LatestMintTxMetadata map[string]interface{} `json:"latest_mint_tx_metadata,omitempty"` // Number of transactions which minted some of the asset MintTxCount int64 `json:"mint_tx_count"` TokenRegistryMetadata *TokenRegistryMetadata `json:"token_registry_metadata,omitempty"` // Current amount of the asset minted TotalSupply int64 `json:"total_supply"` }
AssetInfo struct for AssetInfo
func NewAssetInfo ¶
func NewAssetInfo(assetName string, assetStandards AssetStandards, burnTxCount int64, fingerprint string, firstMintTime int32, firstMintTx string, mintTxCount int64, totalSupply int64) *AssetInfo
NewAssetInfo instantiates a new AssetInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAssetInfoWithDefaults ¶
func NewAssetInfoWithDefaults() *AssetInfo
NewAssetInfoWithDefaults instantiates a new AssetInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AssetInfo) GetAssetName ¶
GetAssetName returns the AssetName field value
func (*AssetInfo) GetAssetNameAscii ¶
GetAssetNameAscii returns the AssetNameAscii field value if set, zero value otherwise.
func (*AssetInfo) GetAssetNameAsciiOk ¶
GetAssetNameAsciiOk returns a tuple with the AssetNameAscii field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssetInfo) GetAssetNameOk ¶
GetAssetNameOk returns a tuple with the AssetName field value and a boolean to check if the value has been set.
func (*AssetInfo) GetAssetStandards ¶
func (o *AssetInfo) GetAssetStandards() AssetStandards
GetAssetStandards returns the AssetStandards field value
func (*AssetInfo) GetAssetStandardsOk ¶
func (o *AssetInfo) GetAssetStandardsOk() (*AssetStandards, bool)
GetAssetStandardsOk returns a tuple with the AssetStandards field value and a boolean to check if the value has been set.
func (*AssetInfo) GetBurnTxCount ¶
GetBurnTxCount returns the BurnTxCount field value
func (*AssetInfo) GetBurnTxCountOk ¶
GetBurnTxCountOk returns a tuple with the BurnTxCount field value and a boolean to check if the value has been set.
func (*AssetInfo) GetFingerprint ¶
GetFingerprint returns the Fingerprint field value
func (*AssetInfo) GetFingerprintOk ¶
GetFingerprintOk returns a tuple with the Fingerprint field value and a boolean to check if the value has been set.
func (*AssetInfo) GetFirstMintTime ¶
GetFirstMintTime returns the FirstMintTime field value
func (*AssetInfo) GetFirstMintTimeOk ¶
GetFirstMintTimeOk returns a tuple with the FirstMintTime field value and a boolean to check if the value has been set.
func (*AssetInfo) GetFirstMintTx ¶
GetFirstMintTx returns the FirstMintTx field value
func (*AssetInfo) GetFirstMintTxOk ¶
GetFirstMintTxOk returns a tuple with the FirstMintTx field value and a boolean to check if the value has been set.
func (*AssetInfo) GetLatestMintTxMetadata ¶
GetLatestMintTxMetadata returns the LatestMintTxMetadata field value if set, zero value otherwise.
func (*AssetInfo) GetLatestMintTxMetadataOk ¶
GetLatestMintTxMetadataOk returns a tuple with the LatestMintTxMetadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssetInfo) GetMintTxCount ¶
GetMintTxCount returns the MintTxCount field value
func (*AssetInfo) GetMintTxCountOk ¶
GetMintTxCountOk returns a tuple with the MintTxCount field value and a boolean to check if the value has been set.
func (*AssetInfo) GetTokenRegistryMetadata ¶
func (o *AssetInfo) GetTokenRegistryMetadata() TokenRegistryMetadata
GetTokenRegistryMetadata returns the TokenRegistryMetadata field value if set, zero value otherwise.
func (*AssetInfo) GetTokenRegistryMetadataOk ¶
func (o *AssetInfo) GetTokenRegistryMetadataOk() (*TokenRegistryMetadata, bool)
GetTokenRegistryMetadataOk returns a tuple with the TokenRegistryMetadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssetInfo) GetTotalSupply ¶
GetTotalSupply returns the TotalSupply field value
func (*AssetInfo) GetTotalSupplyOk ¶
GetTotalSupplyOk returns a tuple with the TotalSupply field value and a boolean to check if the value has been set.
func (*AssetInfo) HasAssetNameAscii ¶
HasAssetNameAscii returns a boolean if a field has been set.
func (*AssetInfo) HasLatestMintTxMetadata ¶
HasLatestMintTxMetadata returns a boolean if a field has been set.
func (*AssetInfo) HasTokenRegistryMetadata ¶
HasTokenRegistryMetadata returns a boolean if a field has been set.
func (AssetInfo) MarshalJSON ¶
func (*AssetInfo) SetAssetName ¶
SetAssetName sets field value
func (*AssetInfo) SetAssetNameAscii ¶
SetAssetNameAscii gets a reference to the given string and assigns it to the AssetNameAscii field.
func (*AssetInfo) SetAssetStandards ¶
func (o *AssetInfo) SetAssetStandards(v AssetStandards)
SetAssetStandards sets field value
func (*AssetInfo) SetBurnTxCount ¶
SetBurnTxCount sets field value
func (*AssetInfo) SetFingerprint ¶
SetFingerprint sets field value
func (*AssetInfo) SetFirstMintTime ¶
SetFirstMintTime sets field value
func (*AssetInfo) SetFirstMintTx ¶
SetFirstMintTx sets field value
func (*AssetInfo) SetLatestMintTxMetadata ¶
SetLatestMintTxMetadata gets a reference to the given map[string]interface{} and assigns it to the LatestMintTxMetadata field.
func (*AssetInfo) SetMintTxCount ¶
SetMintTxCount sets field value
func (*AssetInfo) SetTokenRegistryMetadata ¶
func (o *AssetInfo) SetTokenRegistryMetadata(v TokenRegistryMetadata)
SetTokenRegistryMetadata gets a reference to the given TokenRegistryMetadata and assigns it to the TokenRegistryMetadata field.
func (*AssetInfo) SetTotalSupply ¶
SetTotalSupply sets field value
type AssetStandards ¶
type AssetStandards struct { Cip25Metadata map[string]interface{} `json:"cip25_metadata,omitempty"` Cip68Metadata map[string]interface{} `json:"cip68_metadata,omitempty"` }
AssetStandards Asset information corresponding to popular standards
func NewAssetStandards ¶
func NewAssetStandards() *AssetStandards
NewAssetStandards instantiates a new AssetStandards object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAssetStandardsWithDefaults ¶
func NewAssetStandardsWithDefaults() *AssetStandards
NewAssetStandardsWithDefaults instantiates a new AssetStandards object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AssetStandards) GetCip25Metadata ¶
func (o *AssetStandards) GetCip25Metadata() map[string]interface{}
GetCip25Metadata returns the Cip25Metadata field value if set, zero value otherwise.
func (*AssetStandards) GetCip25MetadataOk ¶
func (o *AssetStandards) GetCip25MetadataOk() (map[string]interface{}, bool)
GetCip25MetadataOk returns a tuple with the Cip25Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssetStandards) GetCip68Metadata ¶
func (o *AssetStandards) GetCip68Metadata() map[string]interface{}
GetCip68Metadata returns the Cip68Metadata field value if set, zero value otherwise.
func (*AssetStandards) GetCip68MetadataOk ¶
func (o *AssetStandards) GetCip68MetadataOk() (map[string]interface{}, bool)
GetCip68MetadataOk returns a tuple with the Cip68Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssetStandards) HasCip25Metadata ¶
func (o *AssetStandards) HasCip25Metadata() bool
HasCip25Metadata returns a boolean if a field has been set.
func (*AssetStandards) HasCip68Metadata ¶
func (o *AssetStandards) HasCip68Metadata() bool
HasCip68Metadata returns a boolean if a field has been set.
func (AssetStandards) MarshalJSON ¶
func (o AssetStandards) MarshalJSON() ([]byte, error)
func (*AssetStandards) SetCip25Metadata ¶
func (o *AssetStandards) SetCip25Metadata(v map[string]interface{})
SetCip25Metadata gets a reference to the given map[string]interface{} and assigns it to the Cip25Metadata field.
func (*AssetStandards) SetCip68Metadata ¶
func (o *AssetStandards) SetCip68Metadata(v map[string]interface{})
SetCip68Metadata gets a reference to the given map[string]interface{} and assigns it to the Cip68Metadata field.
func (AssetStandards) ToMap ¶
func (o AssetStandards) ToMap() (map[string]interface{}, error)
type AssetTx ¶
type AssetTx struct { // The height of the block which included the transaction BlockHeight int32 `json:"block_height"` // Epoch in which the transaction occurred EpochNo int32 `json:"epoch_no"` // Transaction hash TxHash string `json:"tx_hash"` }
AssetTx Transaction which moved or minted a specific asset
func NewAssetTx ¶
NewAssetTx instantiates a new AssetTx object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAssetTxWithDefaults ¶
func NewAssetTxWithDefaults() *AssetTx
NewAssetTxWithDefaults instantiates a new AssetTx object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AssetTx) GetBlockHeight ¶
GetBlockHeight returns the BlockHeight field value
func (*AssetTx) GetBlockHeightOk ¶
GetBlockHeightOk returns a tuple with the BlockHeight field value and a boolean to check if the value has been set.
func (*AssetTx) GetEpochNo ¶
GetEpochNo returns the EpochNo field value
func (*AssetTx) GetEpochNoOk ¶
GetEpochNoOk returns a tuple with the EpochNo field value and a boolean to check if the value has been set.
func (*AssetTx) GetTxHashOk ¶
GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.
func (AssetTx) MarshalJSON ¶
func (*AssetTx) SetBlockHeight ¶
SetBlockHeight sets field value
type AssetUtxo ¶
type AssetUtxo struct { // Address which controls the UTxO Address string `json:"address"` // Amount of the asset contained in the UTxO Amount int64 `json:"amount"` // UTxO transaction index Index int32 `json:"index"` // UTxO transaction hash TxHash string `json:"tx_hash"` }
AssetUtxo UTxO which contains a specific asset
func NewAssetUtxo ¶
NewAssetUtxo instantiates a new AssetUtxo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAssetUtxoWithDefaults ¶
func NewAssetUtxoWithDefaults() *AssetUtxo
NewAssetUtxoWithDefaults instantiates a new AssetUtxo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AssetUtxo) GetAddress ¶
GetAddress returns the Address field value
func (*AssetUtxo) GetAddressOk ¶
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*AssetUtxo) GetAmountOk ¶
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*AssetUtxo) GetIndexOk ¶
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*AssetUtxo) GetTxHashOk ¶
GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.
func (AssetUtxo) MarshalJSON ¶
type AssetsAPI ¶
type AssetsAPI interface { /* AssetAddresses Native asset addresses Returns a list of addresses which hold some amount of the specified asset @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset Native asset (concatenation of hex encoded policy ID and hex encoded asset name) @return AssetsAPIAssetAddressesRequest */ AssetAddresses(ctx context.Context, asset string) AssetsAPIAssetAddressesRequest // AssetAddressesExecute executes the request // @return []string AssetAddressesExecute(r AssetsAPIAssetAddressesRequest) ([]string, *http.Response, error) /* AssetInfo Native asset information Return a summary of information about an asset @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset Native asset (concatenation of hex encoded policy ID and hex encoded asset name) @return AssetsAPIAssetInfoRequest */ AssetInfo(ctx context.Context, asset string) AssetsAPIAssetInfoRequest // AssetInfoExecute executes the request // @return AssetInfo AssetInfoExecute(r AssetsAPIAssetInfoRequest) (*AssetInfo, *http.Response, error) /* AssetTxs Native asset transaction Returns a list of transactions which moved, minted or burned the specified asset @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset Native asset (concatenation of hex encoded policy ID and hex encoded asset name) @return AssetsAPIAssetTxsRequest */ AssetTxs(ctx context.Context, asset string) AssetsAPIAssetTxsRequest // AssetTxsExecute executes the request // @return []AssetTx AssetTxsExecute(r AssetsAPIAssetTxsRequest) ([]AssetTx, *http.Response, error) /* AssetUpdates Native asset updates Returns a list of transactions which minted or burned the specified asset @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset Native asset (concatenation of hex encoded policy ID and hex encoded asset name) @return AssetsAPIAssetUpdatesRequest */ AssetUpdates(ctx context.Context, asset string) AssetsAPIAssetUpdatesRequest // AssetUpdatesExecute executes the request // @return []MintingTx AssetUpdatesExecute(r AssetsAPIAssetUpdatesRequest) ([]MintingTx, *http.Response, error) /* AssetUtxos Native asset UTxOs Returns UTxOs containing the specified asset, each paired with the amount of the asset @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset Asset, encoded as concatenation of hex of policy ID and asset name @return AssetsAPIAssetUtxosRequest */ AssetUtxos(ctx context.Context, asset string) AssetsAPIAssetUtxosRequest // AssetUtxosExecute executes the request // @return []AssetUtxo AssetUtxosExecute(r AssetsAPIAssetUtxosRequest) ([]AssetUtxo, *http.Response, error) /* PolicyAddresses Minting policy addresses Returns a list of addresses which hold some of an asset of the given policy ID @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param policy Hex encoded Policy ID @return AssetsAPIPolicyAddressesRequest */ PolicyAddresses(ctx context.Context, policy string) AssetsAPIPolicyAddressesRequest // PolicyAddressesExecute executes the request // @return []string PolicyAddressesExecute(r AssetsAPIPolicyAddressesRequest) ([]string, *http.Response, error) /* PolicyInfo Minting policy information Returns information about the minting policy of assets @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param policy Hex encoded policy ID @return AssetsAPIPolicyInfoRequest */ PolicyInfo(ctx context.Context, policy string) AssetsAPIPolicyInfoRequest // PolicyInfoExecute executes the request // @return []AssetInfo PolicyInfoExecute(r AssetsAPIPolicyInfoRequest) ([]AssetInfo, *http.Response, error) /* PolicyTxs Minting policy transactions Returns transactions in which an address receives an asset of a policy @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param policy Hex encoded policy ID @return AssetsAPIPolicyTxsRequest */ PolicyTxs(ctx context.Context, policy string) AssetsAPIPolicyTxsRequest // PolicyTxsExecute executes the request // @return []AssetTx PolicyTxsExecute(r AssetsAPIPolicyTxsRequest) ([]AssetTx, *http.Response, error) /* PolicyUtxos Minting policy UTxOs Returns UTxOs which contain assets of a policy ID, along with the asset names and amounts @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param policy Hex encoded policy ID @return AssetsAPIPolicyUtxosRequest */ PolicyUtxos(ctx context.Context, policy string) AssetsAPIPolicyUtxosRequest // PolicyUtxosExecute executes the request // @return []PolicyUtxo PolicyUtxosExecute(r AssetsAPIPolicyUtxosRequest) ([]PolicyUtxo, *http.Response, error) }
type AssetsAPIAssetAddressesRequest ¶
type AssetsAPIAssetAddressesRequest struct { ApiService AssetsAPI // contains filtered or unexported fields }
func (AssetsAPIAssetAddressesRequest) Count ¶
func (r AssetsAPIAssetAddressesRequest) Count(count int32) AssetsAPIAssetAddressesRequest
The max number of results per pagination page
func (AssetsAPIAssetAddressesRequest) Execute ¶
func (r AssetsAPIAssetAddressesRequest) Execute() ([]string, *http.Response, error)
func (AssetsAPIAssetAddressesRequest) Page ¶
func (r AssetsAPIAssetAddressesRequest) Page(page int32) AssetsAPIAssetAddressesRequest
Pagination page number to show results for
type AssetsAPIAssetInfoRequest ¶
type AssetsAPIAssetInfoRequest struct { ApiService AssetsAPI // contains filtered or unexported fields }
type AssetsAPIAssetTxsRequest ¶
type AssetsAPIAssetTxsRequest struct { ApiService AssetsAPI // contains filtered or unexported fields }
func (AssetsAPIAssetTxsRequest) Count ¶
func (r AssetsAPIAssetTxsRequest) Count(count int32) AssetsAPIAssetTxsRequest
The max number of results per pagination page
func (AssetsAPIAssetTxsRequest) Execute ¶
func (r AssetsAPIAssetTxsRequest) Execute() ([]AssetTx, *http.Response, error)
func (AssetsAPIAssetTxsRequest) FromHeight ¶
func (r AssetsAPIAssetTxsRequest) FromHeight(fromHeight int32) AssetsAPIAssetTxsRequest
Return only transactions on or after a specific block height
func (AssetsAPIAssetTxsRequest) Order ¶
func (r AssetsAPIAssetTxsRequest) Order(order string) AssetsAPIAssetTxsRequest
The order in which the results are sorted (by block height)
func (AssetsAPIAssetTxsRequest) Page ¶
func (r AssetsAPIAssetTxsRequest) Page(page int32) AssetsAPIAssetTxsRequest
Pagination page number to show results for
type AssetsAPIAssetUpdatesRequest ¶
type AssetsAPIAssetUpdatesRequest struct { ApiService AssetsAPI // contains filtered or unexported fields }
func (AssetsAPIAssetUpdatesRequest) Count ¶
func (r AssetsAPIAssetUpdatesRequest) Count(count int32) AssetsAPIAssetUpdatesRequest
The max number of results per pagination page
func (AssetsAPIAssetUpdatesRequest) Execute ¶
func (r AssetsAPIAssetUpdatesRequest) Execute() ([]MintingTx, *http.Response, error)
func (AssetsAPIAssetUpdatesRequest) Order ¶
func (r AssetsAPIAssetUpdatesRequest) Order(order string) AssetsAPIAssetUpdatesRequest
The order in which the results are sorted (by block height)
func (AssetsAPIAssetUpdatesRequest) Page ¶
func (r AssetsAPIAssetUpdatesRequest) Page(page int32) AssetsAPIAssetUpdatesRequest
Pagination page number to show results for
type AssetsAPIAssetUtxosRequest ¶
type AssetsAPIAssetUtxosRequest struct { ApiService AssetsAPI // contains filtered or unexported fields }
func (AssetsAPIAssetUtxosRequest) Count ¶
func (r AssetsAPIAssetUtxosRequest) Count(count int32) AssetsAPIAssetUtxosRequest
The max number of results per page
func (AssetsAPIAssetUtxosRequest) Execute ¶
func (r AssetsAPIAssetUtxosRequest) Execute() ([]AssetUtxo, *http.Response, error)
func (AssetsAPIAssetUtxosRequest) Page ¶
func (r AssetsAPIAssetUtxosRequest) Page(page int32) AssetsAPIAssetUtxosRequest
The page number for the results
type AssetsAPIPolicyAddressesRequest ¶
type AssetsAPIPolicyAddressesRequest struct { ApiService AssetsAPI // contains filtered or unexported fields }
func (AssetsAPIPolicyAddressesRequest) Count ¶
func (r AssetsAPIPolicyAddressesRequest) Count(count int32) AssetsAPIPolicyAddressesRequest
The max number of results per page
func (AssetsAPIPolicyAddressesRequest) Execute ¶
func (r AssetsAPIPolicyAddressesRequest) Execute() ([]string, *http.Response, error)
func (AssetsAPIPolicyAddressesRequest) Page ¶
func (r AssetsAPIPolicyAddressesRequest) Page(page int32) AssetsAPIPolicyAddressesRequest
The page number for the results
type AssetsAPIPolicyInfoRequest ¶
type AssetsAPIPolicyInfoRequest struct { ApiService AssetsAPI // contains filtered or unexported fields }
func (AssetsAPIPolicyInfoRequest) Count ¶
func (r AssetsAPIPolicyInfoRequest) Count(count int32) AssetsAPIPolicyInfoRequest
The max number of results per page
func (AssetsAPIPolicyInfoRequest) Execute ¶
func (r AssetsAPIPolicyInfoRequest) Execute() ([]AssetInfo, *http.Response, error)
func (AssetsAPIPolicyInfoRequest) Page ¶
func (r AssetsAPIPolicyInfoRequest) Page(page int32) AssetsAPIPolicyInfoRequest
The page number for the results
type AssetsAPIPolicyTxsRequest ¶
type AssetsAPIPolicyTxsRequest struct { ApiService AssetsAPI // contains filtered or unexported fields }
func (AssetsAPIPolicyTxsRequest) Count ¶
func (r AssetsAPIPolicyTxsRequest) Count(count int32) AssetsAPIPolicyTxsRequest
The max number of results per page
func (AssetsAPIPolicyTxsRequest) Execute ¶
func (r AssetsAPIPolicyTxsRequest) Execute() ([]AssetTx, *http.Response, error)
func (AssetsAPIPolicyTxsRequest) FromHeight ¶
func (r AssetsAPIPolicyTxsRequest) FromHeight(fromHeight int64) AssetsAPIPolicyTxsRequest
Return only transactions after supplied block height
func (AssetsAPIPolicyTxsRequest) Order ¶
func (r AssetsAPIPolicyTxsRequest) Order(order string) AssetsAPIPolicyTxsRequest
The order in which the results are sorted (by block height)
func (AssetsAPIPolicyTxsRequest) Page ¶
func (r AssetsAPIPolicyTxsRequest) Page(page int32) AssetsAPIPolicyTxsRequest
The page number for the results
type AssetsAPIPolicyUtxosRequest ¶
type AssetsAPIPolicyUtxosRequest struct { ApiService AssetsAPI // contains filtered or unexported fields }
func (AssetsAPIPolicyUtxosRequest) Count ¶
func (r AssetsAPIPolicyUtxosRequest) Count(count int32) AssetsAPIPolicyUtxosRequest
The max number of results per page
func (AssetsAPIPolicyUtxosRequest) Execute ¶
func (r AssetsAPIPolicyUtxosRequest) Execute() ([]PolicyUtxo, *http.Response, error)
func (AssetsAPIPolicyUtxosRequest) Page ¶
func (r AssetsAPIPolicyUtxosRequest) Page(page int32) AssetsAPIPolicyUtxosRequest
The page number for the results
type AssetsAPIService ¶
type AssetsAPIService service
AssetsAPIService AssetsAPI service
func (*AssetsAPIService) AssetAddresses ¶
func (a *AssetsAPIService) AssetAddresses(ctx context.Context, asset string) AssetsAPIAssetAddressesRequest
AssetAddresses Native asset addresses
Returns a list of addresses which hold some amount of the specified asset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset Native asset (concatenation of hex encoded policy ID and hex encoded asset name) @return AssetsAPIAssetAddressesRequest
func (*AssetsAPIService) AssetAddressesExecute ¶
func (a *AssetsAPIService) AssetAddressesExecute(r AssetsAPIAssetAddressesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*AssetsAPIService) AssetInfo ¶
func (a *AssetsAPIService) AssetInfo(ctx context.Context, asset string) AssetsAPIAssetInfoRequest
AssetInfo Native asset information
Return a summary of information about an asset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset Native asset (concatenation of hex encoded policy ID and hex encoded asset name) @return AssetsAPIAssetInfoRequest
func (*AssetsAPIService) AssetInfoExecute ¶
func (a *AssetsAPIService) AssetInfoExecute(r AssetsAPIAssetInfoRequest) (*AssetInfo, *http.Response, error)
Execute executes the request
@return AssetInfo
func (*AssetsAPIService) AssetTxs ¶
func (a *AssetsAPIService) AssetTxs(ctx context.Context, asset string) AssetsAPIAssetTxsRequest
AssetTxs Native asset transaction
Returns a list of transactions which moved, minted or burned the specified asset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset Native asset (concatenation of hex encoded policy ID and hex encoded asset name) @return AssetsAPIAssetTxsRequest
func (*AssetsAPIService) AssetTxsExecute ¶
func (a *AssetsAPIService) AssetTxsExecute(r AssetsAPIAssetTxsRequest) ([]AssetTx, *http.Response, error)
Execute executes the request
@return []AssetTx
func (*AssetsAPIService) AssetUpdates ¶
func (a *AssetsAPIService) AssetUpdates(ctx context.Context, asset string) AssetsAPIAssetUpdatesRequest
AssetUpdates Native asset updates
Returns a list of transactions which minted or burned the specified asset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset Native asset (concatenation of hex encoded policy ID and hex encoded asset name) @return AssetsAPIAssetUpdatesRequest
func (*AssetsAPIService) AssetUpdatesExecute ¶
func (a *AssetsAPIService) AssetUpdatesExecute(r AssetsAPIAssetUpdatesRequest) ([]MintingTx, *http.Response, error)
Execute executes the request
@return []MintingTx
func (*AssetsAPIService) AssetUtxos ¶
func (a *AssetsAPIService) AssetUtxos(ctx context.Context, asset string) AssetsAPIAssetUtxosRequest
AssetUtxos Native asset UTxOs
Returns UTxOs containing the specified asset, each paired with the amount of the asset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param asset Asset, encoded as concatenation of hex of policy ID and asset name @return AssetsAPIAssetUtxosRequest
func (*AssetsAPIService) AssetUtxosExecute ¶
func (a *AssetsAPIService) AssetUtxosExecute(r AssetsAPIAssetUtxosRequest) ([]AssetUtxo, *http.Response, error)
Execute executes the request
@return []AssetUtxo
func (*AssetsAPIService) PolicyAddresses ¶
func (a *AssetsAPIService) PolicyAddresses(ctx context.Context, policy string) AssetsAPIPolicyAddressesRequest
PolicyAddresses Minting policy addresses
Returns a list of addresses which hold some of an asset of the given policy ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param policy Hex encoded Policy ID @return AssetsAPIPolicyAddressesRequest
func (*AssetsAPIService) PolicyAddressesExecute ¶
func (a *AssetsAPIService) PolicyAddressesExecute(r AssetsAPIPolicyAddressesRequest) ([]string, *http.Response, error)
Execute executes the request
@return []string
func (*AssetsAPIService) PolicyInfo ¶
func (a *AssetsAPIService) PolicyInfo(ctx context.Context, policy string) AssetsAPIPolicyInfoRequest
PolicyInfo Minting policy information
Returns information about the minting policy of assets
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param policy Hex encoded policy ID @return AssetsAPIPolicyInfoRequest
func (*AssetsAPIService) PolicyInfoExecute ¶
func (a *AssetsAPIService) PolicyInfoExecute(r AssetsAPIPolicyInfoRequest) ([]AssetInfo, *http.Response, error)
Execute executes the request
@return []AssetInfo
func (*AssetsAPIService) PolicyTxs ¶
func (a *AssetsAPIService) PolicyTxs(ctx context.Context, policy string) AssetsAPIPolicyTxsRequest
PolicyTxs Minting policy transactions
Returns transactions in which an address receives an asset of a policy
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param policy Hex encoded policy ID @return AssetsAPIPolicyTxsRequest
func (*AssetsAPIService) PolicyTxsExecute ¶
func (a *AssetsAPIService) PolicyTxsExecute(r AssetsAPIPolicyTxsRequest) ([]AssetTx, *http.Response, error)
Execute executes the request
@return []AssetTx
func (*AssetsAPIService) PolicyUtxos ¶
func (a *AssetsAPIService) PolicyUtxos(ctx context.Context, policy string) AssetsAPIPolicyUtxosRequest
PolicyUtxos Minting policy UTxOs
Returns UTxOs which contain assets of a policy ID, along with the asset names and amounts
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param policy Hex encoded policy ID @return AssetsAPIPolicyUtxosRequest
func (*AssetsAPIService) PolicyUtxosExecute ¶
func (a *AssetsAPIService) PolicyUtxosExecute(r AssetsAPIPolicyUtxosRequest) ([]PolicyUtxo, *http.Response, error)
Execute executes the request
@return []PolicyUtxo
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Bound ¶
Bound struct for Bound
func NewBound ¶
NewBound instantiates a new Bound object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBoundWithDefaults ¶
func NewBoundWithDefaults() *Bound
NewBoundWithDefaults instantiates a new Bound object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Bound) GetEpochOk ¶
GetEpochOk returns a tuple with the Epoch field value and a boolean to check if the value has been set.
func (*Bound) GetSlotOk ¶
GetSlotOk returns a tuple with the Slot field value and a boolean to check if the value has been set.
func (*Bound) GetTimeOk ¶
GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.
func (Bound) MarshalJSON ¶
type CertRedeemer ¶
type CertRedeemer struct { CertIndex int32 `json:"cert_index"` Data Datum `json:"data"` ExUnits int64 `json:"ex_units"` }
CertRedeemer struct for CertRedeemer
func NewCertRedeemer ¶
func NewCertRedeemer(certIndex int32, data Datum, exUnits int64) *CertRedeemer
NewCertRedeemer instantiates a new CertRedeemer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCertRedeemerWithDefaults ¶
func NewCertRedeemerWithDefaults() *CertRedeemer
NewCertRedeemerWithDefaults instantiates a new CertRedeemer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CertRedeemer) GetCertIndex ¶
func (o *CertRedeemer) GetCertIndex() int32
GetCertIndex returns the CertIndex field value
func (*CertRedeemer) GetCertIndexOk ¶
func (o *CertRedeemer) GetCertIndexOk() (*int32, bool)
GetCertIndexOk returns a tuple with the CertIndex field value and a boolean to check if the value has been set.
func (*CertRedeemer) GetData ¶
func (o *CertRedeemer) GetData() Datum
GetData returns the Data field value
func (*CertRedeemer) GetDataOk ¶
func (o *CertRedeemer) GetDataOk() (*Datum, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*CertRedeemer) GetExUnits ¶
func (o *CertRedeemer) GetExUnits() int64
GetExUnits returns the ExUnits field value
func (*CertRedeemer) GetExUnitsOk ¶
func (o *CertRedeemer) GetExUnitsOk() (*int64, bool)
GetExUnitsOk returns a tuple with the ExUnits field value and a boolean to check if the value has been set.
func (CertRedeemer) MarshalJSON ¶
func (o CertRedeemer) MarshalJSON() ([]byte, error)
func (*CertRedeemer) SetCertIndex ¶
func (o *CertRedeemer) SetCertIndex(v int32)
SetCertIndex sets field value
func (*CertRedeemer) SetExUnits ¶
func (o *CertRedeemer) SetExUnits(v int64)
SetExUnits sets field value
func (CertRedeemer) ToMap ¶
func (o CertRedeemer) ToMap() (map[string]interface{}, error)
type Certificates ¶
type Certificates struct { MirTransfers []MirCert `json:"mir_transfers"` PoolRegistrations []PoolRegCert `json:"pool_registrations"` PoolRetirements []PoolRetireCert `json:"pool_retirements"` StakeDelegations []StakeDelegCert `json:"stake_delegations"` StakeDeregistrations []StakeRegCert `json:"stake_deregistrations"` StakeRegistrations []StakeRegCert `json:"stake_registrations"` }
Certificates Certificates found in a transaction
func NewCertificates ¶
func NewCertificates(mirTransfers []MirCert, poolRegistrations []PoolRegCert, poolRetirements []PoolRetireCert, stakeDelegations []StakeDelegCert, stakeDeregistrations []StakeRegCert, stakeRegistrations []StakeRegCert) *Certificates
NewCertificates instantiates a new Certificates object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCertificatesWithDefaults ¶
func NewCertificatesWithDefaults() *Certificates
NewCertificatesWithDefaults instantiates a new Certificates object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Certificates) GetMirTransfers ¶
func (o *Certificates) GetMirTransfers() []MirCert
GetMirTransfers returns the MirTransfers field value
func (*Certificates) GetMirTransfersOk ¶
func (o *Certificates) GetMirTransfersOk() ([]MirCert, bool)
GetMirTransfersOk returns a tuple with the MirTransfers field value and a boolean to check if the value has been set.
func (*Certificates) GetPoolRegistrations ¶
func (o *Certificates) GetPoolRegistrations() []PoolRegCert
GetPoolRegistrations returns the PoolRegistrations field value
func (*Certificates) GetPoolRegistrationsOk ¶
func (o *Certificates) GetPoolRegistrationsOk() ([]PoolRegCert, bool)
GetPoolRegistrationsOk returns a tuple with the PoolRegistrations field value and a boolean to check if the value has been set.
func (*Certificates) GetPoolRetirements ¶
func (o *Certificates) GetPoolRetirements() []PoolRetireCert
GetPoolRetirements returns the PoolRetirements field value
func (*Certificates) GetPoolRetirementsOk ¶
func (o *Certificates) GetPoolRetirementsOk() ([]PoolRetireCert, bool)
GetPoolRetirementsOk returns a tuple with the PoolRetirements field value and a boolean to check if the value has been set.
func (*Certificates) GetStakeDelegations ¶
func (o *Certificates) GetStakeDelegations() []StakeDelegCert
GetStakeDelegations returns the StakeDelegations field value
func (*Certificates) GetStakeDelegationsOk ¶
func (o *Certificates) GetStakeDelegationsOk() ([]StakeDelegCert, bool)
GetStakeDelegationsOk returns a tuple with the StakeDelegations field value and a boolean to check if the value has been set.
func (*Certificates) GetStakeDeregistrations ¶
func (o *Certificates) GetStakeDeregistrations() []StakeRegCert
GetStakeDeregistrations returns the StakeDeregistrations field value
func (*Certificates) GetStakeDeregistrationsOk ¶
func (o *Certificates) GetStakeDeregistrationsOk() ([]StakeRegCert, bool)
GetStakeDeregistrationsOk returns a tuple with the StakeDeregistrations field value and a boolean to check if the value has been set.
func (*Certificates) GetStakeRegistrations ¶
func (o *Certificates) GetStakeRegistrations() []StakeRegCert
GetStakeRegistrations returns the StakeRegistrations field value
func (*Certificates) GetStakeRegistrationsOk ¶
func (o *Certificates) GetStakeRegistrationsOk() ([]StakeRegCert, bool)
GetStakeRegistrationsOk returns a tuple with the StakeRegistrations field value and a boolean to check if the value has been set.
func (Certificates) MarshalJSON ¶
func (o Certificates) MarshalJSON() ([]byte, error)
func (*Certificates) SetMirTransfers ¶
func (o *Certificates) SetMirTransfers(v []MirCert)
SetMirTransfers sets field value
func (*Certificates) SetPoolRegistrations ¶
func (o *Certificates) SetPoolRegistrations(v []PoolRegCert)
SetPoolRegistrations sets field value
func (*Certificates) SetPoolRetirements ¶
func (o *Certificates) SetPoolRetirements(v []PoolRetireCert)
SetPoolRetirements sets field value
func (*Certificates) SetStakeDelegations ¶
func (o *Certificates) SetStakeDelegations(v []StakeDelegCert)
SetStakeDelegations sets field value
func (*Certificates) SetStakeDeregistrations ¶
func (o *Certificates) SetStakeDeregistrations(v []StakeRegCert)
SetStakeDeregistrations sets field value
func (*Certificates) SetStakeRegistrations ¶
func (o *Certificates) SetStakeRegistrations(v []StakeRegCert)
SetStakeRegistrations sets field value
func (Certificates) ToMap ¶
func (o Certificates) ToMap() (map[string]interface{}, error)
type ChainTip ¶
type ChainTip struct { // Block hash of the most recent block BlockHash string `json:"block_hash"` // Height (number) of the most recent block Height int64 `json:"height"` // Absolute slot of the most recent block Slot int64 `json:"slot"` }
ChainTip Blockchain chain-tip (most recently adopted block)
func NewChainTip ¶
NewChainTip instantiates a new ChainTip object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewChainTipWithDefaults ¶
func NewChainTipWithDefaults() *ChainTip
NewChainTipWithDefaults instantiates a new ChainTip object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ChainTip) GetBlockHash ¶
GetBlockHash returns the BlockHash field value
func (*ChainTip) GetBlockHashOk ¶
GetBlockHashOk returns a tuple with the BlockHash field value and a boolean to check if the value has been set.
func (*ChainTip) GetHeightOk ¶
GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.
func (*ChainTip) GetSlotOk ¶
GetSlotOk returns a tuple with the Slot field value and a boolean to check if the value has been set.
func (ChainTip) MarshalJSON ¶
func (*ChainTip) SetBlockHash ¶
SetBlockHash sets field value
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CurrentEpochInfo ¶
type CurrentEpochInfo struct { // Total blocks in the epoch so far BlkCount int32 `json:"blk_count"` // Epoch number EpochNo int32 `json:"epoch_no"` // Total fees collected in the epoch so far Fees string `json:"fees"` // UNIX timestamp when the epoch began StartTime int64 `json:"start_time"` // Total transactions in the epoch so far TxCount int32 `json:"tx_count"` }
CurrentEpochInfo Information summary of the current epoch
func NewCurrentEpochInfo ¶
func NewCurrentEpochInfo(blkCount int32, epochNo int32, fees string, startTime int64, txCount int32) *CurrentEpochInfo
NewCurrentEpochInfo instantiates a new CurrentEpochInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCurrentEpochInfoWithDefaults ¶
func NewCurrentEpochInfoWithDefaults() *CurrentEpochInfo
NewCurrentEpochInfoWithDefaults instantiates a new CurrentEpochInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CurrentEpochInfo) GetBlkCount ¶
func (o *CurrentEpochInfo) GetBlkCount() int32
GetBlkCount returns the BlkCount field value
func (*CurrentEpochInfo) GetBlkCountOk ¶
func (o *CurrentEpochInfo) GetBlkCountOk() (*int32, bool)
GetBlkCountOk returns a tuple with the BlkCount field value and a boolean to check if the value has been set.
func (*CurrentEpochInfo) GetEpochNo ¶
func (o *CurrentEpochInfo) GetEpochNo() int32
GetEpochNo returns the EpochNo field value
func (*CurrentEpochInfo) GetEpochNoOk ¶
func (o *CurrentEpochInfo) GetEpochNoOk() (*int32, bool)
GetEpochNoOk returns a tuple with the EpochNo field value and a boolean to check if the value has been set.
func (*CurrentEpochInfo) GetFees ¶
func (o *CurrentEpochInfo) GetFees() string
GetFees returns the Fees field value
func (*CurrentEpochInfo) GetFeesOk ¶
func (o *CurrentEpochInfo) GetFeesOk() (*string, bool)
GetFeesOk returns a tuple with the Fees field value and a boolean to check if the value has been set.
func (*CurrentEpochInfo) GetStartTime ¶
func (o *CurrentEpochInfo) GetStartTime() int64
GetStartTime returns the StartTime field value
func (*CurrentEpochInfo) GetStartTimeOk ¶
func (o *CurrentEpochInfo) GetStartTimeOk() (*int64, bool)
GetStartTimeOk returns a tuple with the StartTime field value and a boolean to check if the value has been set.
func (*CurrentEpochInfo) GetTxCount ¶
func (o *CurrentEpochInfo) GetTxCount() int32
GetTxCount returns the TxCount field value
func (*CurrentEpochInfo) GetTxCountOk ¶
func (o *CurrentEpochInfo) GetTxCountOk() (*int32, bool)
GetTxCountOk returns a tuple with the TxCount field value and a boolean to check if the value has been set.
func (CurrentEpochInfo) MarshalJSON ¶
func (o CurrentEpochInfo) MarshalJSON() ([]byte, error)
func (*CurrentEpochInfo) SetBlkCount ¶
func (o *CurrentEpochInfo) SetBlkCount(v int32)
SetBlkCount sets field value
func (*CurrentEpochInfo) SetEpochNo ¶
func (o *CurrentEpochInfo) SetEpochNo(v int32)
SetEpochNo sets field value
func (*CurrentEpochInfo) SetFees ¶
func (o *CurrentEpochInfo) SetFees(v string)
SetFees sets field value
func (*CurrentEpochInfo) SetStartTime ¶
func (o *CurrentEpochInfo) SetStartTime(v int64)
SetStartTime sets field value
func (*CurrentEpochInfo) SetTxCount ¶
func (o *CurrentEpochInfo) SetTxCount(v int32)
SetTxCount sets field value
func (CurrentEpochInfo) ToMap ¶
func (o CurrentEpochInfo) ToMap() (map[string]interface{}, error)
type CurrentSlot ¶
type CurrentSlot struct { // Slot number Number int64 `json:"number"` }
CurrentSlot struct for CurrentSlot
func NewCurrentSlot ¶
func NewCurrentSlot(number int64) *CurrentSlot
NewCurrentSlot instantiates a new CurrentSlot object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCurrentSlotWithDefaults ¶
func NewCurrentSlotWithDefaults() *CurrentSlot
NewCurrentSlotWithDefaults instantiates a new CurrentSlot object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CurrentSlot) GetNumber ¶
func (o *CurrentSlot) GetNumber() int64
GetNumber returns the Number field value
func (*CurrentSlot) GetNumberOk ¶
func (o *CurrentSlot) GetNumberOk() (*int64, bool)
GetNumberOk returns a tuple with the Number field value and a boolean to check if the value has been set.
func (CurrentSlot) MarshalJSON ¶
func (o CurrentSlot) MarshalJSON() ([]byte, error)
func (CurrentSlot) ToMap ¶
func (o CurrentSlot) ToMap() (map[string]interface{}, error)
type Data ¶
Data struct for Data
func NewData ¶
NewData instantiates a new Data object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDataWithDefaults ¶
func NewDataWithDefaults() *Data
NewDataWithDefaults instantiates a new Data object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Data) GetHashOk ¶
GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.
func (*Data) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (Data) MarshalJSON ¶
type Datum ¶
type Datum struct { // Hex encoded datum CBOR bytes Bytes string `json:"bytes"` Json map[string]interface{} `json:"json"` }
Datum struct for Datum
func NewDatum ¶
NewDatum instantiates a new Datum object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDatumWithDefaults ¶
func NewDatumWithDefaults() *Datum
NewDatumWithDefaults instantiates a new Datum object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Datum) GetBytesOk ¶
GetBytesOk returns a tuple with the Bytes field value and a boolean to check if the value has been set.
func (*Datum) GetJsonOk ¶
GetJsonOk returns a tuple with the Json field value and a boolean to check if the value has been set.
func (Datum) MarshalJSON ¶
type DatumAPI ¶
type DatumAPI interface { /* LookupDatum Datum of a datum hash Returns the datum corresponding to the specified datum hash, if the datum has been seen on-chain @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param datumHash Hex encoded datum hash @return DatumAPILookupDatumRequest */ LookupDatum(ctx context.Context, datumHash string) DatumAPILookupDatumRequest // LookupDatumExecute executes the request // @return Datum LookupDatumExecute(r DatumAPILookupDatumRequest) (*Datum, *http.Response, error) }
type DatumAPILookupDatumRequest ¶
type DatumAPILookupDatumRequest struct { ApiService DatumAPI // contains filtered or unexported fields }
type DatumAPIService ¶
type DatumAPIService service
DatumAPIService DatumAPI service
func (*DatumAPIService) LookupDatum ¶
func (a *DatumAPIService) LookupDatum(ctx context.Context, datumHash string) DatumAPILookupDatumRequest
LookupDatum Datum of a datum hash
Returns the datum corresponding to the specified datum hash, if the datum has been seen on-chain
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param datumHash Hex encoded datum hash @return DatumAPILookupDatumRequest
func (*DatumAPIService) LookupDatumExecute ¶
func (a *DatumAPIService) LookupDatumExecute(r DatumAPILookupDatumRequest) (*Datum, *http.Response, error)
Execute executes the request
@return Datum
type DatumOption ¶
type DatumOption struct { // Hex encoded datum CBOR bytes (`null` if datum type is `hash` and corresponding datum bytes have not been seen on-chain) Bytes *string `json:"bytes,omitempty"` // Datum hash Hash string `json:"hash"` Json map[string]interface{} `json:"json,omitempty"` Type DatumOptionType `json:"type"` }
DatumOption Datum (inline or hash)
func NewDatumOption ¶
func NewDatumOption(hash string, type_ DatumOptionType) *DatumOption
NewDatumOption instantiates a new DatumOption object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDatumOptionWithDefaults ¶
func NewDatumOptionWithDefaults() *DatumOption
NewDatumOptionWithDefaults instantiates a new DatumOption object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DatumOption) GetBytes ¶
func (o *DatumOption) GetBytes() string
GetBytes returns the Bytes field value if set, zero value otherwise.
func (*DatumOption) GetBytesOk ¶
func (o *DatumOption) GetBytesOk() (*string, bool)
GetBytesOk returns a tuple with the Bytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DatumOption) GetHash ¶
func (o *DatumOption) GetHash() string
GetHash returns the Hash field value
func (*DatumOption) GetHashOk ¶
func (o *DatumOption) GetHashOk() (*string, bool)
GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.
func (*DatumOption) GetJson ¶
func (o *DatumOption) GetJson() map[string]interface{}
GetJson returns the Json field value if set, zero value otherwise.
func (*DatumOption) GetJsonOk ¶
func (o *DatumOption) GetJsonOk() (map[string]interface{}, bool)
GetJsonOk returns a tuple with the Json field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DatumOption) GetType ¶
func (o *DatumOption) GetType() DatumOptionType
GetType returns the Type field value
func (*DatumOption) GetTypeOk ¶
func (o *DatumOption) GetTypeOk() (*DatumOptionType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*DatumOption) HasBytes ¶
func (o *DatumOption) HasBytes() bool
HasBytes returns a boolean if a field has been set.
func (*DatumOption) HasJson ¶
func (o *DatumOption) HasJson() bool
HasJson returns a boolean if a field has been set.
func (DatumOption) MarshalJSON ¶
func (o DatumOption) MarshalJSON() ([]byte, error)
func (*DatumOption) SetBytes ¶
func (o *DatumOption) SetBytes(v string)
SetBytes gets a reference to the given string and assigns it to the Bytes field.
func (*DatumOption) SetJson ¶
func (o *DatumOption) SetJson(v map[string]interface{})
SetJson gets a reference to the given map[string]interface{} and assigns it to the Json field.
func (*DatumOption) SetType ¶
func (o *DatumOption) SetType(v DatumOptionType)
SetType sets field value
func (DatumOption) ToMap ¶
func (o DatumOption) ToMap() (map[string]interface{}, error)
type DatumOptionType ¶
type DatumOptionType string
DatumOptionType Datum type (inline datum or datum hash)
const ( DATUMOPTIONTYPE_HASH DatumOptionType = "hash" DATUMOPTIONTYPE_INLINE DatumOptionType = "inline" )
List of DatumOptionType
func NewDatumOptionTypeFromValue ¶
func NewDatumOptionTypeFromValue(v string) (*DatumOptionType, error)
NewDatumOptionTypeFromValue returns a pointer to a valid DatumOptionType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (DatumOptionType) IsValid ¶
func (v DatumOptionType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (DatumOptionType) Ptr ¶
func (v DatumOptionType) Ptr() *DatumOptionType
Ptr returns reference to DatumOptionType value
func (*DatumOptionType) UnmarshalJSON ¶
func (v *DatumOptionType) UnmarshalJSON(src []byte) error
type DelegatorInfo ¶
type DelegatorInfo struct { // Epoch at which the delegation becomes active ActiveEpochNo *int64 `json:"active_epoch_no,omitempty"` // Delegator live stake Amount *int64 `json:"amount,omitempty"` // Transaction hash relating to the most recent delegation LatestDelegationTxHash *string `json:"latest_delegation_tx_hash,omitempty"` // Bech32 encoded stake address (reward address) StakeAddress *string `json:"stake_address,omitempty"` }
DelegatorInfo Information summary of a delegator
func NewDelegatorInfo ¶
func NewDelegatorInfo() *DelegatorInfo
NewDelegatorInfo instantiates a new DelegatorInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDelegatorInfoWithDefaults ¶
func NewDelegatorInfoWithDefaults() *DelegatorInfo
NewDelegatorInfoWithDefaults instantiates a new DelegatorInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DelegatorInfo) GetActiveEpochNo ¶
func (o *DelegatorInfo) GetActiveEpochNo() int64
GetActiveEpochNo returns the ActiveEpochNo field value if set, zero value otherwise.
func (*DelegatorInfo) GetActiveEpochNoOk ¶
func (o *DelegatorInfo) GetActiveEpochNoOk() (*int64, bool)
GetActiveEpochNoOk returns a tuple with the ActiveEpochNo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DelegatorInfo) GetAmount ¶
func (o *DelegatorInfo) GetAmount() int64
GetAmount returns the Amount field value if set, zero value otherwise.
func (*DelegatorInfo) GetAmountOk ¶
func (o *DelegatorInfo) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DelegatorInfo) GetLatestDelegationTxHash ¶
func (o *DelegatorInfo) GetLatestDelegationTxHash() string
GetLatestDelegationTxHash returns the LatestDelegationTxHash field value if set, zero value otherwise.
func (*DelegatorInfo) GetLatestDelegationTxHashOk ¶
func (o *DelegatorInfo) GetLatestDelegationTxHashOk() (*string, bool)
GetLatestDelegationTxHashOk returns a tuple with the LatestDelegationTxHash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DelegatorInfo) GetStakeAddress ¶
func (o *DelegatorInfo) GetStakeAddress() string
GetStakeAddress returns the StakeAddress field value if set, zero value otherwise.
func (*DelegatorInfo) GetStakeAddressOk ¶
func (o *DelegatorInfo) GetStakeAddressOk() (*string, bool)
GetStakeAddressOk returns a tuple with the StakeAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DelegatorInfo) HasActiveEpochNo ¶
func (o *DelegatorInfo) HasActiveEpochNo() bool
HasActiveEpochNo returns a boolean if a field has been set.
func (*DelegatorInfo) HasAmount ¶
func (o *DelegatorInfo) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (*DelegatorInfo) HasLatestDelegationTxHash ¶
func (o *DelegatorInfo) HasLatestDelegationTxHash() bool
HasLatestDelegationTxHash returns a boolean if a field has been set.
func (*DelegatorInfo) HasStakeAddress ¶
func (o *DelegatorInfo) HasStakeAddress() bool
HasStakeAddress returns a boolean if a field has been set.
func (DelegatorInfo) MarshalJSON ¶
func (o DelegatorInfo) MarshalJSON() ([]byte, error)
func (*DelegatorInfo) SetActiveEpochNo ¶
func (o *DelegatorInfo) SetActiveEpochNo(v int64)
SetActiveEpochNo gets a reference to the given int64 and assigns it to the ActiveEpochNo field.
func (*DelegatorInfo) SetAmount ¶
func (o *DelegatorInfo) SetAmount(v int64)
SetAmount gets a reference to the given int64 and assigns it to the Amount field.
func (*DelegatorInfo) SetLatestDelegationTxHash ¶
func (o *DelegatorInfo) SetLatestDelegationTxHash(v string)
SetLatestDelegationTxHash gets a reference to the given string and assigns it to the LatestDelegationTxHash field.
func (*DelegatorInfo) SetStakeAddress ¶
func (o *DelegatorInfo) SetStakeAddress(v string)
SetStakeAddress gets a reference to the given string and assigns it to the StakeAddress field.
func (DelegatorInfo) ToMap ¶
func (o DelegatorInfo) ToMap() (map[string]interface{}, error)
type EpochInfo ¶
type EpochInfo struct { // Total blocks in the epoch BlkCount int32 `json:"blk_count"` // UNIX timestamp when the epoch ended EndTime int64 `json:"end_time"` // Epoch number EpochNo int32 `json:"epoch_no"` // Total fees collected in the epoch Fees string `json:"fees"` // UNIX timestamp when the epoch began StartTime int64 `json:"start_time"` // Total transactions in the epoch TxCount int32 `json:"tx_count"` }
EpochInfo Information summary of an epoch
func NewEpochInfo ¶
func NewEpochInfo(blkCount int32, endTime int64, epochNo int32, fees string, startTime int64, txCount int32) *EpochInfo
NewEpochInfo instantiates a new EpochInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEpochInfoWithDefaults ¶
func NewEpochInfoWithDefaults() *EpochInfo
NewEpochInfoWithDefaults instantiates a new EpochInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EpochInfo) GetBlkCount ¶
GetBlkCount returns the BlkCount field value
func (*EpochInfo) GetBlkCountOk ¶
GetBlkCountOk returns a tuple with the BlkCount field value and a boolean to check if the value has been set.
func (*EpochInfo) GetEndTime ¶
GetEndTime returns the EndTime field value
func (*EpochInfo) GetEndTimeOk ¶
GetEndTimeOk returns a tuple with the EndTime field value and a boolean to check if the value has been set.
func (*EpochInfo) GetEpochNo ¶
GetEpochNo returns the EpochNo field value
func (*EpochInfo) GetEpochNoOk ¶
GetEpochNoOk returns a tuple with the EpochNo field value and a boolean to check if the value has been set.
func (*EpochInfo) GetFeesOk ¶
GetFeesOk returns a tuple with the Fees field value and a boolean to check if the value has been set.
func (*EpochInfo) GetStartTime ¶
GetStartTime returns the StartTime field value
func (*EpochInfo) GetStartTimeOk ¶
GetStartTimeOk returns a tuple with the StartTime field value and a boolean to check if the value has been set.
func (*EpochInfo) GetTxCount ¶
GetTxCount returns the TxCount field value
func (*EpochInfo) GetTxCountOk ¶
GetTxCountOk returns a tuple with the TxCount field value and a boolean to check if the value has been set.
func (EpochInfo) MarshalJSON ¶
func (*EpochInfo) SetBlkCount ¶
SetBlkCount sets field value
func (*EpochInfo) SetStartTime ¶
SetStartTime sets field value
type EpochsAPI ¶
type EpochsAPI interface { /* CurrentEpoch Current epoch of the network Returns information about the current epoch @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return EpochsAPICurrentEpochRequest */ CurrentEpoch(ctx context.Context) EpochsAPICurrentEpochRequest // CurrentEpochExecute executes the request // @return CurrentEpochInfo CurrentEpochExecute(r EpochsAPICurrentEpochRequest) (*CurrentEpochInfo, *http.Response, error) /* EpochInfo Epoch details Returns information about the requested epoch @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param epochNo Epoch height (number) @return EpochsAPIEpochInfoRequest */ EpochInfo(ctx context.Context, epochNo int32) EpochsAPIEpochInfoRequest // EpochInfoExecute executes the request // @return EpochInfo EpochInfoExecute(r EpochsAPIEpochInfoRequest) (*EpochInfo, *http.Response, error) }
type EpochsAPICurrentEpochRequest ¶
type EpochsAPICurrentEpochRequest struct { ApiService EpochsAPI // contains filtered or unexported fields }
func (EpochsAPICurrentEpochRequest) Execute ¶
func (r EpochsAPICurrentEpochRequest) Execute() (*CurrentEpochInfo, *http.Response, error)
type EpochsAPIEpochInfoRequest ¶
type EpochsAPIEpochInfoRequest struct { ApiService EpochsAPI // contains filtered or unexported fields }
type EpochsAPIService ¶
type EpochsAPIService service
EpochsAPIService EpochsAPI service
func (*EpochsAPIService) CurrentEpoch ¶
func (a *EpochsAPIService) CurrentEpoch(ctx context.Context) EpochsAPICurrentEpochRequest
CurrentEpoch Current epoch of the network
Returns information about the current epoch
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return EpochsAPICurrentEpochRequest
func (*EpochsAPIService) CurrentEpochExecute ¶
func (a *EpochsAPIService) CurrentEpochExecute(r EpochsAPICurrentEpochRequest) (*CurrentEpochInfo, *http.Response, error)
Execute executes the request
@return CurrentEpochInfo
func (*EpochsAPIService) EpochInfo ¶
func (a *EpochsAPIService) EpochInfo(ctx context.Context, epochNo int32) EpochsAPIEpochInfoRequest
EpochInfo Epoch details
Returns information about the requested epoch
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param epochNo Epoch height (number) @return EpochsAPIEpochInfoRequest
func (*EpochsAPIService) EpochInfoExecute ¶
func (a *EpochsAPIService) EpochInfoExecute(r EpochsAPIEpochInfoRequest) (*EpochInfo, *http.Response, error)
Execute executes the request
@return EpochInfo
type EraParameters ¶
type EraParameters struct { EpochLength int64 `json:"epoch_length"` SafeZone *int64 `json:"safe_zone,omitempty"` SlotLength int64 `json:"slot_length"` }
EraParameters struct for EraParameters
func NewEraParameters ¶
func NewEraParameters(epochLength int64, slotLength int64) *EraParameters
NewEraParameters instantiates a new EraParameters object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEraParametersWithDefaults ¶
func NewEraParametersWithDefaults() *EraParameters
NewEraParametersWithDefaults instantiates a new EraParameters object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EraParameters) GetEpochLength ¶
func (o *EraParameters) GetEpochLength() int64
GetEpochLength returns the EpochLength field value
func (*EraParameters) GetEpochLengthOk ¶
func (o *EraParameters) GetEpochLengthOk() (*int64, bool)
GetEpochLengthOk returns a tuple with the EpochLength field value and a boolean to check if the value has been set.
func (*EraParameters) GetSafeZone ¶
func (o *EraParameters) GetSafeZone() int64
GetSafeZone returns the SafeZone field value if set, zero value otherwise.
func (*EraParameters) GetSafeZoneOk ¶
func (o *EraParameters) GetSafeZoneOk() (*int64, bool)
GetSafeZoneOk returns a tuple with the SafeZone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EraParameters) GetSlotLength ¶
func (o *EraParameters) GetSlotLength() int64
GetSlotLength returns the SlotLength field value
func (*EraParameters) GetSlotLengthOk ¶
func (o *EraParameters) GetSlotLengthOk() (*int64, bool)
GetSlotLengthOk returns a tuple with the SlotLength field value and a boolean to check if the value has been set.
func (*EraParameters) HasSafeZone ¶
func (o *EraParameters) HasSafeZone() bool
HasSafeZone returns a boolean if a field has been set.
func (EraParameters) MarshalJSON ¶
func (o EraParameters) MarshalJSON() ([]byte, error)
func (*EraParameters) SetEpochLength ¶
func (o *EraParameters) SetEpochLength(v int64)
SetEpochLength sets field value
func (*EraParameters) SetSafeZone ¶
func (o *EraParameters) SetSafeZone(v int64)
SetSafeZone gets a reference to the given int64 and assigns it to the SafeZone field.
func (*EraParameters) SetSlotLength ¶
func (o *EraParameters) SetSlotLength(v int64)
SetSlotLength sets field value
func (EraParameters) ToMap ¶
func (o EraParameters) ToMap() (map[string]interface{}, error)
type EraSummary ¶
type EraSummary struct { End *Bound `json:"end,omitempty"` Parameters EraParameters `json:"parameters"` Start Bound `json:"start"` }
EraSummary struct for EraSummary
func NewEraSummary ¶
func NewEraSummary(parameters EraParameters, start Bound) *EraSummary
NewEraSummary instantiates a new EraSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEraSummaryWithDefaults ¶
func NewEraSummaryWithDefaults() *EraSummary
NewEraSummaryWithDefaults instantiates a new EraSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*EraSummary) GetEnd ¶
func (o *EraSummary) GetEnd() Bound
GetEnd returns the End field value if set, zero value otherwise.
func (*EraSummary) GetEndOk ¶
func (o *EraSummary) GetEndOk() (*Bound, bool)
GetEndOk returns a tuple with the End field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EraSummary) GetParameters ¶
func (o *EraSummary) GetParameters() EraParameters
GetParameters returns the Parameters field value
func (*EraSummary) GetParametersOk ¶
func (o *EraSummary) GetParametersOk() (*EraParameters, bool)
GetParametersOk returns a tuple with the Parameters field value and a boolean to check if the value has been set.
func (*EraSummary) GetStart ¶
func (o *EraSummary) GetStart() Bound
GetStart returns the Start field value
func (*EraSummary) GetStartOk ¶
func (o *EraSummary) GetStartOk() (*Bound, bool)
GetStartOk returns a tuple with the Start field value and a boolean to check if the value has been set.
func (*EraSummary) HasEnd ¶
func (o *EraSummary) HasEnd() bool
HasEnd returns a boolean if a field has been set.
func (EraSummary) MarshalJSON ¶
func (o EraSummary) MarshalJSON() ([]byte, error)
func (*EraSummary) SetEnd ¶
func (o *EraSummary) SetEnd(v Bound)
SetEnd gets a reference to the given Bound and assigns it to the End field.
func (*EraSummary) SetParameters ¶
func (o *EraSummary) SetParameters(v EraParameters)
SetParameters sets field value
func (EraSummary) ToMap ¶
func (o EraSummary) ToMap() (map[string]interface{}, error)
type ExUnit ¶
type ExUnit struct { // Memory execution units Memory int64 `json:"memory"` // CPU execution units Steps int64 `json:"steps"` }
ExUnit Execution units for Plutus scripts
func NewExUnit ¶
NewExUnit instantiates a new ExUnit object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExUnitWithDefaults ¶
func NewExUnitWithDefaults() *ExUnit
NewExUnitWithDefaults instantiates a new ExUnit object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExUnit) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.
func (*ExUnit) GetStepsOk ¶
GetStepsOk returns a tuple with the Steps field value and a boolean to check if the value has been set.
func (ExUnit) MarshalJSON ¶
type GeneralAPI ¶
type GeneralAPI interface { /* ChainTip Chain tip details Returns details about the latest block of the network @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return GeneralAPIChainTipRequest */ ChainTip(ctx context.Context) GeneralAPIChainTipRequest // ChainTipExecute executes the request // @return ChainTip ChainTipExecute(r GeneralAPIChainTipRequest) (*ChainTip, *http.Response, error) /* EraHistory Era history Returns the blockchain era history @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return GeneralAPIEraHistoryRequest */ EraHistory(ctx context.Context) GeneralAPIEraHistoryRequest // EraHistoryExecute executes the request // @return []EraSummary EraHistoryExecute(r GeneralAPIEraHistoryRequest) ([]EraSummary, *http.Response, error) /* ProtocolParams Network protocol parameters Returns the current protocol parameters @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return GeneralAPIProtocolParamsRequest */ ProtocolParams(ctx context.Context) GeneralAPIProtocolParamsRequest // ProtocolParamsExecute executes the request // @return ProtocolParameters ProtocolParamsExecute(r GeneralAPIProtocolParamsRequest) (*ProtocolParameters, *http.Response, error) /* SystemStart System start time Returns the network start time since genesis @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return GeneralAPISystemStartRequest */ SystemStart(ctx context.Context) GeneralAPISystemStartRequest // SystemStartExecute executes the request // @return SystemStart SystemStartExecute(r GeneralAPISystemStartRequest) (*SystemStart, *http.Response, error) }
type GeneralAPIChainTipRequest ¶
type GeneralAPIChainTipRequest struct { ApiService GeneralAPI // contains filtered or unexported fields }
type GeneralAPIEraHistoryRequest ¶
type GeneralAPIEraHistoryRequest struct { ApiService GeneralAPI // contains filtered or unexported fields }
func (GeneralAPIEraHistoryRequest) Execute ¶
func (r GeneralAPIEraHistoryRequest) Execute() ([]EraSummary, *http.Response, error)
type GeneralAPIProtocolParamsRequest ¶
type GeneralAPIProtocolParamsRequest struct { ApiService GeneralAPI // contains filtered or unexported fields }
func (GeneralAPIProtocolParamsRequest) Execute ¶
func (r GeneralAPIProtocolParamsRequest) Execute() (*ProtocolParameters, *http.Response, error)
type GeneralAPIService ¶
type GeneralAPIService service
GeneralAPIService GeneralAPI service
func (*GeneralAPIService) ChainTip ¶
func (a *GeneralAPIService) ChainTip(ctx context.Context) GeneralAPIChainTipRequest
ChainTip Chain tip details
Returns details about the latest block of the network
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return GeneralAPIChainTipRequest
func (*GeneralAPIService) ChainTipExecute ¶
func (a *GeneralAPIService) ChainTipExecute(r GeneralAPIChainTipRequest) (*ChainTip, *http.Response, error)
Execute executes the request
@return ChainTip
func (*GeneralAPIService) EraHistory ¶
func (a *GeneralAPIService) EraHistory(ctx context.Context) GeneralAPIEraHistoryRequest
EraHistory Era history
Returns the blockchain era history
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return GeneralAPIEraHistoryRequest
func (*GeneralAPIService) EraHistoryExecute ¶
func (a *GeneralAPIService) EraHistoryExecute(r GeneralAPIEraHistoryRequest) ([]EraSummary, *http.Response, error)
Execute executes the request
@return []EraSummary
func (*GeneralAPIService) ProtocolParams ¶
func (a *GeneralAPIService) ProtocolParams(ctx context.Context) GeneralAPIProtocolParamsRequest
ProtocolParams Network protocol parameters
Returns the current protocol parameters
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return GeneralAPIProtocolParamsRequest
func (*GeneralAPIService) ProtocolParamsExecute ¶
func (a *GeneralAPIService) ProtocolParamsExecute(r GeneralAPIProtocolParamsRequest) (*ProtocolParameters, *http.Response, error)
Execute executes the request
@return ProtocolParameters
func (*GeneralAPIService) SystemStart ¶
func (a *GeneralAPIService) SystemStart(ctx context.Context) GeneralAPISystemStartRequest
SystemStart System start time
Returns the network start time since genesis
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return GeneralAPISystemStartRequest
func (*GeneralAPIService) SystemStartExecute ¶
func (a *GeneralAPIService) SystemStartExecute(r GeneralAPISystemStartRequest) (*SystemStart, *http.Response, error)
Execute executes the request
@return SystemStart
type GeneralAPISystemStartRequest ¶
type GeneralAPISystemStartRequest struct { ApiService GeneralAPI // contains filtered or unexported fields }
func (GeneralAPISystemStartRequest) Execute ¶
func (r GeneralAPISystemStartRequest) Execute() (*SystemStart, *http.Response, error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type MappedNullable ¶
type MintAsset ¶
type MintAsset struct { // Amount of the asset minted or burned (negative is burn) Quantity int64 `json:"quantity"` // Asset (in the form `hex(policy_id)#hex(asset_name)`) Unit string `json:"unit"` }
MintAsset Lovelace or native asset
func NewMintAsset ¶
NewMintAsset instantiates a new MintAsset object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMintAssetWithDefaults ¶
func NewMintAssetWithDefaults() *MintAsset
NewMintAssetWithDefaults instantiates a new MintAsset object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MintAsset) GetQuantity ¶
GetQuantity returns the Quantity field value
func (*MintAsset) GetQuantityOk ¶
GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.
func (*MintAsset) GetUnitOk ¶
GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.
func (MintAsset) MarshalJSON ¶
func (*MintAsset) SetQuantity ¶
SetQuantity sets field value
type MintRedeemer ¶
type MintRedeemer struct { Data Datum `json:"data"` ExUnits int64 `json:"ex_units"` Policy string `json:"policy"` }
MintRedeemer struct for MintRedeemer
func NewMintRedeemer ¶
func NewMintRedeemer(data Datum, exUnits int64, policy string) *MintRedeemer
NewMintRedeemer instantiates a new MintRedeemer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMintRedeemerWithDefaults ¶
func NewMintRedeemerWithDefaults() *MintRedeemer
NewMintRedeemerWithDefaults instantiates a new MintRedeemer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MintRedeemer) GetData ¶
func (o *MintRedeemer) GetData() Datum
GetData returns the Data field value
func (*MintRedeemer) GetDataOk ¶
func (o *MintRedeemer) GetDataOk() (*Datum, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*MintRedeemer) GetExUnits ¶
func (o *MintRedeemer) GetExUnits() int64
GetExUnits returns the ExUnits field value
func (*MintRedeemer) GetExUnitsOk ¶
func (o *MintRedeemer) GetExUnitsOk() (*int64, bool)
GetExUnitsOk returns a tuple with the ExUnits field value and a boolean to check if the value has been set.
func (*MintRedeemer) GetPolicy ¶
func (o *MintRedeemer) GetPolicy() string
GetPolicy returns the Policy field value
func (*MintRedeemer) GetPolicyOk ¶
func (o *MintRedeemer) GetPolicyOk() (*string, bool)
GetPolicyOk returns a tuple with the Policy field value and a boolean to check if the value has been set.
func (MintRedeemer) MarshalJSON ¶
func (o MintRedeemer) MarshalJSON() ([]byte, error)
func (*MintRedeemer) SetExUnits ¶
func (o *MintRedeemer) SetExUnits(v int64)
SetExUnits sets field value
func (*MintRedeemer) SetPolicy ¶
func (o *MintRedeemer) SetPolicy(v string)
SetPolicy sets field value
func (MintRedeemer) ToMap ¶
func (o MintRedeemer) ToMap() (map[string]interface{}, error)
type MintingTx ¶
type MintingTx struct { // UNIX timestamp of the block which included transaction BlockTimestamp int32 `json:"block_timestamp"` Metadata map[string]interface{} `json:"metadata,omitempty"` // Amount of the asset minted or burned (negative if burned) MintAmount int64 `json:"mint_amount"` // Transaction hash TxHash string `json:"tx_hash"` }
MintingTx Transaction which minted or burned a specific asset
func NewMintingTx ¶
NewMintingTx instantiates a new MintingTx object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMintingTxWithDefaults ¶
func NewMintingTxWithDefaults() *MintingTx
NewMintingTxWithDefaults instantiates a new MintingTx object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MintingTx) GetBlockTimestamp ¶
GetBlockTimestamp returns the BlockTimestamp field value
func (*MintingTx) GetBlockTimestampOk ¶
GetBlockTimestampOk returns a tuple with the BlockTimestamp field value and a boolean to check if the value has been set.
func (*MintingTx) GetMetadata ¶
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*MintingTx) GetMetadataOk ¶
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MintingTx) GetMintAmount ¶
GetMintAmount returns the MintAmount field value
func (*MintingTx) GetMintAmountOk ¶
GetMintAmountOk returns a tuple with the MintAmount field value and a boolean to check if the value has been set.
func (*MintingTx) GetTxHashOk ¶
GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.
func (*MintingTx) HasMetadata ¶
HasMetadata returns a boolean if a field has been set.
func (MintingTx) MarshalJSON ¶
func (*MintingTx) SetBlockTimestamp ¶
SetBlockTimestamp sets field value
func (*MintingTx) SetMetadata ¶
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*MintingTx) SetMintAmount ¶
SetMintAmount sets field value
type MirCert ¶
type MirCert struct { // Index of the certificate in the transaction CertIndex int32 `json:"cert_index"` From MirSource `json:"from"` // Where the rewards funds are being sent To string `json:"to"` }
MirCert Certificate for sending an instantaneous reward
func NewMirCert ¶
NewMirCert instantiates a new MirCert object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMirCertWithDefaults ¶
func NewMirCertWithDefaults() *MirCert
NewMirCertWithDefaults instantiates a new MirCert object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MirCert) GetCertIndex ¶
GetCertIndex returns the CertIndex field value
func (*MirCert) GetCertIndexOk ¶
GetCertIndexOk returns a tuple with the CertIndex field value and a boolean to check if the value has been set.
func (*MirCert) GetFromOk ¶
GetFromOk returns a tuple with the From field value and a boolean to check if the value has been set.
func (*MirCert) GetToOk ¶
GetToOk returns a tuple with the To field value and a boolean to check if the value has been set.
func (MirCert) MarshalJSON ¶
func (*MirCert) SetCertIndex ¶
SetCertIndex sets field value
type MirSource ¶
type MirSource string
MirSource The pot from which an MIR reward is being funded by
List of MirSource
func NewMirSourceFromValue ¶
NewMirSourceFromValue returns a pointer to a valid MirSource for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*MirSource) UnmarshalJSON ¶
type NetworkId ¶
type NetworkId string
NetworkId the model 'NetworkId'
List of NetworkId
func NewNetworkIdFromValue ¶
NewNetworkIdFromValue returns a pointer to a valid NetworkId for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*NetworkId) UnmarshalJSON ¶
type NullableAccountAction ¶
type NullableAccountAction struct {
// contains filtered or unexported fields
}
func NewNullableAccountAction ¶
func NewNullableAccountAction(val *AccountAction) *NullableAccountAction
func (NullableAccountAction) Get ¶
func (v NullableAccountAction) Get() *AccountAction
func (NullableAccountAction) IsSet ¶
func (v NullableAccountAction) IsSet() bool
func (NullableAccountAction) MarshalJSON ¶
func (v NullableAccountAction) MarshalJSON() ([]byte, error)
func (*NullableAccountAction) Set ¶
func (v *NullableAccountAction) Set(val *AccountAction)
func (*NullableAccountAction) UnmarshalJSON ¶
func (v *NullableAccountAction) UnmarshalJSON(src []byte) error
func (*NullableAccountAction) Unset ¶
func (v *NullableAccountAction) Unset()
type NullableAccountHistory ¶
type NullableAccountHistory struct {
// contains filtered or unexported fields
}
func NewNullableAccountHistory ¶
func NewNullableAccountHistory(val *AccountHistory) *NullableAccountHistory
func (NullableAccountHistory) Get ¶
func (v NullableAccountHistory) Get() *AccountHistory
func (NullableAccountHistory) IsSet ¶
func (v NullableAccountHistory) IsSet() bool
func (NullableAccountHistory) MarshalJSON ¶
func (v NullableAccountHistory) MarshalJSON() ([]byte, error)
func (*NullableAccountHistory) Set ¶
func (v *NullableAccountHistory) Set(val *AccountHistory)
func (*NullableAccountHistory) UnmarshalJSON ¶
func (v *NullableAccountHistory) UnmarshalJSON(src []byte) error
func (*NullableAccountHistory) Unset ¶
func (v *NullableAccountHistory) Unset()
type NullableAccountInfo ¶
type NullableAccountInfo struct {
// contains filtered or unexported fields
}
func NewNullableAccountInfo ¶
func NewNullableAccountInfo(val *AccountInfo) *NullableAccountInfo
func (NullableAccountInfo) Get ¶
func (v NullableAccountInfo) Get() *AccountInfo
func (NullableAccountInfo) IsSet ¶
func (v NullableAccountInfo) IsSet() bool
func (NullableAccountInfo) MarshalJSON ¶
func (v NullableAccountInfo) MarshalJSON() ([]byte, error)
func (*NullableAccountInfo) Set ¶
func (v *NullableAccountInfo) Set(val *AccountInfo)
func (*NullableAccountInfo) UnmarshalJSON ¶
func (v *NullableAccountInfo) UnmarshalJSON(src []byte) error
func (*NullableAccountInfo) Unset ¶
func (v *NullableAccountInfo) Unset()
type NullableAccountReward ¶
type NullableAccountReward struct {
// contains filtered or unexported fields
}
func NewNullableAccountReward ¶
func NewNullableAccountReward(val *AccountReward) *NullableAccountReward
func (NullableAccountReward) Get ¶
func (v NullableAccountReward) Get() *AccountReward
func (NullableAccountReward) IsSet ¶
func (v NullableAccountReward) IsSet() bool
func (NullableAccountReward) MarshalJSON ¶
func (v NullableAccountReward) MarshalJSON() ([]byte, error)
func (*NullableAccountReward) Set ¶
func (v *NullableAccountReward) Set(val *AccountReward)
func (*NullableAccountReward) UnmarshalJSON ¶
func (v *NullableAccountReward) UnmarshalJSON(src []byte) error
func (*NullableAccountReward) Unset ¶
func (v *NullableAccountReward) Unset()
type NullableAccountRewardType ¶
type NullableAccountRewardType struct {
// contains filtered or unexported fields
}
func NewNullableAccountRewardType ¶
func NewNullableAccountRewardType(val *AccountRewardType) *NullableAccountRewardType
func (NullableAccountRewardType) Get ¶
func (v NullableAccountRewardType) Get() *AccountRewardType
func (NullableAccountRewardType) IsSet ¶
func (v NullableAccountRewardType) IsSet() bool
func (NullableAccountRewardType) MarshalJSON ¶
func (v NullableAccountRewardType) MarshalJSON() ([]byte, error)
func (*NullableAccountRewardType) Set ¶
func (v *NullableAccountRewardType) Set(val *AccountRewardType)
func (*NullableAccountRewardType) UnmarshalJSON ¶
func (v *NullableAccountRewardType) UnmarshalJSON(src []byte) error
func (*NullableAccountRewardType) Unset ¶
func (v *NullableAccountRewardType) Unset()
type NullableAccountStakingRewardType ¶
type NullableAccountStakingRewardType struct {
// contains filtered or unexported fields
}
func NewNullableAccountStakingRewardType ¶
func NewNullableAccountStakingRewardType(val *AccountStakingRewardType) *NullableAccountStakingRewardType
func (NullableAccountStakingRewardType) Get ¶
func (v NullableAccountStakingRewardType) Get() *AccountStakingRewardType
func (NullableAccountStakingRewardType) IsSet ¶
func (v NullableAccountStakingRewardType) IsSet() bool
func (NullableAccountStakingRewardType) MarshalJSON ¶
func (v NullableAccountStakingRewardType) MarshalJSON() ([]byte, error)
func (*NullableAccountStakingRewardType) Set ¶
func (v *NullableAccountStakingRewardType) Set(val *AccountStakingRewardType)
func (*NullableAccountStakingRewardType) UnmarshalJSON ¶
func (v *NullableAccountStakingRewardType) UnmarshalJSON(src []byte) error
func (*NullableAccountStakingRewardType) Unset ¶
func (v *NullableAccountStakingRewardType) Unset()
type NullableAccountUpdate ¶
type NullableAccountUpdate struct {
// contains filtered or unexported fields
}
func NewNullableAccountUpdate ¶
func NewNullableAccountUpdate(val *AccountUpdate) *NullableAccountUpdate
func (NullableAccountUpdate) Get ¶
func (v NullableAccountUpdate) Get() *AccountUpdate
func (NullableAccountUpdate) IsSet ¶
func (v NullableAccountUpdate) IsSet() bool
func (NullableAccountUpdate) MarshalJSON ¶
func (v NullableAccountUpdate) MarshalJSON() ([]byte, error)
func (*NullableAccountUpdate) Set ¶
func (v *NullableAccountUpdate) Set(val *AccountUpdate)
func (*NullableAccountUpdate) UnmarshalJSON ¶
func (v *NullableAccountUpdate) UnmarshalJSON(src []byte) error
func (*NullableAccountUpdate) Unset ¶
func (v *NullableAccountUpdate) Unset()
type NullableAddressInfo ¶
type NullableAddressInfo struct {
// contains filtered or unexported fields
}
func NewNullableAddressInfo ¶
func NewNullableAddressInfo(val *AddressInfo) *NullableAddressInfo
func (NullableAddressInfo) Get ¶
func (v NullableAddressInfo) Get() *AddressInfo
func (NullableAddressInfo) IsSet ¶
func (v NullableAddressInfo) IsSet() bool
func (NullableAddressInfo) MarshalJSON ¶
func (v NullableAddressInfo) MarshalJSON() ([]byte, error)
func (*NullableAddressInfo) Set ¶
func (v *NullableAddressInfo) Set(val *AddressInfo)
func (*NullableAddressInfo) UnmarshalJSON ¶
func (v *NullableAddressInfo) UnmarshalJSON(src []byte) error
func (*NullableAddressInfo) Unset ¶
func (v *NullableAddressInfo) Unset()
type NullableAddressTxCount ¶
type NullableAddressTxCount struct {
// contains filtered or unexported fields
}
func NewNullableAddressTxCount ¶
func NewNullableAddressTxCount(val *AddressTxCount) *NullableAddressTxCount
func (NullableAddressTxCount) Get ¶
func (v NullableAddressTxCount) Get() *AddressTxCount
func (NullableAddressTxCount) IsSet ¶
func (v NullableAddressTxCount) IsSet() bool
func (NullableAddressTxCount) MarshalJSON ¶
func (v NullableAddressTxCount) MarshalJSON() ([]byte, error)
func (*NullableAddressTxCount) Set ¶
func (v *NullableAddressTxCount) Set(val *AddressTxCount)
func (*NullableAddressTxCount) UnmarshalJSON ¶
func (v *NullableAddressTxCount) UnmarshalJSON(src []byte) error
func (*NullableAddressTxCount) Unset ¶
func (v *NullableAddressTxCount) Unset()
type NullableAsset ¶
type NullableAsset struct {
// contains filtered or unexported fields
}
func NewNullableAsset ¶
func NewNullableAsset(val *Asset) *NullableAsset
func (NullableAsset) Get ¶
func (v NullableAsset) Get() *Asset
func (NullableAsset) IsSet ¶
func (v NullableAsset) IsSet() bool
func (NullableAsset) MarshalJSON ¶
func (v NullableAsset) MarshalJSON() ([]byte, error)
func (*NullableAsset) Set ¶
func (v *NullableAsset) Set(val *Asset)
func (*NullableAsset) UnmarshalJSON ¶
func (v *NullableAsset) UnmarshalJSON(src []byte) error
func (*NullableAsset) Unset ¶
func (v *NullableAsset) Unset()
type NullableAssetHolder ¶
type NullableAssetHolder struct {
// contains filtered or unexported fields
}
func NewNullableAssetHolder ¶
func NewNullableAssetHolder(val *AssetHolder) *NullableAssetHolder
func (NullableAssetHolder) Get ¶
func (v NullableAssetHolder) Get() *AssetHolder
func (NullableAssetHolder) IsSet ¶
func (v NullableAssetHolder) IsSet() bool
func (NullableAssetHolder) MarshalJSON ¶
func (v NullableAssetHolder) MarshalJSON() ([]byte, error)
func (*NullableAssetHolder) Set ¶
func (v *NullableAssetHolder) Set(val *AssetHolder)
func (*NullableAssetHolder) UnmarshalJSON ¶
func (v *NullableAssetHolder) UnmarshalJSON(src []byte) error
func (*NullableAssetHolder) Unset ¶
func (v *NullableAssetHolder) Unset()
type NullableAssetInPolicy ¶
type NullableAssetInPolicy struct {
// contains filtered or unexported fields
}
func NewNullableAssetInPolicy ¶
func NewNullableAssetInPolicy(val *AssetInPolicy) *NullableAssetInPolicy
func (NullableAssetInPolicy) Get ¶
func (v NullableAssetInPolicy) Get() *AssetInPolicy
func (NullableAssetInPolicy) IsSet ¶
func (v NullableAssetInPolicy) IsSet() bool
func (NullableAssetInPolicy) MarshalJSON ¶
func (v NullableAssetInPolicy) MarshalJSON() ([]byte, error)
func (*NullableAssetInPolicy) Set ¶
func (v *NullableAssetInPolicy) Set(val *AssetInPolicy)
func (*NullableAssetInPolicy) UnmarshalJSON ¶
func (v *NullableAssetInPolicy) UnmarshalJSON(src []byte) error
func (*NullableAssetInPolicy) Unset ¶
func (v *NullableAssetInPolicy) Unset()
type NullableAssetInfo ¶
type NullableAssetInfo struct {
// contains filtered or unexported fields
}
func NewNullableAssetInfo ¶
func NewNullableAssetInfo(val *AssetInfo) *NullableAssetInfo
func (NullableAssetInfo) Get ¶
func (v NullableAssetInfo) Get() *AssetInfo
func (NullableAssetInfo) IsSet ¶
func (v NullableAssetInfo) IsSet() bool
func (NullableAssetInfo) MarshalJSON ¶
func (v NullableAssetInfo) MarshalJSON() ([]byte, error)
func (*NullableAssetInfo) Set ¶
func (v *NullableAssetInfo) Set(val *AssetInfo)
func (*NullableAssetInfo) UnmarshalJSON ¶
func (v *NullableAssetInfo) UnmarshalJSON(src []byte) error
func (*NullableAssetInfo) Unset ¶
func (v *NullableAssetInfo) Unset()
type NullableAssetStandards ¶
type NullableAssetStandards struct {
// contains filtered or unexported fields
}
func NewNullableAssetStandards ¶
func NewNullableAssetStandards(val *AssetStandards) *NullableAssetStandards
func (NullableAssetStandards) Get ¶
func (v NullableAssetStandards) Get() *AssetStandards
func (NullableAssetStandards) IsSet ¶
func (v NullableAssetStandards) IsSet() bool
func (NullableAssetStandards) MarshalJSON ¶
func (v NullableAssetStandards) MarshalJSON() ([]byte, error)
func (*NullableAssetStandards) Set ¶
func (v *NullableAssetStandards) Set(val *AssetStandards)
func (*NullableAssetStandards) UnmarshalJSON ¶
func (v *NullableAssetStandards) UnmarshalJSON(src []byte) error
func (*NullableAssetStandards) Unset ¶
func (v *NullableAssetStandards) Unset()
type NullableAssetTx ¶
type NullableAssetTx struct {
// contains filtered or unexported fields
}
func NewNullableAssetTx ¶
func NewNullableAssetTx(val *AssetTx) *NullableAssetTx
func (NullableAssetTx) Get ¶
func (v NullableAssetTx) Get() *AssetTx
func (NullableAssetTx) IsSet ¶
func (v NullableAssetTx) IsSet() bool
func (NullableAssetTx) MarshalJSON ¶
func (v NullableAssetTx) MarshalJSON() ([]byte, error)
func (*NullableAssetTx) Set ¶
func (v *NullableAssetTx) Set(val *AssetTx)
func (*NullableAssetTx) UnmarshalJSON ¶
func (v *NullableAssetTx) UnmarshalJSON(src []byte) error
func (*NullableAssetTx) Unset ¶
func (v *NullableAssetTx) Unset()
type NullableAssetUtxo ¶
type NullableAssetUtxo struct {
// contains filtered or unexported fields
}
func NewNullableAssetUtxo ¶
func NewNullableAssetUtxo(val *AssetUtxo) *NullableAssetUtxo
func (NullableAssetUtxo) Get ¶
func (v NullableAssetUtxo) Get() *AssetUtxo
func (NullableAssetUtxo) IsSet ¶
func (v NullableAssetUtxo) IsSet() bool
func (NullableAssetUtxo) MarshalJSON ¶
func (v NullableAssetUtxo) MarshalJSON() ([]byte, error)
func (*NullableAssetUtxo) Set ¶
func (v *NullableAssetUtxo) Set(val *AssetUtxo)
func (*NullableAssetUtxo) UnmarshalJSON ¶
func (v *NullableAssetUtxo) UnmarshalJSON(src []byte) error
func (*NullableAssetUtxo) Unset ¶
func (v *NullableAssetUtxo) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableBound ¶
type NullableBound struct {
// contains filtered or unexported fields
}
func NewNullableBound ¶
func NewNullableBound(val *Bound) *NullableBound
func (NullableBound) Get ¶
func (v NullableBound) Get() *Bound
func (NullableBound) IsSet ¶
func (v NullableBound) IsSet() bool
func (NullableBound) MarshalJSON ¶
func (v NullableBound) MarshalJSON() ([]byte, error)
func (*NullableBound) Set ¶
func (v *NullableBound) Set(val *Bound)
func (*NullableBound) UnmarshalJSON ¶
func (v *NullableBound) UnmarshalJSON(src []byte) error
func (*NullableBound) Unset ¶
func (v *NullableBound) Unset()
type NullableCertRedeemer ¶
type NullableCertRedeemer struct {
// contains filtered or unexported fields
}
func NewNullableCertRedeemer ¶
func NewNullableCertRedeemer(val *CertRedeemer) *NullableCertRedeemer
func (NullableCertRedeemer) Get ¶
func (v NullableCertRedeemer) Get() *CertRedeemer
func (NullableCertRedeemer) IsSet ¶
func (v NullableCertRedeemer) IsSet() bool
func (NullableCertRedeemer) MarshalJSON ¶
func (v NullableCertRedeemer) MarshalJSON() ([]byte, error)
func (*NullableCertRedeemer) Set ¶
func (v *NullableCertRedeemer) Set(val *CertRedeemer)
func (*NullableCertRedeemer) UnmarshalJSON ¶
func (v *NullableCertRedeemer) UnmarshalJSON(src []byte) error
func (*NullableCertRedeemer) Unset ¶
func (v *NullableCertRedeemer) Unset()
type NullableCertificates ¶
type NullableCertificates struct {
// contains filtered or unexported fields
}
func NewNullableCertificates ¶
func NewNullableCertificates(val *Certificates) *NullableCertificates
func (NullableCertificates) Get ¶
func (v NullableCertificates) Get() *Certificates
func (NullableCertificates) IsSet ¶
func (v NullableCertificates) IsSet() bool
func (NullableCertificates) MarshalJSON ¶
func (v NullableCertificates) MarshalJSON() ([]byte, error)
func (*NullableCertificates) Set ¶
func (v *NullableCertificates) Set(val *Certificates)
func (*NullableCertificates) UnmarshalJSON ¶
func (v *NullableCertificates) UnmarshalJSON(src []byte) error
func (*NullableCertificates) Unset ¶
func (v *NullableCertificates) Unset()
type NullableChainTip ¶
type NullableChainTip struct {
// contains filtered or unexported fields
}
func NewNullableChainTip ¶
func NewNullableChainTip(val *ChainTip) *NullableChainTip
func (NullableChainTip) Get ¶
func (v NullableChainTip) Get() *ChainTip
func (NullableChainTip) IsSet ¶
func (v NullableChainTip) IsSet() bool
func (NullableChainTip) MarshalJSON ¶
func (v NullableChainTip) MarshalJSON() ([]byte, error)
func (*NullableChainTip) Set ¶
func (v *NullableChainTip) Set(val *ChainTip)
func (*NullableChainTip) UnmarshalJSON ¶
func (v *NullableChainTip) UnmarshalJSON(src []byte) error
func (*NullableChainTip) Unset ¶
func (v *NullableChainTip) Unset()
type NullableCurrentEpochInfo ¶
type NullableCurrentEpochInfo struct {
// contains filtered or unexported fields
}
func NewNullableCurrentEpochInfo ¶
func NewNullableCurrentEpochInfo(val *CurrentEpochInfo) *NullableCurrentEpochInfo
func (NullableCurrentEpochInfo) Get ¶
func (v NullableCurrentEpochInfo) Get() *CurrentEpochInfo
func (NullableCurrentEpochInfo) IsSet ¶
func (v NullableCurrentEpochInfo) IsSet() bool
func (NullableCurrentEpochInfo) MarshalJSON ¶
func (v NullableCurrentEpochInfo) MarshalJSON() ([]byte, error)
func (*NullableCurrentEpochInfo) Set ¶
func (v *NullableCurrentEpochInfo) Set(val *CurrentEpochInfo)
func (*NullableCurrentEpochInfo) UnmarshalJSON ¶
func (v *NullableCurrentEpochInfo) UnmarshalJSON(src []byte) error
func (*NullableCurrentEpochInfo) Unset ¶
func (v *NullableCurrentEpochInfo) Unset()
type NullableCurrentSlot ¶
type NullableCurrentSlot struct {
// contains filtered or unexported fields
}
func NewNullableCurrentSlot ¶
func NewNullableCurrentSlot(val *CurrentSlot) *NullableCurrentSlot
func (NullableCurrentSlot) Get ¶
func (v NullableCurrentSlot) Get() *CurrentSlot
func (NullableCurrentSlot) IsSet ¶
func (v NullableCurrentSlot) IsSet() bool
func (NullableCurrentSlot) MarshalJSON ¶
func (v NullableCurrentSlot) MarshalJSON() ([]byte, error)
func (*NullableCurrentSlot) Set ¶
func (v *NullableCurrentSlot) Set(val *CurrentSlot)
func (*NullableCurrentSlot) UnmarshalJSON ¶
func (v *NullableCurrentSlot) UnmarshalJSON(src []byte) error
func (*NullableCurrentSlot) Unset ¶
func (v *NullableCurrentSlot) Unset()
type NullableData ¶
type NullableData struct {
// contains filtered or unexported fields
}
func NewNullableData ¶
func NewNullableData(val *Data) *NullableData
func (NullableData) Get ¶
func (v NullableData) Get() *Data
func (NullableData) IsSet ¶
func (v NullableData) IsSet() bool
func (NullableData) MarshalJSON ¶
func (v NullableData) MarshalJSON() ([]byte, error)
func (*NullableData) Set ¶
func (v *NullableData) Set(val *Data)
func (*NullableData) UnmarshalJSON ¶
func (v *NullableData) UnmarshalJSON(src []byte) error
func (*NullableData) Unset ¶
func (v *NullableData) Unset()
type NullableDatum ¶
type NullableDatum struct {
// contains filtered or unexported fields
}
func NewNullableDatum ¶
func NewNullableDatum(val *Datum) *NullableDatum
func (NullableDatum) Get ¶
func (v NullableDatum) Get() *Datum
func (NullableDatum) IsSet ¶
func (v NullableDatum) IsSet() bool
func (NullableDatum) MarshalJSON ¶
func (v NullableDatum) MarshalJSON() ([]byte, error)
func (*NullableDatum) Set ¶
func (v *NullableDatum) Set(val *Datum)
func (*NullableDatum) UnmarshalJSON ¶
func (v *NullableDatum) UnmarshalJSON(src []byte) error
func (*NullableDatum) Unset ¶
func (v *NullableDatum) Unset()
type NullableDatumOption ¶
type NullableDatumOption struct {
// contains filtered or unexported fields
}
func NewNullableDatumOption ¶
func NewNullableDatumOption(val *DatumOption) *NullableDatumOption
func (NullableDatumOption) Get ¶
func (v NullableDatumOption) Get() *DatumOption
func (NullableDatumOption) IsSet ¶
func (v NullableDatumOption) IsSet() bool
func (NullableDatumOption) MarshalJSON ¶
func (v NullableDatumOption) MarshalJSON() ([]byte, error)
func (*NullableDatumOption) Set ¶
func (v *NullableDatumOption) Set(val *DatumOption)
func (*NullableDatumOption) UnmarshalJSON ¶
func (v *NullableDatumOption) UnmarshalJSON(src []byte) error
func (*NullableDatumOption) Unset ¶
func (v *NullableDatumOption) Unset()
type NullableDatumOptionType ¶
type NullableDatumOptionType struct {
// contains filtered or unexported fields
}
func NewNullableDatumOptionType ¶
func NewNullableDatumOptionType(val *DatumOptionType) *NullableDatumOptionType
func (NullableDatumOptionType) Get ¶
func (v NullableDatumOptionType) Get() *DatumOptionType
func (NullableDatumOptionType) IsSet ¶
func (v NullableDatumOptionType) IsSet() bool
func (NullableDatumOptionType) MarshalJSON ¶
func (v NullableDatumOptionType) MarshalJSON() ([]byte, error)
func (*NullableDatumOptionType) Set ¶
func (v *NullableDatumOptionType) Set(val *DatumOptionType)
func (*NullableDatumOptionType) UnmarshalJSON ¶
func (v *NullableDatumOptionType) UnmarshalJSON(src []byte) error
func (*NullableDatumOptionType) Unset ¶
func (v *NullableDatumOptionType) Unset()
type NullableDelegatorInfo ¶
type NullableDelegatorInfo struct {
// contains filtered or unexported fields
}
func NewNullableDelegatorInfo ¶
func NewNullableDelegatorInfo(val *DelegatorInfo) *NullableDelegatorInfo
func (NullableDelegatorInfo) Get ¶
func (v NullableDelegatorInfo) Get() *DelegatorInfo
func (NullableDelegatorInfo) IsSet ¶
func (v NullableDelegatorInfo) IsSet() bool
func (NullableDelegatorInfo) MarshalJSON ¶
func (v NullableDelegatorInfo) MarshalJSON() ([]byte, error)
func (*NullableDelegatorInfo) Set ¶
func (v *NullableDelegatorInfo) Set(val *DelegatorInfo)
func (*NullableDelegatorInfo) UnmarshalJSON ¶
func (v *NullableDelegatorInfo) UnmarshalJSON(src []byte) error
func (*NullableDelegatorInfo) Unset ¶
func (v *NullableDelegatorInfo) Unset()
type NullableEpochInfo ¶
type NullableEpochInfo struct {
// contains filtered or unexported fields
}
func NewNullableEpochInfo ¶
func NewNullableEpochInfo(val *EpochInfo) *NullableEpochInfo
func (NullableEpochInfo) Get ¶
func (v NullableEpochInfo) Get() *EpochInfo
func (NullableEpochInfo) IsSet ¶
func (v NullableEpochInfo) IsSet() bool
func (NullableEpochInfo) MarshalJSON ¶
func (v NullableEpochInfo) MarshalJSON() ([]byte, error)
func (*NullableEpochInfo) Set ¶
func (v *NullableEpochInfo) Set(val *EpochInfo)
func (*NullableEpochInfo) UnmarshalJSON ¶
func (v *NullableEpochInfo) UnmarshalJSON(src []byte) error
func (*NullableEpochInfo) Unset ¶
func (v *NullableEpochInfo) Unset()
type NullableEraParameters ¶
type NullableEraParameters struct {
// contains filtered or unexported fields
}
func NewNullableEraParameters ¶
func NewNullableEraParameters(val *EraParameters) *NullableEraParameters
func (NullableEraParameters) Get ¶
func (v NullableEraParameters) Get() *EraParameters
func (NullableEraParameters) IsSet ¶
func (v NullableEraParameters) IsSet() bool
func (NullableEraParameters) MarshalJSON ¶
func (v NullableEraParameters) MarshalJSON() ([]byte, error)
func (*NullableEraParameters) Set ¶
func (v *NullableEraParameters) Set(val *EraParameters)
func (*NullableEraParameters) UnmarshalJSON ¶
func (v *NullableEraParameters) UnmarshalJSON(src []byte) error
func (*NullableEraParameters) Unset ¶
func (v *NullableEraParameters) Unset()
type NullableEraSummary ¶
type NullableEraSummary struct {
// contains filtered or unexported fields
}
func NewNullableEraSummary ¶
func NewNullableEraSummary(val *EraSummary) *NullableEraSummary
func (NullableEraSummary) Get ¶
func (v NullableEraSummary) Get() *EraSummary
func (NullableEraSummary) IsSet ¶
func (v NullableEraSummary) IsSet() bool
func (NullableEraSummary) MarshalJSON ¶
func (v NullableEraSummary) MarshalJSON() ([]byte, error)
func (*NullableEraSummary) Set ¶
func (v *NullableEraSummary) Set(val *EraSummary)
func (*NullableEraSummary) UnmarshalJSON ¶
func (v *NullableEraSummary) UnmarshalJSON(src []byte) error
func (*NullableEraSummary) Unset ¶
func (v *NullableEraSummary) Unset()
type NullableExUnit ¶
type NullableExUnit struct {
// contains filtered or unexported fields
}
func NewNullableExUnit ¶
func NewNullableExUnit(val *ExUnit) *NullableExUnit
func (NullableExUnit) Get ¶
func (v NullableExUnit) Get() *ExUnit
func (NullableExUnit) IsSet ¶
func (v NullableExUnit) IsSet() bool
func (NullableExUnit) MarshalJSON ¶
func (v NullableExUnit) MarshalJSON() ([]byte, error)
func (*NullableExUnit) Set ¶
func (v *NullableExUnit) Set(val *ExUnit)
func (*NullableExUnit) UnmarshalJSON ¶
func (v *NullableExUnit) UnmarshalJSON(src []byte) error
func (*NullableExUnit) Unset ¶
func (v *NullableExUnit) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableMintAsset ¶
type NullableMintAsset struct {
// contains filtered or unexported fields
}
func NewNullableMintAsset ¶
func NewNullableMintAsset(val *MintAsset) *NullableMintAsset
func (NullableMintAsset) Get ¶
func (v NullableMintAsset) Get() *MintAsset
func (NullableMintAsset) IsSet ¶
func (v NullableMintAsset) IsSet() bool
func (NullableMintAsset) MarshalJSON ¶
func (v NullableMintAsset) MarshalJSON() ([]byte, error)
func (*NullableMintAsset) Set ¶
func (v *NullableMintAsset) Set(val *MintAsset)
func (*NullableMintAsset) UnmarshalJSON ¶
func (v *NullableMintAsset) UnmarshalJSON(src []byte) error
func (*NullableMintAsset) Unset ¶
func (v *NullableMintAsset) Unset()
type NullableMintRedeemer ¶
type NullableMintRedeemer struct {
// contains filtered or unexported fields
}
func NewNullableMintRedeemer ¶
func NewNullableMintRedeemer(val *MintRedeemer) *NullableMintRedeemer
func (NullableMintRedeemer) Get ¶
func (v NullableMintRedeemer) Get() *MintRedeemer
func (NullableMintRedeemer) IsSet ¶
func (v NullableMintRedeemer) IsSet() bool
func (NullableMintRedeemer) MarshalJSON ¶
func (v NullableMintRedeemer) MarshalJSON() ([]byte, error)
func (*NullableMintRedeemer) Set ¶
func (v *NullableMintRedeemer) Set(val *MintRedeemer)
func (*NullableMintRedeemer) UnmarshalJSON ¶
func (v *NullableMintRedeemer) UnmarshalJSON(src []byte) error
func (*NullableMintRedeemer) Unset ¶
func (v *NullableMintRedeemer) Unset()
type NullableMintingTx ¶
type NullableMintingTx struct {
// contains filtered or unexported fields
}
func NewNullableMintingTx ¶
func NewNullableMintingTx(val *MintingTx) *NullableMintingTx
func (NullableMintingTx) Get ¶
func (v NullableMintingTx) Get() *MintingTx
func (NullableMintingTx) IsSet ¶
func (v NullableMintingTx) IsSet() bool
func (NullableMintingTx) MarshalJSON ¶
func (v NullableMintingTx) MarshalJSON() ([]byte, error)
func (*NullableMintingTx) Set ¶
func (v *NullableMintingTx) Set(val *MintingTx)
func (*NullableMintingTx) UnmarshalJSON ¶
func (v *NullableMintingTx) UnmarshalJSON(src []byte) error
func (*NullableMintingTx) Unset ¶
func (v *NullableMintingTx) Unset()
type NullableMirCert ¶
type NullableMirCert struct {
// contains filtered or unexported fields
}
func NewNullableMirCert ¶
func NewNullableMirCert(val *MirCert) *NullableMirCert
func (NullableMirCert) Get ¶
func (v NullableMirCert) Get() *MirCert
func (NullableMirCert) IsSet ¶
func (v NullableMirCert) IsSet() bool
func (NullableMirCert) MarshalJSON ¶
func (v NullableMirCert) MarshalJSON() ([]byte, error)
func (*NullableMirCert) Set ¶
func (v *NullableMirCert) Set(val *MirCert)
func (*NullableMirCert) UnmarshalJSON ¶
func (v *NullableMirCert) UnmarshalJSON(src []byte) error
func (*NullableMirCert) Unset ¶
func (v *NullableMirCert) Unset()
type NullableMirSource ¶
type NullableMirSource struct {
// contains filtered or unexported fields
}
func NewNullableMirSource ¶
func NewNullableMirSource(val *MirSource) *NullableMirSource
func (NullableMirSource) Get ¶
func (v NullableMirSource) Get() *MirSource
func (NullableMirSource) IsSet ¶
func (v NullableMirSource) IsSet() bool
func (NullableMirSource) MarshalJSON ¶
func (v NullableMirSource) MarshalJSON() ([]byte, error)
func (*NullableMirSource) Set ¶
func (v *NullableMirSource) Set(val *MirSource)
func (*NullableMirSource) UnmarshalJSON ¶
func (v *NullableMirSource) UnmarshalJSON(src []byte) error
func (*NullableMirSource) Unset ¶
func (v *NullableMirSource) Unset()
type NullableNetworkId ¶
type NullableNetworkId struct {
// contains filtered or unexported fields
}
func NewNullableNetworkId ¶
func NewNullableNetworkId(val *NetworkId) *NullableNetworkId
func (NullableNetworkId) Get ¶
func (v NullableNetworkId) Get() *NetworkId
func (NullableNetworkId) IsSet ¶
func (v NullableNetworkId) IsSet() bool
func (NullableNetworkId) MarshalJSON ¶
func (v NullableNetworkId) MarshalJSON() ([]byte, error)
func (*NullableNetworkId) Set ¶
func (v *NullableNetworkId) Set(val *NetworkId)
func (*NullableNetworkId) UnmarshalJSON ¶
func (v *NullableNetworkId) UnmarshalJSON(src []byte) error
func (*NullableNetworkId) Unset ¶
func (v *NullableNetworkId) Unset()
type NullablePaymentCredKind ¶
type NullablePaymentCredKind struct {
// contains filtered or unexported fields
}
func NewNullablePaymentCredKind ¶
func NewNullablePaymentCredKind(val *PaymentCredKind) *NullablePaymentCredKind
func (NullablePaymentCredKind) Get ¶
func (v NullablePaymentCredKind) Get() *PaymentCredKind
func (NullablePaymentCredKind) IsSet ¶
func (v NullablePaymentCredKind) IsSet() bool
func (NullablePaymentCredKind) MarshalJSON ¶
func (v NullablePaymentCredKind) MarshalJSON() ([]byte, error)
func (*NullablePaymentCredKind) Set ¶
func (v *NullablePaymentCredKind) Set(val *PaymentCredKind)
func (*NullablePaymentCredKind) UnmarshalJSON ¶
func (v *NullablePaymentCredKind) UnmarshalJSON(src []byte) error
func (*NullablePaymentCredKind) Unset ¶
func (v *NullablePaymentCredKind) Unset()
type NullablePaymentCredential ¶
type NullablePaymentCredential struct {
// contains filtered or unexported fields
}
func NewNullablePaymentCredential ¶
func NewNullablePaymentCredential(val *PaymentCredential) *NullablePaymentCredential
func (NullablePaymentCredential) Get ¶
func (v NullablePaymentCredential) Get() *PaymentCredential
func (NullablePaymentCredential) IsSet ¶
func (v NullablePaymentCredential) IsSet() bool
func (NullablePaymentCredential) MarshalJSON ¶
func (v NullablePaymentCredential) MarshalJSON() ([]byte, error)
func (*NullablePaymentCredential) Set ¶
func (v *NullablePaymentCredential) Set(val *PaymentCredential)
func (*NullablePaymentCredential) UnmarshalJSON ¶
func (v *NullablePaymentCredential) UnmarshalJSON(src []byte) error
func (*NullablePaymentCredential) Unset ¶
func (v *NullablePaymentCredential) Unset()
type NullablePointer ¶
type NullablePointer struct {
// contains filtered or unexported fields
}
func NewNullablePointer ¶
func NewNullablePointer(val *Pointer) *NullablePointer
func (NullablePointer) Get ¶
func (v NullablePointer) Get() *Pointer
func (NullablePointer) IsSet ¶
func (v NullablePointer) IsSet() bool
func (NullablePointer) MarshalJSON ¶
func (v NullablePointer) MarshalJSON() ([]byte, error)
func (*NullablePointer) Set ¶
func (v *NullablePointer) Set(val *Pointer)
func (*NullablePointer) UnmarshalJSON ¶
func (v *NullablePointer) UnmarshalJSON(src []byte) error
func (*NullablePointer) Unset ¶
func (v *NullablePointer) Unset()
type NullablePolicyHolder ¶
type NullablePolicyHolder struct {
// contains filtered or unexported fields
}
func NewNullablePolicyHolder ¶
func NewNullablePolicyHolder(val *PolicyHolder) *NullablePolicyHolder
func (NullablePolicyHolder) Get ¶
func (v NullablePolicyHolder) Get() *PolicyHolder
func (NullablePolicyHolder) IsSet ¶
func (v NullablePolicyHolder) IsSet() bool
func (NullablePolicyHolder) MarshalJSON ¶
func (v NullablePolicyHolder) MarshalJSON() ([]byte, error)
func (*NullablePolicyHolder) Set ¶
func (v *NullablePolicyHolder) Set(val *PolicyHolder)
func (*NullablePolicyHolder) UnmarshalJSON ¶
func (v *NullablePolicyHolder) UnmarshalJSON(src []byte) error
func (*NullablePolicyHolder) Unset ¶
func (v *NullablePolicyHolder) Unset()
type NullablePolicyUtxo ¶
type NullablePolicyUtxo struct {
// contains filtered or unexported fields
}
func NewNullablePolicyUtxo ¶
func NewNullablePolicyUtxo(val *PolicyUtxo) *NullablePolicyUtxo
func (NullablePolicyUtxo) Get ¶
func (v NullablePolicyUtxo) Get() *PolicyUtxo
func (NullablePolicyUtxo) IsSet ¶
func (v NullablePolicyUtxo) IsSet() bool
func (NullablePolicyUtxo) MarshalJSON ¶
func (v NullablePolicyUtxo) MarshalJSON() ([]byte, error)
func (*NullablePolicyUtxo) Set ¶
func (v *NullablePolicyUtxo) Set(val *PolicyUtxo)
func (*NullablePolicyUtxo) UnmarshalJSON ¶
func (v *NullablePolicyUtxo) UnmarshalJSON(src []byte) error
func (*NullablePolicyUtxo) Unset ¶
func (v *NullablePolicyUtxo) Unset()
type NullablePoolBlock ¶
type NullablePoolBlock struct {
// contains filtered or unexported fields
}
func NewNullablePoolBlock ¶
func NewNullablePoolBlock(val *PoolBlock) *NullablePoolBlock
func (NullablePoolBlock) Get ¶
func (v NullablePoolBlock) Get() *PoolBlock
func (NullablePoolBlock) IsSet ¶
func (v NullablePoolBlock) IsSet() bool
func (NullablePoolBlock) MarshalJSON ¶
func (v NullablePoolBlock) MarshalJSON() ([]byte, error)
func (*NullablePoolBlock) Set ¶
func (v *NullablePoolBlock) Set(val *PoolBlock)
func (*NullablePoolBlock) UnmarshalJSON ¶
func (v *NullablePoolBlock) UnmarshalJSON(src []byte) error
func (*NullablePoolBlock) Unset ¶
func (v *NullablePoolBlock) Unset()
type NullablePoolHistory ¶
type NullablePoolHistory struct {
// contains filtered or unexported fields
}
func NewNullablePoolHistory ¶
func NewNullablePoolHistory(val *PoolHistory) *NullablePoolHistory
func (NullablePoolHistory) Get ¶
func (v NullablePoolHistory) Get() *PoolHistory
func (NullablePoolHistory) IsSet ¶
func (v NullablePoolHistory) IsSet() bool
func (NullablePoolHistory) MarshalJSON ¶
func (v NullablePoolHistory) MarshalJSON() ([]byte, error)
func (*NullablePoolHistory) Set ¶
func (v *NullablePoolHistory) Set(val *PoolHistory)
func (*NullablePoolHistory) UnmarshalJSON ¶
func (v *NullablePoolHistory) UnmarshalJSON(src []byte) error
func (*NullablePoolHistory) Unset ¶
func (v *NullablePoolHistory) Unset()
type NullablePoolInfo ¶
type NullablePoolInfo struct {
// contains filtered or unexported fields
}
func NewNullablePoolInfo ¶
func NewNullablePoolInfo(val *PoolInfo) *NullablePoolInfo
func (NullablePoolInfo) Get ¶
func (v NullablePoolInfo) Get() *PoolInfo
func (NullablePoolInfo) IsSet ¶
func (v NullablePoolInfo) IsSet() bool
func (NullablePoolInfo) MarshalJSON ¶
func (v NullablePoolInfo) MarshalJSON() ([]byte, error)
func (*NullablePoolInfo) Set ¶
func (v *NullablePoolInfo) Set(val *PoolInfo)
func (*NullablePoolInfo) UnmarshalJSON ¶
func (v *NullablePoolInfo) UnmarshalJSON(src []byte) error
func (*NullablePoolInfo) Unset ¶
func (v *NullablePoolInfo) Unset()
type NullablePoolListInfo ¶
type NullablePoolListInfo struct {
// contains filtered or unexported fields
}
func NewNullablePoolListInfo ¶
func NewNullablePoolListInfo(val *PoolListInfo) *NullablePoolListInfo
func (NullablePoolListInfo) Get ¶
func (v NullablePoolListInfo) Get() *PoolListInfo
func (NullablePoolListInfo) IsSet ¶
func (v NullablePoolListInfo) IsSet() bool
func (NullablePoolListInfo) MarshalJSON ¶
func (v NullablePoolListInfo) MarshalJSON() ([]byte, error)
func (*NullablePoolListInfo) Set ¶
func (v *NullablePoolListInfo) Set(val *PoolListInfo)
func (*NullablePoolListInfo) UnmarshalJSON ¶
func (v *NullablePoolListInfo) UnmarshalJSON(src []byte) error
func (*NullablePoolListInfo) Unset ¶
func (v *NullablePoolListInfo) Unset()
type NullablePoolMetaJson ¶
type NullablePoolMetaJson struct {
// contains filtered or unexported fields
}
func NewNullablePoolMetaJson ¶
func NewNullablePoolMetaJson(val *PoolMetaJson) *NullablePoolMetaJson
func (NullablePoolMetaJson) Get ¶
func (v NullablePoolMetaJson) Get() *PoolMetaJson
func (NullablePoolMetaJson) IsSet ¶
func (v NullablePoolMetaJson) IsSet() bool
func (NullablePoolMetaJson) MarshalJSON ¶
func (v NullablePoolMetaJson) MarshalJSON() ([]byte, error)
func (*NullablePoolMetaJson) Set ¶
func (v *NullablePoolMetaJson) Set(val *PoolMetaJson)
func (*NullablePoolMetaJson) UnmarshalJSON ¶
func (v *NullablePoolMetaJson) UnmarshalJSON(src []byte) error
func (*NullablePoolMetaJson) Unset ¶
func (v *NullablePoolMetaJson) Unset()
type NullablePoolMetadata ¶
type NullablePoolMetadata struct {
// contains filtered or unexported fields
}
func NewNullablePoolMetadata ¶
func NewNullablePoolMetadata(val *PoolMetadata) *NullablePoolMetadata
func (NullablePoolMetadata) Get ¶
func (v NullablePoolMetadata) Get() *PoolMetadata
func (NullablePoolMetadata) IsSet ¶
func (v NullablePoolMetadata) IsSet() bool
func (NullablePoolMetadata) MarshalJSON ¶
func (v NullablePoolMetadata) MarshalJSON() ([]byte, error)
func (*NullablePoolMetadata) Set ¶
func (v *NullablePoolMetadata) Set(val *PoolMetadata)
func (*NullablePoolMetadata) UnmarshalJSON ¶
func (v *NullablePoolMetadata) UnmarshalJSON(src []byte) error
func (*NullablePoolMetadata) Unset ¶
func (v *NullablePoolMetadata) Unset()
type NullablePoolRegCert ¶
type NullablePoolRegCert struct {
// contains filtered or unexported fields
}
func NewNullablePoolRegCert ¶
func NewNullablePoolRegCert(val *PoolRegCert) *NullablePoolRegCert
func (NullablePoolRegCert) Get ¶
func (v NullablePoolRegCert) Get() *PoolRegCert
func (NullablePoolRegCert) IsSet ¶
func (v NullablePoolRegCert) IsSet() bool
func (NullablePoolRegCert) MarshalJSON ¶
func (v NullablePoolRegCert) MarshalJSON() ([]byte, error)
func (*NullablePoolRegCert) Set ¶
func (v *NullablePoolRegCert) Set(val *PoolRegCert)
func (*NullablePoolRegCert) UnmarshalJSON ¶
func (v *NullablePoolRegCert) UnmarshalJSON(src []byte) error
func (*NullablePoolRegCert) Unset ¶
func (v *NullablePoolRegCert) Unset()
type NullablePoolRelay ¶
type NullablePoolRelay struct {
// contains filtered or unexported fields
}
func NewNullablePoolRelay ¶
func NewNullablePoolRelay(val *PoolRelay) *NullablePoolRelay
func (NullablePoolRelay) Get ¶
func (v NullablePoolRelay) Get() *PoolRelay
func (NullablePoolRelay) IsSet ¶
func (v NullablePoolRelay) IsSet() bool
func (NullablePoolRelay) MarshalJSON ¶
func (v NullablePoolRelay) MarshalJSON() ([]byte, error)
func (*NullablePoolRelay) Set ¶
func (v *NullablePoolRelay) Set(val *PoolRelay)
func (*NullablePoolRelay) UnmarshalJSON ¶
func (v *NullablePoolRelay) UnmarshalJSON(src []byte) error
func (*NullablePoolRelay) Unset ¶
func (v *NullablePoolRelay) Unset()
type NullablePoolRetireCert ¶
type NullablePoolRetireCert struct {
// contains filtered or unexported fields
}
func NewNullablePoolRetireCert ¶
func NewNullablePoolRetireCert(val *PoolRetireCert) *NullablePoolRetireCert
func (NullablePoolRetireCert) Get ¶
func (v NullablePoolRetireCert) Get() *PoolRetireCert
func (NullablePoolRetireCert) IsSet ¶
func (v NullablePoolRetireCert) IsSet() bool
func (NullablePoolRetireCert) MarshalJSON ¶
func (v NullablePoolRetireCert) MarshalJSON() ([]byte, error)
func (*NullablePoolRetireCert) Set ¶
func (v *NullablePoolRetireCert) Set(val *PoolRetireCert)
func (*NullablePoolRetireCert) UnmarshalJSON ¶
func (v *NullablePoolRetireCert) UnmarshalJSON(src []byte) error
func (*NullablePoolRetireCert) Unset ¶
func (v *NullablePoolRetireCert) Unset()
type NullablePoolUpdate ¶
type NullablePoolUpdate struct {
// contains filtered or unexported fields
}
func NewNullablePoolUpdate ¶
func NewNullablePoolUpdate(val *PoolUpdate) *NullablePoolUpdate
func (NullablePoolUpdate) Get ¶
func (v NullablePoolUpdate) Get() *PoolUpdate
func (NullablePoolUpdate) IsSet ¶
func (v NullablePoolUpdate) IsSet() bool
func (NullablePoolUpdate) MarshalJSON ¶
func (v NullablePoolUpdate) MarshalJSON() ([]byte, error)
func (*NullablePoolUpdate) Set ¶
func (v *NullablePoolUpdate) Set(val *PoolUpdate)
func (*NullablePoolUpdate) UnmarshalJSON ¶
func (v *NullablePoolUpdate) UnmarshalJSON(src []byte) error
func (*NullablePoolUpdate) Unset ¶
func (v *NullablePoolUpdate) Unset()
type NullablePrices ¶
type NullablePrices struct {
// contains filtered or unexported fields
}
func NewNullablePrices ¶
func NewNullablePrices(val *Prices) *NullablePrices
func (NullablePrices) Get ¶
func (v NullablePrices) Get() *Prices
func (NullablePrices) IsSet ¶
func (v NullablePrices) IsSet() bool
func (NullablePrices) MarshalJSON ¶
func (v NullablePrices) MarshalJSON() ([]byte, error)
func (*NullablePrices) Set ¶
func (v *NullablePrices) Set(val *Prices)
func (*NullablePrices) UnmarshalJSON ¶
func (v *NullablePrices) UnmarshalJSON(src []byte) error
func (*NullablePrices) Unset ¶
func (v *NullablePrices) Unset()
type NullableProtocolParameters ¶
type NullableProtocolParameters struct {
// contains filtered or unexported fields
}
func NewNullableProtocolParameters ¶
func NewNullableProtocolParameters(val *ProtocolParameters) *NullableProtocolParameters
func (NullableProtocolParameters) Get ¶
func (v NullableProtocolParameters) Get() *ProtocolParameters
func (NullableProtocolParameters) IsSet ¶
func (v NullableProtocolParameters) IsSet() bool
func (NullableProtocolParameters) MarshalJSON ¶
func (v NullableProtocolParameters) MarshalJSON() ([]byte, error)
func (*NullableProtocolParameters) Set ¶
func (v *NullableProtocolParameters) Set(val *ProtocolParameters)
func (*NullableProtocolParameters) UnmarshalJSON ¶
func (v *NullableProtocolParameters) UnmarshalJSON(src []byte) error
func (*NullableProtocolParameters) Unset ¶
func (v *NullableProtocolParameters) Unset()
type NullableRedeemers ¶
type NullableRedeemers struct {
// contains filtered or unexported fields
}
func NewNullableRedeemers ¶
func NewNullableRedeemers(val *Redeemers) *NullableRedeemers
func (NullableRedeemers) Get ¶
func (v NullableRedeemers) Get() *Redeemers
func (NullableRedeemers) IsSet ¶
func (v NullableRedeemers) IsSet() bool
func (NullableRedeemers) MarshalJSON ¶
func (v NullableRedeemers) MarshalJSON() ([]byte, error)
func (*NullableRedeemers) Set ¶
func (v *NullableRedeemers) Set(val *Redeemers)
func (*NullableRedeemers) UnmarshalJSON ¶
func (v *NullableRedeemers) UnmarshalJSON(src []byte) error
func (*NullableRedeemers) Unset ¶
func (v *NullableRedeemers) Unset()
type NullableRelay ¶
type NullableRelay struct {
// contains filtered or unexported fields
}
func NewNullableRelay ¶
func NewNullableRelay(val *Relay) *NullableRelay
func (NullableRelay) Get ¶
func (v NullableRelay) Get() *Relay
func (NullableRelay) IsSet ¶
func (v NullableRelay) IsSet() bool
func (NullableRelay) MarshalJSON ¶
func (v NullableRelay) MarshalJSON() ([]byte, error)
func (*NullableRelay) Set ¶
func (v *NullableRelay) Set(val *Relay)
func (*NullableRelay) UnmarshalJSON ¶
func (v *NullableRelay) UnmarshalJSON(src []byte) error
func (*NullableRelay) Unset ¶
func (v *NullableRelay) Unset()
type NullableScript ¶
type NullableScript struct {
// contains filtered or unexported fields
}
func NewNullableScript ¶
func NewNullableScript(val *Script) *NullableScript
func (NullableScript) Get ¶
func (v NullableScript) Get() *Script
func (NullableScript) IsSet ¶
func (v NullableScript) IsSet() bool
func (NullableScript) MarshalJSON ¶
func (v NullableScript) MarshalJSON() ([]byte, error)
func (*NullableScript) Set ¶
func (v *NullableScript) Set(val *Script)
func (*NullableScript) UnmarshalJSON ¶
func (v *NullableScript) UnmarshalJSON(src []byte) error
func (*NullableScript) Unset ¶
func (v *NullableScript) Unset()
type NullableScriptType ¶
type NullableScriptType struct {
// contains filtered or unexported fields
}
func NewNullableScriptType ¶
func NewNullableScriptType(val *ScriptType) *NullableScriptType
func (NullableScriptType) Get ¶
func (v NullableScriptType) Get() *ScriptType
func (NullableScriptType) IsSet ¶
func (v NullableScriptType) IsSet() bool
func (NullableScriptType) MarshalJSON ¶
func (v NullableScriptType) MarshalJSON() ([]byte, error)
func (*NullableScriptType) Set ¶
func (v *NullableScriptType) Set(val *ScriptType)
func (*NullableScriptType) UnmarshalJSON ¶
func (v *NullableScriptType) UnmarshalJSON(src []byte) error
func (*NullableScriptType) Unset ¶
func (v *NullableScriptType) Unset()
type NullableSpendRedeemer ¶
type NullableSpendRedeemer struct {
// contains filtered or unexported fields
}
func NewNullableSpendRedeemer ¶
func NewNullableSpendRedeemer(val *SpendRedeemer) *NullableSpendRedeemer
func (NullableSpendRedeemer) Get ¶
func (v NullableSpendRedeemer) Get() *SpendRedeemer
func (NullableSpendRedeemer) IsSet ¶
func (v NullableSpendRedeemer) IsSet() bool
func (NullableSpendRedeemer) MarshalJSON ¶
func (v NullableSpendRedeemer) MarshalJSON() ([]byte, error)
func (*NullableSpendRedeemer) Set ¶
func (v *NullableSpendRedeemer) Set(val *SpendRedeemer)
func (*NullableSpendRedeemer) UnmarshalJSON ¶
func (v *NullableSpendRedeemer) UnmarshalJSON(src []byte) error
func (*NullableSpendRedeemer) Unset ¶
func (v *NullableSpendRedeemer) Unset()
type NullableStakeDelegCert ¶
type NullableStakeDelegCert struct {
// contains filtered or unexported fields
}
func NewNullableStakeDelegCert ¶
func NewNullableStakeDelegCert(val *StakeDelegCert) *NullableStakeDelegCert
func (NullableStakeDelegCert) Get ¶
func (v NullableStakeDelegCert) Get() *StakeDelegCert
func (NullableStakeDelegCert) IsSet ¶
func (v NullableStakeDelegCert) IsSet() bool
func (NullableStakeDelegCert) MarshalJSON ¶
func (v NullableStakeDelegCert) MarshalJSON() ([]byte, error)
func (*NullableStakeDelegCert) Set ¶
func (v *NullableStakeDelegCert) Set(val *StakeDelegCert)
func (*NullableStakeDelegCert) UnmarshalJSON ¶
func (v *NullableStakeDelegCert) UnmarshalJSON(src []byte) error
func (*NullableStakeDelegCert) Unset ¶
func (v *NullableStakeDelegCert) Unset()
type NullableStakeRegCert ¶
type NullableStakeRegCert struct {
// contains filtered or unexported fields
}
func NewNullableStakeRegCert ¶
func NewNullableStakeRegCert(val *StakeRegCert) *NullableStakeRegCert
func (NullableStakeRegCert) Get ¶
func (v NullableStakeRegCert) Get() *StakeRegCert
func (NullableStakeRegCert) IsSet ¶
func (v NullableStakeRegCert) IsSet() bool
func (NullableStakeRegCert) MarshalJSON ¶
func (v NullableStakeRegCert) MarshalJSON() ([]byte, error)
func (*NullableStakeRegCert) Set ¶
func (v *NullableStakeRegCert) Set(val *StakeRegCert)
func (*NullableStakeRegCert) UnmarshalJSON ¶
func (v *NullableStakeRegCert) UnmarshalJSON(src []byte) error
func (*NullableStakeRegCert) Unset ¶
func (v *NullableStakeRegCert) Unset()
type NullableStakingCredKind ¶
type NullableStakingCredKind struct {
// contains filtered or unexported fields
}
func NewNullableStakingCredKind ¶
func NewNullableStakingCredKind(val *StakingCredKind) *NullableStakingCredKind
func (NullableStakingCredKind) Get ¶
func (v NullableStakingCredKind) Get() *StakingCredKind
func (NullableStakingCredKind) IsSet ¶
func (v NullableStakingCredKind) IsSet() bool
func (NullableStakingCredKind) MarshalJSON ¶
func (v NullableStakingCredKind) MarshalJSON() ([]byte, error)
func (*NullableStakingCredKind) Set ¶
func (v *NullableStakingCredKind) Set(val *StakingCredKind)
func (*NullableStakingCredKind) UnmarshalJSON ¶
func (v *NullableStakingCredKind) UnmarshalJSON(src []byte) error
func (*NullableStakingCredKind) Unset ¶
func (v *NullableStakingCredKind) Unset()
type NullableStakingCredential ¶
type NullableStakingCredential struct {
// contains filtered or unexported fields
}
func NewNullableStakingCredential ¶
func NewNullableStakingCredential(val *StakingCredential) *NullableStakingCredential
func (NullableStakingCredential) Get ¶
func (v NullableStakingCredential) Get() *StakingCredential
func (NullableStakingCredential) IsSet ¶
func (v NullableStakingCredential) IsSet() bool
func (NullableStakingCredential) MarshalJSON ¶
func (v NullableStakingCredential) MarshalJSON() ([]byte, error)
func (*NullableStakingCredential) Set ¶
func (v *NullableStakingCredential) Set(val *StakingCredential)
func (*NullableStakingCredential) UnmarshalJSON ¶
func (v *NullableStakingCredential) UnmarshalJSON(src []byte) error
func (*NullableStakingCredential) Unset ¶
func (v *NullableStakingCredential) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSystemStart ¶
type NullableSystemStart struct {
// contains filtered or unexported fields
}
func NewNullableSystemStart ¶
func NewNullableSystemStart(val *SystemStart) *NullableSystemStart
func (NullableSystemStart) Get ¶
func (v NullableSystemStart) Get() *SystemStart
func (NullableSystemStart) IsSet ¶
func (v NullableSystemStart) IsSet() bool
func (NullableSystemStart) MarshalJSON ¶
func (v NullableSystemStart) MarshalJSON() ([]byte, error)
func (*NullableSystemStart) Set ¶
func (v *NullableSystemStart) Set(val *SystemStart)
func (*NullableSystemStart) UnmarshalJSON ¶
func (v *NullableSystemStart) UnmarshalJSON(src []byte) error
func (*NullableSystemStart) Unset ¶
func (v *NullableSystemStart) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTokenRegistryMetadata ¶
type NullableTokenRegistryMetadata struct {
// contains filtered or unexported fields
}
func NewNullableTokenRegistryMetadata ¶
func NewNullableTokenRegistryMetadata(val *TokenRegistryMetadata) *NullableTokenRegistryMetadata
func (NullableTokenRegistryMetadata) Get ¶
func (v NullableTokenRegistryMetadata) Get() *TokenRegistryMetadata
func (NullableTokenRegistryMetadata) IsSet ¶
func (v NullableTokenRegistryMetadata) IsSet() bool
func (NullableTokenRegistryMetadata) MarshalJSON ¶
func (v NullableTokenRegistryMetadata) MarshalJSON() ([]byte, error)
func (*NullableTokenRegistryMetadata) Set ¶
func (v *NullableTokenRegistryMetadata) Set(val *TokenRegistryMetadata)
func (*NullableTokenRegistryMetadata) UnmarshalJSON ¶
func (v *NullableTokenRegistryMetadata) UnmarshalJSON(src []byte) error
func (*NullableTokenRegistryMetadata) Unset ¶
func (v *NullableTokenRegistryMetadata) Unset()
type NullableTransactionInfo ¶
type NullableTransactionInfo struct {
// contains filtered or unexported fields
}
func NewNullableTransactionInfo ¶
func NewNullableTransactionInfo(val *TransactionInfo) *NullableTransactionInfo
func (NullableTransactionInfo) Get ¶
func (v NullableTransactionInfo) Get() *TransactionInfo
func (NullableTransactionInfo) IsSet ¶
func (v NullableTransactionInfo) IsSet() bool
func (NullableTransactionInfo) MarshalJSON ¶
func (v NullableTransactionInfo) MarshalJSON() ([]byte, error)
func (*NullableTransactionInfo) Set ¶
func (v *NullableTransactionInfo) Set(val *TransactionInfo)
func (*NullableTransactionInfo) UnmarshalJSON ¶
func (v *NullableTransactionInfo) UnmarshalJSON(src []byte) error
func (*NullableTransactionInfo) Unset ¶
func (v *NullableTransactionInfo) Unset()
type NullableTxCbor ¶
type NullableTxCbor struct {
// contains filtered or unexported fields
}
func NewNullableTxCbor ¶
func NewNullableTxCbor(val *TxCbor) *NullableTxCbor
func (NullableTxCbor) Get ¶
func (v NullableTxCbor) Get() *TxCbor
func (NullableTxCbor) IsSet ¶
func (v NullableTxCbor) IsSet() bool
func (NullableTxCbor) MarshalJSON ¶
func (v NullableTxCbor) MarshalJSON() ([]byte, error)
func (*NullableTxCbor) Set ¶
func (v *NullableTxCbor) Set(val *TxCbor)
func (*NullableTxCbor) UnmarshalJSON ¶
func (v *NullableTxCbor) UnmarshalJSON(src []byte) error
func (*NullableTxCbor) Unset ¶
func (v *NullableTxCbor) Unset()
type NullableTxStatus ¶
type NullableTxStatus struct {
// contains filtered or unexported fields
}
func NewNullableTxStatus ¶
func NewNullableTxStatus(val *TxStatus) *NullableTxStatus
func (NullableTxStatus) Get ¶
func (v NullableTxStatus) Get() *TxStatus
func (NullableTxStatus) IsSet ¶
func (v NullableTxStatus) IsSet() bool
func (NullableTxStatus) MarshalJSON ¶
func (v NullableTxStatus) MarshalJSON() ([]byte, error)
func (*NullableTxStatus) Set ¶
func (v *NullableTxStatus) Set(val *TxStatus)
func (*NullableTxStatus) UnmarshalJSON ¶
func (v *NullableTxStatus) UnmarshalJSON(src []byte) error
func (*NullableTxStatus) Unset ¶
func (v *NullableTxStatus) Unset()
type NullableTxStatusInfo ¶
type NullableTxStatusInfo struct {
// contains filtered or unexported fields
}
func NewNullableTxStatusInfo ¶
func NewNullableTxStatusInfo(val *TxStatusInfo) *NullableTxStatusInfo
func (NullableTxStatusInfo) Get ¶
func (v NullableTxStatusInfo) Get() *TxStatusInfo
func (NullableTxStatusInfo) IsSet ¶
func (v NullableTxStatusInfo) IsSet() bool
func (NullableTxStatusInfo) MarshalJSON ¶
func (v NullableTxStatusInfo) MarshalJSON() ([]byte, error)
func (*NullableTxStatusInfo) Set ¶
func (v *NullableTxStatusInfo) Set(val *TxStatusInfo)
func (*NullableTxStatusInfo) UnmarshalJSON ¶
func (v *NullableTxStatusInfo) UnmarshalJSON(src []byte) error
func (*NullableTxStatusInfo) Unset ¶
func (v *NullableTxStatusInfo) Unset()
type NullableUtxo ¶
type NullableUtxo struct {
// contains filtered or unexported fields
}
func NewNullableUtxo ¶
func NewNullableUtxo(val *Utxo) *NullableUtxo
func (NullableUtxo) Get ¶
func (v NullableUtxo) Get() *Utxo
func (NullableUtxo) IsSet ¶
func (v NullableUtxo) IsSet() bool
func (NullableUtxo) MarshalJSON ¶
func (v NullableUtxo) MarshalJSON() ([]byte, error)
func (*NullableUtxo) Set ¶
func (v *NullableUtxo) Set(val *Utxo)
func (*NullableUtxo) UnmarshalJSON ¶
func (v *NullableUtxo) UnmarshalJSON(src []byte) error
func (*NullableUtxo) Unset ¶
func (v *NullableUtxo) Unset()
type NullableUtxoAddress ¶
type NullableUtxoAddress struct {
// contains filtered or unexported fields
}
func NewNullableUtxoAddress ¶
func NewNullableUtxoAddress(val *UtxoAddress) *NullableUtxoAddress
func (NullableUtxoAddress) Get ¶
func (v NullableUtxoAddress) Get() *UtxoAddress
func (NullableUtxoAddress) IsSet ¶
func (v NullableUtxoAddress) IsSet() bool
func (NullableUtxoAddress) MarshalJSON ¶
func (v NullableUtxoAddress) MarshalJSON() ([]byte, error)
func (*NullableUtxoAddress) Set ¶
func (v *NullableUtxoAddress) Set(val *UtxoAddress)
func (*NullableUtxoAddress) UnmarshalJSON ¶
func (v *NullableUtxoAddress) UnmarshalJSON(src []byte) error
func (*NullableUtxoAddress) Unset ¶
func (v *NullableUtxoAddress) Unset()
type NullableUtxoRef ¶
type NullableUtxoRef struct {
// contains filtered or unexported fields
}
func NewNullableUtxoRef ¶
func NewNullableUtxoRef(val *UtxoRef) *NullableUtxoRef
func (NullableUtxoRef) Get ¶
func (v NullableUtxoRef) Get() *UtxoRef
func (NullableUtxoRef) IsSet ¶
func (v NullableUtxoRef) IsSet() bool
func (NullableUtxoRef) MarshalJSON ¶
func (v NullableUtxoRef) MarshalJSON() ([]byte, error)
func (*NullableUtxoRef) Set ¶
func (v *NullableUtxoRef) Set(val *UtxoRef)
func (*NullableUtxoRef) UnmarshalJSON ¶
func (v *NullableUtxoRef) UnmarshalJSON(src []byte) error
func (*NullableUtxoRef) Unset ¶
func (v *NullableUtxoRef) Unset()
type NullableUtxoWithBytes ¶
type NullableUtxoWithBytes struct {
// contains filtered or unexported fields
}
func NewNullableUtxoWithBytes ¶
func NewNullableUtxoWithBytes(val *UtxoWithBytes) *NullableUtxoWithBytes
func (NullableUtxoWithBytes) Get ¶
func (v NullableUtxoWithBytes) Get() *UtxoWithBytes
func (NullableUtxoWithBytes) IsSet ¶
func (v NullableUtxoWithBytes) IsSet() bool
func (NullableUtxoWithBytes) MarshalJSON ¶
func (v NullableUtxoWithBytes) MarshalJSON() ([]byte, error)
func (*NullableUtxoWithBytes) Set ¶
func (v *NullableUtxoWithBytes) Set(val *UtxoWithBytes)
func (*NullableUtxoWithBytes) UnmarshalJSON ¶
func (v *NullableUtxoWithBytes) UnmarshalJSON(src []byte) error
func (*NullableUtxoWithBytes) Unset ¶
func (v *NullableUtxoWithBytes) Unset()
type NullableVersion ¶
type NullableVersion struct {
// contains filtered or unexported fields
}
func NewNullableVersion ¶
func NewNullableVersion(val *Version) *NullableVersion
func (NullableVersion) Get ¶
func (v NullableVersion) Get() *Version
func (NullableVersion) IsSet ¶
func (v NullableVersion) IsSet() bool
func (NullableVersion) MarshalJSON ¶
func (v NullableVersion) MarshalJSON() ([]byte, error)
func (*NullableVersion) Set ¶
func (v *NullableVersion) Set(val *Version)
func (*NullableVersion) UnmarshalJSON ¶
func (v *NullableVersion) UnmarshalJSON(src []byte) error
func (*NullableVersion) Unset ¶
func (v *NullableVersion) Unset()
type NullableWdrlRedeemer ¶
type NullableWdrlRedeemer struct {
// contains filtered or unexported fields
}
func NewNullableWdrlRedeemer ¶
func NewNullableWdrlRedeemer(val *WdrlRedeemer) *NullableWdrlRedeemer
func (NullableWdrlRedeemer) Get ¶
func (v NullableWdrlRedeemer) Get() *WdrlRedeemer
func (NullableWdrlRedeemer) IsSet ¶
func (v NullableWdrlRedeemer) IsSet() bool
func (NullableWdrlRedeemer) MarshalJSON ¶
func (v NullableWdrlRedeemer) MarshalJSON() ([]byte, error)
func (*NullableWdrlRedeemer) Set ¶
func (v *NullableWdrlRedeemer) Set(val *WdrlRedeemer)
func (*NullableWdrlRedeemer) UnmarshalJSON ¶
func (v *NullableWdrlRedeemer) UnmarshalJSON(src []byte) error
func (*NullableWdrlRedeemer) Unset ¶
func (v *NullableWdrlRedeemer) Unset()
type NullableWithdrawal ¶
type NullableWithdrawal struct {
// contains filtered or unexported fields
}
func NewNullableWithdrawal ¶
func NewNullableWithdrawal(val *Withdrawal) *NullableWithdrawal
func (NullableWithdrawal) Get ¶
func (v NullableWithdrawal) Get() *Withdrawal
func (NullableWithdrawal) IsSet ¶
func (v NullableWithdrawal) IsSet() bool
func (NullableWithdrawal) MarshalJSON ¶
func (v NullableWithdrawal) MarshalJSON() ([]byte, error)
func (*NullableWithdrawal) Set ¶
func (v *NullableWithdrawal) Set(val *Withdrawal)
func (*NullableWithdrawal) UnmarshalJSON ¶
func (v *NullableWithdrawal) UnmarshalJSON(src []byte) error
func (*NullableWithdrawal) Unset ¶
func (v *NullableWithdrawal) Unset()
type PaymentCredKind ¶
type PaymentCredKind string
PaymentCredKind the model 'PaymentCredKind'
const ( PAYMENTCREDKIND_KEY PaymentCredKind = "key" PAYMENTCREDKIND_SCRIPT PaymentCredKind = "script" )
List of PaymentCredKind
func NewPaymentCredKindFromValue ¶
func NewPaymentCredKindFromValue(v string) (*PaymentCredKind, error)
NewPaymentCredKindFromValue returns a pointer to a valid PaymentCredKind for the value passed as argument, or an error if the value passed is not allowed by the enum
func (PaymentCredKind) IsValid ¶
func (v PaymentCredKind) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (PaymentCredKind) Ptr ¶
func (v PaymentCredKind) Ptr() *PaymentCredKind
Ptr returns reference to PaymentCredKind value
func (*PaymentCredKind) UnmarshalJSON ¶
func (v *PaymentCredKind) UnmarshalJSON(src []byte) error
type PaymentCredential ¶
type PaymentCredential struct { Bech32 string `json:"bech32"` Hex string `json:"hex"` Kind PaymentCredKind `json:"kind"` }
PaymentCredential struct for PaymentCredential
func NewPaymentCredential ¶
func NewPaymentCredential(bech32 string, hex string, kind PaymentCredKind) *PaymentCredential
NewPaymentCredential instantiates a new PaymentCredential object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPaymentCredentialWithDefaults ¶
func NewPaymentCredentialWithDefaults() *PaymentCredential
NewPaymentCredentialWithDefaults instantiates a new PaymentCredential object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PaymentCredential) GetBech32 ¶
func (o *PaymentCredential) GetBech32() string
GetBech32 returns the Bech32 field value
func (*PaymentCredential) GetBech32Ok ¶
func (o *PaymentCredential) GetBech32Ok() (*string, bool)
GetBech32Ok returns a tuple with the Bech32 field value and a boolean to check if the value has been set.
func (*PaymentCredential) GetHex ¶
func (o *PaymentCredential) GetHex() string
GetHex returns the Hex field value
func (*PaymentCredential) GetHexOk ¶
func (o *PaymentCredential) GetHexOk() (*string, bool)
GetHexOk returns a tuple with the Hex field value and a boolean to check if the value has been set.
func (*PaymentCredential) GetKind ¶
func (o *PaymentCredential) GetKind() PaymentCredKind
GetKind returns the Kind field value
func (*PaymentCredential) GetKindOk ¶
func (o *PaymentCredential) GetKindOk() (*PaymentCredKind, bool)
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (PaymentCredential) MarshalJSON ¶
func (o PaymentCredential) MarshalJSON() ([]byte, error)
func (*PaymentCredential) SetBech32 ¶
func (o *PaymentCredential) SetBech32(v string)
SetBech32 sets field value
func (*PaymentCredential) SetHex ¶
func (o *PaymentCredential) SetHex(v string)
SetHex sets field value
func (*PaymentCredential) SetKind ¶
func (o *PaymentCredential) SetKind(v PaymentCredKind)
SetKind sets field value
func (PaymentCredential) ToMap ¶
func (o PaymentCredential) ToMap() (map[string]interface{}, error)
type Pointer ¶
type Pointer struct { CertIndex int64 `json:"cert_index"` Slot int64 `json:"slot"` TxIndex int64 `json:"tx_index"` }
Pointer struct for Pointer
func NewPointer ¶
NewPointer instantiates a new Pointer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPointerWithDefaults ¶
func NewPointerWithDefaults() *Pointer
NewPointerWithDefaults instantiates a new Pointer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Pointer) GetCertIndex ¶
GetCertIndex returns the CertIndex field value
func (*Pointer) GetCertIndexOk ¶
GetCertIndexOk returns a tuple with the CertIndex field value and a boolean to check if the value has been set.
func (*Pointer) GetSlotOk ¶
GetSlotOk returns a tuple with the Slot field value and a boolean to check if the value has been set.
func (*Pointer) GetTxIndex ¶
GetTxIndex returns the TxIndex field value
func (*Pointer) GetTxIndexOk ¶
GetTxIndexOk returns a tuple with the TxIndex field value and a boolean to check if the value has been set.
func (Pointer) MarshalJSON ¶
func (*Pointer) SetCertIndex ¶
SetCertIndex sets field value
type PolicyHolder ¶
type PolicyHolder struct { // Address of the holder Address string `json:"address"` Assets []AssetInPolicy `json:"assets"` }
PolicyHolder Holder of assets of a specific policy
func NewPolicyHolder ¶
func NewPolicyHolder(address string, assets []AssetInPolicy) *PolicyHolder
NewPolicyHolder instantiates a new PolicyHolder object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPolicyHolderWithDefaults ¶
func NewPolicyHolderWithDefaults() *PolicyHolder
NewPolicyHolderWithDefaults instantiates a new PolicyHolder object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PolicyHolder) GetAddress ¶
func (o *PolicyHolder) GetAddress() string
GetAddress returns the Address field value
func (*PolicyHolder) GetAddressOk ¶
func (o *PolicyHolder) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*PolicyHolder) GetAssets ¶
func (o *PolicyHolder) GetAssets() []AssetInPolicy
GetAssets returns the Assets field value
func (*PolicyHolder) GetAssetsOk ¶
func (o *PolicyHolder) GetAssetsOk() ([]AssetInPolicy, bool)
GetAssetsOk returns a tuple with the Assets field value and a boolean to check if the value has been set.
func (PolicyHolder) MarshalJSON ¶
func (o PolicyHolder) MarshalJSON() ([]byte, error)
func (*PolicyHolder) SetAddress ¶
func (o *PolicyHolder) SetAddress(v string)
SetAddress sets field value
func (*PolicyHolder) SetAssets ¶
func (o *PolicyHolder) SetAssets(v []AssetInPolicy)
SetAssets sets field value
func (PolicyHolder) ToMap ¶
func (o PolicyHolder) ToMap() (map[string]interface{}, error)
type PolicyUtxo ¶
type PolicyUtxo struct { // Address which controls the UTxO Address string `json:"address"` Assets []AssetInPolicy `json:"assets"` // UTxO transaction index Index int32 `json:"index"` // UTxO transaction hash TxHash string `json:"tx_hash"` }
PolicyUtxo UTxO which contains assets of a specific policy
func NewPolicyUtxo ¶
func NewPolicyUtxo(address string, assets []AssetInPolicy, index int32, txHash string) *PolicyUtxo
NewPolicyUtxo instantiates a new PolicyUtxo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPolicyUtxoWithDefaults ¶
func NewPolicyUtxoWithDefaults() *PolicyUtxo
NewPolicyUtxoWithDefaults instantiates a new PolicyUtxo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PolicyUtxo) GetAddress ¶
func (o *PolicyUtxo) GetAddress() string
GetAddress returns the Address field value
func (*PolicyUtxo) GetAddressOk ¶
func (o *PolicyUtxo) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*PolicyUtxo) GetAssets ¶
func (o *PolicyUtxo) GetAssets() []AssetInPolicy
GetAssets returns the Assets field value
func (*PolicyUtxo) GetAssetsOk ¶
func (o *PolicyUtxo) GetAssetsOk() ([]AssetInPolicy, bool)
GetAssetsOk returns a tuple with the Assets field value and a boolean to check if the value has been set.
func (*PolicyUtxo) GetIndex ¶
func (o *PolicyUtxo) GetIndex() int32
GetIndex returns the Index field value
func (*PolicyUtxo) GetIndexOk ¶
func (o *PolicyUtxo) GetIndexOk() (*int32, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*PolicyUtxo) GetTxHash ¶
func (o *PolicyUtxo) GetTxHash() string
GetTxHash returns the TxHash field value
func (*PolicyUtxo) GetTxHashOk ¶
func (o *PolicyUtxo) GetTxHashOk() (*string, bool)
GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.
func (PolicyUtxo) MarshalJSON ¶
func (o PolicyUtxo) MarshalJSON() ([]byte, error)
func (*PolicyUtxo) SetAddress ¶
func (o *PolicyUtxo) SetAddress(v string)
SetAddress sets field value
func (*PolicyUtxo) SetAssets ¶
func (o *PolicyUtxo) SetAssets(v []AssetInPolicy)
SetAssets sets field value
func (PolicyUtxo) ToMap ¶
func (o PolicyUtxo) ToMap() (map[string]interface{}, error)
type PoolBlock ¶
type PoolBlock struct { // Absolute slot of the block AbsSlot *int64 `json:"abs_slot,omitempty"` // Block hash BlockHash string `json:"block_hash"` // Block height (block number) BlockHeight int32 `json:"block_height"` // UNIX timestamp when the block was mined BlockTime int32 `json:"block_time"` // Epoch number EpochNo *int32 `json:"epoch_no,omitempty"` // Epoch slot EpochSlot *int32 `json:"epoch_slot,omitempty"` }
PoolBlock Block created by a stake pool
func NewPoolBlock ¶
NewPoolBlock instantiates a new PoolBlock object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPoolBlockWithDefaults ¶
func NewPoolBlockWithDefaults() *PoolBlock
NewPoolBlockWithDefaults instantiates a new PoolBlock object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PoolBlock) GetAbsSlot ¶
GetAbsSlot returns the AbsSlot field value if set, zero value otherwise.
func (*PoolBlock) GetAbsSlotOk ¶
GetAbsSlotOk returns a tuple with the AbsSlot field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolBlock) GetBlockHash ¶
GetBlockHash returns the BlockHash field value
func (*PoolBlock) GetBlockHashOk ¶
GetBlockHashOk returns a tuple with the BlockHash field value and a boolean to check if the value has been set.
func (*PoolBlock) GetBlockHeight ¶
GetBlockHeight returns the BlockHeight field value
func (*PoolBlock) GetBlockHeightOk ¶
GetBlockHeightOk returns a tuple with the BlockHeight field value and a boolean to check if the value has been set.
func (*PoolBlock) GetBlockTime ¶
GetBlockTime returns the BlockTime field value
func (*PoolBlock) GetBlockTimeOk ¶
GetBlockTimeOk returns a tuple with the BlockTime field value and a boolean to check if the value has been set.
func (*PoolBlock) GetEpochNo ¶
GetEpochNo returns the EpochNo field value if set, zero value otherwise.
func (*PoolBlock) GetEpochNoOk ¶
GetEpochNoOk returns a tuple with the EpochNo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolBlock) GetEpochSlot ¶
GetEpochSlot returns the EpochSlot field value if set, zero value otherwise.
func (*PoolBlock) GetEpochSlotOk ¶
GetEpochSlotOk returns a tuple with the EpochSlot field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolBlock) HasAbsSlot ¶
HasAbsSlot returns a boolean if a field has been set.
func (*PoolBlock) HasEpochNo ¶
HasEpochNo returns a boolean if a field has been set.
func (*PoolBlock) HasEpochSlot ¶
HasEpochSlot returns a boolean if a field has been set.
func (PoolBlock) MarshalJSON ¶
func (*PoolBlock) SetAbsSlot ¶
SetAbsSlot gets a reference to the given int64 and assigns it to the AbsSlot field.
func (*PoolBlock) SetBlockHash ¶
SetBlockHash sets field value
func (*PoolBlock) SetBlockHeight ¶
SetBlockHeight sets field value
func (*PoolBlock) SetBlockTime ¶
SetBlockTime sets field value
func (*PoolBlock) SetEpochNo ¶
SetEpochNo gets a reference to the given int32 and assigns it to the EpochNo field.
func (*PoolBlock) SetEpochSlot ¶
SetEpochSlot gets a reference to the given int32 and assigns it to the EpochSlot field.
type PoolHistory ¶
type PoolHistory struct { // Active stake in the epoch ActiveStake *int64 `json:"active_stake,omitempty"` // Pool active stake as percentage of total active stake ActiveStakePct *string `json:"active_stake_pct,omitempty"` // Blocks created in the epoch BlockCnt *int64 `json:"block_cnt,omitempty"` // Total rewards earned by pool delegators for the epoch DelegRewards int64 `json:"deleg_rewards"` // Delegators in the epoch DelegatorCnt *int64 `json:"delegator_cnt,omitempty"` // Epoch number EpochNo int64 `json:"epoch_no"` // Annual return percentage for delegators for the epoch EpochRos string `json:"epoch_ros"` // Pool fixed cost FixedCost int64 `json:"fixed_cost"` // Pool margin Margin *float32 `json:"margin,omitempty"` // Fees collected for the epoch PoolFees int64 `json:"pool_fees"` // Pool saturation percent SaturationPct *string `json:"saturation_pct,omitempty"` }
PoolHistory Per-epoch history of a stake pool
func NewPoolHistory ¶
func NewPoolHistory(delegRewards int64, epochNo int64, epochRos string, fixedCost int64, poolFees int64) *PoolHistory
NewPoolHistory instantiates a new PoolHistory object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPoolHistoryWithDefaults ¶
func NewPoolHistoryWithDefaults() *PoolHistory
NewPoolHistoryWithDefaults instantiates a new PoolHistory object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PoolHistory) GetActiveStake ¶
func (o *PoolHistory) GetActiveStake() int64
GetActiveStake returns the ActiveStake field value if set, zero value otherwise.
func (*PoolHistory) GetActiveStakeOk ¶
func (o *PoolHistory) GetActiveStakeOk() (*int64, bool)
GetActiveStakeOk returns a tuple with the ActiveStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolHistory) GetActiveStakePct ¶
func (o *PoolHistory) GetActiveStakePct() string
GetActiveStakePct returns the ActiveStakePct field value if set, zero value otherwise.
func (*PoolHistory) GetActiveStakePctOk ¶
func (o *PoolHistory) GetActiveStakePctOk() (*string, bool)
GetActiveStakePctOk returns a tuple with the ActiveStakePct field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolHistory) GetBlockCnt ¶
func (o *PoolHistory) GetBlockCnt() int64
GetBlockCnt returns the BlockCnt field value if set, zero value otherwise.
func (*PoolHistory) GetBlockCntOk ¶
func (o *PoolHistory) GetBlockCntOk() (*int64, bool)
GetBlockCntOk returns a tuple with the BlockCnt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolHistory) GetDelegRewards ¶
func (o *PoolHistory) GetDelegRewards() int64
GetDelegRewards returns the DelegRewards field value
func (*PoolHistory) GetDelegRewardsOk ¶
func (o *PoolHistory) GetDelegRewardsOk() (*int64, bool)
GetDelegRewardsOk returns a tuple with the DelegRewards field value and a boolean to check if the value has been set.
func (*PoolHistory) GetDelegatorCnt ¶
func (o *PoolHistory) GetDelegatorCnt() int64
GetDelegatorCnt returns the DelegatorCnt field value if set, zero value otherwise.
func (*PoolHistory) GetDelegatorCntOk ¶
func (o *PoolHistory) GetDelegatorCntOk() (*int64, bool)
GetDelegatorCntOk returns a tuple with the DelegatorCnt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolHistory) GetEpochNo ¶
func (o *PoolHistory) GetEpochNo() int64
GetEpochNo returns the EpochNo field value
func (*PoolHistory) GetEpochNoOk ¶
func (o *PoolHistory) GetEpochNoOk() (*int64, bool)
GetEpochNoOk returns a tuple with the EpochNo field value and a boolean to check if the value has been set.
func (*PoolHistory) GetEpochRos ¶
func (o *PoolHistory) GetEpochRos() string
GetEpochRos returns the EpochRos field value
func (*PoolHistory) GetEpochRosOk ¶
func (o *PoolHistory) GetEpochRosOk() (*string, bool)
GetEpochRosOk returns a tuple with the EpochRos field value and a boolean to check if the value has been set.
func (*PoolHistory) GetFixedCost ¶
func (o *PoolHistory) GetFixedCost() int64
GetFixedCost returns the FixedCost field value
func (*PoolHistory) GetFixedCostOk ¶
func (o *PoolHistory) GetFixedCostOk() (*int64, bool)
GetFixedCostOk returns a tuple with the FixedCost field value and a boolean to check if the value has been set.
func (*PoolHistory) GetMargin ¶
func (o *PoolHistory) GetMargin() float32
GetMargin returns the Margin field value if set, zero value otherwise.
func (*PoolHistory) GetMarginOk ¶
func (o *PoolHistory) GetMarginOk() (*float32, bool)
GetMarginOk returns a tuple with the Margin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolHistory) GetPoolFees ¶
func (o *PoolHistory) GetPoolFees() int64
GetPoolFees returns the PoolFees field value
func (*PoolHistory) GetPoolFeesOk ¶
func (o *PoolHistory) GetPoolFeesOk() (*int64, bool)
GetPoolFeesOk returns a tuple with the PoolFees field value and a boolean to check if the value has been set.
func (*PoolHistory) GetSaturationPct ¶
func (o *PoolHistory) GetSaturationPct() string
GetSaturationPct returns the SaturationPct field value if set, zero value otherwise.
func (*PoolHistory) GetSaturationPctOk ¶
func (o *PoolHistory) GetSaturationPctOk() (*string, bool)
GetSaturationPctOk returns a tuple with the SaturationPct field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolHistory) HasActiveStake ¶
func (o *PoolHistory) HasActiveStake() bool
HasActiveStake returns a boolean if a field has been set.
func (*PoolHistory) HasActiveStakePct ¶
func (o *PoolHistory) HasActiveStakePct() bool
HasActiveStakePct returns a boolean if a field has been set.
func (*PoolHistory) HasBlockCnt ¶
func (o *PoolHistory) HasBlockCnt() bool
HasBlockCnt returns a boolean if a field has been set.
func (*PoolHistory) HasDelegatorCnt ¶
func (o *PoolHistory) HasDelegatorCnt() bool
HasDelegatorCnt returns a boolean if a field has been set.
func (*PoolHistory) HasMargin ¶
func (o *PoolHistory) HasMargin() bool
HasMargin returns a boolean if a field has been set.
func (*PoolHistory) HasSaturationPct ¶
func (o *PoolHistory) HasSaturationPct() bool
HasSaturationPct returns a boolean if a field has been set.
func (PoolHistory) MarshalJSON ¶
func (o PoolHistory) MarshalJSON() ([]byte, error)
func (*PoolHistory) SetActiveStake ¶
func (o *PoolHistory) SetActiveStake(v int64)
SetActiveStake gets a reference to the given int64 and assigns it to the ActiveStake field.
func (*PoolHistory) SetActiveStakePct ¶
func (o *PoolHistory) SetActiveStakePct(v string)
SetActiveStakePct gets a reference to the given string and assigns it to the ActiveStakePct field.
func (*PoolHistory) SetBlockCnt ¶
func (o *PoolHistory) SetBlockCnt(v int64)
SetBlockCnt gets a reference to the given int64 and assigns it to the BlockCnt field.
func (*PoolHistory) SetDelegRewards ¶
func (o *PoolHistory) SetDelegRewards(v int64)
SetDelegRewards sets field value
func (*PoolHistory) SetDelegatorCnt ¶
func (o *PoolHistory) SetDelegatorCnt(v int64)
SetDelegatorCnt gets a reference to the given int64 and assigns it to the DelegatorCnt field.
func (*PoolHistory) SetEpochNo ¶
func (o *PoolHistory) SetEpochNo(v int64)
SetEpochNo sets field value
func (*PoolHistory) SetEpochRos ¶
func (o *PoolHistory) SetEpochRos(v string)
SetEpochRos sets field value
func (*PoolHistory) SetFixedCost ¶
func (o *PoolHistory) SetFixedCost(v int64)
SetFixedCost sets field value
func (*PoolHistory) SetMargin ¶
func (o *PoolHistory) SetMargin(v float32)
SetMargin gets a reference to the given float32 and assigns it to the Margin field.
func (*PoolHistory) SetPoolFees ¶
func (o *PoolHistory) SetPoolFees(v int64)
SetPoolFees sets field value
func (*PoolHistory) SetSaturationPct ¶
func (o *PoolHistory) SetSaturationPct(v string)
SetSaturationPct gets a reference to the given string and assigns it to the SaturationPct field.
func (PoolHistory) ToMap ¶
func (o PoolHistory) ToMap() (map[string]interface{}, error)
type PoolInfo ¶
type PoolInfo struct { // Epoch when the update takes effect ActiveEpochNo int64 `json:"active_epoch_no"` // Active stake ActiveStake *int64 `json:"active_stake,omitempty"` // Number of blocks created BlockCount *int64 `json:"block_count,omitempty"` // Pool fixed cost FixedCost int64 `json:"fixed_cost"` // Number of current delegators LiveDelegators int64 `json:"live_delegators"` // Account balance of pool owners LivePledge *int64 `json:"live_pledge,omitempty"` // Live saturation LiveSaturation *string `json:"live_saturation,omitempty"` // Live stake LiveStake *int64 `json:"live_stake,omitempty"` // Pool margin Margin float32 `json:"margin"` // Hash of the pool metadata MetaHash *string `json:"meta_hash,omitempty"` MetaJson *PoolMetaJson `json:"meta_json,omitempty"` // URL pointing to the pool metadata MetaUrl *string `json:"meta_url,omitempty"` // Pool operational certificate OpCert *string `json:"op_cert,omitempty"` // Operational certificate counter OpCertCounter *int64 `json:"op_cert_counter,omitempty"` Owners []string `json:"owners"` // Pool pledge Pledge int64 `json:"pledge"` // Bech32 encoded pool ID PoolIdBech32 string `json:"pool_id_bech32"` // Hex encoded pool ID PoolIdHex string `json:"pool_id_hex"` // Status of the pool PoolStatus *string `json:"pool_status,omitempty"` Relays []Relay `json:"relays"` // Epoch at which the pool will be retired RetiringEpoch *int32 `json:"retiring_epoch,omitempty"` // Reward address associated with the pool RewardAddr *string `json:"reward_addr,omitempty"` // Pool stake share Sigma *string `json:"sigma,omitempty"` // VRF key hash VrfKeyHash string `json:"vrf_key_hash"` }
PoolInfo Information summary of a stake pool
func NewPoolInfo ¶
func NewPoolInfo(activeEpochNo int64, fixedCost int64, liveDelegators int64, margin float32, owners []string, pledge int64, poolIdBech32 string, poolIdHex string, relays []Relay, vrfKeyHash string) *PoolInfo
NewPoolInfo instantiates a new PoolInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPoolInfoWithDefaults ¶
func NewPoolInfoWithDefaults() *PoolInfo
NewPoolInfoWithDefaults instantiates a new PoolInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PoolInfo) GetActiveEpochNo ¶
GetActiveEpochNo returns the ActiveEpochNo field value
func (*PoolInfo) GetActiveEpochNoOk ¶
GetActiveEpochNoOk returns a tuple with the ActiveEpochNo field value and a boolean to check if the value has been set.
func (*PoolInfo) GetActiveStake ¶
GetActiveStake returns the ActiveStake field value if set, zero value otherwise.
func (*PoolInfo) GetActiveStakeOk ¶
GetActiveStakeOk returns a tuple with the ActiveStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetBlockCount ¶
GetBlockCount returns the BlockCount field value if set, zero value otherwise.
func (*PoolInfo) GetBlockCountOk ¶
GetBlockCountOk returns a tuple with the BlockCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetFixedCost ¶
GetFixedCost returns the FixedCost field value
func (*PoolInfo) GetFixedCostOk ¶
GetFixedCostOk returns a tuple with the FixedCost field value and a boolean to check if the value has been set.
func (*PoolInfo) GetLiveDelegators ¶
GetLiveDelegators returns the LiveDelegators field value
func (*PoolInfo) GetLiveDelegatorsOk ¶
GetLiveDelegatorsOk returns a tuple with the LiveDelegators field value and a boolean to check if the value has been set.
func (*PoolInfo) GetLivePledge ¶
GetLivePledge returns the LivePledge field value if set, zero value otherwise.
func (*PoolInfo) GetLivePledgeOk ¶
GetLivePledgeOk returns a tuple with the LivePledge field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetLiveSaturation ¶
GetLiveSaturation returns the LiveSaturation field value if set, zero value otherwise.
func (*PoolInfo) GetLiveSaturationOk ¶
GetLiveSaturationOk returns a tuple with the LiveSaturation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetLiveStake ¶
GetLiveStake returns the LiveStake field value if set, zero value otherwise.
func (*PoolInfo) GetLiveStakeOk ¶
GetLiveStakeOk returns a tuple with the LiveStake field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetMarginOk ¶
GetMarginOk returns a tuple with the Margin field value and a boolean to check if the value has been set.
func (*PoolInfo) GetMetaHash ¶
GetMetaHash returns the MetaHash field value if set, zero value otherwise.
func (*PoolInfo) GetMetaHashOk ¶
GetMetaHashOk returns a tuple with the MetaHash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetMetaJson ¶
func (o *PoolInfo) GetMetaJson() PoolMetaJson
GetMetaJson returns the MetaJson field value if set, zero value otherwise.
func (*PoolInfo) GetMetaJsonOk ¶
func (o *PoolInfo) GetMetaJsonOk() (*PoolMetaJson, bool)
GetMetaJsonOk returns a tuple with the MetaJson field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetMetaUrl ¶
GetMetaUrl returns the MetaUrl field value if set, zero value otherwise.
func (*PoolInfo) GetMetaUrlOk ¶
GetMetaUrlOk returns a tuple with the MetaUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetOpCertCounter ¶
GetOpCertCounter returns the OpCertCounter field value if set, zero value otherwise.
func (*PoolInfo) GetOpCertCounterOk ¶
GetOpCertCounterOk returns a tuple with the OpCertCounter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetOpCertOk ¶
GetOpCertOk returns a tuple with the OpCert field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetOwnersOk ¶
GetOwnersOk returns a tuple with the Owners field value and a boolean to check if the value has been set.
func (*PoolInfo) GetPledgeOk ¶
GetPledgeOk returns a tuple with the Pledge field value and a boolean to check if the value has been set.
func (*PoolInfo) GetPoolIdBech32 ¶
GetPoolIdBech32 returns the PoolIdBech32 field value
func (*PoolInfo) GetPoolIdBech32Ok ¶
GetPoolIdBech32Ok returns a tuple with the PoolIdBech32 field value and a boolean to check if the value has been set.
func (*PoolInfo) GetPoolIdHex ¶
GetPoolIdHex returns the PoolIdHex field value
func (*PoolInfo) GetPoolIdHexOk ¶
GetPoolIdHexOk returns a tuple with the PoolIdHex field value and a boolean to check if the value has been set.
func (*PoolInfo) GetPoolStatus ¶
GetPoolStatus returns the PoolStatus field value if set, zero value otherwise.
func (*PoolInfo) GetPoolStatusOk ¶
GetPoolStatusOk returns a tuple with the PoolStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetRelaysOk ¶
GetRelaysOk returns a tuple with the Relays field value and a boolean to check if the value has been set.
func (*PoolInfo) GetRetiringEpoch ¶
GetRetiringEpoch returns the RetiringEpoch field value if set, zero value otherwise.
func (*PoolInfo) GetRetiringEpochOk ¶
GetRetiringEpochOk returns a tuple with the RetiringEpoch field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetRewardAddr ¶
GetRewardAddr returns the RewardAddr field value if set, zero value otherwise.
func (*PoolInfo) GetRewardAddrOk ¶
GetRewardAddrOk returns a tuple with the RewardAddr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetSigmaOk ¶
GetSigmaOk returns a tuple with the Sigma field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolInfo) GetVrfKeyHash ¶
GetVrfKeyHash returns the VrfKeyHash field value
func (*PoolInfo) GetVrfKeyHashOk ¶
GetVrfKeyHashOk returns a tuple with the VrfKeyHash field value and a boolean to check if the value has been set.
func (*PoolInfo) HasActiveStake ¶
HasActiveStake returns a boolean if a field has been set.
func (*PoolInfo) HasBlockCount ¶
HasBlockCount returns a boolean if a field has been set.
func (*PoolInfo) HasLivePledge ¶
HasLivePledge returns a boolean if a field has been set.
func (*PoolInfo) HasLiveSaturation ¶
HasLiveSaturation returns a boolean if a field has been set.
func (*PoolInfo) HasLiveStake ¶
HasLiveStake returns a boolean if a field has been set.
func (*PoolInfo) HasMetaHash ¶
HasMetaHash returns a boolean if a field has been set.
func (*PoolInfo) HasMetaJson ¶
HasMetaJson returns a boolean if a field has been set.
func (*PoolInfo) HasMetaUrl ¶
HasMetaUrl returns a boolean if a field has been set.
func (*PoolInfo) HasOpCertCounter ¶
HasOpCertCounter returns a boolean if a field has been set.
func (*PoolInfo) HasPoolStatus ¶
HasPoolStatus returns a boolean if a field has been set.
func (*PoolInfo) HasRetiringEpoch ¶
HasRetiringEpoch returns a boolean if a field has been set.
func (*PoolInfo) HasRewardAddr ¶
HasRewardAddr returns a boolean if a field has been set.
func (PoolInfo) MarshalJSON ¶
func (*PoolInfo) SetActiveEpochNo ¶
SetActiveEpochNo sets field value
func (*PoolInfo) SetActiveStake ¶
SetActiveStake gets a reference to the given int64 and assigns it to the ActiveStake field.
func (*PoolInfo) SetBlockCount ¶
SetBlockCount gets a reference to the given int64 and assigns it to the BlockCount field.
func (*PoolInfo) SetFixedCost ¶
SetFixedCost sets field value
func (*PoolInfo) SetLiveDelegators ¶
SetLiveDelegators sets field value
func (*PoolInfo) SetLivePledge ¶
SetLivePledge gets a reference to the given int64 and assigns it to the LivePledge field.
func (*PoolInfo) SetLiveSaturation ¶
SetLiveSaturation gets a reference to the given string and assigns it to the LiveSaturation field.
func (*PoolInfo) SetLiveStake ¶
SetLiveStake gets a reference to the given int64 and assigns it to the LiveStake field.
func (*PoolInfo) SetMetaHash ¶
SetMetaHash gets a reference to the given string and assigns it to the MetaHash field.
func (*PoolInfo) SetMetaJson ¶
func (o *PoolInfo) SetMetaJson(v PoolMetaJson)
SetMetaJson gets a reference to the given PoolMetaJson and assigns it to the MetaJson field.
func (*PoolInfo) SetMetaUrl ¶
SetMetaUrl gets a reference to the given string and assigns it to the MetaUrl field.
func (*PoolInfo) SetOpCert ¶
SetOpCert gets a reference to the given string and assigns it to the OpCert field.
func (*PoolInfo) SetOpCertCounter ¶
SetOpCertCounter gets a reference to the given int64 and assigns it to the OpCertCounter field.
func (*PoolInfo) SetPoolIdBech32 ¶
SetPoolIdBech32 sets field value
func (*PoolInfo) SetPoolIdHex ¶
SetPoolIdHex sets field value
func (*PoolInfo) SetPoolStatus ¶
SetPoolStatus gets a reference to the given string and assigns it to the PoolStatus field.
func (*PoolInfo) SetRetiringEpoch ¶
SetRetiringEpoch gets a reference to the given int32 and assigns it to the RetiringEpoch field.
func (*PoolInfo) SetRewardAddr ¶
SetRewardAddr gets a reference to the given string and assigns it to the RewardAddr field.
func (*PoolInfo) SetSigma ¶
SetSigma gets a reference to the given string and assigns it to the Sigma field.
func (*PoolInfo) SetVrfKeyHash ¶
SetVrfKeyHash sets field value
type PoolListInfo ¶
type PoolListInfo struct { // Bech32 encoded pool ID PoolIdBech32 string `json:"pool_id_bech32"` // Pool ticker symbol Ticker *string `json:"ticker,omitempty"` }
PoolListInfo Stake pool identifier
func NewPoolListInfo ¶
func NewPoolListInfo(poolIdBech32 string) *PoolListInfo
NewPoolListInfo instantiates a new PoolListInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPoolListInfoWithDefaults ¶
func NewPoolListInfoWithDefaults() *PoolListInfo
NewPoolListInfoWithDefaults instantiates a new PoolListInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PoolListInfo) GetPoolIdBech32 ¶
func (o *PoolListInfo) GetPoolIdBech32() string
GetPoolIdBech32 returns the PoolIdBech32 field value
func (*PoolListInfo) GetPoolIdBech32Ok ¶
func (o *PoolListInfo) GetPoolIdBech32Ok() (*string, bool)
GetPoolIdBech32Ok returns a tuple with the PoolIdBech32 field value and a boolean to check if the value has been set.
func (*PoolListInfo) GetTicker ¶
func (o *PoolListInfo) GetTicker() string
GetTicker returns the Ticker field value if set, zero value otherwise.
func (*PoolListInfo) GetTickerOk ¶
func (o *PoolListInfo) GetTickerOk() (*string, bool)
GetTickerOk returns a tuple with the Ticker field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolListInfo) HasTicker ¶
func (o *PoolListInfo) HasTicker() bool
HasTicker returns a boolean if a field has been set.
func (PoolListInfo) MarshalJSON ¶
func (o PoolListInfo) MarshalJSON() ([]byte, error)
func (*PoolListInfo) SetPoolIdBech32 ¶
func (o *PoolListInfo) SetPoolIdBech32(v string)
SetPoolIdBech32 sets field value
func (*PoolListInfo) SetTicker ¶
func (o *PoolListInfo) SetTicker(v string)
SetTicker gets a reference to the given string and assigns it to the Ticker field.
func (PoolListInfo) ToMap ¶
func (o PoolListInfo) ToMap() (map[string]interface{}, error)
type PoolMetaJson ¶
type PoolMetaJson struct { // Pool description Description *string `json:"description,omitempty"` // Pool home page URL Homepage *string `json:"homepage,omitempty"` // Pool name Name string `json:"name"` // Pool ticker symbol Ticker *string `json:"ticker,omitempty"` }
PoolMetaJson JSON metadata associated with a stake pool
func NewPoolMetaJson ¶
func NewPoolMetaJson(name string) *PoolMetaJson
NewPoolMetaJson instantiates a new PoolMetaJson object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPoolMetaJsonWithDefaults ¶
func NewPoolMetaJsonWithDefaults() *PoolMetaJson
NewPoolMetaJsonWithDefaults instantiates a new PoolMetaJson object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PoolMetaJson) GetDescription ¶
func (o *PoolMetaJson) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*PoolMetaJson) GetDescriptionOk ¶
func (o *PoolMetaJson) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolMetaJson) GetHomepage ¶
func (o *PoolMetaJson) GetHomepage() string
GetHomepage returns the Homepage field value if set, zero value otherwise.
func (*PoolMetaJson) GetHomepageOk ¶
func (o *PoolMetaJson) GetHomepageOk() (*string, bool)
GetHomepageOk returns a tuple with the Homepage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolMetaJson) GetName ¶
func (o *PoolMetaJson) GetName() string
GetName returns the Name field value
func (*PoolMetaJson) GetNameOk ¶
func (o *PoolMetaJson) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*PoolMetaJson) GetTicker ¶
func (o *PoolMetaJson) GetTicker() string
GetTicker returns the Ticker field value if set, zero value otherwise.
func (*PoolMetaJson) GetTickerOk ¶
func (o *PoolMetaJson) GetTickerOk() (*string, bool)
GetTickerOk returns a tuple with the Ticker field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolMetaJson) HasDescription ¶
func (o *PoolMetaJson) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*PoolMetaJson) HasHomepage ¶
func (o *PoolMetaJson) HasHomepage() bool
HasHomepage returns a boolean if a field has been set.
func (*PoolMetaJson) HasTicker ¶
func (o *PoolMetaJson) HasTicker() bool
HasTicker returns a boolean if a field has been set.
func (PoolMetaJson) MarshalJSON ¶
func (o PoolMetaJson) MarshalJSON() ([]byte, error)
func (*PoolMetaJson) SetDescription ¶
func (o *PoolMetaJson) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*PoolMetaJson) SetHomepage ¶
func (o *PoolMetaJson) SetHomepage(v string)
SetHomepage gets a reference to the given string and assigns it to the Homepage field.
func (*PoolMetaJson) SetTicker ¶
func (o *PoolMetaJson) SetTicker(v string)
SetTicker gets a reference to the given string and assigns it to the Ticker field.
func (PoolMetaJson) ToMap ¶
func (o PoolMetaJson) ToMap() (map[string]interface{}, error)
type PoolMetadata ¶
type PoolMetadata struct { // Hash of the pool metadata MetaHash *string `json:"meta_hash,omitempty"` MetaJson *PoolMetaJson `json:"meta_json,omitempty"` // URL pointing to the pool metadata MetaUrl *string `json:"meta_url,omitempty"` // Bech32 encoded pool ID PoolIdBech32 string `json:"pool_id_bech32"` }
PoolMetadata Metadata associated with a stake pool
func NewPoolMetadata ¶
func NewPoolMetadata(poolIdBech32 string) *PoolMetadata
NewPoolMetadata instantiates a new PoolMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPoolMetadataWithDefaults ¶
func NewPoolMetadataWithDefaults() *PoolMetadata
NewPoolMetadataWithDefaults instantiates a new PoolMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PoolMetadata) GetMetaHash ¶
func (o *PoolMetadata) GetMetaHash() string
GetMetaHash returns the MetaHash field value if set, zero value otherwise.
func (*PoolMetadata) GetMetaHashOk ¶
func (o *PoolMetadata) GetMetaHashOk() (*string, bool)
GetMetaHashOk returns a tuple with the MetaHash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolMetadata) GetMetaJson ¶
func (o *PoolMetadata) GetMetaJson() PoolMetaJson
GetMetaJson returns the MetaJson field value if set, zero value otherwise.
func (*PoolMetadata) GetMetaJsonOk ¶
func (o *PoolMetadata) GetMetaJsonOk() (*PoolMetaJson, bool)
GetMetaJsonOk returns a tuple with the MetaJson field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolMetadata) GetMetaUrl ¶
func (o *PoolMetadata) GetMetaUrl() string
GetMetaUrl returns the MetaUrl field value if set, zero value otherwise.
func (*PoolMetadata) GetMetaUrlOk ¶
func (o *PoolMetadata) GetMetaUrlOk() (*string, bool)
GetMetaUrlOk returns a tuple with the MetaUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolMetadata) GetPoolIdBech32 ¶
func (o *PoolMetadata) GetPoolIdBech32() string
GetPoolIdBech32 returns the PoolIdBech32 field value
func (*PoolMetadata) GetPoolIdBech32Ok ¶
func (o *PoolMetadata) GetPoolIdBech32Ok() (*string, bool)
GetPoolIdBech32Ok returns a tuple with the PoolIdBech32 field value and a boolean to check if the value has been set.
func (*PoolMetadata) HasMetaHash ¶
func (o *PoolMetadata) HasMetaHash() bool
HasMetaHash returns a boolean if a field has been set.
func (*PoolMetadata) HasMetaJson ¶
func (o *PoolMetadata) HasMetaJson() bool
HasMetaJson returns a boolean if a field has been set.
func (*PoolMetadata) HasMetaUrl ¶
func (o *PoolMetadata) HasMetaUrl() bool
HasMetaUrl returns a boolean if a field has been set.
func (PoolMetadata) MarshalJSON ¶
func (o PoolMetadata) MarshalJSON() ([]byte, error)
func (*PoolMetadata) SetMetaHash ¶
func (o *PoolMetadata) SetMetaHash(v string)
SetMetaHash gets a reference to the given string and assigns it to the MetaHash field.
func (*PoolMetadata) SetMetaJson ¶
func (o *PoolMetadata) SetMetaJson(v PoolMetaJson)
SetMetaJson gets a reference to the given PoolMetaJson and assigns it to the MetaJson field.
func (*PoolMetadata) SetMetaUrl ¶
func (o *PoolMetadata) SetMetaUrl(v string)
SetMetaUrl gets a reference to the given string and assigns it to the MetaUrl field.
func (*PoolMetadata) SetPoolIdBech32 ¶
func (o *PoolMetadata) SetPoolIdBech32(v string)
SetPoolIdBech32 sets field value
func (PoolMetadata) ToMap ¶
func (o PoolMetadata) ToMap() (map[string]interface{}, error)
type PoolRegCert ¶
type PoolRegCert struct { // Index of the certificate in the transaction CertIndex int32 `json:"cert_index"` // Pool fixed cost FixedCost int64 `json:"fixed_cost"` // Epoch at which the update will become active FromEpoch int32 `json:"from_epoch"` // Pool margin Margin float32 `json:"margin"` // Hash of metadata that the metadata URL should point to MetadataHash *string `json:"metadata_hash,omitempty"` // URL pointing to pool metadata declared by the stake pool MetadataUrl *string `json:"metadata_url,omitempty"` OwnerAddresses []string `json:"owner_addresses"` // Pool pledge Pledge int64 `json:"pledge"` // Pool ID of the stake pool being updated PoolId string `json:"pool_id"` Relays []Relay `json:"relays"` // Stake address which will receive rewards from the stake pool RewardAddress string `json:"reward_address"` // VRF key hash of the stake pool VrfKeyHash string `json:"vrf_key_hash"` }
PoolRegCert Certificate for registering or updating a stake pool
func NewPoolRegCert ¶
func NewPoolRegCert(certIndex int32, fixedCost int64, fromEpoch int32, margin float32, ownerAddresses []string, pledge int64, poolId string, relays []Relay, rewardAddress string, vrfKeyHash string) *PoolRegCert
NewPoolRegCert instantiates a new PoolRegCert object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPoolRegCertWithDefaults ¶
func NewPoolRegCertWithDefaults() *PoolRegCert
NewPoolRegCertWithDefaults instantiates a new PoolRegCert object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PoolRegCert) GetCertIndex ¶
func (o *PoolRegCert) GetCertIndex() int32
GetCertIndex returns the CertIndex field value
func (*PoolRegCert) GetCertIndexOk ¶
func (o *PoolRegCert) GetCertIndexOk() (*int32, bool)
GetCertIndexOk returns a tuple with the CertIndex field value and a boolean to check if the value has been set.
func (*PoolRegCert) GetFixedCost ¶
func (o *PoolRegCert) GetFixedCost() int64
GetFixedCost returns the FixedCost field value
func (*PoolRegCert) GetFixedCostOk ¶
func (o *PoolRegCert) GetFixedCostOk() (*int64, bool)
GetFixedCostOk returns a tuple with the FixedCost field value and a boolean to check if the value has been set.
func (*PoolRegCert) GetFromEpoch ¶
func (o *PoolRegCert) GetFromEpoch() int32
GetFromEpoch returns the FromEpoch field value
func (*PoolRegCert) GetFromEpochOk ¶
func (o *PoolRegCert) GetFromEpochOk() (*int32, bool)
GetFromEpochOk returns a tuple with the FromEpoch field value and a boolean to check if the value has been set.
func (*PoolRegCert) GetMargin ¶
func (o *PoolRegCert) GetMargin() float32
GetMargin returns the Margin field value
func (*PoolRegCert) GetMarginOk ¶
func (o *PoolRegCert) GetMarginOk() (*float32, bool)
GetMarginOk returns a tuple with the Margin field value and a boolean to check if the value has been set.
func (*PoolRegCert) GetMetadataHash ¶
func (o *PoolRegCert) GetMetadataHash() string
GetMetadataHash returns the MetadataHash field value if set, zero value otherwise.
func (*PoolRegCert) GetMetadataHashOk ¶
func (o *PoolRegCert) GetMetadataHashOk() (*string, bool)
GetMetadataHashOk returns a tuple with the MetadataHash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolRegCert) GetMetadataUrl ¶
func (o *PoolRegCert) GetMetadataUrl() string
GetMetadataUrl returns the MetadataUrl field value if set, zero value otherwise.
func (*PoolRegCert) GetMetadataUrlOk ¶
func (o *PoolRegCert) GetMetadataUrlOk() (*string, bool)
GetMetadataUrlOk returns a tuple with the MetadataUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolRegCert) GetOwnerAddresses ¶
func (o *PoolRegCert) GetOwnerAddresses() []string
GetOwnerAddresses returns the OwnerAddresses field value
func (*PoolRegCert) GetOwnerAddressesOk ¶
func (o *PoolRegCert) GetOwnerAddressesOk() ([]string, bool)
GetOwnerAddressesOk returns a tuple with the OwnerAddresses field value and a boolean to check if the value has been set.
func (*PoolRegCert) GetPledge ¶
func (o *PoolRegCert) GetPledge() int64
GetPledge returns the Pledge field value
func (*PoolRegCert) GetPledgeOk ¶
func (o *PoolRegCert) GetPledgeOk() (*int64, bool)
GetPledgeOk returns a tuple with the Pledge field value and a boolean to check if the value has been set.
func (*PoolRegCert) GetPoolId ¶
func (o *PoolRegCert) GetPoolId() string
GetPoolId returns the PoolId field value
func (*PoolRegCert) GetPoolIdOk ¶
func (o *PoolRegCert) GetPoolIdOk() (*string, bool)
GetPoolIdOk returns a tuple with the PoolId field value and a boolean to check if the value has been set.
func (*PoolRegCert) GetRelays ¶
func (o *PoolRegCert) GetRelays() []Relay
GetRelays returns the Relays field value
func (*PoolRegCert) GetRelaysOk ¶
func (o *PoolRegCert) GetRelaysOk() ([]Relay, bool)
GetRelaysOk returns a tuple with the Relays field value and a boolean to check if the value has been set.
func (*PoolRegCert) GetRewardAddress ¶
func (o *PoolRegCert) GetRewardAddress() string
GetRewardAddress returns the RewardAddress field value
func (*PoolRegCert) GetRewardAddressOk ¶
func (o *PoolRegCert) GetRewardAddressOk() (*string, bool)
GetRewardAddressOk returns a tuple with the RewardAddress field value and a boolean to check if the value has been set.
func (*PoolRegCert) GetVrfKeyHash ¶
func (o *PoolRegCert) GetVrfKeyHash() string
GetVrfKeyHash returns the VrfKeyHash field value
func (*PoolRegCert) GetVrfKeyHashOk ¶
func (o *PoolRegCert) GetVrfKeyHashOk() (*string, bool)
GetVrfKeyHashOk returns a tuple with the VrfKeyHash field value and a boolean to check if the value has been set.
func (*PoolRegCert) HasMetadataHash ¶
func (o *PoolRegCert) HasMetadataHash() bool
HasMetadataHash returns a boolean if a field has been set.
func (*PoolRegCert) HasMetadataUrl ¶
func (o *PoolRegCert) HasMetadataUrl() bool
HasMetadataUrl returns a boolean if a field has been set.
func (PoolRegCert) MarshalJSON ¶
func (o PoolRegCert) MarshalJSON() ([]byte, error)
func (*PoolRegCert) SetCertIndex ¶
func (o *PoolRegCert) SetCertIndex(v int32)
SetCertIndex sets field value
func (*PoolRegCert) SetFixedCost ¶
func (o *PoolRegCert) SetFixedCost(v int64)
SetFixedCost sets field value
func (*PoolRegCert) SetFromEpoch ¶
func (o *PoolRegCert) SetFromEpoch(v int32)
SetFromEpoch sets field value
func (*PoolRegCert) SetMargin ¶
func (o *PoolRegCert) SetMargin(v float32)
SetMargin sets field value
func (*PoolRegCert) SetMetadataHash ¶
func (o *PoolRegCert) SetMetadataHash(v string)
SetMetadataHash gets a reference to the given string and assigns it to the MetadataHash field.
func (*PoolRegCert) SetMetadataUrl ¶
func (o *PoolRegCert) SetMetadataUrl(v string)
SetMetadataUrl gets a reference to the given string and assigns it to the MetadataUrl field.
func (*PoolRegCert) SetOwnerAddresses ¶
func (o *PoolRegCert) SetOwnerAddresses(v []string)
SetOwnerAddresses sets field value
func (*PoolRegCert) SetPoolId ¶
func (o *PoolRegCert) SetPoolId(v string)
SetPoolId sets field value
func (*PoolRegCert) SetRelays ¶
func (o *PoolRegCert) SetRelays(v []Relay)
SetRelays sets field value
func (*PoolRegCert) SetRewardAddress ¶
func (o *PoolRegCert) SetRewardAddress(v string)
SetRewardAddress sets field value
func (*PoolRegCert) SetVrfKeyHash ¶
func (o *PoolRegCert) SetVrfKeyHash(v string)
SetVrfKeyHash sets field value
func (PoolRegCert) ToMap ¶
func (o PoolRegCert) ToMap() (map[string]interface{}, error)
type PoolRelay ¶
type PoolRelay struct { // Bech32 encoded pool ID PoolIdBech32 string `json:"pool_id_bech32"` Relays []Relay `json:"relays"` }
PoolRelay Relay declared by a stake pool
func NewPoolRelay ¶
NewPoolRelay instantiates a new PoolRelay object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPoolRelayWithDefaults ¶
func NewPoolRelayWithDefaults() *PoolRelay
NewPoolRelayWithDefaults instantiates a new PoolRelay object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PoolRelay) GetPoolIdBech32 ¶
GetPoolIdBech32 returns the PoolIdBech32 field value
func (*PoolRelay) GetPoolIdBech32Ok ¶
GetPoolIdBech32Ok returns a tuple with the PoolIdBech32 field value and a boolean to check if the value has been set.
func (*PoolRelay) GetRelaysOk ¶
GetRelaysOk returns a tuple with the Relays field value and a boolean to check if the value has been set.
func (PoolRelay) MarshalJSON ¶
func (*PoolRelay) SetPoolIdBech32 ¶
SetPoolIdBech32 sets field value
type PoolRetireCert ¶
type PoolRetireCert struct { // Pool will be retired at the end of this epoch AfterEpoch int32 `json:"after_epoch"` // Index of the certificate in the transaction CertIndex int32 `json:"cert_index"` // Bech32 pool ID of the pool being retired PoolId string `json:"pool_id"` }
PoolRetireCert Certificate for retiring a stake pool
func NewPoolRetireCert ¶
func NewPoolRetireCert(afterEpoch int32, certIndex int32, poolId string) *PoolRetireCert
NewPoolRetireCert instantiates a new PoolRetireCert object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPoolRetireCertWithDefaults ¶
func NewPoolRetireCertWithDefaults() *PoolRetireCert
NewPoolRetireCertWithDefaults instantiates a new PoolRetireCert object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PoolRetireCert) GetAfterEpoch ¶
func (o *PoolRetireCert) GetAfterEpoch() int32
GetAfterEpoch returns the AfterEpoch field value
func (*PoolRetireCert) GetAfterEpochOk ¶
func (o *PoolRetireCert) GetAfterEpochOk() (*int32, bool)
GetAfterEpochOk returns a tuple with the AfterEpoch field value and a boolean to check if the value has been set.
func (*PoolRetireCert) GetCertIndex ¶
func (o *PoolRetireCert) GetCertIndex() int32
GetCertIndex returns the CertIndex field value
func (*PoolRetireCert) GetCertIndexOk ¶
func (o *PoolRetireCert) GetCertIndexOk() (*int32, bool)
GetCertIndexOk returns a tuple with the CertIndex field value and a boolean to check if the value has been set.
func (*PoolRetireCert) GetPoolId ¶
func (o *PoolRetireCert) GetPoolId() string
GetPoolId returns the PoolId field value
func (*PoolRetireCert) GetPoolIdOk ¶
func (o *PoolRetireCert) GetPoolIdOk() (*string, bool)
GetPoolIdOk returns a tuple with the PoolId field value and a boolean to check if the value has been set.
func (PoolRetireCert) MarshalJSON ¶
func (o PoolRetireCert) MarshalJSON() ([]byte, error)
func (*PoolRetireCert) SetAfterEpoch ¶
func (o *PoolRetireCert) SetAfterEpoch(v int32)
SetAfterEpoch sets field value
func (*PoolRetireCert) SetCertIndex ¶
func (o *PoolRetireCert) SetCertIndex(v int32)
SetCertIndex sets field value
func (*PoolRetireCert) SetPoolId ¶
func (o *PoolRetireCert) SetPoolId(v string)
SetPoolId sets field value
func (PoolRetireCert) ToMap ¶
func (o PoolRetireCert) ToMap() (map[string]interface{}, error)
type PoolUpdate ¶
type PoolUpdate struct { // Epoch when the update takes effect ActiveEpochNo int64 `json:"active_epoch_no"` // UNIX timestamp of the block containing the transaction BlockTime *int32 `json:"block_time,omitempty"` // Pool fixed cost FixedCost int64 `json:"fixed_cost"` // Pool margin Margin float32 `json:"margin"` // Hash of the pool metadata MetaHash *string `json:"meta_hash,omitempty"` MetaJson *PoolMetaJson `json:"meta_json,omitempty"` // URL pointing to the pool metadata MetaUrl *string `json:"meta_url,omitempty"` Owners []string `json:"owners"` // Pool pledge Pledge int64 `json:"pledge"` // Bech32 encoded pool ID PoolIdBech32 string `json:"pool_id_bech32"` // Hex encoded pool ID PoolIdHex string `json:"pool_id_hex"` // Status of the pool PoolStatus *string `json:"pool_status,omitempty"` Relays []Relay `json:"relays"` // Epoch at which the pool will be retired RetiringEpoch *int32 `json:"retiring_epoch,omitempty"` // Reward address associated with the pool RewardAddr *string `json:"reward_addr,omitempty"` // Transaction hash for the transaction which contained the update TxHash string `json:"tx_hash"` // VRF key hash VrfKeyHash string `json:"vrf_key_hash"` }
PoolUpdate Update to a stake pool
func NewPoolUpdate ¶
func NewPoolUpdate(activeEpochNo int64, fixedCost int64, margin float32, owners []string, pledge int64, poolIdBech32 string, poolIdHex string, relays []Relay, txHash string, vrfKeyHash string) *PoolUpdate
NewPoolUpdate instantiates a new PoolUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPoolUpdateWithDefaults ¶
func NewPoolUpdateWithDefaults() *PoolUpdate
NewPoolUpdateWithDefaults instantiates a new PoolUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PoolUpdate) GetActiveEpochNo ¶
func (o *PoolUpdate) GetActiveEpochNo() int64
GetActiveEpochNo returns the ActiveEpochNo field value
func (*PoolUpdate) GetActiveEpochNoOk ¶
func (o *PoolUpdate) GetActiveEpochNoOk() (*int64, bool)
GetActiveEpochNoOk returns a tuple with the ActiveEpochNo field value and a boolean to check if the value has been set.
func (*PoolUpdate) GetBlockTime ¶
func (o *PoolUpdate) GetBlockTime() int32
GetBlockTime returns the BlockTime field value if set, zero value otherwise.
func (*PoolUpdate) GetBlockTimeOk ¶
func (o *PoolUpdate) GetBlockTimeOk() (*int32, bool)
GetBlockTimeOk returns a tuple with the BlockTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolUpdate) GetFixedCost ¶
func (o *PoolUpdate) GetFixedCost() int64
GetFixedCost returns the FixedCost field value
func (*PoolUpdate) GetFixedCostOk ¶
func (o *PoolUpdate) GetFixedCostOk() (*int64, bool)
GetFixedCostOk returns a tuple with the FixedCost field value and a boolean to check if the value has been set.
func (*PoolUpdate) GetMargin ¶
func (o *PoolUpdate) GetMargin() float32
GetMargin returns the Margin field value
func (*PoolUpdate) GetMarginOk ¶
func (o *PoolUpdate) GetMarginOk() (*float32, bool)
GetMarginOk returns a tuple with the Margin field value and a boolean to check if the value has been set.
func (*PoolUpdate) GetMetaHash ¶
func (o *PoolUpdate) GetMetaHash() string
GetMetaHash returns the MetaHash field value if set, zero value otherwise.
func (*PoolUpdate) GetMetaHashOk ¶
func (o *PoolUpdate) GetMetaHashOk() (*string, bool)
GetMetaHashOk returns a tuple with the MetaHash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolUpdate) GetMetaJson ¶
func (o *PoolUpdate) GetMetaJson() PoolMetaJson
GetMetaJson returns the MetaJson field value if set, zero value otherwise.
func (*PoolUpdate) GetMetaJsonOk ¶
func (o *PoolUpdate) GetMetaJsonOk() (*PoolMetaJson, bool)
GetMetaJsonOk returns a tuple with the MetaJson field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolUpdate) GetMetaUrl ¶
func (o *PoolUpdate) GetMetaUrl() string
GetMetaUrl returns the MetaUrl field value if set, zero value otherwise.
func (*PoolUpdate) GetMetaUrlOk ¶
func (o *PoolUpdate) GetMetaUrlOk() (*string, bool)
GetMetaUrlOk returns a tuple with the MetaUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolUpdate) GetOwners ¶
func (o *PoolUpdate) GetOwners() []string
GetOwners returns the Owners field value
func (*PoolUpdate) GetOwnersOk ¶
func (o *PoolUpdate) GetOwnersOk() ([]string, bool)
GetOwnersOk returns a tuple with the Owners field value and a boolean to check if the value has been set.
func (*PoolUpdate) GetPledge ¶
func (o *PoolUpdate) GetPledge() int64
GetPledge returns the Pledge field value
func (*PoolUpdate) GetPledgeOk ¶
func (o *PoolUpdate) GetPledgeOk() (*int64, bool)
GetPledgeOk returns a tuple with the Pledge field value and a boolean to check if the value has been set.
func (*PoolUpdate) GetPoolIdBech32 ¶
func (o *PoolUpdate) GetPoolIdBech32() string
GetPoolIdBech32 returns the PoolIdBech32 field value
func (*PoolUpdate) GetPoolIdBech32Ok ¶
func (o *PoolUpdate) GetPoolIdBech32Ok() (*string, bool)
GetPoolIdBech32Ok returns a tuple with the PoolIdBech32 field value and a boolean to check if the value has been set.
func (*PoolUpdate) GetPoolIdHex ¶
func (o *PoolUpdate) GetPoolIdHex() string
GetPoolIdHex returns the PoolIdHex field value
func (*PoolUpdate) GetPoolIdHexOk ¶
func (o *PoolUpdate) GetPoolIdHexOk() (*string, bool)
GetPoolIdHexOk returns a tuple with the PoolIdHex field value and a boolean to check if the value has been set.
func (*PoolUpdate) GetPoolStatus ¶
func (o *PoolUpdate) GetPoolStatus() string
GetPoolStatus returns the PoolStatus field value if set, zero value otherwise.
func (*PoolUpdate) GetPoolStatusOk ¶
func (o *PoolUpdate) GetPoolStatusOk() (*string, bool)
GetPoolStatusOk returns a tuple with the PoolStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolUpdate) GetRelays ¶
func (o *PoolUpdate) GetRelays() []Relay
GetRelays returns the Relays field value
func (*PoolUpdate) GetRelaysOk ¶
func (o *PoolUpdate) GetRelaysOk() ([]Relay, bool)
GetRelaysOk returns a tuple with the Relays field value and a boolean to check if the value has been set.
func (*PoolUpdate) GetRetiringEpoch ¶
func (o *PoolUpdate) GetRetiringEpoch() int32
GetRetiringEpoch returns the RetiringEpoch field value if set, zero value otherwise.
func (*PoolUpdate) GetRetiringEpochOk ¶
func (o *PoolUpdate) GetRetiringEpochOk() (*int32, bool)
GetRetiringEpochOk returns a tuple with the RetiringEpoch field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolUpdate) GetRewardAddr ¶
func (o *PoolUpdate) GetRewardAddr() string
GetRewardAddr returns the RewardAddr field value if set, zero value otherwise.
func (*PoolUpdate) GetRewardAddrOk ¶
func (o *PoolUpdate) GetRewardAddrOk() (*string, bool)
GetRewardAddrOk returns a tuple with the RewardAddr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PoolUpdate) GetTxHash ¶
func (o *PoolUpdate) GetTxHash() string
GetTxHash returns the TxHash field value
func (*PoolUpdate) GetTxHashOk ¶
func (o *PoolUpdate) GetTxHashOk() (*string, bool)
GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.
func (*PoolUpdate) GetVrfKeyHash ¶
func (o *PoolUpdate) GetVrfKeyHash() string
GetVrfKeyHash returns the VrfKeyHash field value
func (*PoolUpdate) GetVrfKeyHashOk ¶
func (o *PoolUpdate) GetVrfKeyHashOk() (*string, bool)
GetVrfKeyHashOk returns a tuple with the VrfKeyHash field value and a boolean to check if the value has been set.
func (*PoolUpdate) HasBlockTime ¶
func (o *PoolUpdate) HasBlockTime() bool
HasBlockTime returns a boolean if a field has been set.
func (*PoolUpdate) HasMetaHash ¶
func (o *PoolUpdate) HasMetaHash() bool
HasMetaHash returns a boolean if a field has been set.
func (*PoolUpdate) HasMetaJson ¶
func (o *PoolUpdate) HasMetaJson() bool
HasMetaJson returns a boolean if a field has been set.
func (*PoolUpdate) HasMetaUrl ¶
func (o *PoolUpdate) HasMetaUrl() bool
HasMetaUrl returns a boolean if a field has been set.
func (*PoolUpdate) HasPoolStatus ¶
func (o *PoolUpdate) HasPoolStatus() bool
HasPoolStatus returns a boolean if a field has been set.
func (*PoolUpdate) HasRetiringEpoch ¶
func (o *PoolUpdate) HasRetiringEpoch() bool
HasRetiringEpoch returns a boolean if a field has been set.
func (*PoolUpdate) HasRewardAddr ¶
func (o *PoolUpdate) HasRewardAddr() bool
HasRewardAddr returns a boolean if a field has been set.
func (PoolUpdate) MarshalJSON ¶
func (o PoolUpdate) MarshalJSON() ([]byte, error)
func (*PoolUpdate) SetActiveEpochNo ¶
func (o *PoolUpdate) SetActiveEpochNo(v int64)
SetActiveEpochNo sets field value
func (*PoolUpdate) SetBlockTime ¶
func (o *PoolUpdate) SetBlockTime(v int32)
SetBlockTime gets a reference to the given int32 and assigns it to the BlockTime field.
func (*PoolUpdate) SetFixedCost ¶
func (o *PoolUpdate) SetFixedCost(v int64)
SetFixedCost sets field value
func (*PoolUpdate) SetMetaHash ¶
func (o *PoolUpdate) SetMetaHash(v string)
SetMetaHash gets a reference to the given string and assigns it to the MetaHash field.
func (*PoolUpdate) SetMetaJson ¶
func (o *PoolUpdate) SetMetaJson(v PoolMetaJson)
SetMetaJson gets a reference to the given PoolMetaJson and assigns it to the MetaJson field.
func (*PoolUpdate) SetMetaUrl ¶
func (o *PoolUpdate) SetMetaUrl(v string)
SetMetaUrl gets a reference to the given string and assigns it to the MetaUrl field.
func (*PoolUpdate) SetOwners ¶
func (o *PoolUpdate) SetOwners(v []string)
SetOwners sets field value
func (*PoolUpdate) SetPoolIdBech32 ¶
func (o *PoolUpdate) SetPoolIdBech32(v string)
SetPoolIdBech32 sets field value
func (*PoolUpdate) SetPoolIdHex ¶
func (o *PoolUpdate) SetPoolIdHex(v string)
SetPoolIdHex sets field value
func (*PoolUpdate) SetPoolStatus ¶
func (o *PoolUpdate) SetPoolStatus(v string)
SetPoolStatus gets a reference to the given string and assigns it to the PoolStatus field.
func (*PoolUpdate) SetRetiringEpoch ¶
func (o *PoolUpdate) SetRetiringEpoch(v int32)
SetRetiringEpoch gets a reference to the given int32 and assigns it to the RetiringEpoch field.
func (*PoolUpdate) SetRewardAddr ¶
func (o *PoolUpdate) SetRewardAddr(v string)
SetRewardAddr gets a reference to the given string and assigns it to the RewardAddr field.
func (*PoolUpdate) SetVrfKeyHash ¶
func (o *PoolUpdate) SetVrfKeyHash(v string)
SetVrfKeyHash sets field value
func (PoolUpdate) ToMap ¶
func (o PoolUpdate) ToMap() (map[string]interface{}, error)
type PoolsAPI ¶
type PoolsAPI interface { /* ListPools Registered stake pools Returns a list of currently registered stake pools @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return PoolsAPIListPoolsRequest */ ListPools(ctx context.Context) PoolsAPIListPoolsRequest // ListPoolsExecute executes the request // @return []PoolListInfo ListPoolsExecute(r PoolsAPIListPoolsRequest) ([]PoolListInfo, *http.Response, error) /* PoolBlocks Stake pool blocks Return information about blocks minted by a given pool for all epochs (or just epoch `epoch_no` if provided) @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId Bech32 encoded pool ID @return PoolsAPIPoolBlocksRequest */ PoolBlocks(ctx context.Context, poolId string) PoolsAPIPoolBlocksRequest // PoolBlocksExecute executes the request // @return []PoolBlock PoolBlocksExecute(r PoolsAPIPoolBlocksRequest) ([]PoolBlock, *http.Response, error) /* PoolDelegators Stake pool delegators Returns a list of delegators of the specified pool @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId Bech32 encoded pool ID @return PoolsAPIPoolDelegatorsRequest */ PoolDelegators(ctx context.Context, poolId string) PoolsAPIPoolDelegatorsRequest // PoolDelegatorsExecute executes the request // @return []DelegatorInfo PoolDelegatorsExecute(r PoolsAPIPoolDelegatorsRequest) ([]DelegatorInfo, *http.Response, error) /* PoolHistory Stake pool history Returns per-epoch information about the specified pool (or just epoch `epoch_no`) @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId Bech32 encoded pool ID @return PoolsAPIPoolHistoryRequest */ PoolHistory(ctx context.Context, poolId string) PoolsAPIPoolHistoryRequest // PoolHistoryExecute executes the request // @return []PoolHistory PoolHistoryExecute(r PoolsAPIPoolHistoryRequest) ([]PoolHistory, *http.Response, error) /* PoolInfo Stake pool details Returns current information about the specified pool @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId Bech32 encoded pool ID @return PoolsAPIPoolInfoRequest */ PoolInfo(ctx context.Context, poolId string) PoolsAPIPoolInfoRequest // PoolInfoExecute executes the request // @return PoolInfo PoolInfoExecute(r PoolsAPIPoolInfoRequest) (*PoolInfo, *http.Response, error) /* PoolMetadata Stake pool metadata Returns the metadata declared by a specific pool @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId Bech32 encoded pool ID @return PoolsAPIPoolMetadataRequest */ PoolMetadata(ctx context.Context, poolId string) PoolsAPIPoolMetadataRequest // PoolMetadataExecute executes the request // @return PoolMetadata PoolMetadataExecute(r PoolsAPIPoolMetadataRequest) (*PoolMetadata, *http.Response, error) /* PoolRelays Stake pool relays Returns a list of relays declared by the specified pool @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId Bech32 encoded pool ID @return PoolsAPIPoolRelaysRequest */ PoolRelays(ctx context.Context, poolId string) PoolsAPIPoolRelaysRequest // PoolRelaysExecute executes the request // @return []PoolRelay PoolRelaysExecute(r PoolsAPIPoolRelaysRequest) ([]PoolRelay, *http.Response, error) /* PoolUpdates Stake pool updates Returns a list of updates relating to the specified pool @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId Bech32 encoded pool ID @return PoolsAPIPoolUpdatesRequest */ PoolUpdates(ctx context.Context, poolId string) PoolsAPIPoolUpdatesRequest // PoolUpdatesExecute executes the request // @return []PoolUpdate PoolUpdatesExecute(r PoolsAPIPoolUpdatesRequest) ([]PoolUpdate, *http.Response, error) }
type PoolsAPIListPoolsRequest ¶
type PoolsAPIListPoolsRequest struct { ApiService PoolsAPI // contains filtered or unexported fields }
func (PoolsAPIListPoolsRequest) Count ¶
func (r PoolsAPIListPoolsRequest) Count(count int32) PoolsAPIListPoolsRequest
The max number of results per pagination page
func (PoolsAPIListPoolsRequest) Execute ¶
func (r PoolsAPIListPoolsRequest) Execute() ([]PoolListInfo, *http.Response, error)
func (PoolsAPIListPoolsRequest) Page ¶
func (r PoolsAPIListPoolsRequest) Page(page int32) PoolsAPIListPoolsRequest
Pagination page number to show results for
type PoolsAPIPoolBlocksRequest ¶
type PoolsAPIPoolBlocksRequest struct { ApiService PoolsAPI // contains filtered or unexported fields }
func (PoolsAPIPoolBlocksRequest) Count ¶
func (r PoolsAPIPoolBlocksRequest) Count(count int32) PoolsAPIPoolBlocksRequest
The max number of results per pagination page
func (PoolsAPIPoolBlocksRequest) EpochNo ¶
func (r PoolsAPIPoolBlocksRequest) EpochNo(epochNo int32) PoolsAPIPoolBlocksRequest
Epoch number to fetch results for
func (PoolsAPIPoolBlocksRequest) Execute ¶
func (r PoolsAPIPoolBlocksRequest) Execute() ([]PoolBlock, *http.Response, error)
func (PoolsAPIPoolBlocksRequest) Order ¶
func (r PoolsAPIPoolBlocksRequest) Order(order string) PoolsAPIPoolBlocksRequest
The order in which the results are sorted (by absolute slot)
func (PoolsAPIPoolBlocksRequest) Page ¶
func (r PoolsAPIPoolBlocksRequest) Page(page int32) PoolsAPIPoolBlocksRequest
Pagination page number to show results for
type PoolsAPIPoolDelegatorsRequest ¶
type PoolsAPIPoolDelegatorsRequest struct { ApiService PoolsAPI // contains filtered or unexported fields }
func (PoolsAPIPoolDelegatorsRequest) Count ¶
func (r PoolsAPIPoolDelegatorsRequest) Count(count int32) PoolsAPIPoolDelegatorsRequest
The max number of results per pagination page
func (PoolsAPIPoolDelegatorsRequest) Execute ¶
func (r PoolsAPIPoolDelegatorsRequest) Execute() ([]DelegatorInfo, *http.Response, error)
func (PoolsAPIPoolDelegatorsRequest) Page ¶
func (r PoolsAPIPoolDelegatorsRequest) Page(page int32) PoolsAPIPoolDelegatorsRequest
Pagination page number to show results for
type PoolsAPIPoolHistoryRequest ¶
type PoolsAPIPoolHistoryRequest struct { ApiService PoolsAPI // contains filtered or unexported fields }
func (PoolsAPIPoolHistoryRequest) Count ¶
func (r PoolsAPIPoolHistoryRequest) Count(count int32) PoolsAPIPoolHistoryRequest
The max number of results per pagination page
func (PoolsAPIPoolHistoryRequest) EpochNo ¶
func (r PoolsAPIPoolHistoryRequest) EpochNo(epochNo int32) PoolsAPIPoolHistoryRequest
Epoch number to fetch results for
func (PoolsAPIPoolHistoryRequest) Execute ¶
func (r PoolsAPIPoolHistoryRequest) Execute() ([]PoolHistory, *http.Response, error)
func (PoolsAPIPoolHistoryRequest) Order ¶
func (r PoolsAPIPoolHistoryRequest) Order(order string) PoolsAPIPoolHistoryRequest
The order in which the results are sorted (by epoch number)
func (PoolsAPIPoolHistoryRequest) Page ¶
func (r PoolsAPIPoolHistoryRequest) Page(page int32) PoolsAPIPoolHistoryRequest
Pagination page number to show results for
type PoolsAPIPoolInfoRequest ¶
type PoolsAPIPoolInfoRequest struct { ApiService PoolsAPI // contains filtered or unexported fields }
type PoolsAPIPoolMetadataRequest ¶
type PoolsAPIPoolMetadataRequest struct { ApiService PoolsAPI // contains filtered or unexported fields }
func (PoolsAPIPoolMetadataRequest) Execute ¶
func (r PoolsAPIPoolMetadataRequest) Execute() (*PoolMetadata, *http.Response, error)
type PoolsAPIPoolRelaysRequest ¶
type PoolsAPIPoolRelaysRequest struct { ApiService PoolsAPI // contains filtered or unexported fields }
type PoolsAPIPoolUpdatesRequest ¶
type PoolsAPIPoolUpdatesRequest struct { ApiService PoolsAPI // contains filtered or unexported fields }
func (PoolsAPIPoolUpdatesRequest) Execute ¶
func (r PoolsAPIPoolUpdatesRequest) Execute() ([]PoolUpdate, *http.Response, error)
type PoolsAPIService ¶
type PoolsAPIService service
PoolsAPIService PoolsAPI service
func (*PoolsAPIService) ListPools ¶
func (a *PoolsAPIService) ListPools(ctx context.Context) PoolsAPIListPoolsRequest
ListPools Registered stake pools
Returns a list of currently registered stake pools
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return PoolsAPIListPoolsRequest
func (*PoolsAPIService) ListPoolsExecute ¶
func (a *PoolsAPIService) ListPoolsExecute(r PoolsAPIListPoolsRequest) ([]PoolListInfo, *http.Response, error)
Execute executes the request
@return []PoolListInfo
func (*PoolsAPIService) PoolBlocks ¶
func (a *PoolsAPIService) PoolBlocks(ctx context.Context, poolId string) PoolsAPIPoolBlocksRequest
PoolBlocks Stake pool blocks
Return information about blocks minted by a given pool for all epochs (or just epoch `epoch_no` if provided)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId Bech32 encoded pool ID @return PoolsAPIPoolBlocksRequest
func (*PoolsAPIService) PoolBlocksExecute ¶
func (a *PoolsAPIService) PoolBlocksExecute(r PoolsAPIPoolBlocksRequest) ([]PoolBlock, *http.Response, error)
Execute executes the request
@return []PoolBlock
func (*PoolsAPIService) PoolDelegators ¶
func (a *PoolsAPIService) PoolDelegators(ctx context.Context, poolId string) PoolsAPIPoolDelegatorsRequest
PoolDelegators Stake pool delegators
Returns a list of delegators of the specified pool
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId Bech32 encoded pool ID @return PoolsAPIPoolDelegatorsRequest
func (*PoolsAPIService) PoolDelegatorsExecute ¶
func (a *PoolsAPIService) PoolDelegatorsExecute(r PoolsAPIPoolDelegatorsRequest) ([]DelegatorInfo, *http.Response, error)
Execute executes the request
@return []DelegatorInfo
func (*PoolsAPIService) PoolHistory ¶
func (a *PoolsAPIService) PoolHistory(ctx context.Context, poolId string) PoolsAPIPoolHistoryRequest
PoolHistory Stake pool history
Returns per-epoch information about the specified pool (or just epoch `epoch_no`)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId Bech32 encoded pool ID @return PoolsAPIPoolHistoryRequest
func (*PoolsAPIService) PoolHistoryExecute ¶
func (a *PoolsAPIService) PoolHistoryExecute(r PoolsAPIPoolHistoryRequest) ([]PoolHistory, *http.Response, error)
Execute executes the request
@return []PoolHistory
func (*PoolsAPIService) PoolInfo ¶
func (a *PoolsAPIService) PoolInfo(ctx context.Context, poolId string) PoolsAPIPoolInfoRequest
PoolInfo Stake pool details
Returns current information about the specified pool
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId Bech32 encoded pool ID @return PoolsAPIPoolInfoRequest
func (*PoolsAPIService) PoolInfoExecute ¶
func (a *PoolsAPIService) PoolInfoExecute(r PoolsAPIPoolInfoRequest) (*PoolInfo, *http.Response, error)
Execute executes the request
@return PoolInfo
func (*PoolsAPIService) PoolMetadata ¶
func (a *PoolsAPIService) PoolMetadata(ctx context.Context, poolId string) PoolsAPIPoolMetadataRequest
PoolMetadata Stake pool metadata
Returns the metadata declared by a specific pool
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId Bech32 encoded pool ID @return PoolsAPIPoolMetadataRequest
func (*PoolsAPIService) PoolMetadataExecute ¶
func (a *PoolsAPIService) PoolMetadataExecute(r PoolsAPIPoolMetadataRequest) (*PoolMetadata, *http.Response, error)
Execute executes the request
@return PoolMetadata
func (*PoolsAPIService) PoolRelays ¶
func (a *PoolsAPIService) PoolRelays(ctx context.Context, poolId string) PoolsAPIPoolRelaysRequest
PoolRelays Stake pool relays
Returns a list of relays declared by the specified pool
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId Bech32 encoded pool ID @return PoolsAPIPoolRelaysRequest
func (*PoolsAPIService) PoolRelaysExecute ¶
func (a *PoolsAPIService) PoolRelaysExecute(r PoolsAPIPoolRelaysRequest) ([]PoolRelay, *http.Response, error)
Execute executes the request
@return []PoolRelay
func (*PoolsAPIService) PoolUpdates ¶
func (a *PoolsAPIService) PoolUpdates(ctx context.Context, poolId string) PoolsAPIPoolUpdatesRequest
PoolUpdates Stake pool updates
Returns a list of updates relating to the specified pool
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param poolId Bech32 encoded pool ID @return PoolsAPIPoolUpdatesRequest
func (*PoolsAPIService) PoolUpdatesExecute ¶
func (a *PoolsAPIService) PoolUpdatesExecute(r PoolsAPIPoolUpdatesRequest) ([]PoolUpdate, *http.Response, error)
Execute executes the request
@return []PoolUpdate
type Prices ¶
Prices struct for Prices
func NewPrices ¶
NewPrices instantiates a new Prices object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPricesWithDefaults ¶
func NewPricesWithDefaults() *Prices
NewPricesWithDefaults instantiates a new Prices object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Prices) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.
func (*Prices) GetStepsOk ¶
GetStepsOk returns a tuple with the Steps field value and a boolean to check if the value has been set.
func (Prices) MarshalJSON ¶
type ProtocolParameters ¶
type ProtocolParameters struct { CoinsPerUtxoByte int64 `json:"coins_per_utxo_byte"` CollateralPercentage int64 `json:"collateral_percentage"` CostModels map[string]map[string]int64 `json:"cost_models"` DesiredNumberOfPools int64 `json:"desired_number_of_pools"` MaxBlockBodySize int64 `json:"max_block_body_size"` MaxBlockHeaderSize int64 `json:"max_block_header_size"` MaxCollateralInputs int64 `json:"max_collateral_inputs"` MaxExecutionUnitsPerBlock ExUnit `json:"max_execution_units_per_block"` MaxExecutionUnitsPerTransaction ExUnit `json:"max_execution_units_per_transaction"` MaxTxSize int64 `json:"max_tx_size"` MaxValueSize int64 `json:"max_value_size"` MinFeeCoefficient int64 `json:"min_fee_coefficient"` MinFeeConstant int64 `json:"min_fee_constant"` MinPoolCost int64 `json:"min_pool_cost"` MonetaryExpansion string `json:"monetary_expansion"` PoolDeposit int64 `json:"pool_deposit"` PoolInfluence string `json:"pool_influence"` PoolRetirementEpochBound int64 `json:"pool_retirement_epoch_bound"` Prices Prices `json:"prices"` ProtocolVersion Version `json:"protocol_version"` StakeKeyDeposit int64 `json:"stake_key_deposit"` TreasuryExpansion string `json:"treasury_expansion"` }
ProtocolParameters struct for ProtocolParameters
func NewProtocolParameters ¶
func NewProtocolParameters(coinsPerUtxoByte int64, collateralPercentage int64, costModels map[string]map[string]int64, desiredNumberOfPools int64, maxBlockBodySize int64, maxBlockHeaderSize int64, maxCollateralInputs int64, maxExecutionUnitsPerBlock ExUnit, maxExecutionUnitsPerTransaction ExUnit, maxTxSize int64, maxValueSize int64, minFeeCoefficient int64, minFeeConstant int64, minPoolCost int64, monetaryExpansion string, poolDeposit int64, poolInfluence string, poolRetirementEpochBound int64, prices Prices, protocolVersion Version, stakeKeyDeposit int64, treasuryExpansion string) *ProtocolParameters
NewProtocolParameters instantiates a new ProtocolParameters object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewProtocolParametersWithDefaults ¶
func NewProtocolParametersWithDefaults() *ProtocolParameters
NewProtocolParametersWithDefaults instantiates a new ProtocolParameters object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ProtocolParameters) GetCoinsPerUtxoByte ¶
func (o *ProtocolParameters) GetCoinsPerUtxoByte() int64
GetCoinsPerUtxoByte returns the CoinsPerUtxoByte field value
func (*ProtocolParameters) GetCoinsPerUtxoByteOk ¶
func (o *ProtocolParameters) GetCoinsPerUtxoByteOk() (*int64, bool)
GetCoinsPerUtxoByteOk returns a tuple with the CoinsPerUtxoByte field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetCollateralPercentage ¶
func (o *ProtocolParameters) GetCollateralPercentage() int64
GetCollateralPercentage returns the CollateralPercentage field value
func (*ProtocolParameters) GetCollateralPercentageOk ¶
func (o *ProtocolParameters) GetCollateralPercentageOk() (*int64, bool)
GetCollateralPercentageOk returns a tuple with the CollateralPercentage field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetCostModels ¶
func (o *ProtocolParameters) GetCostModels() map[string]map[string]int64
GetCostModels returns the CostModels field value
func (*ProtocolParameters) GetCostModelsOk ¶
func (o *ProtocolParameters) GetCostModelsOk() (*map[string]map[string]int64, bool)
GetCostModelsOk returns a tuple with the CostModels field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetDesiredNumberOfPools ¶
func (o *ProtocolParameters) GetDesiredNumberOfPools() int64
GetDesiredNumberOfPools returns the DesiredNumberOfPools field value
func (*ProtocolParameters) GetDesiredNumberOfPoolsOk ¶
func (o *ProtocolParameters) GetDesiredNumberOfPoolsOk() (*int64, bool)
GetDesiredNumberOfPoolsOk returns a tuple with the DesiredNumberOfPools field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetMaxBlockBodySize ¶
func (o *ProtocolParameters) GetMaxBlockBodySize() int64
GetMaxBlockBodySize returns the MaxBlockBodySize field value
func (*ProtocolParameters) GetMaxBlockBodySizeOk ¶
func (o *ProtocolParameters) GetMaxBlockBodySizeOk() (*int64, bool)
GetMaxBlockBodySizeOk returns a tuple with the MaxBlockBodySize field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetMaxBlockHeaderSize ¶
func (o *ProtocolParameters) GetMaxBlockHeaderSize() int64
GetMaxBlockHeaderSize returns the MaxBlockHeaderSize field value
func (*ProtocolParameters) GetMaxBlockHeaderSizeOk ¶
func (o *ProtocolParameters) GetMaxBlockHeaderSizeOk() (*int64, bool)
GetMaxBlockHeaderSizeOk returns a tuple with the MaxBlockHeaderSize field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetMaxCollateralInputs ¶
func (o *ProtocolParameters) GetMaxCollateralInputs() int64
GetMaxCollateralInputs returns the MaxCollateralInputs field value
func (*ProtocolParameters) GetMaxCollateralInputsOk ¶
func (o *ProtocolParameters) GetMaxCollateralInputsOk() (*int64, bool)
GetMaxCollateralInputsOk returns a tuple with the MaxCollateralInputs field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetMaxExecutionUnitsPerBlock ¶
func (o *ProtocolParameters) GetMaxExecutionUnitsPerBlock() ExUnit
GetMaxExecutionUnitsPerBlock returns the MaxExecutionUnitsPerBlock field value
func (*ProtocolParameters) GetMaxExecutionUnitsPerBlockOk ¶
func (o *ProtocolParameters) GetMaxExecutionUnitsPerBlockOk() (*ExUnit, bool)
GetMaxExecutionUnitsPerBlockOk returns a tuple with the MaxExecutionUnitsPerBlock field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetMaxExecutionUnitsPerTransaction ¶
func (o *ProtocolParameters) GetMaxExecutionUnitsPerTransaction() ExUnit
GetMaxExecutionUnitsPerTransaction returns the MaxExecutionUnitsPerTransaction field value
func (*ProtocolParameters) GetMaxExecutionUnitsPerTransactionOk ¶
func (o *ProtocolParameters) GetMaxExecutionUnitsPerTransactionOk() (*ExUnit, bool)
GetMaxExecutionUnitsPerTransactionOk returns a tuple with the MaxExecutionUnitsPerTransaction field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetMaxTxSize ¶
func (o *ProtocolParameters) GetMaxTxSize() int64
GetMaxTxSize returns the MaxTxSize field value
func (*ProtocolParameters) GetMaxTxSizeOk ¶
func (o *ProtocolParameters) GetMaxTxSizeOk() (*int64, bool)
GetMaxTxSizeOk returns a tuple with the MaxTxSize field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetMaxValueSize ¶
func (o *ProtocolParameters) GetMaxValueSize() int64
GetMaxValueSize returns the MaxValueSize field value
func (*ProtocolParameters) GetMaxValueSizeOk ¶
func (o *ProtocolParameters) GetMaxValueSizeOk() (*int64, bool)
GetMaxValueSizeOk returns a tuple with the MaxValueSize field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetMinFeeCoefficient ¶
func (o *ProtocolParameters) GetMinFeeCoefficient() int64
GetMinFeeCoefficient returns the MinFeeCoefficient field value
func (*ProtocolParameters) GetMinFeeCoefficientOk ¶
func (o *ProtocolParameters) GetMinFeeCoefficientOk() (*int64, bool)
GetMinFeeCoefficientOk returns a tuple with the MinFeeCoefficient field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetMinFeeConstant ¶
func (o *ProtocolParameters) GetMinFeeConstant() int64
GetMinFeeConstant returns the MinFeeConstant field value
func (*ProtocolParameters) GetMinFeeConstantOk ¶
func (o *ProtocolParameters) GetMinFeeConstantOk() (*int64, bool)
GetMinFeeConstantOk returns a tuple with the MinFeeConstant field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetMinPoolCost ¶
func (o *ProtocolParameters) GetMinPoolCost() int64
GetMinPoolCost returns the MinPoolCost field value
func (*ProtocolParameters) GetMinPoolCostOk ¶
func (o *ProtocolParameters) GetMinPoolCostOk() (*int64, bool)
GetMinPoolCostOk returns a tuple with the MinPoolCost field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetMonetaryExpansion ¶
func (o *ProtocolParameters) GetMonetaryExpansion() string
GetMonetaryExpansion returns the MonetaryExpansion field value
func (*ProtocolParameters) GetMonetaryExpansionOk ¶
func (o *ProtocolParameters) GetMonetaryExpansionOk() (*string, bool)
GetMonetaryExpansionOk returns a tuple with the MonetaryExpansion field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetPoolDeposit ¶
func (o *ProtocolParameters) GetPoolDeposit() int64
GetPoolDeposit returns the PoolDeposit field value
func (*ProtocolParameters) GetPoolDepositOk ¶
func (o *ProtocolParameters) GetPoolDepositOk() (*int64, bool)
GetPoolDepositOk returns a tuple with the PoolDeposit field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetPoolInfluence ¶
func (o *ProtocolParameters) GetPoolInfluence() string
GetPoolInfluence returns the PoolInfluence field value
func (*ProtocolParameters) GetPoolInfluenceOk ¶
func (o *ProtocolParameters) GetPoolInfluenceOk() (*string, bool)
GetPoolInfluenceOk returns a tuple with the PoolInfluence field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetPoolRetirementEpochBound ¶
func (o *ProtocolParameters) GetPoolRetirementEpochBound() int64
GetPoolRetirementEpochBound returns the PoolRetirementEpochBound field value
func (*ProtocolParameters) GetPoolRetirementEpochBoundOk ¶
func (o *ProtocolParameters) GetPoolRetirementEpochBoundOk() (*int64, bool)
GetPoolRetirementEpochBoundOk returns a tuple with the PoolRetirementEpochBound field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetPrices ¶
func (o *ProtocolParameters) GetPrices() Prices
GetPrices returns the Prices field value
func (*ProtocolParameters) GetPricesOk ¶
func (o *ProtocolParameters) GetPricesOk() (*Prices, bool)
GetPricesOk returns a tuple with the Prices field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetProtocolVersion ¶
func (o *ProtocolParameters) GetProtocolVersion() Version
GetProtocolVersion returns the ProtocolVersion field value
func (*ProtocolParameters) GetProtocolVersionOk ¶
func (o *ProtocolParameters) GetProtocolVersionOk() (*Version, bool)
GetProtocolVersionOk returns a tuple with the ProtocolVersion field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetStakeKeyDeposit ¶
func (o *ProtocolParameters) GetStakeKeyDeposit() int64
GetStakeKeyDeposit returns the StakeKeyDeposit field value
func (*ProtocolParameters) GetStakeKeyDepositOk ¶
func (o *ProtocolParameters) GetStakeKeyDepositOk() (*int64, bool)
GetStakeKeyDepositOk returns a tuple with the StakeKeyDeposit field value and a boolean to check if the value has been set.
func (*ProtocolParameters) GetTreasuryExpansion ¶
func (o *ProtocolParameters) GetTreasuryExpansion() string
GetTreasuryExpansion returns the TreasuryExpansion field value
func (*ProtocolParameters) GetTreasuryExpansionOk ¶
func (o *ProtocolParameters) GetTreasuryExpansionOk() (*string, bool)
GetTreasuryExpansionOk returns a tuple with the TreasuryExpansion field value and a boolean to check if the value has been set.
func (ProtocolParameters) MarshalJSON ¶
func (o ProtocolParameters) MarshalJSON() ([]byte, error)
func (*ProtocolParameters) SetCoinsPerUtxoByte ¶
func (o *ProtocolParameters) SetCoinsPerUtxoByte(v int64)
SetCoinsPerUtxoByte sets field value
func (*ProtocolParameters) SetCollateralPercentage ¶
func (o *ProtocolParameters) SetCollateralPercentage(v int64)
SetCollateralPercentage sets field value
func (*ProtocolParameters) SetCostModels ¶
func (o *ProtocolParameters) SetCostModels(v map[string]map[string]int64)
SetCostModels sets field value
func (*ProtocolParameters) SetDesiredNumberOfPools ¶
func (o *ProtocolParameters) SetDesiredNumberOfPools(v int64)
SetDesiredNumberOfPools sets field value
func (*ProtocolParameters) SetMaxBlockBodySize ¶
func (o *ProtocolParameters) SetMaxBlockBodySize(v int64)
SetMaxBlockBodySize sets field value
func (*ProtocolParameters) SetMaxBlockHeaderSize ¶
func (o *ProtocolParameters) SetMaxBlockHeaderSize(v int64)
SetMaxBlockHeaderSize sets field value
func (*ProtocolParameters) SetMaxCollateralInputs ¶
func (o *ProtocolParameters) SetMaxCollateralInputs(v int64)
SetMaxCollateralInputs sets field value
func (*ProtocolParameters) SetMaxExecutionUnitsPerBlock ¶
func (o *ProtocolParameters) SetMaxExecutionUnitsPerBlock(v ExUnit)
SetMaxExecutionUnitsPerBlock sets field value
func (*ProtocolParameters) SetMaxExecutionUnitsPerTransaction ¶
func (o *ProtocolParameters) SetMaxExecutionUnitsPerTransaction(v ExUnit)
SetMaxExecutionUnitsPerTransaction sets field value
func (*ProtocolParameters) SetMaxTxSize ¶
func (o *ProtocolParameters) SetMaxTxSize(v int64)
SetMaxTxSize sets field value
func (*ProtocolParameters) SetMaxValueSize ¶
func (o *ProtocolParameters) SetMaxValueSize(v int64)
SetMaxValueSize sets field value
func (*ProtocolParameters) SetMinFeeCoefficient ¶
func (o *ProtocolParameters) SetMinFeeCoefficient(v int64)
SetMinFeeCoefficient sets field value
func (*ProtocolParameters) SetMinFeeConstant ¶
func (o *ProtocolParameters) SetMinFeeConstant(v int64)
SetMinFeeConstant sets field value
func (*ProtocolParameters) SetMinPoolCost ¶
func (o *ProtocolParameters) SetMinPoolCost(v int64)
SetMinPoolCost sets field value
func (*ProtocolParameters) SetMonetaryExpansion ¶
func (o *ProtocolParameters) SetMonetaryExpansion(v string)
SetMonetaryExpansion sets field value
func (*ProtocolParameters) SetPoolDeposit ¶
func (o *ProtocolParameters) SetPoolDeposit(v int64)
SetPoolDeposit sets field value
func (*ProtocolParameters) SetPoolInfluence ¶
func (o *ProtocolParameters) SetPoolInfluence(v string)
SetPoolInfluence sets field value
func (*ProtocolParameters) SetPoolRetirementEpochBound ¶
func (o *ProtocolParameters) SetPoolRetirementEpochBound(v int64)
SetPoolRetirementEpochBound sets field value
func (*ProtocolParameters) SetPrices ¶
func (o *ProtocolParameters) SetPrices(v Prices)
SetPrices sets field value
func (*ProtocolParameters) SetProtocolVersion ¶
func (o *ProtocolParameters) SetProtocolVersion(v Version)
SetProtocolVersion sets field value
func (*ProtocolParameters) SetStakeKeyDeposit ¶
func (o *ProtocolParameters) SetStakeKeyDeposit(v int64)
SetStakeKeyDeposit sets field value
func (*ProtocolParameters) SetTreasuryExpansion ¶
func (o *ProtocolParameters) SetTreasuryExpansion(v string)
SetTreasuryExpansion sets field value
func (ProtocolParameters) ToMap ¶
func (o ProtocolParameters) ToMap() (map[string]interface{}, error)
type Redeemers ¶
type Redeemers struct { Certificates []CertRedeemer `json:"certificates"` Mints []MintRedeemer `json:"mints"` Spends []SpendRedeemer `json:"spends"` Withdrawals []WdrlRedeemer `json:"withdrawals"` }
Redeemers struct for Redeemers
func NewRedeemers ¶
func NewRedeemers(certificates []CertRedeemer, mints []MintRedeemer, spends []SpendRedeemer, withdrawals []WdrlRedeemer) *Redeemers
NewRedeemers instantiates a new Redeemers object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRedeemersWithDefaults ¶
func NewRedeemersWithDefaults() *Redeemers
NewRedeemersWithDefaults instantiates a new Redeemers object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Redeemers) GetCertificates ¶
func (o *Redeemers) GetCertificates() []CertRedeemer
GetCertificates returns the Certificates field value
func (*Redeemers) GetCertificatesOk ¶
func (o *Redeemers) GetCertificatesOk() ([]CertRedeemer, bool)
GetCertificatesOk returns a tuple with the Certificates field value and a boolean to check if the value has been set.
func (*Redeemers) GetMints ¶
func (o *Redeemers) GetMints() []MintRedeemer
GetMints returns the Mints field value
func (*Redeemers) GetMintsOk ¶
func (o *Redeemers) GetMintsOk() ([]MintRedeemer, bool)
GetMintsOk returns a tuple with the Mints field value and a boolean to check if the value has been set.
func (*Redeemers) GetSpends ¶
func (o *Redeemers) GetSpends() []SpendRedeemer
GetSpends returns the Spends field value
func (*Redeemers) GetSpendsOk ¶
func (o *Redeemers) GetSpendsOk() ([]SpendRedeemer, bool)
GetSpendsOk returns a tuple with the Spends field value and a boolean to check if the value has been set.
func (*Redeemers) GetWithdrawals ¶
func (o *Redeemers) GetWithdrawals() []WdrlRedeemer
GetWithdrawals returns the Withdrawals field value
func (*Redeemers) GetWithdrawalsOk ¶
func (o *Redeemers) GetWithdrawalsOk() ([]WdrlRedeemer, bool)
GetWithdrawalsOk returns a tuple with the Withdrawals field value and a boolean to check if the value has been set.
func (Redeemers) MarshalJSON ¶
func (*Redeemers) SetCertificates ¶
func (o *Redeemers) SetCertificates(v []CertRedeemer)
SetCertificates sets field value
func (*Redeemers) SetMints ¶
func (o *Redeemers) SetMints(v []MintRedeemer)
SetMints sets field value
func (*Redeemers) SetSpends ¶
func (o *Redeemers) SetSpends(v []SpendRedeemer)
SetSpends sets field value
func (*Redeemers) SetWithdrawals ¶
func (o *Redeemers) SetWithdrawals(v []WdrlRedeemer)
SetWithdrawals sets field value
type Relay ¶
type Relay struct { Dns *string `json:"dns,omitempty"` Ipv4 *string `json:"ipv4,omitempty"` Ipv6 *string `json:"ipv6,omitempty"` Port *int32 `json:"port,omitempty"` Srv *string `json:"srv,omitempty"` }
Relay Stake pool relay
func NewRelay ¶
func NewRelay() *Relay
NewRelay instantiates a new Relay object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRelayWithDefaults ¶
func NewRelayWithDefaults() *Relay
NewRelayWithDefaults instantiates a new Relay object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Relay) GetDnsOk ¶
GetDnsOk returns a tuple with the Dns field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Relay) GetIpv4Ok ¶
GetIpv4Ok returns a tuple with the Ipv4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Relay) GetIpv6Ok ¶
GetIpv6Ok returns a tuple with the Ipv6 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Relay) GetPortOk ¶
GetPortOk returns a tuple with the Port field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Relay) GetSrvOk ¶
GetSrvOk returns a tuple with the Srv field value if set, nil otherwise and a boolean to check if the value has been set.
func (Relay) MarshalJSON ¶
func (*Relay) SetIpv4 ¶
SetIpv4 gets a reference to the given string and assigns it to the Ipv4 field.
func (*Relay) SetIpv6 ¶
SetIpv6 gets a reference to the given string and assigns it to the Ipv6 field.
func (*Relay) SetPort ¶
SetPort gets a reference to the given int32 and assigns it to the Port field.
type Script ¶
type Script struct { // Script bytes (`null` if `native` script) Bytes *string `json:"bytes,omitempty"` // Script hash Hash string `json:"hash"` Json map[string]interface{} `json:"json,omitempty"` Type ScriptType `json:"type"` }
Script Native or Plutus script
func NewScript ¶
func NewScript(hash string, type_ ScriptType) *Script
NewScript instantiates a new Script object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewScriptWithDefaults ¶
func NewScriptWithDefaults() *Script
NewScriptWithDefaults instantiates a new Script object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Script) GetBytesOk ¶
GetBytesOk returns a tuple with the Bytes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Script) GetHashOk ¶
GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.
func (*Script) GetJsonOk ¶
GetJsonOk returns a tuple with the Json field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Script) GetTypeOk ¶
func (o *Script) GetTypeOk() (*ScriptType, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (Script) MarshalJSON ¶
func (*Script) SetBytes ¶
SetBytes gets a reference to the given string and assigns it to the Bytes field.
type ScriptType ¶
type ScriptType string
ScriptType Script type and version
const ( SCRIPTTYPE_NATIVE ScriptType = "native" SCRIPTTYPE_PLUTUSV1 ScriptType = "plutusv1" SCRIPTTYPE_PLUTUSV2 ScriptType = "plutusv2" )
List of ScriptType
func NewScriptTypeFromValue ¶
func NewScriptTypeFromValue(v string) (*ScriptType, error)
NewScriptTypeFromValue returns a pointer to a valid ScriptType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ScriptType) IsValid ¶
func (v ScriptType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ScriptType) Ptr ¶
func (v ScriptType) Ptr() *ScriptType
Ptr returns reference to ScriptType value
func (*ScriptType) UnmarshalJSON ¶
func (v *ScriptType) UnmarshalJSON(src []byte) error
type ScriptsAPI ¶
type ScriptsAPI interface { /* ScriptByHash Script of a script hash Returns the script corresponding to the specified script hash, if seen on-chain @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param scriptHash Hex encoded script hash @return ScriptsAPIScriptByHashRequest */ ScriptByHash(ctx context.Context, scriptHash string) ScriptsAPIScriptByHashRequest // ScriptByHashExecute executes the request // @return Script ScriptByHashExecute(r ScriptsAPIScriptByHashRequest) (*Script, *http.Response, error) }
type ScriptsAPIScriptByHashRequest ¶
type ScriptsAPIScriptByHashRequest struct { ApiService ScriptsAPI // contains filtered or unexported fields }
type ScriptsAPIService ¶
type ScriptsAPIService service
ScriptsAPIService ScriptsAPI service
func (*ScriptsAPIService) ScriptByHash ¶
func (a *ScriptsAPIService) ScriptByHash(ctx context.Context, scriptHash string) ScriptsAPIScriptByHashRequest
ScriptByHash Script of a script hash
Returns the script corresponding to the specified script hash, if seen on-chain
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param scriptHash Hex encoded script hash @return ScriptsAPIScriptByHashRequest
func (*ScriptsAPIService) ScriptByHashExecute ¶
func (a *ScriptsAPIService) ScriptByHashExecute(r ScriptsAPIScriptByHashRequest) (*Script, *http.Response, error)
Execute executes the request
@return Script
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SpendRedeemer ¶
type SpendRedeemer struct { Data Datum `json:"data"` ExUnits int64 `json:"ex_units"` InputIndex int32 `json:"input_index"` }
SpendRedeemer struct for SpendRedeemer
func NewSpendRedeemer ¶
func NewSpendRedeemer(data Datum, exUnits int64, inputIndex int32) *SpendRedeemer
NewSpendRedeemer instantiates a new SpendRedeemer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSpendRedeemerWithDefaults ¶
func NewSpendRedeemerWithDefaults() *SpendRedeemer
NewSpendRedeemerWithDefaults instantiates a new SpendRedeemer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SpendRedeemer) GetData ¶
func (o *SpendRedeemer) GetData() Datum
GetData returns the Data field value
func (*SpendRedeemer) GetDataOk ¶
func (o *SpendRedeemer) GetDataOk() (*Datum, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*SpendRedeemer) GetExUnits ¶
func (o *SpendRedeemer) GetExUnits() int64
GetExUnits returns the ExUnits field value
func (*SpendRedeemer) GetExUnitsOk ¶
func (o *SpendRedeemer) GetExUnitsOk() (*int64, bool)
GetExUnitsOk returns a tuple with the ExUnits field value and a boolean to check if the value has been set.
func (*SpendRedeemer) GetInputIndex ¶
func (o *SpendRedeemer) GetInputIndex() int32
GetInputIndex returns the InputIndex field value
func (*SpendRedeemer) GetInputIndexOk ¶
func (o *SpendRedeemer) GetInputIndexOk() (*int32, bool)
GetInputIndexOk returns a tuple with the InputIndex field value and a boolean to check if the value has been set.
func (SpendRedeemer) MarshalJSON ¶
func (o SpendRedeemer) MarshalJSON() ([]byte, error)
func (*SpendRedeemer) SetExUnits ¶
func (o *SpendRedeemer) SetExUnits(v int64)
SetExUnits sets field value
func (*SpendRedeemer) SetInputIndex ¶
func (o *SpendRedeemer) SetInputIndex(v int32)
SetInputIndex sets field value
func (SpendRedeemer) ToMap ¶
func (o SpendRedeemer) ToMap() (map[string]interface{}, error)
type StakeDelegCert ¶
type StakeDelegCert struct { // Index of the certificate in the transaction CertIndex int32 `json:"cert_index"` // Pool ID of the stake pool the stake key is delegating to PoolId string `json:"pool_id"` // Stake address corresponding to stake key being delegated StakeAddress string `json:"stake_address"` }
StakeDelegCert Certificate for stake key delegation
func NewStakeDelegCert ¶
func NewStakeDelegCert(certIndex int32, poolId string, stakeAddress string) *StakeDelegCert
NewStakeDelegCert instantiates a new StakeDelegCert object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStakeDelegCertWithDefaults ¶
func NewStakeDelegCertWithDefaults() *StakeDelegCert
NewStakeDelegCertWithDefaults instantiates a new StakeDelegCert object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StakeDelegCert) GetCertIndex ¶
func (o *StakeDelegCert) GetCertIndex() int32
GetCertIndex returns the CertIndex field value
func (*StakeDelegCert) GetCertIndexOk ¶
func (o *StakeDelegCert) GetCertIndexOk() (*int32, bool)
GetCertIndexOk returns a tuple with the CertIndex field value and a boolean to check if the value has been set.
func (*StakeDelegCert) GetPoolId ¶
func (o *StakeDelegCert) GetPoolId() string
GetPoolId returns the PoolId field value
func (*StakeDelegCert) GetPoolIdOk ¶
func (o *StakeDelegCert) GetPoolIdOk() (*string, bool)
GetPoolIdOk returns a tuple with the PoolId field value and a boolean to check if the value has been set.
func (*StakeDelegCert) GetStakeAddress ¶
func (o *StakeDelegCert) GetStakeAddress() string
GetStakeAddress returns the StakeAddress field value
func (*StakeDelegCert) GetStakeAddressOk ¶
func (o *StakeDelegCert) GetStakeAddressOk() (*string, bool)
GetStakeAddressOk returns a tuple with the StakeAddress field value and a boolean to check if the value has been set.
func (StakeDelegCert) MarshalJSON ¶
func (o StakeDelegCert) MarshalJSON() ([]byte, error)
func (*StakeDelegCert) SetCertIndex ¶
func (o *StakeDelegCert) SetCertIndex(v int32)
SetCertIndex sets field value
func (*StakeDelegCert) SetPoolId ¶
func (o *StakeDelegCert) SetPoolId(v string)
SetPoolId sets field value
func (*StakeDelegCert) SetStakeAddress ¶
func (o *StakeDelegCert) SetStakeAddress(v string)
SetStakeAddress sets field value
func (StakeDelegCert) ToMap ¶
func (o StakeDelegCert) ToMap() (map[string]interface{}, error)
type StakeRegCert ¶
type StakeRegCert struct { // Index of the certificate in the transaction CertIndex int32 `json:"cert_index"` // Stake address corresponding to stake key being updated StakeAddress string `json:"stake_address"` }
StakeRegCert Certificate for registering a stake key
func NewStakeRegCert ¶
func NewStakeRegCert(certIndex int32, stakeAddress string) *StakeRegCert
NewStakeRegCert instantiates a new StakeRegCert object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStakeRegCertWithDefaults ¶
func NewStakeRegCertWithDefaults() *StakeRegCert
NewStakeRegCertWithDefaults instantiates a new StakeRegCert object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StakeRegCert) GetCertIndex ¶
func (o *StakeRegCert) GetCertIndex() int32
GetCertIndex returns the CertIndex field value
func (*StakeRegCert) GetCertIndexOk ¶
func (o *StakeRegCert) GetCertIndexOk() (*int32, bool)
GetCertIndexOk returns a tuple with the CertIndex field value and a boolean to check if the value has been set.
func (*StakeRegCert) GetStakeAddress ¶
func (o *StakeRegCert) GetStakeAddress() string
GetStakeAddress returns the StakeAddress field value
func (*StakeRegCert) GetStakeAddressOk ¶
func (o *StakeRegCert) GetStakeAddressOk() (*string, bool)
GetStakeAddressOk returns a tuple with the StakeAddress field value and a boolean to check if the value has been set.
func (StakeRegCert) MarshalJSON ¶
func (o StakeRegCert) MarshalJSON() ([]byte, error)
func (*StakeRegCert) SetCertIndex ¶
func (o *StakeRegCert) SetCertIndex(v int32)
SetCertIndex sets field value
func (*StakeRegCert) SetStakeAddress ¶
func (o *StakeRegCert) SetStakeAddress(v string)
SetStakeAddress sets field value
func (StakeRegCert) ToMap ¶
func (o StakeRegCert) ToMap() (map[string]interface{}, error)
type StakingCredKind ¶
type StakingCredKind string
StakingCredKind the model 'StakingCredKind'
const ( STAKINGCREDKIND_KEY StakingCredKind = "key" STAKINGCREDKIND_SCRIPT StakingCredKind = "script" STAKINGCREDKIND_POINTER StakingCredKind = "pointer" )
List of StakingCredKind
func NewStakingCredKindFromValue ¶
func NewStakingCredKindFromValue(v string) (*StakingCredKind, error)
NewStakingCredKindFromValue returns a pointer to a valid StakingCredKind for the value passed as argument, or an error if the value passed is not allowed by the enum
func (StakingCredKind) IsValid ¶
func (v StakingCredKind) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (StakingCredKind) Ptr ¶
func (v StakingCredKind) Ptr() *StakingCredKind
Ptr returns reference to StakingCredKind value
func (*StakingCredKind) UnmarshalJSON ¶
func (v *StakingCredKind) UnmarshalJSON(src []byte) error
type StakingCredential ¶
type StakingCredential struct { Bech32 *string `json:"bech32,omitempty"` Hex *string `json:"hex,omitempty"` Kind StakingCredKind `json:"kind"` Pointer *Pointer `json:"pointer,omitempty"` RewardAddress *string `json:"reward_address,omitempty"` }
StakingCredential struct for StakingCredential
func NewStakingCredential ¶
func NewStakingCredential(kind StakingCredKind) *StakingCredential
NewStakingCredential instantiates a new StakingCredential object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStakingCredentialWithDefaults ¶
func NewStakingCredentialWithDefaults() *StakingCredential
NewStakingCredentialWithDefaults instantiates a new StakingCredential object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StakingCredential) GetBech32 ¶
func (o *StakingCredential) GetBech32() string
GetBech32 returns the Bech32 field value if set, zero value otherwise.
func (*StakingCredential) GetBech32Ok ¶
func (o *StakingCredential) GetBech32Ok() (*string, bool)
GetBech32Ok returns a tuple with the Bech32 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StakingCredential) GetHex ¶
func (o *StakingCredential) GetHex() string
GetHex returns the Hex field value if set, zero value otherwise.
func (*StakingCredential) GetHexOk ¶
func (o *StakingCredential) GetHexOk() (*string, bool)
GetHexOk returns a tuple with the Hex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StakingCredential) GetKind ¶
func (o *StakingCredential) GetKind() StakingCredKind
GetKind returns the Kind field value
func (*StakingCredential) GetKindOk ¶
func (o *StakingCredential) GetKindOk() (*StakingCredKind, bool)
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*StakingCredential) GetPointer ¶
func (o *StakingCredential) GetPointer() Pointer
GetPointer returns the Pointer field value if set, zero value otherwise.
func (*StakingCredential) GetPointerOk ¶
func (o *StakingCredential) GetPointerOk() (*Pointer, bool)
GetPointerOk returns a tuple with the Pointer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StakingCredential) GetRewardAddress ¶
func (o *StakingCredential) GetRewardAddress() string
GetRewardAddress returns the RewardAddress field value if set, zero value otherwise.
func (*StakingCredential) GetRewardAddressOk ¶
func (o *StakingCredential) GetRewardAddressOk() (*string, bool)
GetRewardAddressOk returns a tuple with the RewardAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StakingCredential) HasBech32 ¶
func (o *StakingCredential) HasBech32() bool
HasBech32 returns a boolean if a field has been set.
func (*StakingCredential) HasHex ¶
func (o *StakingCredential) HasHex() bool
HasHex returns a boolean if a field has been set.
func (*StakingCredential) HasPointer ¶
func (o *StakingCredential) HasPointer() bool
HasPointer returns a boolean if a field has been set.
func (*StakingCredential) HasRewardAddress ¶
func (o *StakingCredential) HasRewardAddress() bool
HasRewardAddress returns a boolean if a field has been set.
func (StakingCredential) MarshalJSON ¶
func (o StakingCredential) MarshalJSON() ([]byte, error)
func (*StakingCredential) SetBech32 ¶
func (o *StakingCredential) SetBech32(v string)
SetBech32 gets a reference to the given string and assigns it to the Bech32 field.
func (*StakingCredential) SetHex ¶
func (o *StakingCredential) SetHex(v string)
SetHex gets a reference to the given string and assigns it to the Hex field.
func (*StakingCredential) SetKind ¶
func (o *StakingCredential) SetKind(v StakingCredKind)
SetKind sets field value
func (*StakingCredential) SetPointer ¶
func (o *StakingCredential) SetPointer(v Pointer)
SetPointer gets a reference to the given Pointer and assigns it to the Pointer field.
func (*StakingCredential) SetRewardAddress ¶
func (o *StakingCredential) SetRewardAddress(v string)
SetRewardAddress gets a reference to the given string and assigns it to the RewardAddress field.
func (StakingCredential) ToMap ¶
func (o StakingCredential) ToMap() (map[string]interface{}, error)
type SystemStart ¶
type SystemStart struct {
Time string `json:"time"`
}
SystemStart struct for SystemStart
func NewSystemStart ¶
func NewSystemStart(time string) *SystemStart
NewSystemStart instantiates a new SystemStart object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSystemStartWithDefaults ¶
func NewSystemStartWithDefaults() *SystemStart
NewSystemStartWithDefaults instantiates a new SystemStart object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SystemStart) GetTime ¶
func (o *SystemStart) GetTime() string
GetTime returns the Time field value
func (*SystemStart) GetTimeOk ¶
func (o *SystemStart) GetTimeOk() (*string, bool)
GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.
func (SystemStart) MarshalJSON ¶
func (o SystemStart) MarshalJSON() ([]byte, error)
func (SystemStart) ToMap ¶
func (o SystemStart) ToMap() (map[string]interface{}, error)
type TokenRegistryMetadata ¶
type TokenRegistryMetadata struct { // Recommended value for decimal places Decimals int64 `json:"decimals"` // Asset description Description string `json:"description"` // Base64 encoded logo PNG associated with the asset Logo string `json:"logo"` // Asset name Name string `json:"name"` // Asset ticker Ticker string `json:"ticker"` // URL associated with the asset Url string `json:"url"` }
TokenRegistryMetadata Token registry metadata
func NewTokenRegistryMetadata ¶
func NewTokenRegistryMetadata(decimals int64, description string, logo string, name string, ticker string, url string) *TokenRegistryMetadata
NewTokenRegistryMetadata instantiates a new TokenRegistryMetadata object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTokenRegistryMetadataWithDefaults ¶
func NewTokenRegistryMetadataWithDefaults() *TokenRegistryMetadata
NewTokenRegistryMetadataWithDefaults instantiates a new TokenRegistryMetadata object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TokenRegistryMetadata) GetDecimals ¶
func (o *TokenRegistryMetadata) GetDecimals() int64
GetDecimals returns the Decimals field value
func (*TokenRegistryMetadata) GetDecimalsOk ¶
func (o *TokenRegistryMetadata) GetDecimalsOk() (*int64, bool)
GetDecimalsOk returns a tuple with the Decimals field value and a boolean to check if the value has been set.
func (*TokenRegistryMetadata) GetDescription ¶
func (o *TokenRegistryMetadata) GetDescription() string
GetDescription returns the Description field value
func (*TokenRegistryMetadata) GetDescriptionOk ¶
func (o *TokenRegistryMetadata) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.
func (*TokenRegistryMetadata) GetLogo ¶
func (o *TokenRegistryMetadata) GetLogo() string
GetLogo returns the Logo field value
func (*TokenRegistryMetadata) GetLogoOk ¶
func (o *TokenRegistryMetadata) GetLogoOk() (*string, bool)
GetLogoOk returns a tuple with the Logo field value and a boolean to check if the value has been set.
func (*TokenRegistryMetadata) GetName ¶
func (o *TokenRegistryMetadata) GetName() string
GetName returns the Name field value
func (*TokenRegistryMetadata) GetNameOk ¶
func (o *TokenRegistryMetadata) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*TokenRegistryMetadata) GetTicker ¶
func (o *TokenRegistryMetadata) GetTicker() string
GetTicker returns the Ticker field value
func (*TokenRegistryMetadata) GetTickerOk ¶
func (o *TokenRegistryMetadata) GetTickerOk() (*string, bool)
GetTickerOk returns a tuple with the Ticker field value and a boolean to check if the value has been set.
func (*TokenRegistryMetadata) GetUrl ¶
func (o *TokenRegistryMetadata) GetUrl() string
GetUrl returns the Url field value
func (*TokenRegistryMetadata) GetUrlOk ¶
func (o *TokenRegistryMetadata) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (TokenRegistryMetadata) MarshalJSON ¶
func (o TokenRegistryMetadata) MarshalJSON() ([]byte, error)
func (*TokenRegistryMetadata) SetDecimals ¶
func (o *TokenRegistryMetadata) SetDecimals(v int64)
SetDecimals sets field value
func (*TokenRegistryMetadata) SetDescription ¶
func (o *TokenRegistryMetadata) SetDescription(v string)
SetDescription sets field value
func (*TokenRegistryMetadata) SetLogo ¶
func (o *TokenRegistryMetadata) SetLogo(v string)
SetLogo sets field value
func (*TokenRegistryMetadata) SetName ¶
func (o *TokenRegistryMetadata) SetName(v string)
SetName sets field value
func (*TokenRegistryMetadata) SetTicker ¶
func (o *TokenRegistryMetadata) SetTicker(v string)
SetTicker sets field value
func (*TokenRegistryMetadata) SetUrl ¶
func (o *TokenRegistryMetadata) SetUrl(v string)
SetUrl sets field value
func (TokenRegistryMetadata) ToMap ¶
func (o TokenRegistryMetadata) ToMap() (map[string]interface{}, error)
type TransactionInfo ¶
type TransactionInfo struct { AdditionalSigners []string `json:"additional_signers"` // Absolute slot of the block which includes the transaction BlockAbsoluteSlot int64 `json:"block_absolute_slot"` // Hash of the block which includes the transaction BlockHash string `json:"block_hash"` // Block height (number) of the block which includes the transaction BlockHeight int32 `json:"block_height"` // UNIX timestamp of the block which includes the transaction BlockTimestamp int64 `json:"block_timestamp"` // The transaction's position within the block which includes it BlockTxIndex int32 `json:"block_tx_index"` Certificates Certificates `json:"certificates"` CollateralInputs []Utxo `json:"collateral_inputs"` CollateralReturn *Utxo `json:"collateral_return,omitempty"` Inputs []Utxo `json:"inputs"` // The slot before which the transaction would not be accepted onto the chain InvalidBefore *int64 `json:"invalid_before,omitempty"` // The slot from which the transaction would not be accepted onto the chain InvalidHereafter *int64 `json:"invalid_hereafter,omitempty"` Metadata map[string]interface{} `json:"metadata,omitempty"` Mint []MintAsset `json:"mint"` Outputs []Utxo `json:"outputs"` Redeemers Redeemers `json:"redeemers"` ReferenceInputs []Utxo `json:"reference_inputs"` ScriptsExecuted []Script `json:"scripts_executed"` // False if any executed Plutus scripts failed (aka phase-two validity), meaning collateral was processed. ScriptsSuccessful bool `json:"scripts_successful"` // Transaction hash (identifier) TxHash string `json:"tx_hash"` Withdrawals []Withdrawal `json:"withdrawals"` }
TransactionInfo Transaction Information
func NewTransactionInfo ¶
func NewTransactionInfo(additionalSigners []string, blockAbsoluteSlot int64, blockHash string, blockHeight int32, blockTimestamp int64, blockTxIndex int32, certificates Certificates, collateralInputs []Utxo, inputs []Utxo, mint []MintAsset, outputs []Utxo, redeemers Redeemers, referenceInputs []Utxo, scriptsExecuted []Script, scriptsSuccessful bool, txHash string, withdrawals []Withdrawal) *TransactionInfo
NewTransactionInfo instantiates a new TransactionInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransactionInfoWithDefaults ¶
func NewTransactionInfoWithDefaults() *TransactionInfo
NewTransactionInfoWithDefaults instantiates a new TransactionInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TransactionInfo) GetAdditionalSigners ¶
func (o *TransactionInfo) GetAdditionalSigners() []string
GetAdditionalSigners returns the AdditionalSigners field value
func (*TransactionInfo) GetAdditionalSignersOk ¶
func (o *TransactionInfo) GetAdditionalSignersOk() ([]string, bool)
GetAdditionalSignersOk returns a tuple with the AdditionalSigners field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetBlockAbsoluteSlot ¶
func (o *TransactionInfo) GetBlockAbsoluteSlot() int64
GetBlockAbsoluteSlot returns the BlockAbsoluteSlot field value
func (*TransactionInfo) GetBlockAbsoluteSlotOk ¶
func (o *TransactionInfo) GetBlockAbsoluteSlotOk() (*int64, bool)
GetBlockAbsoluteSlotOk returns a tuple with the BlockAbsoluteSlot field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetBlockHash ¶
func (o *TransactionInfo) GetBlockHash() string
GetBlockHash returns the BlockHash field value
func (*TransactionInfo) GetBlockHashOk ¶
func (o *TransactionInfo) GetBlockHashOk() (*string, bool)
GetBlockHashOk returns a tuple with the BlockHash field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetBlockHeight ¶
func (o *TransactionInfo) GetBlockHeight() int32
GetBlockHeight returns the BlockHeight field value
func (*TransactionInfo) GetBlockHeightOk ¶
func (o *TransactionInfo) GetBlockHeightOk() (*int32, bool)
GetBlockHeightOk returns a tuple with the BlockHeight field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetBlockTimestamp ¶
func (o *TransactionInfo) GetBlockTimestamp() int64
GetBlockTimestamp returns the BlockTimestamp field value
func (*TransactionInfo) GetBlockTimestampOk ¶
func (o *TransactionInfo) GetBlockTimestampOk() (*int64, bool)
GetBlockTimestampOk returns a tuple with the BlockTimestamp field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetBlockTxIndex ¶
func (o *TransactionInfo) GetBlockTxIndex() int32
GetBlockTxIndex returns the BlockTxIndex field value
func (*TransactionInfo) GetBlockTxIndexOk ¶
func (o *TransactionInfo) GetBlockTxIndexOk() (*int32, bool)
GetBlockTxIndexOk returns a tuple with the BlockTxIndex field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetCertificates ¶
func (o *TransactionInfo) GetCertificates() Certificates
GetCertificates returns the Certificates field value
func (*TransactionInfo) GetCertificatesOk ¶
func (o *TransactionInfo) GetCertificatesOk() (*Certificates, bool)
GetCertificatesOk returns a tuple with the Certificates field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetCollateralInputs ¶
func (o *TransactionInfo) GetCollateralInputs() []Utxo
GetCollateralInputs returns the CollateralInputs field value
func (*TransactionInfo) GetCollateralInputsOk ¶
func (o *TransactionInfo) GetCollateralInputsOk() ([]Utxo, bool)
GetCollateralInputsOk returns a tuple with the CollateralInputs field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetCollateralReturn ¶
func (o *TransactionInfo) GetCollateralReturn() Utxo
GetCollateralReturn returns the CollateralReturn field value if set, zero value otherwise.
func (*TransactionInfo) GetCollateralReturnOk ¶
func (o *TransactionInfo) GetCollateralReturnOk() (*Utxo, bool)
GetCollateralReturnOk returns a tuple with the CollateralReturn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionInfo) GetInputs ¶
func (o *TransactionInfo) GetInputs() []Utxo
GetInputs returns the Inputs field value
func (*TransactionInfo) GetInputsOk ¶
func (o *TransactionInfo) GetInputsOk() ([]Utxo, bool)
GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetInvalidBefore ¶
func (o *TransactionInfo) GetInvalidBefore() int64
GetInvalidBefore returns the InvalidBefore field value if set, zero value otherwise.
func (*TransactionInfo) GetInvalidBeforeOk ¶
func (o *TransactionInfo) GetInvalidBeforeOk() (*int64, bool)
GetInvalidBeforeOk returns a tuple with the InvalidBefore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionInfo) GetInvalidHereafter ¶
func (o *TransactionInfo) GetInvalidHereafter() int64
GetInvalidHereafter returns the InvalidHereafter field value if set, zero value otherwise.
func (*TransactionInfo) GetInvalidHereafterOk ¶
func (o *TransactionInfo) GetInvalidHereafterOk() (*int64, bool)
GetInvalidHereafterOk returns a tuple with the InvalidHereafter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionInfo) GetMetadata ¶
func (o *TransactionInfo) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*TransactionInfo) GetMetadataOk ¶
func (o *TransactionInfo) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransactionInfo) GetMint ¶
func (o *TransactionInfo) GetMint() []MintAsset
GetMint returns the Mint field value
func (*TransactionInfo) GetMintOk ¶
func (o *TransactionInfo) GetMintOk() ([]MintAsset, bool)
GetMintOk returns a tuple with the Mint field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetOutputs ¶
func (o *TransactionInfo) GetOutputs() []Utxo
GetOutputs returns the Outputs field value
func (*TransactionInfo) GetOutputsOk ¶
func (o *TransactionInfo) GetOutputsOk() ([]Utxo, bool)
GetOutputsOk returns a tuple with the Outputs field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetRedeemers ¶
func (o *TransactionInfo) GetRedeemers() Redeemers
GetRedeemers returns the Redeemers field value
func (*TransactionInfo) GetRedeemersOk ¶
func (o *TransactionInfo) GetRedeemersOk() (*Redeemers, bool)
GetRedeemersOk returns a tuple with the Redeemers field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetReferenceInputs ¶
func (o *TransactionInfo) GetReferenceInputs() []Utxo
GetReferenceInputs returns the ReferenceInputs field value
func (*TransactionInfo) GetReferenceInputsOk ¶
func (o *TransactionInfo) GetReferenceInputsOk() ([]Utxo, bool)
GetReferenceInputsOk returns a tuple with the ReferenceInputs field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetScriptsExecuted ¶
func (o *TransactionInfo) GetScriptsExecuted() []Script
GetScriptsExecuted returns the ScriptsExecuted field value
func (*TransactionInfo) GetScriptsExecutedOk ¶
func (o *TransactionInfo) GetScriptsExecutedOk() ([]Script, bool)
GetScriptsExecutedOk returns a tuple with the ScriptsExecuted field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetScriptsSuccessful ¶
func (o *TransactionInfo) GetScriptsSuccessful() bool
GetScriptsSuccessful returns the ScriptsSuccessful field value
func (*TransactionInfo) GetScriptsSuccessfulOk ¶
func (o *TransactionInfo) GetScriptsSuccessfulOk() (*bool, bool)
GetScriptsSuccessfulOk returns a tuple with the ScriptsSuccessful field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetTxHash ¶
func (o *TransactionInfo) GetTxHash() string
GetTxHash returns the TxHash field value
func (*TransactionInfo) GetTxHashOk ¶
func (o *TransactionInfo) GetTxHashOk() (*string, bool)
GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.
func (*TransactionInfo) GetWithdrawals ¶
func (o *TransactionInfo) GetWithdrawals() []Withdrawal
GetWithdrawals returns the Withdrawals field value
func (*TransactionInfo) GetWithdrawalsOk ¶
func (o *TransactionInfo) GetWithdrawalsOk() ([]Withdrawal, bool)
GetWithdrawalsOk returns a tuple with the Withdrawals field value and a boolean to check if the value has been set.
func (*TransactionInfo) HasCollateralReturn ¶
func (o *TransactionInfo) HasCollateralReturn() bool
HasCollateralReturn returns a boolean if a field has been set.
func (*TransactionInfo) HasInvalidBefore ¶
func (o *TransactionInfo) HasInvalidBefore() bool
HasInvalidBefore returns a boolean if a field has been set.
func (*TransactionInfo) HasInvalidHereafter ¶
func (o *TransactionInfo) HasInvalidHereafter() bool
HasInvalidHereafter returns a boolean if a field has been set.
func (*TransactionInfo) HasMetadata ¶
func (o *TransactionInfo) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (TransactionInfo) MarshalJSON ¶
func (o TransactionInfo) MarshalJSON() ([]byte, error)
func (*TransactionInfo) SetAdditionalSigners ¶
func (o *TransactionInfo) SetAdditionalSigners(v []string)
SetAdditionalSigners sets field value
func (*TransactionInfo) SetBlockAbsoluteSlot ¶
func (o *TransactionInfo) SetBlockAbsoluteSlot(v int64)
SetBlockAbsoluteSlot sets field value
func (*TransactionInfo) SetBlockHash ¶
func (o *TransactionInfo) SetBlockHash(v string)
SetBlockHash sets field value
func (*TransactionInfo) SetBlockHeight ¶
func (o *TransactionInfo) SetBlockHeight(v int32)
SetBlockHeight sets field value
func (*TransactionInfo) SetBlockTimestamp ¶
func (o *TransactionInfo) SetBlockTimestamp(v int64)
SetBlockTimestamp sets field value
func (*TransactionInfo) SetBlockTxIndex ¶
func (o *TransactionInfo) SetBlockTxIndex(v int32)
SetBlockTxIndex sets field value
func (*TransactionInfo) SetCertificates ¶
func (o *TransactionInfo) SetCertificates(v Certificates)
SetCertificates sets field value
func (*TransactionInfo) SetCollateralInputs ¶
func (o *TransactionInfo) SetCollateralInputs(v []Utxo)
SetCollateralInputs sets field value
func (*TransactionInfo) SetCollateralReturn ¶
func (o *TransactionInfo) SetCollateralReturn(v Utxo)
SetCollateralReturn gets a reference to the given Utxo and assigns it to the CollateralReturn field.
func (*TransactionInfo) SetInputs ¶
func (o *TransactionInfo) SetInputs(v []Utxo)
SetInputs sets field value
func (*TransactionInfo) SetInvalidBefore ¶
func (o *TransactionInfo) SetInvalidBefore(v int64)
SetInvalidBefore gets a reference to the given int64 and assigns it to the InvalidBefore field.
func (*TransactionInfo) SetInvalidHereafter ¶
func (o *TransactionInfo) SetInvalidHereafter(v int64)
SetInvalidHereafter gets a reference to the given int64 and assigns it to the InvalidHereafter field.
func (*TransactionInfo) SetMetadata ¶
func (o *TransactionInfo) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*TransactionInfo) SetMint ¶
func (o *TransactionInfo) SetMint(v []MintAsset)
SetMint sets field value
func (*TransactionInfo) SetOutputs ¶
func (o *TransactionInfo) SetOutputs(v []Utxo)
SetOutputs sets field value
func (*TransactionInfo) SetRedeemers ¶
func (o *TransactionInfo) SetRedeemers(v Redeemers)
SetRedeemers sets field value
func (*TransactionInfo) SetReferenceInputs ¶
func (o *TransactionInfo) SetReferenceInputs(v []Utxo)
SetReferenceInputs sets field value
func (*TransactionInfo) SetScriptsExecuted ¶
func (o *TransactionInfo) SetScriptsExecuted(v []Script)
SetScriptsExecuted sets field value
func (*TransactionInfo) SetScriptsSuccessful ¶
func (o *TransactionInfo) SetScriptsSuccessful(v bool)
SetScriptsSuccessful sets field value
func (*TransactionInfo) SetTxHash ¶
func (o *TransactionInfo) SetTxHash(v string)
SetTxHash sets field value
func (*TransactionInfo) SetWithdrawals ¶
func (o *TransactionInfo) SetWithdrawals(v []Withdrawal)
SetWithdrawals sets field value
func (TransactionInfo) ToMap ¶
func (o TransactionInfo) ToMap() (map[string]interface{}, error)
type TransactionsAPI ¶
type TransactionsAPI interface { /* AddressByTxo Address of a transaction output reference Returns the address specified in the given transaction output @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param txHash Hex encoded transaction hash @param index Transaction output index @return TransactionsAPIAddressByTxoRequest */ AddressByTxo(ctx context.Context, txHash string, index int32) TransactionsAPIAddressByTxoRequest // AddressByTxoExecute executes the request // @return UtxoAddress AddressByTxoExecute(r TransactionsAPIAddressByTxoRequest) (*UtxoAddress, *http.Response, error) /* IogTxSubmit Submit transaction Submit a signed and serialized transaction to the network. Interaction with this endpoint is identical to IOG's [Cardano Submit API](https://input-output-hk.github.io/cardano-rest/submit-api/) and will not be monitored by Maestro. See `POST /transactions` for transaction monitoring. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return TransactionsAPIIogTxSubmitRequest */ IogTxSubmit(ctx context.Context) TransactionsAPIIogTxSubmitRequest // IogTxSubmitExecute executes the request // @return string IogTxSubmitExecute(r TransactionsAPIIogTxSubmitRequest) (string, *http.Response, error) /* MaestroTxSubmit Submit transaction Submit a signed and serialized transaction to the network. A transaction submited with this endpoint will be [monitored by Maestro](https://docs.gomaestro.org/docs/Getting-started/Monitor-a-transaction). @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return TransactionsAPIMaestroTxSubmitRequest */ MaestroTxSubmit(ctx context.Context) TransactionsAPIMaestroTxSubmitRequest // MaestroTxSubmitExecute executes the request // @return string MaestroTxSubmitExecute(r TransactionsAPIMaestroTxSubmitRequest) (string, *http.Response, error) /* TxCborByTxHash CBOR bytes of a transaction Returns hex-encoded CBOR bytes of a transaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param txHash Hex encoded transaction hash @return TransactionsAPITxCborByTxHashRequest */ TxCborByTxHash(ctx context.Context, txHash string) TransactionsAPITxCborByTxHashRequest // TxCborByTxHashExecute executes the request // @return TxCbor TxCborByTxHashExecute(r TransactionsAPITxCborByTxHashRequest) (*TxCbor, *http.Response, error) /* TxInfo Transaction information Returns information about a transaction @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param txHash Hex encoded transaction hash @return TransactionsAPITxInfoRequest */ TxInfo(ctx context.Context, txHash string) TransactionsAPITxInfoRequest // TxInfoExecute executes the request // @return TransactionInfo TxInfoExecute(r TransactionsAPITxInfoRequest) (*TransactionInfo, *http.Response, error) /* UtxoByTxoRef Transaction output of an output reference Returns the specified transaction output of a transaction output reference @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param txHash Hex encoded transaction hash @param index Transaction output index @return TransactionsAPIUtxoByTxoRefRequest */ UtxoByTxoRef(ctx context.Context, txHash string, index int32) TransactionsAPIUtxoByTxoRefRequest // UtxoByTxoRefExecute executes the request // @return Utxo UtxoByTxoRefExecute(r TransactionsAPIUtxoByTxoRefRequest) (*Utxo, *http.Response, error) }
type TransactionsAPIAddressByTxoRequest ¶
type TransactionsAPIAddressByTxoRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (TransactionsAPIAddressByTxoRequest) Execute ¶
func (r TransactionsAPIAddressByTxoRequest) Execute() (*UtxoAddress, *http.Response, error)
type TransactionsAPIIogTxSubmitRequest ¶
type TransactionsAPIIogTxSubmitRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (TransactionsAPIIogTxSubmitRequest) Body ¶
func (r TransactionsAPIIogTxSubmitRequest) Body(body string) TransactionsAPIIogTxSubmitRequest
CBOR encoded transaction
type TransactionsAPIMaestroTxSubmitRequest ¶
type TransactionsAPIMaestroTxSubmitRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (TransactionsAPIMaestroTxSubmitRequest) Body ¶
func (r TransactionsAPIMaestroTxSubmitRequest) Body(body string) TransactionsAPIMaestroTxSubmitRequest
CBOR encoded transaction
type TransactionsAPIService ¶
type TransactionsAPIService service
TransactionsAPIService TransactionsAPI service
func (*TransactionsAPIService) AddressByTxo ¶
func (a *TransactionsAPIService) AddressByTxo(ctx context.Context, txHash string, index int32) TransactionsAPIAddressByTxoRequest
AddressByTxo Address of a transaction output reference
Returns the address specified in the given transaction output
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param txHash Hex encoded transaction hash @param index Transaction output index @return TransactionsAPIAddressByTxoRequest
func (*TransactionsAPIService) AddressByTxoExecute ¶
func (a *TransactionsAPIService) AddressByTxoExecute(r TransactionsAPIAddressByTxoRequest) (*UtxoAddress, *http.Response, error)
Execute executes the request
@return UtxoAddress
func (*TransactionsAPIService) IogTxSubmit ¶
func (a *TransactionsAPIService) IogTxSubmit(ctx context.Context) TransactionsAPIIogTxSubmitRequest
IogTxSubmit Submit transaction
Submit a signed and serialized transaction to the network. Interaction with this endpoint is identical to IOG's [Cardano Submit API](https://input-output-hk.github.io/cardano-rest/submit-api/) and will not be monitored by Maestro. See `POST /transactions` for transaction monitoring.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return TransactionsAPIIogTxSubmitRequest
func (*TransactionsAPIService) IogTxSubmitExecute ¶
func (a *TransactionsAPIService) IogTxSubmitExecute(r TransactionsAPIIogTxSubmitRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*TransactionsAPIService) MaestroTxSubmit ¶
func (a *TransactionsAPIService) MaestroTxSubmit(ctx context.Context) TransactionsAPIMaestroTxSubmitRequest
MaestroTxSubmit Submit transaction
Submit a signed and serialized transaction to the network. A transaction submited with this endpoint will be [monitored by Maestro](https://docs.gomaestro.org/docs/Getting-started/Monitor-a-transaction).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return TransactionsAPIMaestroTxSubmitRequest
func (*TransactionsAPIService) MaestroTxSubmitExecute ¶
func (a *TransactionsAPIService) MaestroTxSubmitExecute(r TransactionsAPIMaestroTxSubmitRequest) (string, *http.Response, error)
Execute executes the request
@return string
func (*TransactionsAPIService) TxCborByTxHash ¶
func (a *TransactionsAPIService) TxCborByTxHash(ctx context.Context, txHash string) TransactionsAPITxCborByTxHashRequest
TxCborByTxHash CBOR bytes of a transaction
Returns hex-encoded CBOR bytes of a transaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param txHash Hex encoded transaction hash @return TransactionsAPITxCborByTxHashRequest
func (*TransactionsAPIService) TxCborByTxHashExecute ¶
func (a *TransactionsAPIService) TxCborByTxHashExecute(r TransactionsAPITxCborByTxHashRequest) (*TxCbor, *http.Response, error)
Execute executes the request
@return TxCbor
func (*TransactionsAPIService) TxInfo ¶
func (a *TransactionsAPIService) TxInfo(ctx context.Context, txHash string) TransactionsAPITxInfoRequest
TxInfo Transaction information
Returns information about a transaction
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param txHash Hex encoded transaction hash @return TransactionsAPITxInfoRequest
func (*TransactionsAPIService) TxInfoExecute ¶
func (a *TransactionsAPIService) TxInfoExecute(r TransactionsAPITxInfoRequest) (*TransactionInfo, *http.Response, error)
Execute executes the request
@return TransactionInfo
func (*TransactionsAPIService) UtxoByTxoRef ¶
func (a *TransactionsAPIService) UtxoByTxoRef(ctx context.Context, txHash string, index int32) TransactionsAPIUtxoByTxoRefRequest
UtxoByTxoRef Transaction output of an output reference
Returns the specified transaction output of a transaction output reference
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param txHash Hex encoded transaction hash @param index Transaction output index @return TransactionsAPIUtxoByTxoRefRequest
func (*TransactionsAPIService) UtxoByTxoRefExecute ¶
func (a *TransactionsAPIService) UtxoByTxoRefExecute(r TransactionsAPIUtxoByTxoRefRequest) (*Utxo, *http.Response, error)
Execute executes the request
@return Utxo
type TransactionsAPITxCborByTxHashRequest ¶
type TransactionsAPITxCborByTxHashRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
type TransactionsAPITxInfoRequest ¶
type TransactionsAPITxInfoRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (TransactionsAPITxInfoRequest) Execute ¶
func (r TransactionsAPITxInfoRequest) Execute() (*TransactionInfo, *http.Response, error)
type TransactionsAPIUtxoByTxoRefRequest ¶
type TransactionsAPIUtxoByTxoRefRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (TransactionsAPIUtxoByTxoRefRequest) Execute ¶
func (r TransactionsAPIUtxoByTxoRefRequest) Execute() (*Utxo, *http.Response, error)
func (TransactionsAPIUtxoByTxoRefRequest) ResolveDatums ¶
func (r TransactionsAPIUtxoByTxoRefRequest) ResolveDatums(resolveDatums bool) TransactionsAPIUtxoByTxoRefRequest
Try find and include the corresponding datums for datum hashes
func (TransactionsAPIUtxoByTxoRefRequest) WithCbor ¶
func (r TransactionsAPIUtxoByTxoRefRequest) WithCbor(withCbor bool) TransactionsAPIUtxoByTxoRefRequest
Include the CBOR encodings of the transaction outputs in the response
type TxCbor ¶
type TxCbor struct { // Hex encoded transaction CBOR bytes Cbor string `json:"cbor"` }
TxCbor Transaction bytes
func NewTxCbor ¶
NewTxCbor instantiates a new TxCbor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTxCborWithDefaults ¶
func NewTxCborWithDefaults() *TxCbor
NewTxCborWithDefaults instantiates a new TxCbor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TxCbor) GetCborOk ¶
GetCborOk returns a tuple with the Cbor field value and a boolean to check if the value has been set.
func (TxCbor) MarshalJSON ¶
type TxStatus ¶
type TxStatus string
TxStatus the model 'TxStatus'
const ( TXSTATUS_FAILED TxStatus = "Failed" TXSTATUS_ONCHAIN TxStatus = "Onchain" TXSTATUS_PENDING TxStatus = "Pending" TXSTATUS_REJECTED TxStatus = "Rejected" TXSTATUS_ROLLEDBACK TxStatus = "Rolledback" )
List of TxStatus
func NewTxStatusFromValue ¶
NewTxStatusFromValue returns a pointer to a valid TxStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*TxStatus) UnmarshalJSON ¶
type TxStatusInfo ¶
TxStatusInfo struct for TxStatusInfo
func NewTxStatusInfo ¶
func NewTxStatusInfo(txHash string, txStatus TxStatus) *TxStatusInfo
NewTxStatusInfo instantiates a new TxStatusInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTxStatusInfoWithDefaults ¶
func NewTxStatusInfoWithDefaults() *TxStatusInfo
NewTxStatusInfoWithDefaults instantiates a new TxStatusInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TxStatusInfo) GetTxHash ¶
func (o *TxStatusInfo) GetTxHash() string
GetTxHash returns the TxHash field value
func (*TxStatusInfo) GetTxHashOk ¶
func (o *TxStatusInfo) GetTxHashOk() (*string, bool)
GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.
func (*TxStatusInfo) GetTxStatus ¶
func (o *TxStatusInfo) GetTxStatus() TxStatus
GetTxStatus returns the TxStatus field value
func (*TxStatusInfo) GetTxStatusOk ¶
func (o *TxStatusInfo) GetTxStatusOk() (*TxStatus, bool)
GetTxStatusOk returns a tuple with the TxStatus field value and a boolean to check if the value has been set.
func (TxStatusInfo) MarshalJSON ¶
func (o TxStatusInfo) MarshalJSON() ([]byte, error)
func (*TxStatusInfo) SetTxHash ¶
func (o *TxStatusInfo) SetTxHash(v string)
SetTxHash sets field value
func (*TxStatusInfo) SetTxStatus ¶
func (o *TxStatusInfo) SetTxStatus(v TxStatus)
SetTxStatus sets field value
func (TxStatusInfo) ToMap ¶
func (o TxStatusInfo) ToMap() (map[string]interface{}, error)
type Utxo ¶
type Utxo struct { // Address which controls the UTxO Address string `json:"address"` Assets []Asset `json:"assets"` Datum *DatumOption `json:"datum,omitempty"` // UTxO transaction index Index int32 `json:"index"` ReferenceScript *Script `json:"reference_script,omitempty"` // UTxO transaction hash TxHash string `json:"tx_hash"` }
Utxo Transaction output
func NewUtxo ¶
NewUtxo instantiates a new Utxo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUtxoWithDefaults ¶
func NewUtxoWithDefaults() *Utxo
NewUtxoWithDefaults instantiates a new Utxo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Utxo) GetAddress ¶
GetAddress returns the Address field value
func (*Utxo) GetAddressOk ¶
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*Utxo) GetAssetsOk ¶
GetAssetsOk returns a tuple with the Assets field value and a boolean to check if the value has been set.
func (*Utxo) GetDatum ¶
func (o *Utxo) GetDatum() DatumOption
GetDatum returns the Datum field value if set, zero value otherwise.
func (*Utxo) GetDatumOk ¶
func (o *Utxo) GetDatumOk() (*DatumOption, bool)
GetDatumOk returns a tuple with the Datum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Utxo) GetIndexOk ¶
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*Utxo) GetReferenceScript ¶
GetReferenceScript returns the ReferenceScript field value if set, zero value otherwise.
func (*Utxo) GetReferenceScriptOk ¶
GetReferenceScriptOk returns a tuple with the ReferenceScript field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Utxo) GetTxHashOk ¶
GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.
func (*Utxo) HasReferenceScript ¶
HasReferenceScript returns a boolean if a field has been set.
func (Utxo) MarshalJSON ¶
func (*Utxo) SetDatum ¶
func (o *Utxo) SetDatum(v DatumOption)
SetDatum gets a reference to the given DatumOption and assigns it to the Datum field.
func (*Utxo) SetReferenceScript ¶
SetReferenceScript gets a reference to the given Script and assigns it to the ReferenceScript field.
type UtxoAddress ¶
type UtxoAddress struct {
Address string `json:"address"`
}
UtxoAddress struct for UtxoAddress
func NewUtxoAddress ¶
func NewUtxoAddress(address string) *UtxoAddress
NewUtxoAddress instantiates a new UtxoAddress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUtxoAddressWithDefaults ¶
func NewUtxoAddressWithDefaults() *UtxoAddress
NewUtxoAddressWithDefaults instantiates a new UtxoAddress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UtxoAddress) GetAddress ¶
func (o *UtxoAddress) GetAddress() string
GetAddress returns the Address field value
func (*UtxoAddress) GetAddressOk ¶
func (o *UtxoAddress) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (UtxoAddress) MarshalJSON ¶
func (o UtxoAddress) MarshalJSON() ([]byte, error)
func (*UtxoAddress) SetAddress ¶
func (o *UtxoAddress) SetAddress(v string)
SetAddress sets field value
func (UtxoAddress) ToMap ¶
func (o UtxoAddress) ToMap() (map[string]interface{}, error)
type UtxoRef ¶
type UtxoRef struct { // UTxO transaction index Index int32 `json:"index"` // UTxO transaction hash TxHash string `json:"tx_hash"` }
UtxoRef UTxO reference (transaction hash and output index)
func NewUtxoRef ¶
NewUtxoRef instantiates a new UtxoRef object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUtxoRefWithDefaults ¶
func NewUtxoRefWithDefaults() *UtxoRef
NewUtxoRefWithDefaults instantiates a new UtxoRef object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UtxoRef) GetIndexOk ¶
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*UtxoRef) GetTxHashOk ¶
GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.
func (UtxoRef) MarshalJSON ¶
type UtxoWithBytes ¶
type UtxoWithBytes struct { // Address which controls the UTxO Address string `json:"address"` Assets []Asset `json:"assets"` Datum *DatumOption `json:"datum,omitempty"` // UTxO transaction index Index int32 `json:"index"` ReferenceScript *Script `json:"reference_script,omitempty"` // UTxO transaction hash TxHash string `json:"tx_hash"` // Hex encoded transaction output CBOR bytes TxoutCbor *string `json:"txout_cbor,omitempty"` }
UtxoWithBytes Transaction output
func NewUtxoWithBytes ¶
func NewUtxoWithBytes(address string, assets []Asset, index int32, txHash string) *UtxoWithBytes
NewUtxoWithBytes instantiates a new UtxoWithBytes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUtxoWithBytesWithDefaults ¶
func NewUtxoWithBytesWithDefaults() *UtxoWithBytes
NewUtxoWithBytesWithDefaults instantiates a new UtxoWithBytes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UtxoWithBytes) GetAddress ¶
func (o *UtxoWithBytes) GetAddress() string
GetAddress returns the Address field value
func (*UtxoWithBytes) GetAddressOk ¶
func (o *UtxoWithBytes) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*UtxoWithBytes) GetAssets ¶
func (o *UtxoWithBytes) GetAssets() []Asset
GetAssets returns the Assets field value
func (*UtxoWithBytes) GetAssetsOk ¶
func (o *UtxoWithBytes) GetAssetsOk() ([]Asset, bool)
GetAssetsOk returns a tuple with the Assets field value and a boolean to check if the value has been set.
func (*UtxoWithBytes) GetDatum ¶
func (o *UtxoWithBytes) GetDatum() DatumOption
GetDatum returns the Datum field value if set, zero value otherwise.
func (*UtxoWithBytes) GetDatumOk ¶
func (o *UtxoWithBytes) GetDatumOk() (*DatumOption, bool)
GetDatumOk returns a tuple with the Datum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UtxoWithBytes) GetIndex ¶
func (o *UtxoWithBytes) GetIndex() int32
GetIndex returns the Index field value
func (*UtxoWithBytes) GetIndexOk ¶
func (o *UtxoWithBytes) GetIndexOk() (*int32, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*UtxoWithBytes) GetReferenceScript ¶
func (o *UtxoWithBytes) GetReferenceScript() Script
GetReferenceScript returns the ReferenceScript field value if set, zero value otherwise.
func (*UtxoWithBytes) GetReferenceScriptOk ¶
func (o *UtxoWithBytes) GetReferenceScriptOk() (*Script, bool)
GetReferenceScriptOk returns a tuple with the ReferenceScript field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UtxoWithBytes) GetTxHash ¶
func (o *UtxoWithBytes) GetTxHash() string
GetTxHash returns the TxHash field value
func (*UtxoWithBytes) GetTxHashOk ¶
func (o *UtxoWithBytes) GetTxHashOk() (*string, bool)
GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.
func (*UtxoWithBytes) GetTxoutCbor ¶
func (o *UtxoWithBytes) GetTxoutCbor() string
GetTxoutCbor returns the TxoutCbor field value if set, zero value otherwise.
func (*UtxoWithBytes) GetTxoutCborOk ¶
func (o *UtxoWithBytes) GetTxoutCborOk() (*string, bool)
GetTxoutCborOk returns a tuple with the TxoutCbor field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UtxoWithBytes) HasDatum ¶
func (o *UtxoWithBytes) HasDatum() bool
HasDatum returns a boolean if a field has been set.
func (*UtxoWithBytes) HasReferenceScript ¶
func (o *UtxoWithBytes) HasReferenceScript() bool
HasReferenceScript returns a boolean if a field has been set.
func (*UtxoWithBytes) HasTxoutCbor ¶
func (o *UtxoWithBytes) HasTxoutCbor() bool
HasTxoutCbor returns a boolean if a field has been set.
func (UtxoWithBytes) MarshalJSON ¶
func (o UtxoWithBytes) MarshalJSON() ([]byte, error)
func (*UtxoWithBytes) SetAddress ¶
func (o *UtxoWithBytes) SetAddress(v string)
SetAddress sets field value
func (*UtxoWithBytes) SetAssets ¶
func (o *UtxoWithBytes) SetAssets(v []Asset)
SetAssets sets field value
func (*UtxoWithBytes) SetDatum ¶
func (o *UtxoWithBytes) SetDatum(v DatumOption)
SetDatum gets a reference to the given DatumOption and assigns it to the Datum field.
func (*UtxoWithBytes) SetIndex ¶
func (o *UtxoWithBytes) SetIndex(v int32)
SetIndex sets field value
func (*UtxoWithBytes) SetReferenceScript ¶
func (o *UtxoWithBytes) SetReferenceScript(v Script)
SetReferenceScript gets a reference to the given Script and assigns it to the ReferenceScript field.
func (*UtxoWithBytes) SetTxHash ¶
func (o *UtxoWithBytes) SetTxHash(v string)
SetTxHash sets field value
func (*UtxoWithBytes) SetTxoutCbor ¶
func (o *UtxoWithBytes) SetTxoutCbor(v string)
SetTxoutCbor gets a reference to the given string and assigns it to the TxoutCbor field.
func (UtxoWithBytes) ToMap ¶
func (o UtxoWithBytes) ToMap() (map[string]interface{}, error)
type Version ¶
Version struct for Version
func NewVersion ¶
NewVersion instantiates a new Version object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVersionWithDefaults ¶
func NewVersionWithDefaults() *Version
NewVersionWithDefaults instantiates a new Version object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Version) GetMajorOk ¶
GetMajorOk returns a tuple with the Major field value and a boolean to check if the value has been set.
func (*Version) GetMinorOk ¶
GetMinorOk returns a tuple with the Minor field value and a boolean to check if the value has been set.
func (Version) MarshalJSON ¶
type WdrlRedeemer ¶
type WdrlRedeemer struct { Data Datum `json:"data"` ExUnits int64 `json:"ex_units"` StakeAddress string `json:"stake_address"` }
WdrlRedeemer struct for WdrlRedeemer
func NewWdrlRedeemer ¶
func NewWdrlRedeemer(data Datum, exUnits int64, stakeAddress string) *WdrlRedeemer
NewWdrlRedeemer instantiates a new WdrlRedeemer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWdrlRedeemerWithDefaults ¶
func NewWdrlRedeemerWithDefaults() *WdrlRedeemer
NewWdrlRedeemerWithDefaults instantiates a new WdrlRedeemer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*WdrlRedeemer) GetData ¶
func (o *WdrlRedeemer) GetData() Datum
GetData returns the Data field value
func (*WdrlRedeemer) GetDataOk ¶
func (o *WdrlRedeemer) GetDataOk() (*Datum, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*WdrlRedeemer) GetExUnits ¶
func (o *WdrlRedeemer) GetExUnits() int64
GetExUnits returns the ExUnits field value
func (*WdrlRedeemer) GetExUnitsOk ¶
func (o *WdrlRedeemer) GetExUnitsOk() (*int64, bool)
GetExUnitsOk returns a tuple with the ExUnits field value and a boolean to check if the value has been set.
func (*WdrlRedeemer) GetStakeAddress ¶
func (o *WdrlRedeemer) GetStakeAddress() string
GetStakeAddress returns the StakeAddress field value
func (*WdrlRedeemer) GetStakeAddressOk ¶
func (o *WdrlRedeemer) GetStakeAddressOk() (*string, bool)
GetStakeAddressOk returns a tuple with the StakeAddress field value and a boolean to check if the value has been set.
func (WdrlRedeemer) MarshalJSON ¶
func (o WdrlRedeemer) MarshalJSON() ([]byte, error)
func (*WdrlRedeemer) SetExUnits ¶
func (o *WdrlRedeemer) SetExUnits(v int64)
SetExUnits sets field value
func (*WdrlRedeemer) SetStakeAddress ¶
func (o *WdrlRedeemer) SetStakeAddress(v string)
SetStakeAddress sets field value
func (WdrlRedeemer) ToMap ¶
func (o WdrlRedeemer) ToMap() (map[string]interface{}, error)
type Withdrawal ¶
Withdrawal struct for Withdrawal
func NewWithdrawal ¶
func NewWithdrawal(amount int64, stakeAddress string) *Withdrawal
NewWithdrawal instantiates a new Withdrawal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewWithdrawalWithDefaults ¶
func NewWithdrawalWithDefaults() *Withdrawal
NewWithdrawalWithDefaults instantiates a new Withdrawal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Withdrawal) GetAmount ¶
func (o *Withdrawal) GetAmount() int64
GetAmount returns the Amount field value
func (*Withdrawal) GetAmountOk ¶
func (o *Withdrawal) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*Withdrawal) GetStakeAddress ¶
func (o *Withdrawal) GetStakeAddress() string
GetStakeAddress returns the StakeAddress field value
func (*Withdrawal) GetStakeAddressOk ¶
func (o *Withdrawal) GetStakeAddressOk() (*string, bool)
GetStakeAddressOk returns a tuple with the StakeAddress field value and a boolean to check if the value has been set.
func (Withdrawal) MarshalJSON ¶
func (o Withdrawal) MarshalJSON() ([]byte, error)
func (*Withdrawal) SetStakeAddress ¶
func (o *Withdrawal) SetStakeAddress(v string)
SetStakeAddress sets field value
func (Withdrawal) ToMap ¶
func (o Withdrawal) ToMap() (map[string]interface{}, error)
Source Files
¶
- api_accounts.go
- api_addresses.go
- api_assets.go
- api_datum.go
- api_epochs.go
- api_general.go
- api_pools.go
- api_scripts.go
- api_transactions.go
- client.go
- configuration.go
- model_account_action.go
- model_account_history.go
- model_account_info.go
- model_account_reward.go
- model_account_reward_type.go
- model_account_staking_reward_type.go
- model_account_update.go
- model_address_info.go
- model_address_tx_count.go
- model_asset.go
- model_asset_holder.go
- model_asset_in_policy.go
- model_asset_info.go
- model_asset_standards.go
- model_asset_tx.go
- model_asset_utxo.go
- model_bound.go
- model_cert_redeemer.go
- model_certificates.go
- model_chain_tip.go
- model_current_epoch_info.go
- model_current_slot.go
- model_data.go
- model_datum.go
- model_datum_option.go
- model_datum_option_type.go
- model_delegator_info.go
- model_epoch_info.go
- model_era_parameters.go
- model_era_summary.go
- model_ex_unit.go
- model_mint_asset.go
- model_mint_redeemer.go
- model_minting_tx.go
- model_mir_cert.go
- model_mir_source.go
- model_network_id.go
- model_payment_cred_kind.go
- model_payment_credential.go
- model_pointer.go
- model_policy_holder.go
- model_policy_utxo.go
- model_pool_block.go
- model_pool_history.go
- model_pool_info.go
- model_pool_list_info.go
- model_pool_meta_json.go
- model_pool_metadata.go
- model_pool_reg_cert.go
- model_pool_relay.go
- model_pool_retire_cert.go
- model_pool_update.go
- model_prices.go
- model_protocol_parameters.go
- model_redeemers.go
- model_relay.go
- model_script.go
- model_script_type.go
- model_spend_redeemer.go
- model_stake_deleg_cert.go
- model_stake_reg_cert.go
- model_staking_cred_kind.go
- model_staking_credential.go
- model_system_start.go
- model_token_registry_metadata.go
- model_transaction_info.go
- model_tx_cbor.go
- model_tx_status.go
- model_tx_status_info.go
- model_utxo.go
- model_utxo_address.go
- model_utxo_ref.go
- model_utxo_with_bytes.go
- model_version.go
- model_wdrl_redeemer.go
- model_withdrawal.go
- response.go
- utils.go