maestro

package module
v0.0.0-...-b42888a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

README

Go API client for Maestro

The Maestro Blockchain Indexer API follows the REST paradigm. To interact with Mapi, please head over to Dashboards, create an API project, and copy its associated long-lived API key into your request header.

Your Mapi project is rate-limited based on your API package tier. Please see the available Packages for more details or to upgrade your plan.

Example GET request for retrieving the chain tip:

curl -X GET --header \"api-key: <your_project_api_key>\" https://mainnet.gomaestro-api.org/v0/chain-tip

Example POST request for submitting a transaction:

curl -X POST --header \"Content-Type: application/cbor\" --header \"api-key: <your_project_api_key>\" --data @tx.signed https://mainnet.gomaestro-api.org/v0/transactions

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: V0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://gomaestro.org/

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import maestro "github.com/blinklabs-io/maestro-go"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), maestro.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), maestro.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), maestro.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), maestro.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://mainnet.gomaestro-api.org/v0

Class Method HTTP request Description
AccountsAPI AccountAddresses Get /accounts/{stake_address}/addresses Stake account addresses
AccountsAPI AccountAssets Get /accounts/{stake_address}/assets Stake account assets
AccountsAPI AccountHistory Get /accounts/{stake_address}/history Stake account history
AccountsAPI AccountInfo Get /accounts/{stake_address} Stake account information
AccountsAPI AccountRewards Get /accounts/{stake_address}/rewards Stake account rewards
AccountsAPI AccountUpdates Get /accounts/{stake_address}/updates Stake account updates
AddressesAPI AddressUtxos Get /addresses/{address}/utxos UTxOs at an address
AddressesAPI DecodeAddress Get /addresses/{address}/decode Decoded receiving address information
AddressesAPI TxCountByAddress Get /addresses/{address}/transactions/count Transaction count of an address
AddressesAPI UtxoRefsAtAddress Get /addresses/{address}/utxo_refs UTxO references at an address
AddressesAPI UtxosByAddresses Post /addresses/utxos UTxOs at multiple addresses
AssetsAPI AssetAddresses Get /assets/{asset}/addresses Native asset addresses
AssetsAPI AssetInfo Get /assets/{asset} Native asset information
AssetsAPI AssetTxs Get /assets/{asset}/txs Native asset transaction
AssetsAPI AssetUpdates Get /assets/{asset}/updates Native asset updates
AssetsAPI AssetUtxos Get /assets/{asset}/utxos Native asset UTxOs
AssetsAPI PolicyAddresses Get /assets/policy/{policy}/addresses Minting policy addresses
AssetsAPI PolicyInfo Get /assets/policy/{policy} Minting policy information
AssetsAPI PolicyTxs Get /assets/policy/{policy}/txs Minting policy transactions
AssetsAPI PolicyUtxos Get /assets/policy/{policy}/utxos Minting policy UTxOs
DatumAPI LookupDatum Get /datum/{datum_hash} Datum of a datum hash
EpochsAPI CurrentEpoch Get /epochs/current Current epoch of the network
EpochsAPI EpochInfo Get /epochs/{epoch_no}/info Epoch details
GeneralAPI ChainTip Get /chain-tip Chain tip details
GeneralAPI EraHistory Get /era-history Era history
GeneralAPI ProtocolParams Get /protocol-params Network protocol parameters
GeneralAPI SystemStart Get /system-start System start time
PoolsAPI ListPools Get /pools Registered stake pools
PoolsAPI PoolBlocks Get /pools/{pool_id}/blocks Stake pool blocks
PoolsAPI PoolDelegators Get /pools/{pool_id}/delegators Stake pool delegators
PoolsAPI PoolHistory Get /pools/{pool_id}/history Stake pool history
PoolsAPI PoolInfo Get /pools/{pool_id}/info Stake pool details
PoolsAPI PoolMetadata Get /pools/{pool_id}/metadata Stake pool metadata
PoolsAPI PoolRelays Get /pools/{pool_id}/relays Stake pool relays
PoolsAPI PoolUpdates Get /pools/{pool_id}/updates Stake pool updates
ScriptsAPI ScriptByHash Get /scripts/{script_hash} Script of a script hash
TransactionsAPI AddressByTxo Get /transactions/{tx_hash}/outputs/{index}/address Address of a transaction output reference
TransactionsAPI IogTxSubmit Post /submit/tx Submit transaction
TransactionsAPI MaestroTxSubmit Post /transactions Submit transaction
TransactionsAPI TxCborByTxHash Get /transactions/{tx_hash}/cbor CBOR bytes of a transaction
TransactionsAPI TxInfo Get /transactions/{tx_hash} Transaction information
TransactionsAPI UtxoByTxoRef Get /transactions/{tx_hash}/outputs/{index}/utxo Transaction output of an output reference

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

api_key_header
  • Type: API key
  • API key parameter name: api-key
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: api-key and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

info@gomaestro.org

Documentation

Index

Constants

This section is empty.

Variables

View Source
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")
)
View Source
var AllowedAccountActionEnumValues = []AccountAction{
	"registration",
	"deregistration",
	"delegation",
	"withdrawal",
}

All allowed values of AccountAction enum

View Source
var AllowedAccountRewardTypeEnumValues = []AccountRewardType{
	"member",
	"leader",
	"treasury",
	"reserves",
	"refund",
}

All allowed values of AccountRewardType enum

View Source
var AllowedAccountStakingRewardTypeEnumValues = []AccountStakingRewardType{
	"member",
	"leader",
	"refund",
}

All allowed values of AccountStakingRewardType enum

View Source
var AllowedDatumOptionTypeEnumValues = []DatumOptionType{
	"hash",
	"inline",
}

All allowed values of DatumOptionType enum

View Source
var AllowedMirSourceEnumValues = []MirSource{
	"reserves",
	"treasury",
}

All allowed values of MirSource enum

View Source
var AllowedNetworkIdEnumValues = []NetworkId{
	"mainnet",
	"testnet",
}

All allowed values of NetworkId enum

View Source
var AllowedPaymentCredKindEnumValues = []PaymentCredKind{
	"key",
	"script",
}

All allowed values of PaymentCredKind enum

View Source
var AllowedScriptTypeEnumValues = []ScriptType{
	"native",
	"plutusv1",
	"plutusv2",
}

All allowed values of ScriptType enum

View Source
var AllowedStakingCredKindEnumValues = []StakingCredKind{
	"key",
	"script",
	"pointer",
}

All allowed values of StakingCredKind enum

View Source
var AllowedTxStatusEnumValues = []TxStatus{
	"Failed",
	"Onchain",
	"Pending",
	"Rejected",
	"Rolledback",
}

All allowed values of TxStatus enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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

type APIKey struct {
	Key    string
	Prefix string
}

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

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

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

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

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

The max number of results per pagination page

func (AccountsAPIAccountAddressesRequest) Execute

func (AccountsAPIAccountAddressesRequest) Page

Pagination page number to show results for

type AccountsAPIAccountAssetsRequest

type AccountsAPIAccountAssetsRequest struct {
	ApiService AccountsAPI
	// contains filtered or unexported fields
}

func (AccountsAPIAccountAssetsRequest) Count

The max number of results per pagination page

func (AccountsAPIAccountAssetsRequest) Execute

func (AccountsAPIAccountAssetsRequest) Page

Pagination page number to show results for

type AccountsAPIAccountHistoryRequest

type AccountsAPIAccountHistoryRequest struct {
	ApiService AccountsAPI
	// contains filtered or unexported fields
}

func (AccountsAPIAccountHistoryRequest) Count

The max number of results per pagination page

func (AccountsAPIAccountHistoryRequest) EpochNo

Fetch result for a specific epoch

func (AccountsAPIAccountHistoryRequest) Execute

func (AccountsAPIAccountHistoryRequest) Page

Pagination page number to show results for

type AccountsAPIAccountInfoRequest

type AccountsAPIAccountInfoRequest struct {
	ApiService AccountsAPI
	// contains filtered or unexported fields
}

func (AccountsAPIAccountInfoRequest) Execute

type AccountsAPIAccountRewardsRequest

type AccountsAPIAccountRewardsRequest struct {
	ApiService AccountsAPI
	// contains filtered or unexported fields
}

func (AccountsAPIAccountRewardsRequest) Count

The max number of results per pagination page

func (AccountsAPIAccountRewardsRequest) Execute

func (AccountsAPIAccountRewardsRequest) Page

Pagination page number to show results for

type AccountsAPIAccountUpdatesRequest

type AccountsAPIAccountUpdatesRequest struct {
	ApiService AccountsAPI
	// contains filtered or unexported fields
}

func (AccountsAPIAccountUpdatesRequest) Count

The max number of results per pagination page

func (AccountsAPIAccountUpdatesRequest) Execute

func (AccountsAPIAccountUpdatesRequest) Page

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

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

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

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

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) SetHex

func (o *AddressInfo) SetHex(v string)

SetHex sets field value

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

The max number of results per pagination page

func (AddressesAPIAddressUtxosRequest) Execute

func (AddressesAPIAddressUtxosRequest) Page

Pagination page number to show results for

func (AddressesAPIAddressUtxosRequest) ResolveDatums

Try find and include the corresponding datums for datum hashes

func (AddressesAPIAddressUtxosRequest) WithCbor

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

type AddressesAPIService

type AddressesAPIService service

AddressesAPIService AddressesAPI service

func (*AddressesAPIService) AddressUtxos

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

Execute executes the request

@return []Utxo

func (*AddressesAPIService) DecodeAddress

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

Execute executes the request

@return AddressInfo

func (*AddressesAPIService) TxCountByAddress

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

Execute executes the request

@return AddressTxCount

func (*AddressesAPIService) UtxoRefsAtAddress

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

Execute executes the request

@return []UtxoRef

func (*AddressesAPIService) UtxosByAddresses

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

type AddressesAPIUtxoRefsAtAddressRequest

type AddressesAPIUtxoRefsAtAddressRequest struct {
	ApiService AddressesAPI
	// contains filtered or unexported fields
}

func (AddressesAPIUtxoRefsAtAddressRequest) Count

The max number of results per pagination page

func (AddressesAPIUtxoRefsAtAddressRequest) Execute

func (AddressesAPIUtxoRefsAtAddressRequest) Page

Pagination page number to show results for

type AddressesAPIUtxosByAddressesRequest

type AddressesAPIUtxosByAddressesRequest struct {
	ApiService AddressesAPI
	// contains filtered or unexported fields
}

func (AddressesAPIUtxosByAddressesRequest) Count

The max number of results per pagination page

func (AddressesAPIUtxosByAddressesRequest) Execute

func (AddressesAPIUtxosByAddressesRequest) Page

Pagination page number to show results for

func (AddressesAPIUtxosByAddressesRequest) RequestBody

List of addresses

func (AddressesAPIUtxosByAddressesRequest) ResolveDatums

Try find and include the corresponding datums for datum hashes

func (AddressesAPIUtxosByAddressesRequest) WithCbor

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

func NewAsset(quantity int64, unit string) *Asset

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

func (o *Asset) GetQuantity() int64

GetQuantity returns the Quantity field value

func (*Asset) GetQuantityOk

func (o *Asset) GetQuantityOk() (*int64, bool)

GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.

func (*Asset) GetUnit

func (o *Asset) GetUnit() string

GetUnit returns the Unit field value

func (*Asset) GetUnitOk

func (o *Asset) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.

func (Asset) MarshalJSON

func (o Asset) MarshalJSON() ([]byte, error)

func (*Asset) SetQuantity

func (o *Asset) SetQuantity(v int64)

SetQuantity sets field value

func (*Asset) SetUnit

func (o *Asset) SetUnit(v string)

SetUnit sets field value

func (Asset) ToMap

func (o Asset) ToMap() (map[string]interface{}, error)

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) SetAmount

func (o *AssetHolder) SetAmount(v int64)

SetAmount 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) SetName

func (o *AssetInPolicy) SetName(v string)

SetName sets field value

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

func (o *AssetInfo) GetAssetName() string

GetAssetName returns the AssetName field value

func (*AssetInfo) GetAssetNameAscii

func (o *AssetInfo) GetAssetNameAscii() string

GetAssetNameAscii returns the AssetNameAscii field value if set, zero value otherwise.

func (*AssetInfo) GetAssetNameAsciiOk

func (o *AssetInfo) GetAssetNameAsciiOk() (*string, bool)

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

func (o *AssetInfo) GetAssetNameOk() (*string, bool)

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

func (o *AssetInfo) GetBurnTxCount() int64

GetBurnTxCount returns the BurnTxCount field value

func (*AssetInfo) GetBurnTxCountOk

func (o *AssetInfo) GetBurnTxCountOk() (*int64, bool)

GetBurnTxCountOk returns a tuple with the BurnTxCount field value and a boolean to check if the value has been set.

func (*AssetInfo) GetFingerprint

func (o *AssetInfo) GetFingerprint() string

GetFingerprint returns the Fingerprint field value

func (*AssetInfo) GetFingerprintOk

func (o *AssetInfo) GetFingerprintOk() (*string, bool)

GetFingerprintOk returns a tuple with the Fingerprint field value and a boolean to check if the value has been set.

func (*AssetInfo) GetFirstMintTime

func (o *AssetInfo) GetFirstMintTime() int32

GetFirstMintTime returns the FirstMintTime field value

func (*AssetInfo) GetFirstMintTimeOk

func (o *AssetInfo) GetFirstMintTimeOk() (*int32, bool)

GetFirstMintTimeOk returns a tuple with the FirstMintTime field value and a boolean to check if the value has been set.

func (*AssetInfo) GetFirstMintTx

func (o *AssetInfo) GetFirstMintTx() string

GetFirstMintTx returns the FirstMintTx field value

func (*AssetInfo) GetFirstMintTxOk

func (o *AssetInfo) GetFirstMintTxOk() (*string, bool)

GetFirstMintTxOk returns a tuple with the FirstMintTx field value and a boolean to check if the value has been set.

func (*AssetInfo) GetLatestMintTxMetadata

func (o *AssetInfo) GetLatestMintTxMetadata() map[string]interface{}

GetLatestMintTxMetadata returns the LatestMintTxMetadata field value if set, zero value otherwise.

func (*AssetInfo) GetLatestMintTxMetadataOk

func (o *AssetInfo) GetLatestMintTxMetadataOk() (map[string]interface{}, bool)

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

func (o *AssetInfo) GetMintTxCount() int64

GetMintTxCount returns the MintTxCount field value

func (*AssetInfo) GetMintTxCountOk

func (o *AssetInfo) GetMintTxCountOk() (*int64, bool)

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

func (o *AssetInfo) GetTotalSupply() int64

GetTotalSupply returns the TotalSupply field value

func (*AssetInfo) GetTotalSupplyOk

func (o *AssetInfo) GetTotalSupplyOk() (*int64, bool)

GetTotalSupplyOk returns a tuple with the TotalSupply field value and a boolean to check if the value has been set.

func (*AssetInfo) HasAssetNameAscii

func (o *AssetInfo) HasAssetNameAscii() bool

HasAssetNameAscii returns a boolean if a field has been set.

func (*AssetInfo) HasLatestMintTxMetadata

func (o *AssetInfo) HasLatestMintTxMetadata() bool

HasLatestMintTxMetadata returns a boolean if a field has been set.

func (*AssetInfo) HasTokenRegistryMetadata

func (o *AssetInfo) HasTokenRegistryMetadata() bool

HasTokenRegistryMetadata returns a boolean if a field has been set.

func (AssetInfo) MarshalJSON

func (o AssetInfo) MarshalJSON() ([]byte, error)

func (*AssetInfo) SetAssetName

func (o *AssetInfo) SetAssetName(v string)

SetAssetName sets field value

func (*AssetInfo) SetAssetNameAscii

func (o *AssetInfo) SetAssetNameAscii(v string)

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

func (o *AssetInfo) SetBurnTxCount(v int64)

SetBurnTxCount sets field value

func (*AssetInfo) SetFingerprint

func (o *AssetInfo) SetFingerprint(v string)

SetFingerprint sets field value

func (*AssetInfo) SetFirstMintTime

func (o *AssetInfo) SetFirstMintTime(v int32)

SetFirstMintTime sets field value

func (*AssetInfo) SetFirstMintTx

func (o *AssetInfo) SetFirstMintTx(v string)

SetFirstMintTx sets field value

func (*AssetInfo) SetLatestMintTxMetadata

func (o *AssetInfo) SetLatestMintTxMetadata(v map[string]interface{})

SetLatestMintTxMetadata gets a reference to the given map[string]interface{} and assigns it to the LatestMintTxMetadata field.

func (*AssetInfo) SetMintTxCount

func (o *AssetInfo) SetMintTxCount(v int64)

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

func (o *AssetInfo) SetTotalSupply(v int64)

SetTotalSupply sets field value

func (AssetInfo) ToMap

func (o AssetInfo) ToMap() (map[string]interface{}, error)

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

func NewAssetTx(blockHeight int32, epochNo int32, txHash string) *AssetTx

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

func (o *AssetTx) GetBlockHeight() int32

GetBlockHeight returns the BlockHeight field value

func (*AssetTx) GetBlockHeightOk

func (o *AssetTx) GetBlockHeightOk() (*int32, bool)

GetBlockHeightOk returns a tuple with the BlockHeight field value and a boolean to check if the value has been set.

func (*AssetTx) GetEpochNo

func (o *AssetTx) GetEpochNo() int32

GetEpochNo returns the EpochNo field value

func (*AssetTx) GetEpochNoOk

func (o *AssetTx) GetEpochNoOk() (*int32, bool)

GetEpochNoOk returns a tuple with the EpochNo field value and a boolean to check if the value has been set.

func (*AssetTx) GetTxHash

func (o *AssetTx) GetTxHash() string

GetTxHash returns the TxHash field value

func (*AssetTx) GetTxHashOk

func (o *AssetTx) GetTxHashOk() (*string, bool)

GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.

func (AssetTx) MarshalJSON

func (o AssetTx) MarshalJSON() ([]byte, error)

func (*AssetTx) SetBlockHeight

func (o *AssetTx) SetBlockHeight(v int32)

SetBlockHeight sets field value

func (*AssetTx) SetEpochNo

func (o *AssetTx) SetEpochNo(v int32)

SetEpochNo sets field value

func (*AssetTx) SetTxHash

func (o *AssetTx) SetTxHash(v string)

SetTxHash sets field value

func (AssetTx) ToMap

func (o AssetTx) ToMap() (map[string]interface{}, error)

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

func NewAssetUtxo(address string, amount int64, index int32, txHash string) *AssetUtxo

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

func (o *AssetUtxo) GetAddress() string

GetAddress returns the Address field value

func (*AssetUtxo) GetAddressOk

func (o *AssetUtxo) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.

func (*AssetUtxo) GetAmount

func (o *AssetUtxo) GetAmount() int64

GetAmount returns the Amount field value

func (*AssetUtxo) GetAmountOk

func (o *AssetUtxo) GetAmountOk() (*int64, bool)

GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.

func (*AssetUtxo) GetIndex

func (o *AssetUtxo) GetIndex() int32

GetIndex returns the Index field value

func (*AssetUtxo) GetIndexOk

func (o *AssetUtxo) GetIndexOk() (*int32, bool)

GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.

func (*AssetUtxo) GetTxHash

func (o *AssetUtxo) GetTxHash() string

GetTxHash returns the TxHash field value

func (*AssetUtxo) GetTxHashOk

func (o *AssetUtxo) GetTxHashOk() (*string, bool)

GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.

func (AssetUtxo) MarshalJSON

func (o AssetUtxo) MarshalJSON() ([]byte, error)

func (*AssetUtxo) SetAddress

func (o *AssetUtxo) SetAddress(v string)

SetAddress sets field value

func (*AssetUtxo) SetAmount

func (o *AssetUtxo) SetAmount(v int64)

SetAmount sets field value

func (*AssetUtxo) SetIndex

func (o *AssetUtxo) SetIndex(v int32)

SetIndex sets field value

func (*AssetUtxo) SetTxHash

func (o *AssetUtxo) SetTxHash(v string)

SetTxHash sets field value

func (AssetUtxo) ToMap

func (o AssetUtxo) ToMap() (map[string]interface{}, error)

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

The max number of results per pagination page

func (AssetsAPIAssetAddressesRequest) Execute

func (AssetsAPIAssetAddressesRequest) Page

Pagination page number to show results for

type AssetsAPIAssetInfoRequest

type AssetsAPIAssetInfoRequest struct {
	ApiService AssetsAPI
	// contains filtered or unexported fields
}

func (AssetsAPIAssetInfoRequest) Execute

type AssetsAPIAssetTxsRequest

type AssetsAPIAssetTxsRequest struct {
	ApiService AssetsAPI
	// contains filtered or unexported fields
}

func (AssetsAPIAssetTxsRequest) Count

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

The order in which the results are sorted (by block height)

func (AssetsAPIAssetTxsRequest) Page

Pagination page number to show results for

type AssetsAPIAssetUpdatesRequest

type AssetsAPIAssetUpdatesRequest struct {
	ApiService AssetsAPI
	// contains filtered or unexported fields
}

func (AssetsAPIAssetUpdatesRequest) Count

The max number of results per pagination page

func (AssetsAPIAssetUpdatesRequest) Execute

func (AssetsAPIAssetUpdatesRequest) Order

The order in which the results are sorted (by block height)

func (AssetsAPIAssetUpdatesRequest) Page

Pagination page number to show results for

type AssetsAPIAssetUtxosRequest

type AssetsAPIAssetUtxosRequest struct {
	ApiService AssetsAPI
	// contains filtered or unexported fields
}

func (AssetsAPIAssetUtxosRequest) Count

The max number of results per page

func (AssetsAPIAssetUtxosRequest) Execute

func (AssetsAPIAssetUtxosRequest) Page

The page number for the results

type AssetsAPIPolicyAddressesRequest

type AssetsAPIPolicyAddressesRequest struct {
	ApiService AssetsAPI
	// contains filtered or unexported fields
}

func (AssetsAPIPolicyAddressesRequest) Count

The max number of results per page

func (AssetsAPIPolicyAddressesRequest) Execute

func (AssetsAPIPolicyAddressesRequest) Page

The page number for the results

type AssetsAPIPolicyInfoRequest

type AssetsAPIPolicyInfoRequest struct {
	ApiService AssetsAPI
	// contains filtered or unexported fields
}

func (AssetsAPIPolicyInfoRequest) Count

The max number of results per page

func (AssetsAPIPolicyInfoRequest) Execute

func (AssetsAPIPolicyInfoRequest) Page

The page number for the results

type AssetsAPIPolicyTxsRequest

type AssetsAPIPolicyTxsRequest struct {
	ApiService AssetsAPI
	// contains filtered or unexported fields
}

func (AssetsAPIPolicyTxsRequest) Count

The max number of results per page

func (AssetsAPIPolicyTxsRequest) Execute

func (AssetsAPIPolicyTxsRequest) FromHeight

Return only transactions after supplied block height

func (AssetsAPIPolicyTxsRequest) Order

The order in which the results are sorted (by block height)

func (AssetsAPIPolicyTxsRequest) Page

The page number for the results

type AssetsAPIPolicyUtxosRequest

type AssetsAPIPolicyUtxosRequest struct {
	ApiService AssetsAPI
	// contains filtered or unexported fields
}

func (AssetsAPIPolicyUtxosRequest) Count

The max number of results per page

func (AssetsAPIPolicyUtxosRequest) Execute

func (AssetsAPIPolicyUtxosRequest) Page

The page number for the results

type AssetsAPIService

type AssetsAPIService service

AssetsAPIService AssetsAPI service

func (*AssetsAPIService) AssetAddresses

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

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

Execute executes the request

@return AssetInfo

func (*AssetsAPIService) AssetTxs

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

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

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

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

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

Execute executes the request

@return []AssetInfo

func (*AssetsAPIService) PolicyTxs

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

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

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

type Bound struct {
	Epoch int64 `json:"epoch"`
	Slot  int64 `json:"slot"`
	Time  int64 `json:"time"`
}

Bound struct for Bound

func NewBound

func NewBound(epoch int64, slot int64, time int64) *Bound

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) GetEpoch

func (o *Bound) GetEpoch() int64

GetEpoch returns the Epoch field value

func (*Bound) GetEpochOk

func (o *Bound) GetEpochOk() (*int64, bool)

GetEpochOk returns a tuple with the Epoch field value and a boolean to check if the value has been set.

func (*Bound) GetSlot

func (o *Bound) GetSlot() int64

GetSlot returns the Slot field value

func (*Bound) GetSlotOk

func (o *Bound) GetSlotOk() (*int64, bool)

GetSlotOk returns a tuple with the Slot field value and a boolean to check if the value has been set.

func (*Bound) GetTime

func (o *Bound) GetTime() int64

GetTime returns the Time field value

func (*Bound) GetTimeOk

func (o *Bound) GetTimeOk() (*int64, bool)

GetTimeOk returns a tuple with the Time field value and a boolean to check if the value has been set.

func (Bound) MarshalJSON

func (o Bound) MarshalJSON() ([]byte, error)

func (*Bound) SetEpoch

func (o *Bound) SetEpoch(v int64)

SetEpoch sets field value

func (*Bound) SetSlot

func (o *Bound) SetSlot(v int64)

SetSlot sets field value

func (*Bound) SetTime

func (o *Bound) SetTime(v int64)

SetTime sets field value

func (Bound) ToMap

func (o Bound) ToMap() (map[string]interface{}, error)

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) SetData

func (o *CertRedeemer) SetData(v Datum)

SetData 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

func NewChainTip(blockHash string, height int64, slot int64) *ChainTip

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

func (o *ChainTip) GetBlockHash() string

GetBlockHash returns the BlockHash field value

func (*ChainTip) GetBlockHashOk

func (o *ChainTip) GetBlockHashOk() (*string, bool)

GetBlockHashOk returns a tuple with the BlockHash field value and a boolean to check if the value has been set.

func (*ChainTip) GetHeight

func (o *ChainTip) GetHeight() int64

GetHeight returns the Height field value

func (*ChainTip) GetHeightOk

func (o *ChainTip) GetHeightOk() (*int64, bool)

GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.

func (*ChainTip) GetSlot

func (o *ChainTip) GetSlot() int64

GetSlot returns the Slot field value

func (*ChainTip) GetSlotOk

func (o *ChainTip) GetSlotOk() (*int64, bool)

GetSlotOk returns a tuple with the Slot field value and a boolean to check if the value has been set.

func (ChainTip) MarshalJSON

func (o ChainTip) MarshalJSON() ([]byte, error)

func (*ChainTip) SetBlockHash

func (o *ChainTip) SetBlockHash(v string)

SetBlockHash sets field value

func (*ChainTip) SetHeight

func (o *ChainTip) SetHeight(v int64)

SetHeight sets field value

func (*ChainTip) SetSlot

func (o *ChainTip) SetSlot(v int64)

SetSlot sets field value

func (ChainTip) ToMap

func (o ChainTip) ToMap() (map[string]interface{}, error)

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) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

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) SetNumber

func (o *CurrentSlot) SetNumber(v int64)

SetNumber sets field value

func (CurrentSlot) ToMap

func (o CurrentSlot) ToMap() (map[string]interface{}, error)

type Data

type Data struct {
	Hash  string                 `json:"hash"`
	Value map[string]interface{} `json:"value"`
}

Data struct for Data

func NewData

func NewData(hash string, value map[string]interface{}) *Data

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) GetHash

func (o *Data) GetHash() string

GetHash returns the Hash field value

func (*Data) GetHashOk

func (o *Data) GetHashOk() (*string, bool)

GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.

func (*Data) GetValue

func (o *Data) GetValue() map[string]interface{}

GetValue returns the Value field value

func (*Data) GetValueOk

func (o *Data) GetValueOk() (map[string]interface{}, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (Data) MarshalJSON

func (o Data) MarshalJSON() ([]byte, error)

func (*Data) SetHash

func (o *Data) SetHash(v string)

SetHash sets field value

func (*Data) SetValue

func (o *Data) SetValue(v map[string]interface{})

SetValue sets field value

func (Data) ToMap

func (o Data) ToMap() (map[string]interface{}, error)

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

func NewDatum(bytes string, json map[string]interface{}) *Datum

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) GetBytes

func (o *Datum) GetBytes() string

GetBytes returns the Bytes field value

func (*Datum) GetBytesOk

func (o *Datum) GetBytesOk() (*string, bool)

GetBytesOk returns a tuple with the Bytes field value and a boolean to check if the value has been set.

func (*Datum) GetJson

func (o *Datum) GetJson() map[string]interface{}

GetJson returns the Json field value

func (*Datum) GetJsonOk

func (o *Datum) GetJsonOk() (map[string]interface{}, bool)

GetJsonOk returns a tuple with the Json field value and a boolean to check if the value has been set.

func (Datum) MarshalJSON

func (o Datum) MarshalJSON() ([]byte, error)

func (*Datum) SetBytes

func (o *Datum) SetBytes(v string)

SetBytes sets field value

func (*Datum) SetJson

func (o *Datum) SetJson(v map[string]interface{})

SetJson sets field value

func (Datum) ToMap

func (o Datum) ToMap() (map[string]interface{}, error)

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
}

func (DatumAPILookupDatumRequest) Execute

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) SetHash

func (o *DatumOption) SetHash(v string)

SetHash sets field value

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

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

func (o *EpochInfo) GetBlkCount() int32

GetBlkCount returns the BlkCount field value

func (*EpochInfo) GetBlkCountOk

func (o *EpochInfo) GetBlkCountOk() (*int32, bool)

GetBlkCountOk returns a tuple with the BlkCount field value and a boolean to check if the value has been set.

func (*EpochInfo) GetEndTime

func (o *EpochInfo) GetEndTime() int64

GetEndTime returns the EndTime field value

func (*EpochInfo) GetEndTimeOk

func (o *EpochInfo) GetEndTimeOk() (*int64, bool)

GetEndTimeOk returns a tuple with the EndTime field value and a boolean to check if the value has been set.

func (*EpochInfo) GetEpochNo

func (o *EpochInfo) GetEpochNo() int32

GetEpochNo returns the EpochNo field value

func (*EpochInfo) GetEpochNoOk

func (o *EpochInfo) GetEpochNoOk() (*int32, bool)

GetEpochNoOk returns a tuple with the EpochNo field value and a boolean to check if the value has been set.

func (*EpochInfo) GetFees

func (o *EpochInfo) GetFees() string

GetFees returns the Fees field value

func (*EpochInfo) GetFeesOk

func (o *EpochInfo) GetFeesOk() (*string, bool)

GetFeesOk returns a tuple with the Fees field value and a boolean to check if the value has been set.

func (*EpochInfo) GetStartTime

func (o *EpochInfo) GetStartTime() int64

GetStartTime returns the StartTime field value

func (*EpochInfo) GetStartTimeOk

func (o *EpochInfo) GetStartTimeOk() (*int64, bool)

GetStartTimeOk returns a tuple with the StartTime field value and a boolean to check if the value has been set.

func (*EpochInfo) GetTxCount

func (o *EpochInfo) GetTxCount() int32

GetTxCount returns the TxCount field value

func (*EpochInfo) GetTxCountOk

func (o *EpochInfo) GetTxCountOk() (*int32, bool)

GetTxCountOk returns a tuple with the TxCount field value and a boolean to check if the value has been set.

func (EpochInfo) MarshalJSON

func (o EpochInfo) MarshalJSON() ([]byte, error)

func (*EpochInfo) SetBlkCount

func (o *EpochInfo) SetBlkCount(v int32)

SetBlkCount sets field value

func (*EpochInfo) SetEndTime

func (o *EpochInfo) SetEndTime(v int64)

SetEndTime sets field value

func (*EpochInfo) SetEpochNo

func (o *EpochInfo) SetEpochNo(v int32)

SetEpochNo sets field value

func (*EpochInfo) SetFees

func (o *EpochInfo) SetFees(v string)

SetFees sets field value

func (*EpochInfo) SetStartTime

func (o *EpochInfo) SetStartTime(v int64)

SetStartTime sets field value

func (*EpochInfo) SetTxCount

func (o *EpochInfo) SetTxCount(v int32)

SetTxCount sets field value

func (EpochInfo) ToMap

func (o EpochInfo) ToMap() (map[string]interface{}, error)

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

type EpochsAPIEpochInfoRequest

type EpochsAPIEpochInfoRequest struct {
	ApiService EpochsAPI
	// contains filtered or unexported fields
}

func (EpochsAPIEpochInfoRequest) Execute

type EpochsAPIService

type EpochsAPIService service

EpochsAPIService EpochsAPI service

func (*EpochsAPIService) CurrentEpoch

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

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

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) SetStart

func (o *EraSummary) SetStart(v Bound)

SetStart 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

func NewExUnit(memory int64, steps int64) *ExUnit

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) GetMemory

func (o *ExUnit) GetMemory() int64

GetMemory returns the Memory field value

func (*ExUnit) GetMemoryOk

func (o *ExUnit) GetMemoryOk() (*int64, bool)

GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.

func (*ExUnit) GetSteps

func (o *ExUnit) GetSteps() int64

GetSteps returns the Steps field value

func (*ExUnit) GetStepsOk

func (o *ExUnit) GetStepsOk() (*int64, bool)

GetStepsOk returns a tuple with the Steps field value and a boolean to check if the value has been set.

func (ExUnit) MarshalJSON

func (o ExUnit) MarshalJSON() ([]byte, error)

func (*ExUnit) SetMemory

func (o *ExUnit) SetMemory(v int64)

SetMemory sets field value

func (*ExUnit) SetSteps

func (o *ExUnit) SetSteps(v int64)

SetSteps sets field value

func (ExUnit) ToMap

func (o ExUnit) ToMap() (map[string]interface{}, error)

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
}

func (GeneralAPIChainTipRequest) Execute

type GeneralAPIEraHistoryRequest

type GeneralAPIEraHistoryRequest struct {
	ApiService GeneralAPI
	// contains filtered or unexported fields
}

func (GeneralAPIEraHistoryRequest) Execute

type GeneralAPIProtocolParamsRequest

type GeneralAPIProtocolParamsRequest struct {
	ApiService GeneralAPI
	// contains filtered or unexported fields
}

func (GeneralAPIProtocolParamsRequest) Execute

type GeneralAPIService

type GeneralAPIService service

GeneralAPIService GeneralAPI service

func (*GeneralAPIService) ChainTip

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

Execute executes the request

@return ChainTip

func (*GeneralAPIService) EraHistory

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

Execute executes the request

@return []EraSummary

func (*GeneralAPIService) ProtocolParams

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

Execute executes the request

@return ProtocolParameters

func (*GeneralAPIService) SystemStart

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

Execute executes the request

@return SystemStart

type GeneralAPISystemStartRequest

type GeneralAPISystemStartRequest struct {
	ApiService GeneralAPI
	// contains filtered or unexported fields
}

func (GeneralAPISystemStartRequest) Execute

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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

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

func NewMintAsset(quantity int64, unit string) *MintAsset

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

func (o *MintAsset) GetQuantity() int64

GetQuantity returns the Quantity field value

func (*MintAsset) GetQuantityOk

func (o *MintAsset) GetQuantityOk() (*int64, bool)

GetQuantityOk returns a tuple with the Quantity field value and a boolean to check if the value has been set.

func (*MintAsset) GetUnit

func (o *MintAsset) GetUnit() string

GetUnit returns the Unit field value

func (*MintAsset) GetUnitOk

func (o *MintAsset) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value and a boolean to check if the value has been set.

func (MintAsset) MarshalJSON

func (o MintAsset) MarshalJSON() ([]byte, error)

func (*MintAsset) SetQuantity

func (o *MintAsset) SetQuantity(v int64)

SetQuantity sets field value

func (*MintAsset) SetUnit

func (o *MintAsset) SetUnit(v string)

SetUnit sets field value

func (MintAsset) ToMap

func (o MintAsset) ToMap() (map[string]interface{}, error)

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) SetData

func (o *MintRedeemer) SetData(v Datum)

SetData sets field value

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

func NewMintingTx(blockTimestamp int32, mintAmount int64, txHash string) *MintingTx

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

func (o *MintingTx) GetBlockTimestamp() int32

GetBlockTimestamp returns the BlockTimestamp field value

func (*MintingTx) GetBlockTimestampOk

func (o *MintingTx) GetBlockTimestampOk() (*int32, bool)

GetBlockTimestampOk returns a tuple with the BlockTimestamp field value and a boolean to check if the value has been set.

func (*MintingTx) GetMetadata

func (o *MintingTx) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*MintingTx) GetMetadataOk

func (o *MintingTx) 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 (*MintingTx) GetMintAmount

func (o *MintingTx) GetMintAmount() int64

GetMintAmount returns the MintAmount field value

func (*MintingTx) GetMintAmountOk

func (o *MintingTx) GetMintAmountOk() (*int64, bool)

GetMintAmountOk returns a tuple with the MintAmount field value and a boolean to check if the value has been set.

func (*MintingTx) GetTxHash

func (o *MintingTx) GetTxHash() string

GetTxHash returns the TxHash field value

func (*MintingTx) GetTxHashOk

func (o *MintingTx) GetTxHashOk() (*string, bool)

GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.

func (*MintingTx) HasMetadata

func (o *MintingTx) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (MintingTx) MarshalJSON

func (o MintingTx) MarshalJSON() ([]byte, error)

func (*MintingTx) SetBlockTimestamp

func (o *MintingTx) SetBlockTimestamp(v int32)

SetBlockTimestamp sets field value

func (*MintingTx) SetMetadata

func (o *MintingTx) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*MintingTx) SetMintAmount

func (o *MintingTx) SetMintAmount(v int64)

SetMintAmount sets field value

func (*MintingTx) SetTxHash

func (o *MintingTx) SetTxHash(v string)

SetTxHash sets field value

func (MintingTx) ToMap

func (o MintingTx) ToMap() (map[string]interface{}, error)

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

func NewMirCert(certIndex int32, from MirSource, to string) *MirCert

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

func (o *MirCert) GetCertIndex() int32

GetCertIndex returns the CertIndex field value

func (*MirCert) GetCertIndexOk

func (o *MirCert) GetCertIndexOk() (*int32, bool)

GetCertIndexOk returns a tuple with the CertIndex field value and a boolean to check if the value has been set.

func (*MirCert) GetFrom

func (o *MirCert) GetFrom() MirSource

GetFrom returns the From field value

func (*MirCert) GetFromOk

func (o *MirCert) GetFromOk() (*MirSource, bool)

GetFromOk returns a tuple with the From field value and a boolean to check if the value has been set.

func (*MirCert) GetTo

func (o *MirCert) GetTo() string

GetTo returns the To field value

func (*MirCert) GetToOk

func (o *MirCert) GetToOk() (*string, bool)

GetToOk returns a tuple with the To field value and a boolean to check if the value has been set.

func (MirCert) MarshalJSON

func (o MirCert) MarshalJSON() ([]byte, error)

func (*MirCert) SetCertIndex

func (o *MirCert) SetCertIndex(v int32)

SetCertIndex sets field value

func (*MirCert) SetFrom

func (o *MirCert) SetFrom(v MirSource)

SetFrom sets field value

func (*MirCert) SetTo

func (o *MirCert) SetTo(v string)

SetTo sets field value

func (MirCert) ToMap

func (o MirCert) ToMap() (map[string]interface{}, error)

type MirSource

type MirSource string

MirSource The pot from which an MIR reward is being funded by

const (
	MIRSOURCE_RESERVES MirSource = "reserves"
	MIRSOURCE_TREASURY MirSource = "treasury"
)

List of MirSource

func NewMirSourceFromValue

func NewMirSourceFromValue(v string) (*MirSource, error)

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) IsValid

func (v MirSource) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (MirSource) Ptr

func (v MirSource) Ptr() *MirSource

Ptr returns reference to MirSource value

func (*MirSource) UnmarshalJSON

func (v *MirSource) UnmarshalJSON(src []byte) error

type NetworkId

type NetworkId string

NetworkId the model 'NetworkId'

const (
	NETWORKID_MAINNET NetworkId = "mainnet"
	NETWORKID_TESTNET NetworkId = "testnet"
)

List of NetworkId

func NewNetworkIdFromValue

func NewNetworkIdFromValue(v string) (*NetworkId, error)

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) IsValid

func (v NetworkId) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (NetworkId) Ptr

func (v NetworkId) Ptr() *NetworkId

Ptr returns reference to NetworkId value

func (*NetworkId) UnmarshalJSON

func (v *NetworkId) UnmarshalJSON(src []byte) error

type NullableAccountAction

type NullableAccountAction struct {
	// contains filtered or unexported fields
}

func NewNullableAccountAction

func NewNullableAccountAction(val *AccountAction) *NullableAccountAction

func (NullableAccountAction) Get

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 (NullableAccountHistory) IsSet

func (v NullableAccountHistory) IsSet() bool

func (NullableAccountHistory) MarshalJSON

func (v NullableAccountHistory) MarshalJSON() ([]byte, error)

func (*NullableAccountHistory) Set

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 (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 (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 (NullableAccountRewardType) IsSet

func (v NullableAccountRewardType) IsSet() bool

func (NullableAccountRewardType) MarshalJSON

func (v NullableAccountRewardType) MarshalJSON() ([]byte, error)

func (*NullableAccountRewardType) Set

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 (NullableAccountStakingRewardType) Get

func (NullableAccountStakingRewardType) IsSet

func (NullableAccountStakingRewardType) MarshalJSON

func (v NullableAccountStakingRewardType) MarshalJSON() ([]byte, error)

func (*NullableAccountStakingRewardType) Set

func (*NullableAccountStakingRewardType) UnmarshalJSON

func (v *NullableAccountStakingRewardType) UnmarshalJSON(src []byte) error

func (*NullableAccountStakingRewardType) Unset

type NullableAccountUpdate

type NullableAccountUpdate struct {
	// contains filtered or unexported fields
}

func NewNullableAccountUpdate

func NewNullableAccountUpdate(val *AccountUpdate) *NullableAccountUpdate

func (NullableAccountUpdate) Get

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 (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 (NullableAddressTxCount) IsSet

func (v NullableAddressTxCount) IsSet() bool

func (NullableAddressTxCount) MarshalJSON

func (v NullableAddressTxCount) MarshalJSON() ([]byte, error)

func (*NullableAddressTxCount) Set

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 (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 (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 (NullableAssetStandards) IsSet

func (v NullableAssetStandards) IsSet() bool

func (NullableAssetStandards) MarshalJSON

func (v NullableAssetStandards) MarshalJSON() ([]byte, error)

func (*NullableAssetStandards) Set

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 (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 (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 (NullableCurrentEpochInfo) IsSet

func (v NullableCurrentEpochInfo) IsSet() bool

func (NullableCurrentEpochInfo) MarshalJSON

func (v NullableCurrentEpochInfo) MarshalJSON() ([]byte, error)

func (*NullableCurrentEpochInfo) Set

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 (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 (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 (NullableDatumOptionType) IsSet

func (v NullableDatumOptionType) IsSet() bool

func (NullableDatumOptionType) MarshalJSON

func (v NullableDatumOptionType) MarshalJSON() ([]byte, error)

func (*NullableDatumOptionType) Set

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 (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 (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 (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 (NullablePaymentCredKind) IsSet

func (v NullablePaymentCredKind) IsSet() bool

func (NullablePaymentCredKind) MarshalJSON

func (v NullablePaymentCredKind) MarshalJSON() ([]byte, error)

func (*NullablePaymentCredKind) Set

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 (NullablePaymentCredential) IsSet

func (v NullablePaymentCredential) IsSet() bool

func (NullablePaymentCredential) MarshalJSON

func (v NullablePaymentCredential) MarshalJSON() ([]byte, error)

func (*NullablePaymentCredential) Set

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 (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 (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 (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 (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 (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 (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 (NullablePoolRetireCert) IsSet

func (v NullablePoolRetireCert) IsSet() bool

func (NullablePoolRetireCert) MarshalJSON

func (v NullablePoolRetireCert) MarshalJSON() ([]byte, error)

func (*NullablePoolRetireCert) Set

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 (NullableProtocolParameters) IsSet

func (v NullableProtocolParameters) IsSet() bool

func (NullableProtocolParameters) MarshalJSON

func (v NullableProtocolParameters) MarshalJSON() ([]byte, error)

func (*NullableProtocolParameters) Set

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 (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 (NullableStakeDelegCert) IsSet

func (v NullableStakeDelegCert) IsSet() bool

func (NullableStakeDelegCert) MarshalJSON

func (v NullableStakeDelegCert) MarshalJSON() ([]byte, error)

func (*NullableStakeDelegCert) Set

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 (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 (NullableStakingCredKind) IsSet

func (v NullableStakingCredKind) IsSet() bool

func (NullableStakingCredKind) MarshalJSON

func (v NullableStakingCredKind) MarshalJSON() ([]byte, error)

func (*NullableStakingCredKind) Set

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 (NullableStakingCredential) IsSet

func (v NullableStakingCredential) IsSet() bool

func (NullableStakingCredential) MarshalJSON

func (v NullableStakingCredential) MarshalJSON() ([]byte, error)

func (*NullableStakingCredential) Set

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 (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 (NullableTokenRegistryMetadata) Get

func (NullableTokenRegistryMetadata) IsSet

func (NullableTokenRegistryMetadata) MarshalJSON

func (v NullableTokenRegistryMetadata) MarshalJSON() ([]byte, error)

func (*NullableTokenRegistryMetadata) Set

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 (NullableTransactionInfo) IsSet

func (v NullableTransactionInfo) IsSet() bool

func (NullableTransactionInfo) MarshalJSON

func (v NullableTransactionInfo) MarshalJSON() ([]byte, error)

func (*NullableTransactionInfo) Set

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 (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 (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 (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 (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

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

func NewPointer(certIndex int64, slot int64, txIndex int64) *Pointer

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

func (o *Pointer) GetCertIndex() int64

GetCertIndex returns the CertIndex field value

func (*Pointer) GetCertIndexOk

func (o *Pointer) GetCertIndexOk() (*int64, bool)

GetCertIndexOk returns a tuple with the CertIndex field value and a boolean to check if the value has been set.

func (*Pointer) GetSlot

func (o *Pointer) GetSlot() int64

GetSlot returns the Slot field value

func (*Pointer) GetSlotOk

func (o *Pointer) GetSlotOk() (*int64, bool)

GetSlotOk returns a tuple with the Slot field value and a boolean to check if the value has been set.

func (*Pointer) GetTxIndex

func (o *Pointer) GetTxIndex() int64

GetTxIndex returns the TxIndex field value

func (*Pointer) GetTxIndexOk

func (o *Pointer) GetTxIndexOk() (*int64, bool)

GetTxIndexOk returns a tuple with the TxIndex field value and a boolean to check if the value has been set.

func (Pointer) MarshalJSON

func (o Pointer) MarshalJSON() ([]byte, error)

func (*Pointer) SetCertIndex

func (o *Pointer) SetCertIndex(v int64)

SetCertIndex sets field value

func (*Pointer) SetSlot

func (o *Pointer) SetSlot(v int64)

SetSlot sets field value

func (*Pointer) SetTxIndex

func (o *Pointer) SetTxIndex(v int64)

SetTxIndex sets field value

func (Pointer) ToMap

func (o Pointer) ToMap() (map[string]interface{}, error)

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) SetIndex

func (o *PolicyUtxo) SetIndex(v int32)

SetIndex sets field value

func (*PolicyUtxo) SetTxHash

func (o *PolicyUtxo) SetTxHash(v string)

SetTxHash 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

func NewPoolBlock(blockHash string, blockHeight int32, blockTime int32) *PoolBlock

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

func (o *PoolBlock) GetAbsSlot() int64

GetAbsSlot returns the AbsSlot field value if set, zero value otherwise.

func (*PoolBlock) GetAbsSlotOk

func (o *PoolBlock) GetAbsSlotOk() (*int64, bool)

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

func (o *PoolBlock) GetBlockHash() string

GetBlockHash returns the BlockHash field value

func (*PoolBlock) GetBlockHashOk

func (o *PoolBlock) GetBlockHashOk() (*string, bool)

GetBlockHashOk returns a tuple with the BlockHash field value and a boolean to check if the value has been set.

func (*PoolBlock) GetBlockHeight

func (o *PoolBlock) GetBlockHeight() int32

GetBlockHeight returns the BlockHeight field value

func (*PoolBlock) GetBlockHeightOk

func (o *PoolBlock) GetBlockHeightOk() (*int32, bool)

GetBlockHeightOk returns a tuple with the BlockHeight field value and a boolean to check if the value has been set.

func (*PoolBlock) GetBlockTime

func (o *PoolBlock) GetBlockTime() int32

GetBlockTime returns the BlockTime field value

func (*PoolBlock) GetBlockTimeOk

func (o *PoolBlock) GetBlockTimeOk() (*int32, bool)

GetBlockTimeOk returns a tuple with the BlockTime field value and a boolean to check if the value has been set.

func (*PoolBlock) GetEpochNo

func (o *PoolBlock) GetEpochNo() int32

GetEpochNo returns the EpochNo field value if set, zero value otherwise.

func (*PoolBlock) GetEpochNoOk

func (o *PoolBlock) GetEpochNoOk() (*int32, bool)

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

func (o *PoolBlock) GetEpochSlot() int32

GetEpochSlot returns the EpochSlot field value if set, zero value otherwise.

func (*PoolBlock) GetEpochSlotOk

func (o *PoolBlock) GetEpochSlotOk() (*int32, bool)

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

func (o *PoolBlock) HasAbsSlot() bool

HasAbsSlot returns a boolean if a field has been set.

func (*PoolBlock) HasEpochNo

func (o *PoolBlock) HasEpochNo() bool

HasEpochNo returns a boolean if a field has been set.

func (*PoolBlock) HasEpochSlot

func (o *PoolBlock) HasEpochSlot() bool

HasEpochSlot returns a boolean if a field has been set.

func (PoolBlock) MarshalJSON

func (o PoolBlock) MarshalJSON() ([]byte, error)

func (*PoolBlock) SetAbsSlot

func (o *PoolBlock) SetAbsSlot(v int64)

SetAbsSlot gets a reference to the given int64 and assigns it to the AbsSlot field.

func (*PoolBlock) SetBlockHash

func (o *PoolBlock) SetBlockHash(v string)

SetBlockHash sets field value

func (*PoolBlock) SetBlockHeight

func (o *PoolBlock) SetBlockHeight(v int32)

SetBlockHeight sets field value

func (*PoolBlock) SetBlockTime

func (o *PoolBlock) SetBlockTime(v int32)

SetBlockTime sets field value

func (*PoolBlock) SetEpochNo

func (o *PoolBlock) SetEpochNo(v int32)

SetEpochNo gets a reference to the given int32 and assigns it to the EpochNo field.

func (*PoolBlock) SetEpochSlot

func (o *PoolBlock) SetEpochSlot(v int32)

SetEpochSlot gets a reference to the given int32 and assigns it to the EpochSlot field.

func (PoolBlock) ToMap

func (o PoolBlock) ToMap() (map[string]interface{}, error)

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

func (o *PoolInfo) GetActiveEpochNo() int64

GetActiveEpochNo returns the ActiveEpochNo field value

func (*PoolInfo) GetActiveEpochNoOk

func (o *PoolInfo) GetActiveEpochNoOk() (*int64, bool)

GetActiveEpochNoOk returns a tuple with the ActiveEpochNo field value and a boolean to check if the value has been set.

func (*PoolInfo) GetActiveStake

func (o *PoolInfo) GetActiveStake() int64

GetActiveStake returns the ActiveStake field value if set, zero value otherwise.

func (*PoolInfo) GetActiveStakeOk

func (o *PoolInfo) 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 (*PoolInfo) GetBlockCount

func (o *PoolInfo) GetBlockCount() int64

GetBlockCount returns the BlockCount field value if set, zero value otherwise.

func (*PoolInfo) GetBlockCountOk

func (o *PoolInfo) GetBlockCountOk() (*int64, bool)

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

func (o *PoolInfo) GetFixedCost() int64

GetFixedCost returns the FixedCost field value

func (*PoolInfo) GetFixedCostOk

func (o *PoolInfo) GetFixedCostOk() (*int64, bool)

GetFixedCostOk returns a tuple with the FixedCost field value and a boolean to check if the value has been set.

func (*PoolInfo) GetLiveDelegators

func (o *PoolInfo) GetLiveDelegators() int64

GetLiveDelegators returns the LiveDelegators field value

func (*PoolInfo) GetLiveDelegatorsOk

func (o *PoolInfo) GetLiveDelegatorsOk() (*int64, bool)

GetLiveDelegatorsOk returns a tuple with the LiveDelegators field value and a boolean to check if the value has been set.

func (*PoolInfo) GetLivePledge

func (o *PoolInfo) GetLivePledge() int64

GetLivePledge returns the LivePledge field value if set, zero value otherwise.

func (*PoolInfo) GetLivePledgeOk

func (o *PoolInfo) GetLivePledgeOk() (*int64, bool)

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

func (o *PoolInfo) GetLiveSaturation() string

GetLiveSaturation returns the LiveSaturation field value if set, zero value otherwise.

func (*PoolInfo) GetLiveSaturationOk

func (o *PoolInfo) GetLiveSaturationOk() (*string, bool)

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

func (o *PoolInfo) GetLiveStake() int64

GetLiveStake returns the LiveStake field value if set, zero value otherwise.

func (*PoolInfo) GetLiveStakeOk

func (o *PoolInfo) GetLiveStakeOk() (*int64, bool)

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) GetMargin

func (o *PoolInfo) GetMargin() float32

GetMargin returns the Margin field value

func (*PoolInfo) GetMarginOk

func (o *PoolInfo) GetMarginOk() (*float32, bool)

GetMarginOk returns a tuple with the Margin field value and a boolean to check if the value has been set.

func (*PoolInfo) GetMetaHash

func (o *PoolInfo) GetMetaHash() string

GetMetaHash returns the MetaHash field value if set, zero value otherwise.

func (*PoolInfo) GetMetaHashOk

func (o *PoolInfo) 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 (*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

func (o *PoolInfo) GetMetaUrl() string

GetMetaUrl returns the MetaUrl field value if set, zero value otherwise.

func (*PoolInfo) GetMetaUrlOk

func (o *PoolInfo) 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 (*PoolInfo) GetOpCert

func (o *PoolInfo) GetOpCert() string

GetOpCert returns the OpCert field value if set, zero value otherwise.

func (*PoolInfo) GetOpCertCounter

func (o *PoolInfo) GetOpCertCounter() int64

GetOpCertCounter returns the OpCertCounter field value if set, zero value otherwise.

func (*PoolInfo) GetOpCertCounterOk

func (o *PoolInfo) GetOpCertCounterOk() (*int64, bool)

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

func (o *PoolInfo) GetOpCertOk() (*string, bool)

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) GetOwners

func (o *PoolInfo) GetOwners() []string

GetOwners returns the Owners field value

func (*PoolInfo) GetOwnersOk

func (o *PoolInfo) GetOwnersOk() ([]string, bool)

GetOwnersOk returns a tuple with the Owners field value and a boolean to check if the value has been set.

func (*PoolInfo) GetPledge

func (o *PoolInfo) GetPledge() int64

GetPledge returns the Pledge field value

func (*PoolInfo) GetPledgeOk

func (o *PoolInfo) GetPledgeOk() (*int64, bool)

GetPledgeOk returns a tuple with the Pledge field value and a boolean to check if the value has been set.

func (*PoolInfo) GetPoolIdBech32

func (o *PoolInfo) GetPoolIdBech32() string

GetPoolIdBech32 returns the PoolIdBech32 field value

func (*PoolInfo) GetPoolIdBech32Ok

func (o *PoolInfo) GetPoolIdBech32Ok() (*string, bool)

GetPoolIdBech32Ok returns a tuple with the PoolIdBech32 field value and a boolean to check if the value has been set.

func (*PoolInfo) GetPoolIdHex

func (o *PoolInfo) GetPoolIdHex() string

GetPoolIdHex returns the PoolIdHex field value

func (*PoolInfo) GetPoolIdHexOk

func (o *PoolInfo) GetPoolIdHexOk() (*string, bool)

GetPoolIdHexOk returns a tuple with the PoolIdHex field value and a boolean to check if the value has been set.

func (*PoolInfo) GetPoolStatus

func (o *PoolInfo) GetPoolStatus() string

GetPoolStatus returns the PoolStatus field value if set, zero value otherwise.

func (*PoolInfo) GetPoolStatusOk

func (o *PoolInfo) 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 (*PoolInfo) GetRelays

func (o *PoolInfo) GetRelays() []Relay

GetRelays returns the Relays field value

func (*PoolInfo) GetRelaysOk

func (o *PoolInfo) GetRelaysOk() ([]Relay, bool)

GetRelaysOk returns a tuple with the Relays field value and a boolean to check if the value has been set.

func (*PoolInfo) GetRetiringEpoch

func (o *PoolInfo) GetRetiringEpoch() int32

GetRetiringEpoch returns the RetiringEpoch field value if set, zero value otherwise.

func (*PoolInfo) GetRetiringEpochOk

func (o *PoolInfo) 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 (*PoolInfo) GetRewardAddr

func (o *PoolInfo) GetRewardAddr() string

GetRewardAddr returns the RewardAddr field value if set, zero value otherwise.

func (*PoolInfo) GetRewardAddrOk

func (o *PoolInfo) 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 (*PoolInfo) GetSigma

func (o *PoolInfo) GetSigma() string

GetSigma returns the Sigma field value if set, zero value otherwise.

func (*PoolInfo) GetSigmaOk

func (o *PoolInfo) GetSigmaOk() (*string, bool)

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

func (o *PoolInfo) GetVrfKeyHash() string

GetVrfKeyHash returns the VrfKeyHash field value

func (*PoolInfo) GetVrfKeyHashOk

func (o *PoolInfo) GetVrfKeyHashOk() (*string, bool)

GetVrfKeyHashOk returns a tuple with the VrfKeyHash field value and a boolean to check if the value has been set.

func (*PoolInfo) HasActiveStake

func (o *PoolInfo) HasActiveStake() bool

HasActiveStake returns a boolean if a field has been set.

func (*PoolInfo) HasBlockCount

func (o *PoolInfo) HasBlockCount() bool

HasBlockCount returns a boolean if a field has been set.

func (*PoolInfo) HasLivePledge

func (o *PoolInfo) HasLivePledge() bool

HasLivePledge returns a boolean if a field has been set.

func (*PoolInfo) HasLiveSaturation

func (o *PoolInfo) HasLiveSaturation() bool

HasLiveSaturation returns a boolean if a field has been set.

func (*PoolInfo) HasLiveStake

func (o *PoolInfo) HasLiveStake() bool

HasLiveStake returns a boolean if a field has been set.

func (*PoolInfo) HasMetaHash

func (o *PoolInfo) HasMetaHash() bool

HasMetaHash returns a boolean if a field has been set.

func (*PoolInfo) HasMetaJson

func (o *PoolInfo) HasMetaJson() bool

HasMetaJson returns a boolean if a field has been set.

func (*PoolInfo) HasMetaUrl

func (o *PoolInfo) HasMetaUrl() bool

HasMetaUrl returns a boolean if a field has been set.

func (*PoolInfo) HasOpCert

func (o *PoolInfo) HasOpCert() bool

HasOpCert returns a boolean if a field has been set.

func (*PoolInfo) HasOpCertCounter

func (o *PoolInfo) HasOpCertCounter() bool

HasOpCertCounter returns a boolean if a field has been set.

func (*PoolInfo) HasPoolStatus

func (o *PoolInfo) HasPoolStatus() bool

HasPoolStatus returns a boolean if a field has been set.

func (*PoolInfo) HasRetiringEpoch

func (o *PoolInfo) HasRetiringEpoch() bool

HasRetiringEpoch returns a boolean if a field has been set.

func (*PoolInfo) HasRewardAddr

func (o *PoolInfo) HasRewardAddr() bool

HasRewardAddr returns a boolean if a field has been set.

func (*PoolInfo) HasSigma

func (o *PoolInfo) HasSigma() bool

HasSigma returns a boolean if a field has been set.

func (PoolInfo) MarshalJSON

func (o PoolInfo) MarshalJSON() ([]byte, error)

func (*PoolInfo) SetActiveEpochNo

func (o *PoolInfo) SetActiveEpochNo(v int64)

SetActiveEpochNo sets field value

func (*PoolInfo) SetActiveStake

func (o *PoolInfo) SetActiveStake(v int64)

SetActiveStake gets a reference to the given int64 and assigns it to the ActiveStake field.

func (*PoolInfo) SetBlockCount

func (o *PoolInfo) SetBlockCount(v int64)

SetBlockCount gets a reference to the given int64 and assigns it to the BlockCount field.

func (*PoolInfo) SetFixedCost

func (o *PoolInfo) SetFixedCost(v int64)

SetFixedCost sets field value

func (*PoolInfo) SetLiveDelegators

func (o *PoolInfo) SetLiveDelegators(v int64)

SetLiveDelegators sets field value

func (*PoolInfo) SetLivePledge

func (o *PoolInfo) SetLivePledge(v int64)

SetLivePledge gets a reference to the given int64 and assigns it to the LivePledge field.

func (*PoolInfo) SetLiveSaturation

func (o *PoolInfo) SetLiveSaturation(v string)

SetLiveSaturation gets a reference to the given string and assigns it to the LiveSaturation field.

func (*PoolInfo) SetLiveStake

func (o *PoolInfo) SetLiveStake(v int64)

SetLiveStake gets a reference to the given int64 and assigns it to the LiveStake field.

func (*PoolInfo) SetMargin

func (o *PoolInfo) SetMargin(v float32)

SetMargin sets field value

func (*PoolInfo) SetMetaHash

func (o *PoolInfo) SetMetaHash(v string)

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

func (o *PoolInfo) SetMetaUrl(v string)

SetMetaUrl gets a reference to the given string and assigns it to the MetaUrl field.

func (*PoolInfo) SetOpCert

func (o *PoolInfo) SetOpCert(v string)

SetOpCert gets a reference to the given string and assigns it to the OpCert field.

func (*PoolInfo) SetOpCertCounter

func (o *PoolInfo) SetOpCertCounter(v int64)

SetOpCertCounter gets a reference to the given int64 and assigns it to the OpCertCounter field.

func (*PoolInfo) SetOwners

func (o *PoolInfo) SetOwners(v []string)

SetOwners sets field value

func (*PoolInfo) SetPledge

func (o *PoolInfo) SetPledge(v int64)

SetPledge sets field value

func (*PoolInfo) SetPoolIdBech32

func (o *PoolInfo) SetPoolIdBech32(v string)

SetPoolIdBech32 sets field value

func (*PoolInfo) SetPoolIdHex

func (o *PoolInfo) SetPoolIdHex(v string)

SetPoolIdHex sets field value

func (*PoolInfo) SetPoolStatus

func (o *PoolInfo) SetPoolStatus(v string)

SetPoolStatus gets a reference to the given string and assigns it to the PoolStatus field.

func (*PoolInfo) SetRelays

func (o *PoolInfo) SetRelays(v []Relay)

SetRelays sets field value

func (*PoolInfo) SetRetiringEpoch

func (o *PoolInfo) SetRetiringEpoch(v int32)

SetRetiringEpoch gets a reference to the given int32 and assigns it to the RetiringEpoch field.

func (*PoolInfo) SetRewardAddr

func (o *PoolInfo) SetRewardAddr(v string)

SetRewardAddr gets a reference to the given string and assigns it to the RewardAddr field.

func (*PoolInfo) SetSigma

func (o *PoolInfo) SetSigma(v string)

SetSigma gets a reference to the given string and assigns it to the Sigma field.

func (*PoolInfo) SetVrfKeyHash

func (o *PoolInfo) SetVrfKeyHash(v string)

SetVrfKeyHash sets field value

func (PoolInfo) ToMap

func (o PoolInfo) ToMap() (map[string]interface{}, error)

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) SetName

func (o *PoolMetaJson) SetName(v string)

SetName sets field value

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) SetPledge

func (o *PoolRegCert) SetPledge(v int64)

SetPledge 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

func NewPoolRelay(poolIdBech32 string, relays []Relay) *PoolRelay

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

func (o *PoolRelay) GetPoolIdBech32() string

GetPoolIdBech32 returns the PoolIdBech32 field value

func (*PoolRelay) GetPoolIdBech32Ok

func (o *PoolRelay) GetPoolIdBech32Ok() (*string, bool)

GetPoolIdBech32Ok returns a tuple with the PoolIdBech32 field value and a boolean to check if the value has been set.

func (*PoolRelay) GetRelays

func (o *PoolRelay) GetRelays() []Relay

GetRelays returns the Relays field value

func (*PoolRelay) GetRelaysOk

func (o *PoolRelay) GetRelaysOk() ([]Relay, bool)

GetRelaysOk returns a tuple with the Relays field value and a boolean to check if the value has been set.

func (PoolRelay) MarshalJSON

func (o PoolRelay) MarshalJSON() ([]byte, error)

func (*PoolRelay) SetPoolIdBech32

func (o *PoolRelay) SetPoolIdBech32(v string)

SetPoolIdBech32 sets field value

func (*PoolRelay) SetRelays

func (o *PoolRelay) SetRelays(v []Relay)

SetRelays sets field value

func (PoolRelay) ToMap

func (o PoolRelay) ToMap() (map[string]interface{}, error)

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) SetMargin

func (o *PoolUpdate) SetMargin(v float32)

SetMargin 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) SetPledge

func (o *PoolUpdate) SetPledge(v int64)

SetPledge 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) SetRelays

func (o *PoolUpdate) SetRelays(v []Relay)

SetRelays sets field value

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) SetTxHash

func (o *PoolUpdate) SetTxHash(v string)

SetTxHash sets field value

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

The max number of results per pagination page

func (PoolsAPIListPoolsRequest) Execute

func (PoolsAPIListPoolsRequest) Page

Pagination page number to show results for

type PoolsAPIPoolBlocksRequest

type PoolsAPIPoolBlocksRequest struct {
	ApiService PoolsAPI
	// contains filtered or unexported fields
}

func (PoolsAPIPoolBlocksRequest) Count

The max number of results per pagination page

func (PoolsAPIPoolBlocksRequest) EpochNo

Epoch number to fetch results for

func (PoolsAPIPoolBlocksRequest) Execute

func (PoolsAPIPoolBlocksRequest) Order

The order in which the results are sorted (by absolute slot)

func (PoolsAPIPoolBlocksRequest) Page

Pagination page number to show results for

type PoolsAPIPoolDelegatorsRequest

type PoolsAPIPoolDelegatorsRequest struct {
	ApiService PoolsAPI
	// contains filtered or unexported fields
}

func (PoolsAPIPoolDelegatorsRequest) Count

The max number of results per pagination page

func (PoolsAPIPoolDelegatorsRequest) Execute

func (PoolsAPIPoolDelegatorsRequest) Page

Pagination page number to show results for

type PoolsAPIPoolHistoryRequest

type PoolsAPIPoolHistoryRequest struct {
	ApiService PoolsAPI
	// contains filtered or unexported fields
}

func (PoolsAPIPoolHistoryRequest) Count

The max number of results per pagination page

func (PoolsAPIPoolHistoryRequest) EpochNo

Epoch number to fetch results for

func (PoolsAPIPoolHistoryRequest) Execute

func (PoolsAPIPoolHistoryRequest) Order

The order in which the results are sorted (by epoch number)

func (PoolsAPIPoolHistoryRequest) Page

Pagination page number to show results for

type PoolsAPIPoolInfoRequest

type PoolsAPIPoolInfoRequest struct {
	ApiService PoolsAPI
	// contains filtered or unexported fields
}

func (PoolsAPIPoolInfoRequest) Execute

type PoolsAPIPoolMetadataRequest

type PoolsAPIPoolMetadataRequest struct {
	ApiService PoolsAPI
	// contains filtered or unexported fields
}

func (PoolsAPIPoolMetadataRequest) Execute

type PoolsAPIPoolRelaysRequest

type PoolsAPIPoolRelaysRequest struct {
	ApiService PoolsAPI
	// contains filtered or unexported fields
}

func (PoolsAPIPoolRelaysRequest) Execute

type PoolsAPIPoolUpdatesRequest

type PoolsAPIPoolUpdatesRequest struct {
	ApiService PoolsAPI
	// contains filtered or unexported fields
}

func (PoolsAPIPoolUpdatesRequest) Execute

type PoolsAPIService

type PoolsAPIService service

PoolsAPIService PoolsAPI service

func (*PoolsAPIService) ListPools

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

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

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

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

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

type Prices struct {
	Memory string `json:"memory"`
	Steps  string `json:"steps"`
}

Prices struct for Prices

func NewPrices

func NewPrices(memory string, steps string) *Prices

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) GetMemory

func (o *Prices) GetMemory() string

GetMemory returns the Memory field value

func (*Prices) GetMemoryOk

func (o *Prices) GetMemoryOk() (*string, bool)

GetMemoryOk returns a tuple with the Memory field value and a boolean to check if the value has been set.

func (*Prices) GetSteps

func (o *Prices) GetSteps() string

GetSteps returns the Steps field value

func (*Prices) GetStepsOk

func (o *Prices) GetStepsOk() (*string, bool)

GetStepsOk returns a tuple with the Steps field value and a boolean to check if the value has been set.

func (Prices) MarshalJSON

func (o Prices) MarshalJSON() ([]byte, error)

func (*Prices) SetMemory

func (o *Prices) SetMemory(v string)

SetMemory sets field value

func (*Prices) SetSteps

func (o *Prices) SetSteps(v string)

SetSteps sets field value

func (Prices) ToMap

func (o Prices) ToMap() (map[string]interface{}, error)

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 (o Redeemers) MarshalJSON() ([]byte, error)

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

func (Redeemers) ToMap

func (o Redeemers) ToMap() (map[string]interface{}, error)

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) GetDns

func (o *Relay) GetDns() string

GetDns returns the Dns field value if set, zero value otherwise.

func (*Relay) GetDnsOk

func (o *Relay) GetDnsOk() (*string, bool)

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) GetIpv4

func (o *Relay) GetIpv4() string

GetIpv4 returns the Ipv4 field value if set, zero value otherwise.

func (*Relay) GetIpv4Ok

func (o *Relay) GetIpv4Ok() (*string, bool)

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) GetIpv6

func (o *Relay) GetIpv6() string

GetIpv6 returns the Ipv6 field value if set, zero value otherwise.

func (*Relay) GetIpv6Ok

func (o *Relay) GetIpv6Ok() (*string, bool)

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) GetPort

func (o *Relay) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*Relay) GetPortOk

func (o *Relay) GetPortOk() (*int32, bool)

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) GetSrv

func (o *Relay) GetSrv() string

GetSrv returns the Srv field value if set, zero value otherwise.

func (*Relay) GetSrvOk

func (o *Relay) GetSrvOk() (*string, bool)

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) HasDns

func (o *Relay) HasDns() bool

HasDns returns a boolean if a field has been set.

func (*Relay) HasIpv4

func (o *Relay) HasIpv4() bool

HasIpv4 returns a boolean if a field has been set.

func (*Relay) HasIpv6

func (o *Relay) HasIpv6() bool

HasIpv6 returns a boolean if a field has been set.

func (*Relay) HasPort

func (o *Relay) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*Relay) HasSrv

func (o *Relay) HasSrv() bool

HasSrv returns a boolean if a field has been set.

func (Relay) MarshalJSON

func (o Relay) MarshalJSON() ([]byte, error)

func (*Relay) SetDns

func (o *Relay) SetDns(v string)

SetDns gets a reference to the given string and assigns it to the Dns field.

func (*Relay) SetIpv4

func (o *Relay) SetIpv4(v string)

SetIpv4 gets a reference to the given string and assigns it to the Ipv4 field.

func (*Relay) SetIpv6

func (o *Relay) SetIpv6(v string)

SetIpv6 gets a reference to the given string and assigns it to the Ipv6 field.

func (*Relay) SetPort

func (o *Relay) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*Relay) SetSrv

func (o *Relay) SetSrv(v string)

SetSrv gets a reference to the given string and assigns it to the Srv field.

func (Relay) ToMap

func (o Relay) ToMap() (map[string]interface{}, error)

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) GetBytes

func (o *Script) GetBytes() string

GetBytes returns the Bytes field value if set, zero value otherwise.

func (*Script) GetBytesOk

func (o *Script) 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 (*Script) GetHash

func (o *Script) GetHash() string

GetHash returns the Hash field value

func (*Script) GetHashOk

func (o *Script) GetHashOk() (*string, bool)

GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.

func (*Script) GetJson

func (o *Script) GetJson() map[string]interface{}

GetJson returns the Json field value if set, zero value otherwise.

func (*Script) GetJsonOk

func (o *Script) 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 (*Script) GetType

func (o *Script) GetType() ScriptType

GetType returns the Type field value

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) HasBytes

func (o *Script) HasBytes() bool

HasBytes returns a boolean if a field has been set.

func (*Script) HasJson

func (o *Script) HasJson() bool

HasJson returns a boolean if a field has been set.

func (Script) MarshalJSON

func (o Script) MarshalJSON() ([]byte, error)

func (*Script) SetBytes

func (o *Script) SetBytes(v string)

SetBytes gets a reference to the given string and assigns it to the Bytes field.

func (*Script) SetHash

func (o *Script) SetHash(v string)

SetHash sets field value

func (*Script) SetJson

func (o *Script) SetJson(v map[string]interface{})

SetJson gets a reference to the given map[string]interface{} and assigns it to the Json field.

func (*Script) SetType

func (o *Script) SetType(v ScriptType)

SetType sets field value

func (Script) ToMap

func (o Script) ToMap() (map[string]interface{}, error)

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
}

func (ScriptsAPIScriptByHashRequest) Execute

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

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

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) SetData

func (o *SpendRedeemer) SetData(v Datum)

SetData sets field value

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

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) SetTime

func (o *SystemStart) SetTime(v string)

SetTime sets field value

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"`
	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 (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 (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

type TransactionsAPIIogTxSubmitRequest

type TransactionsAPIIogTxSubmitRequest struct {
	ApiService TransactionsAPI
	// contains filtered or unexported fields
}

func (TransactionsAPIIogTxSubmitRequest) Body

CBOR encoded transaction

func (TransactionsAPIIogTxSubmitRequest) Execute

type TransactionsAPIMaestroTxSubmitRequest

type TransactionsAPIMaestroTxSubmitRequest struct {
	ApiService TransactionsAPI
	// contains filtered or unexported fields
}

func (TransactionsAPIMaestroTxSubmitRequest) Body

CBOR encoded transaction

func (TransactionsAPIMaestroTxSubmitRequest) Execute

type TransactionsAPIService

type TransactionsAPIService service

TransactionsAPIService TransactionsAPI service

func (*TransactionsAPIService) AddressByTxo

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

Execute executes the request

@return UtxoAddress

func (*TransactionsAPIService) IogTxSubmit

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

Execute executes the request

@return string

func (*TransactionsAPIService) MaestroTxSubmit

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

Execute executes the request

@return string

func (*TransactionsAPIService) TxCborByTxHash

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

Execute executes the request

@return TxCbor

func (*TransactionsAPIService) TxInfo

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

Execute executes the request

@return TransactionInfo

func (*TransactionsAPIService) UtxoByTxoRef

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

Execute executes the request

@return Utxo

type TransactionsAPITxCborByTxHashRequest

type TransactionsAPITxCborByTxHashRequest struct {
	ApiService TransactionsAPI
	// contains filtered or unexported fields
}

func (TransactionsAPITxCborByTxHashRequest) Execute

type TransactionsAPITxInfoRequest

type TransactionsAPITxInfoRequest struct {
	ApiService TransactionsAPI
	// contains filtered or unexported fields
}

func (TransactionsAPITxInfoRequest) Execute

type TransactionsAPIUtxoByTxoRefRequest

type TransactionsAPIUtxoByTxoRefRequest struct {
	ApiService TransactionsAPI
	// contains filtered or unexported fields
}

func (TransactionsAPIUtxoByTxoRefRequest) Execute

func (TransactionsAPIUtxoByTxoRefRequest) ResolveDatums

Try find and include the corresponding datums for datum hashes

func (TransactionsAPIUtxoByTxoRefRequest) WithCbor

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

func NewTxCbor(cbor string) *TxCbor

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) GetCbor

func (o *TxCbor) GetCbor() string

GetCbor returns the Cbor field value

func (*TxCbor) GetCborOk

func (o *TxCbor) GetCborOk() (*string, bool)

GetCborOk returns a tuple with the Cbor field value and a boolean to check if the value has been set.

func (TxCbor) MarshalJSON

func (o TxCbor) MarshalJSON() ([]byte, error)

func (*TxCbor) SetCbor

func (o *TxCbor) SetCbor(v string)

SetCbor sets field value

func (TxCbor) ToMap

func (o TxCbor) ToMap() (map[string]interface{}, error)

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

func NewTxStatusFromValue(v string) (*TxStatus, error)

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) IsValid

func (v TxStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (TxStatus) Ptr

func (v TxStatus) Ptr() *TxStatus

Ptr returns reference to TxStatus value

func (*TxStatus) UnmarshalJSON

func (v *TxStatus) UnmarshalJSON(src []byte) error

type TxStatusInfo

type TxStatusInfo struct {
	TxHash   string   `json:"tx_hash"`
	TxStatus TxStatus `json:"tx_status"`
}

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

func NewUtxo(address string, assets []Asset, index int32, txHash string) *Utxo

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

func (o *Utxo) GetAddress() string

GetAddress returns the Address field value

func (*Utxo) GetAddressOk

func (o *Utxo) GetAddressOk() (*string, bool)

GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.

func (*Utxo) GetAssets

func (o *Utxo) GetAssets() []Asset

GetAssets returns the Assets field value

func (*Utxo) GetAssetsOk

func (o *Utxo) GetAssetsOk() ([]Asset, bool)

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) GetIndex

func (o *Utxo) GetIndex() int32

GetIndex returns the Index field value

func (*Utxo) GetIndexOk

func (o *Utxo) GetIndexOk() (*int32, bool)

GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.

func (*Utxo) GetReferenceScript

func (o *Utxo) GetReferenceScript() Script

GetReferenceScript returns the ReferenceScript field value if set, zero value otherwise.

func (*Utxo) GetReferenceScriptOk

func (o *Utxo) 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 (*Utxo) GetTxHash

func (o *Utxo) GetTxHash() string

GetTxHash returns the TxHash field value

func (*Utxo) GetTxHashOk

func (o *Utxo) GetTxHashOk() (*string, bool)

GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.

func (*Utxo) HasDatum

func (o *Utxo) HasDatum() bool

HasDatum returns a boolean if a field has been set.

func (*Utxo) HasReferenceScript

func (o *Utxo) HasReferenceScript() bool

HasReferenceScript returns a boolean if a field has been set.

func (Utxo) MarshalJSON

func (o Utxo) MarshalJSON() ([]byte, error)

func (*Utxo) SetAddress

func (o *Utxo) SetAddress(v string)

SetAddress sets field value

func (*Utxo) SetAssets

func (o *Utxo) SetAssets(v []Asset)

SetAssets sets field value

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) SetIndex

func (o *Utxo) SetIndex(v int32)

SetIndex sets field value

func (*Utxo) SetReferenceScript

func (o *Utxo) SetReferenceScript(v Script)

SetReferenceScript gets a reference to the given Script and assigns it to the ReferenceScript field.

func (*Utxo) SetTxHash

func (o *Utxo) SetTxHash(v string)

SetTxHash sets field value

func (Utxo) ToMap

func (o Utxo) ToMap() (map[string]interface{}, error)

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

func NewUtxoRef(index int32, txHash string) *UtxoRef

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) GetIndex

func (o *UtxoRef) GetIndex() int32

GetIndex returns the Index field value

func (*UtxoRef) GetIndexOk

func (o *UtxoRef) GetIndexOk() (*int32, bool)

GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.

func (*UtxoRef) GetTxHash

func (o *UtxoRef) GetTxHash() string

GetTxHash returns the TxHash field value

func (*UtxoRef) GetTxHashOk

func (o *UtxoRef) GetTxHashOk() (*string, bool)

GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.

func (UtxoRef) MarshalJSON

func (o UtxoRef) MarshalJSON() ([]byte, error)

func (*UtxoRef) SetIndex

func (o *UtxoRef) SetIndex(v int32)

SetIndex sets field value

func (*UtxoRef) SetTxHash

func (o *UtxoRef) SetTxHash(v string)

SetTxHash sets field value

func (UtxoRef) ToMap

func (o UtxoRef) ToMap() (map[string]interface{}, error)

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

type Version struct {
	Major int32 `json:"major"`
	Minor int32 `json:"minor"`
}

Version struct for Version

func NewVersion

func NewVersion(major int32, minor int32) *Version

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) GetMajor

func (o *Version) GetMajor() int32

GetMajor returns the Major field value

func (*Version) GetMajorOk

func (o *Version) GetMajorOk() (*int32, bool)

GetMajorOk returns a tuple with the Major field value and a boolean to check if the value has been set.

func (*Version) GetMinor

func (o *Version) GetMinor() int32

GetMinor returns the Minor field value

func (*Version) GetMinorOk

func (o *Version) GetMinorOk() (*int32, bool)

GetMinorOk returns a tuple with the Minor field value and a boolean to check if the value has been set.

func (Version) MarshalJSON

func (o Version) MarshalJSON() ([]byte, error)

func (*Version) SetMajor

func (o *Version) SetMajor(v int32)

SetMajor sets field value

func (*Version) SetMinor

func (o *Version) SetMinor(v int32)

SetMinor sets field value

func (Version) ToMap

func (o Version) ToMap() (map[string]interface{}, error)

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) SetData

func (o *WdrlRedeemer) SetData(v Datum)

SetData sets field value

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

type Withdrawal struct {
	Amount       int64  `json:"amount"`
	StakeAddress string `json:"stake_address"`
}

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) SetAmount

func (o *Withdrawal) SetAmount(v int64)

SetAmount sets field value

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL