Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AccountsAPI
- type AccountsAPIService
- func (a *AccountsAPIService) GetBalancesByAddress(ctx _context.Context, platform string, network string, address string) ApiGetBalancesByAddressRequest
- func (a *AccountsAPIService) GetBalancesByAddressExecute(r ApiGetBalancesByAddressRequest) (map[string]map[string]interface{}, *_nethttp.Response, error)
- func (a *AccountsAPIService) GetBalancesByAddresses(ctx _context.Context, platform string, network string) ApiGetBalancesByAddressesRequest
- func (a *AccountsAPIService) GetBalancesByAddressesExecute(r ApiGetBalancesByAddressesRequest) (map[string]map[string]map[string]interface{}, *_nethttp.Response, error)
- func (a *AccountsAPIService) GetListOfBalancesByAddress(ctx _context.Context, platform string, network string, address string) ApiGetListOfBalancesByAddressRequest
- func (a *AccountsAPIService) GetListOfBalancesByAddressExecute(r ApiGetListOfBalancesByAddressRequest) ([]BalanceV1, *_nethttp.Response, error)
- func (a *AccountsAPIService) GetListOfBalancesByAddresses(ctx _context.Context, platform string, network string) ApiGetListOfBalancesByAddressesRequest
- func (a *AccountsAPIService) GetListOfBalancesByAddressesExecute(r ApiGetListOfBalancesByAddressesRequest) (map[string][]BalanceV1, *_nethttp.Response, error)
- func (a *AccountsAPIService) GetReportByAddress(ctx _context.Context, platform string, network string, address string) ApiGetReportByAddressRequest
- func (a *AccountsAPIService) GetReportByAddressExecute(r ApiGetReportByAddressRequest) (Report, *_nethttp.Response, error)
- func (a *AccountsAPIService) GetTxsByAddress(ctx _context.Context, platform string, network string, address string) ApiGetTxsByAddressRequest
- func (a *AccountsAPIService) GetTxsByAddressExecute(r ApiGetTxsByAddressRequest) (TxPageV1, *_nethttp.Response, error)
- func (a *AccountsAPIService) V2GetReportByAddress(ctx _context.Context, platform string, network string, address string) ApiV2GetReportByAddressRequest
- func (a *AccountsAPIService) V2GetReportByAddressExecute(r ApiV2GetReportByAddressRequest) (Report, *_nethttp.Response, error)
- func (a *AccountsAPIService) V2GetTxsByAddress(ctx _context.Context, platform string, network string, address string) ApiV2GetTxsByAddressRequest
- func (a *AccountsAPIService) V2GetTxsByAddressExecute(r ApiV2GetTxsByAddressRequest) (TxPage, *_nethttp.Response, error)
- type AccountsObj
- type AlgorandMeta
- func (o *AlgorandMeta) GetClose() string
- func (o *AlgorandMeta) GetCloseAmount() string
- func (o *AlgorandMeta) GetCloseAmountOk() (*string, bool)
- func (o *AlgorandMeta) GetCloseOk() (*string, bool)
- func (o *AlgorandMeta) GetCloseReward() string
- func (o *AlgorandMeta) GetCloseRewardOk() (*string, bool)
- func (o *AlgorandMeta) GetRecipientReward() string
- func (o *AlgorandMeta) GetRecipientRewardOk() (*string, bool)
- func (o *AlgorandMeta) GetSenderReward() string
- func (o *AlgorandMeta) GetSenderRewardOk() (*string, bool)
- func (o *AlgorandMeta) GetType() string
- func (o *AlgorandMeta) GetTypeOk() (*string, bool)
- func (o *AlgorandMeta) HasClose() bool
- func (o *AlgorandMeta) HasCloseAmount() bool
- func (o *AlgorandMeta) HasCloseReward() bool
- func (o *AlgorandMeta) HasRecipientReward() bool
- func (o *AlgorandMeta) HasSenderReward() bool
- func (o *AlgorandMeta) HasType() bool
- func (o AlgorandMeta) MarshalJSON() ([]byte, error)
- func (o *AlgorandMeta) SetClose(v string)
- func (o *AlgorandMeta) SetCloseAmount(v string)
- func (o *AlgorandMeta) SetCloseReward(v string)
- func (o *AlgorandMeta) SetRecipientReward(v string)
- func (o *AlgorandMeta) SetSenderReward(v string)
- func (o *AlgorandMeta) SetType(v string)
- type ApiCurrentBlockIDRequest
- type ApiCurrentBlockNumberRequest
- type ApiEstimateFeeRequest
- type ApiFeeEstimateRequest
- type ApiGetBalancesByAddressRequest
- type ApiGetBalancesByAddressesRequest
- func (r ApiGetBalancesByAddressesRequest) AccountsObj(accountsObj AccountsObj) ApiGetBalancesByAddressesRequest
- func (r ApiGetBalancesByAddressesRequest) Assets(assets string) ApiGetBalancesByAddressesRequest
- func (r ApiGetBalancesByAddressesRequest) Execute() (map[string]map[string]map[string]interface{}, *_nethttp.Response, error)
- type ApiGetBlockIdentifierRequest
- type ApiGetBlockRequest
- type ApiGetListOfBalancesByAddressRequest
- type ApiGetListOfBalancesByAddressesRequest
- type ApiGetPlatformEndpointsRequest
- type ApiGetPlatformRequest
- type ApiGetPlatformsListRequest
- type ApiGetPlatformsRequest
- type ApiGetReportByAddressRequest
- func (r ApiGetReportByAddressRequest) Continuation(continuation string) ApiGetReportByAddressRequest
- func (r ApiGetReportByAddressRequest) Execute() (Report, *_nethttp.Response, error)
- func (r ApiGetReportByAddressRequest) From(from int32) ApiGetReportByAddressRequest
- func (r ApiGetReportByAddressRequest) Limit(limit int32) ApiGetReportByAddressRequest
- func (r ApiGetReportByAddressRequest) To(to int32) ApiGetReportByAddressRequest
- type ApiGetTxConfirmationsRequest
- type ApiGetTxRequest
- type ApiGetTxsByAddressRequest
- func (r ApiGetTxsByAddressRequest) Assets(assets string) ApiGetTxsByAddressRequest
- func (r ApiGetTxsByAddressRequest) Continuation(continuation string) ApiGetTxsByAddressRequest
- func (r ApiGetTxsByAddressRequest) Execute() (TxPageV1, *_nethttp.Response, error)
- func (r ApiGetTxsByAddressRequest) Limit(limit int32) ApiGetTxsByAddressRequest
- func (r ApiGetTxsByAddressRequest) Order(order string) ApiGetTxsByAddressRequest
- type ApiGetTxsRequest
- func (r ApiGetTxsRequest) Assets(assets string) ApiGetTxsRequest
- func (r ApiGetTxsRequest) Continuation(continuation string) ApiGetTxsRequest
- func (r ApiGetTxsRequest) Execute() (TxPage, *_nethttp.Response, error)
- func (r ApiGetTxsRequest) Limit(limit int32) ApiGetTxsRequest
- func (r ApiGetTxsRequest) Order(order string) ApiGetTxsRequest
- type ApiTxSendRequest
- type ApiV2GetReportByAddressRequest
- func (r ApiV2GetReportByAddressRequest) Continuation(continuation string) ApiV2GetReportByAddressRequest
- func (r ApiV2GetReportByAddressRequest) Execute() (Report, *_nethttp.Response, error)
- func (r ApiV2GetReportByAddressRequest) From(from int32) ApiV2GetReportByAddressRequest
- func (r ApiV2GetReportByAddressRequest) Limit(limit int32) ApiV2GetReportByAddressRequest
- func (r ApiV2GetReportByAddressRequest) To(to int32) ApiV2GetReportByAddressRequest
- type ApiV2GetTxsByAddressRequest
- func (r ApiV2GetTxsByAddressRequest) Assets(assets string) ApiV2GetTxsByAddressRequest
- func (r ApiV2GetTxsByAddressRequest) Continuation(continuation string) ApiV2GetTxsByAddressRequest
- func (r ApiV2GetTxsByAddressRequest) Execute() (TxPage, *_nethttp.Response, error)
- func (r ApiV2GetTxsByAddressRequest) Limit(limit int32) ApiV2GetTxsByAddressRequest
- func (r ApiV2GetTxsByAddressRequest) Order(order string) ApiV2GetTxsByAddressRequest
- type BalanceChange
- func (o *BalanceChange) GetCurrency() Currency
- func (o *BalanceChange) GetCurrencyOk() (*Currency, bool)
- func (o *BalanceChange) GetDelta() string
- func (o *BalanceChange) GetDeltaOk() (*string, bool)
- func (o *BalanceChange) GetNew() string
- func (o *BalanceChange) GetNewOk() (*string, bool)
- func (o *BalanceChange) GetOld() string
- func (o *BalanceChange) GetOldOk() (*string, bool)
- func (o *BalanceChange) HasCurrency() bool
- func (o *BalanceChange) HasDelta() bool
- func (o *BalanceChange) HasNew() bool
- func (o *BalanceChange) HasOld() bool
- func (o BalanceChange) MarshalJSON() ([]byte, error)
- func (o *BalanceChange) SetCurrency(v Currency)
- func (o *BalanceChange) SetDelta(v string)
- func (o *BalanceChange) SetNew(v string)
- func (o *BalanceChange) SetOld(v string)
- type BalanceV1
- func (o *BalanceV1) GetConfirmedBalance() string
- func (o *BalanceV1) GetConfirmedBalanceOk() (*string, bool)
- func (o *BalanceV1) GetConfirmedBlock() int32
- func (o *BalanceV1) GetConfirmedBlockOk() (*int32, bool)
- func (o *BalanceV1) GetConfirmedNonce() int32
- func (o *BalanceV1) GetConfirmedNonceOk() (*int32, bool)
- func (o *BalanceV1) GetCurrency() Currency
- func (o *BalanceV1) GetCurrencyOk() (*Currency, bool)
- func (o *BalanceV1) GetPendingBalance() string
- func (o *BalanceV1) GetPendingBalanceOk() (*string, bool)
- func (o *BalanceV1) HasConfirmedBalance() bool
- func (o *BalanceV1) HasConfirmedBlock() bool
- func (o *BalanceV1) HasConfirmedNonce() bool
- func (o *BalanceV1) HasCurrency() bool
- func (o *BalanceV1) HasPendingBalance() bool
- func (o BalanceV1) MarshalJSON() ([]byte, error)
- func (o *BalanceV1) SetConfirmedBalance(v string)
- func (o *BalanceV1) SetConfirmedBlock(v int32)
- func (o *BalanceV1) SetConfirmedNonce(v int32)
- func (o *BalanceV1) SetCurrency(v Currency)
- func (o *BalanceV1) SetPendingBalance(v string)
- type BasicAuth
- type Block
- func (o *Block) GetDate() int64
- func (o *Block) GetDateOk() (*int64, bool)
- func (o *Block) GetId() string
- func (o *Block) GetIdOk() (*string, bool)
- func (o *Block) GetNumber() int64
- func (o *Block) GetNumberOk() (*int64, bool)
- func (o *Block) GetParentId() string
- func (o *Block) GetParentIdOk() (*string, bool)
- func (o *Block) GetSupply() map[string]Supply
- func (o *Block) GetSupplyOk() (*map[string]Supply, bool)
- func (o *Block) GetTxIds() []string
- func (o *Block) GetTxIdsOk() (*[]string, bool)
- func (o *Block) GetTxs() []Tx
- func (o *Block) GetTxsOk() (*[]Tx, bool)
- func (o *Block) HasDate() bool
- func (o *Block) HasId() bool
- func (o *Block) HasNumber() bool
- func (o *Block) HasParentId() bool
- func (o *Block) HasSupply() bool
- func (o *Block) HasTxIds() bool
- func (o *Block) HasTxs() bool
- func (o Block) MarshalJSON() ([]byte, error)
- func (o *Block) SetDate(v int64)
- func (o *Block) SetId(v string)
- func (o *Block) SetNumber(v int64)
- func (o *Block) SetParentId(v string)
- func (o *Block) SetSupply(v map[string]Supply)
- func (o *Block) SetTxIds(v []string)
- func (o *Block) SetTxs(v []Tx)
- type BlockIdentifier
- func (o *BlockIdentifier) GetId() string
- func (o *BlockIdentifier) GetIdOk() (*string, bool)
- func (o *BlockIdentifier) GetNumber() int64
- func (o *BlockIdentifier) GetNumberOk() (*int64, bool)
- func (o *BlockIdentifier) GetParentId() string
- func (o *BlockIdentifier) GetParentIdOk() (*string, bool)
- func (o *BlockIdentifier) HasId() bool
- func (o *BlockIdentifier) HasNumber() bool
- func (o *BlockIdentifier) HasParentId() bool
- func (o BlockIdentifier) MarshalJSON() ([]byte, error)
- func (o *BlockIdentifier) SetId(v string)
- func (o *BlockIdentifier) SetNumber(v int64)
- func (o *BlockIdentifier) SetParentId(v string)
- type BlocksAPI
- type BlocksAPIService
- func (a *BlocksAPIService) GetBlock(ctx _context.Context, platform string, network string, key string) ApiGetBlockRequest
- func (a *BlocksAPIService) GetBlockExecute(r ApiGetBlockRequest) (Block, *_nethttp.Response, error)
- func (a *BlocksAPIService) GetBlockIdentifier(ctx _context.Context, platform string, network string, key string) ApiGetBlockIdentifierRequest
- func (a *BlocksAPIService) GetBlockIdentifierExecute(r ApiGetBlockIdentifierRequest) (BlockIdentifier, *_nethttp.Response, error)
- type Coin
- func (o *Coin) GetBlockTime() int32
- func (o *Coin) GetBlockTimeOk() (*int32, bool)
- func (o *Coin) GetHandle() string
- func (o *Coin) GetHandleOk() (*string, bool)
- func (o *Coin) GetName() string
- func (o *Coin) GetNameOk() (*string, bool)
- func (o *Coin) GetSampleAddress() string
- func (o *Coin) GetSampleAddressOk() (*string, bool)
- func (o *Coin) GetSlip44() int32
- func (o *Coin) GetSlip44Ok() (*int32, bool)
- func (o *Coin) GetSymbol() string
- func (o *Coin) GetSymbolOk() (*string, bool)
- func (o *Coin) HasBlockTime() bool
- func (o *Coin) HasHandle() bool
- func (o *Coin) HasName() bool
- func (o *Coin) HasSampleAddress() bool
- func (o *Coin) HasSlip44() bool
- func (o *Coin) HasSymbol() bool
- func (o Coin) MarshalJSON() ([]byte, error)
- func (o *Coin) SetBlockTime(v int32)
- func (o *Coin) SetHandle(v string)
- func (o *Coin) SetName(v string)
- func (o *Coin) SetSampleAddress(v string)
- func (o *Coin) SetSlip44(v int32)
- func (o *Coin) SetSymbol(v string)
- type Configuration
- type Currency
- type Effect
- type Event
- func (o *Event) GetAmount() int32
- func (o *Event) GetAmountOk() (*int32, bool)
- func (o *Event) GetBlockId() string
- func (o *Event) GetBlockIdOk() (*string, bool)
- func (o *Event) GetBlockNumber() int32
- func (o *Event) GetBlockNumberOk() (*int32, bool)
- func (o *Event) GetDate() int32
- func (o *Event) GetDateOk() (*int32, bool)
- func (o *Event) GetDecimals() int32
- func (o *Event) GetDecimalsOk() (*int32, bool)
- func (o *Event) GetDenomination() string
- func (o *Event) GetDenominationOk() (*string, bool)
- func (o *Event) GetDestination() string
- func (o *Event) GetDestinationOk() (*string, bool)
- func (o *Event) GetId() string
- func (o *Event) GetIdOk() (*string, bool)
- func (o *Event) GetMeta() interface{}
- func (o *Event) GetMetaOk() (*interface{}, bool)
- func (o *Event) GetSource() string
- func (o *Event) GetSourceOk() (*string, bool)
- func (o *Event) GetTransactionId() string
- func (o *Event) GetTransactionIdOk() (*string, bool)
- func (o *Event) GetType() string
- func (o *Event) GetTypeOk() (*string, bool)
- func (o *Event) HasAmount() bool
- func (o *Event) HasBlockId() bool
- func (o *Event) HasBlockNumber() bool
- func (o *Event) HasDate() bool
- func (o *Event) HasDecimals() bool
- func (o *Event) HasDenomination() bool
- func (o *Event) HasDestination() bool
- func (o *Event) HasId() bool
- func (o *Event) HasMeta() bool
- func (o *Event) HasSource() bool
- func (o *Event) HasTransactionId() bool
- func (o *Event) HasType() bool
- func (o Event) MarshalJSON() ([]byte, error)
- func (o *Event) SetAmount(v int32)
- func (o *Event) SetAmountNil()
- func (o *Event) SetBlockId(v string)
- func (o *Event) SetBlockNumber(v int32)
- func (o *Event) SetDate(v int32)
- func (o *Event) SetDecimals(v int32)
- func (o *Event) SetDecimalsNil()
- func (o *Event) SetDenomination(v string)
- func (o *Event) SetDenominationNil()
- func (o *Event) SetDestination(v string)
- func (o *Event) SetDestinationNil()
- func (o *Event) SetId(v string)
- func (o *Event) SetMeta(v interface{})
- func (o *Event) SetSource(v string)
- func (o *Event) SetSourceNil()
- func (o *Event) SetTransactionId(v string)
- func (o *Event) SetType(v string)
- func (o *Event) UnsetAmount()
- func (o *Event) UnsetDecimals()
- func (o *Event) UnsetDenomination()
- func (o *Event) UnsetDestination()
- func (o *Event) UnsetSource()
- type Fee
- type FeeEstimate
- func (o *FeeEstimate) GetEstimatedFees() FeeEstimateEstimatedFees
- func (o *FeeEstimate) GetEstimatedFeesOk() (*FeeEstimateEstimatedFees, bool)
- func (o *FeeEstimate) GetMostRecentBlock() int32
- func (o *FeeEstimate) GetMostRecentBlockOk() (*int32, bool)
- func (o *FeeEstimate) HasEstimatedFees() bool
- func (o *FeeEstimate) HasMostRecentBlock() bool
- func (o FeeEstimate) MarshalJSON() ([]byte, error)
- func (o *FeeEstimate) SetEstimatedFees(v FeeEstimateEstimatedFees)
- func (o *FeeEstimate) SetMostRecentBlock(v int32)
- type FeeEstimateEstimatedFees
- func (o *FeeEstimateEstimatedFees) GetFast() interface{}
- func (o *FeeEstimateEstimatedFees) GetFastOk() (*interface{}, bool)
- func (o *FeeEstimateEstimatedFees) GetMedium() interface{}
- func (o *FeeEstimateEstimatedFees) GetMediumOk() (*interface{}, bool)
- func (o *FeeEstimateEstimatedFees) GetSlow() interface{}
- func (o *FeeEstimateEstimatedFees) GetSlowOk() (*interface{}, bool)
- func (o *FeeEstimateEstimatedFees) HasFast() bool
- func (o *FeeEstimateEstimatedFees) HasMedium() bool
- func (o *FeeEstimateEstimatedFees) HasSlow() bool
- func (o FeeEstimateEstimatedFees) MarshalJSON() ([]byte, error)
- func (o *FeeEstimateEstimatedFees) SetFast(v interface{})
- func (o *FeeEstimateEstimatedFees) SetMedium(v interface{})
- func (o *FeeEstimateEstimatedFees) SetSlow(v interface{})
- type GenericOpenAPIError
- type ModelError
- func (o *ModelError) GetCode() int32
- func (o *ModelError) GetCodeOk() (*int32, bool)
- func (o *ModelError) GetDetail() string
- func (o *ModelError) GetDetailOk() (*string, bool)
- func (o *ModelError) GetStatus() int32
- func (o *ModelError) GetStatusOk() (*int32, bool)
- func (o *ModelError) GetTitle() string
- func (o *ModelError) GetTitleOk() (*string, bool)
- func (o *ModelError) GetType() string
- func (o *ModelError) GetTypeOk() (*string, bool)
- func (o *ModelError) HasCode() bool
- func (o *ModelError) HasDetail() bool
- func (o *ModelError) HasStatus() bool
- func (o *ModelError) HasTitle() bool
- func (o *ModelError) HasType() bool
- func (o ModelError) MarshalJSON() ([]byte, error)
- func (o *ModelError) SetCode(v int32)
- func (o *ModelError) SetDetail(v string)
- func (o *ModelError) SetStatus(v int32)
- func (o *ModelError) SetTitle(v string)
- func (o *ModelError) SetType(v string)
- type MultiTransfer
- func (o *MultiTransfer) GetCurrency() Currency
- func (o *MultiTransfer) GetCurrencyOk() (*Currency, bool)
- func (o *MultiTransfer) GetInputs() []Utxo
- func (o *MultiTransfer) GetInputsOk() (*[]Utxo, bool)
- func (o *MultiTransfer) GetOutputs() []Utxo
- func (o *MultiTransfer) GetOutputsOk() (*[]Utxo, bool)
- func (o *MultiTransfer) GetTotalIn() string
- func (o *MultiTransfer) GetTotalInOk() (*string, bool)
- func (o *MultiTransfer) GetTotalOut() string
- func (o *MultiTransfer) GetTotalOutOk() (*string, bool)
- func (o *MultiTransfer) GetUnspent() string
- func (o *MultiTransfer) GetUnspentOk() (*string, bool)
- func (o MultiTransfer) MarshalJSON() ([]byte, error)
- func (o *MultiTransfer) SetCurrency(v Currency)
- func (o *MultiTransfer) SetInputs(v []Utxo)
- func (o *MultiTransfer) SetOutputs(v []Utxo)
- func (o *MultiTransfer) SetTotalIn(v string)
- func (o *MultiTransfer) SetTotalOut(v string)
- func (o *MultiTransfer) SetUnspent(v string)
- type MultiTransferOperation
- func (o *MultiTransferOperation) GetDetail() MultiTransfer
- func (o *MultiTransferOperation) GetDetailOk() (*MultiTransfer, bool)
- func (o *MultiTransferOperation) GetEvent() string
- func (o *MultiTransferOperation) GetEventOk() (*string, bool)
- func (o *MultiTransferOperation) GetType() string
- func (o *MultiTransferOperation) GetTypeOk() (*string, bool)
- func (o *MultiTransferOperation) HasEvent() bool
- func (o MultiTransferOperation) MarshalJSON() ([]byte, error)
- func (o *MultiTransferOperation) SetDetail(v MultiTransfer)
- func (o *MultiTransferOperation) SetEvent(v string)
- func (o *MultiTransferOperation) SetType(v string)
- type NativeCurrency
- func (o *NativeCurrency) GetAssetPath() string
- func (o *NativeCurrency) GetAssetPathOk() (*string, bool)
- func (o *NativeCurrency) GetDecimals() int32
- func (o *NativeCurrency) GetDecimalsOk() (*int32, bool)
- func (o *NativeCurrency) GetName() string
- func (o *NativeCurrency) GetNameOk() (*string, bool)
- func (o *NativeCurrency) GetSymbol() string
- func (o *NativeCurrency) GetSymbolOk() (*string, bool)
- func (o *NativeCurrency) GetType() string
- func (o *NativeCurrency) GetTypeOk() (*string, bool)
- func (o *NativeCurrency) HasDecimals() bool
- func (o *NativeCurrency) HasName() bool
- func (o *NativeCurrency) HasSymbol() bool
- func (o NativeCurrency) MarshalJSON() ([]byte, error)
- func (o *NativeCurrency) SetAssetPath(v string)
- func (o *NativeCurrency) SetDecimals(v int32)
- func (o *NativeCurrency) SetName(v string)
- func (o *NativeCurrency) SetSymbol(v string)
- func (o *NativeCurrency) SetType(v string)
- type NullableAccountsObj
- func (v NullableAccountsObj) Get() *AccountsObj
- func (v NullableAccountsObj) IsSet() bool
- func (v NullableAccountsObj) MarshalJSON() ([]byte, error)
- func (v *NullableAccountsObj) Set(val *AccountsObj)
- func (v *NullableAccountsObj) UnmarshalJSON(src []byte) error
- func (v *NullableAccountsObj) Unset()
- type NullableAlgorandMeta
- func (v NullableAlgorandMeta) Get() *AlgorandMeta
- func (v NullableAlgorandMeta) IsSet() bool
- func (v NullableAlgorandMeta) MarshalJSON() ([]byte, error)
- func (v *NullableAlgorandMeta) Set(val *AlgorandMeta)
- func (v *NullableAlgorandMeta) UnmarshalJSON(src []byte) error
- func (v *NullableAlgorandMeta) Unset()
- type NullableBalanceChange
- func (v NullableBalanceChange) Get() *BalanceChange
- func (v NullableBalanceChange) IsSet() bool
- func (v NullableBalanceChange) MarshalJSON() ([]byte, error)
- func (v *NullableBalanceChange) Set(val *BalanceChange)
- func (v *NullableBalanceChange) UnmarshalJSON(src []byte) error
- func (v *NullableBalanceChange) Unset()
- type NullableBalanceV1
- type NullableBlock
- type NullableBlockIdentifier
- func (v NullableBlockIdentifier) Get() *BlockIdentifier
- func (v NullableBlockIdentifier) IsSet() bool
- func (v NullableBlockIdentifier) MarshalJSON() ([]byte, error)
- func (v *NullableBlockIdentifier) Set(val *BlockIdentifier)
- func (v *NullableBlockIdentifier) UnmarshalJSON(src []byte) error
- func (v *NullableBlockIdentifier) Unset()
- type NullableBool
- type NullableCoin
- type NullableCurrency
- type NullableEffect
- type NullableEvent
- type NullableFee
- type NullableFeeEstimate
- func (v NullableFeeEstimate) Get() *FeeEstimate
- func (v NullableFeeEstimate) IsSet() bool
- func (v NullableFeeEstimate) MarshalJSON() ([]byte, error)
- func (v *NullableFeeEstimate) Set(val *FeeEstimate)
- func (v *NullableFeeEstimate) UnmarshalJSON(src []byte) error
- func (v *NullableFeeEstimate) Unset()
- type NullableFeeEstimateEstimatedFees
- func (v NullableFeeEstimateEstimatedFees) Get() *FeeEstimateEstimatedFees
- func (v NullableFeeEstimateEstimatedFees) IsSet() bool
- func (v NullableFeeEstimateEstimatedFees) MarshalJSON() ([]byte, error)
- func (v *NullableFeeEstimateEstimatedFees) Set(val *FeeEstimateEstimatedFees)
- func (v *NullableFeeEstimateEstimatedFees) UnmarshalJSON(src []byte) error
- func (v *NullableFeeEstimateEstimatedFees) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableModelError
- type NullableMultiTransfer
- func (v NullableMultiTransfer) Get() *MultiTransfer
- func (v NullableMultiTransfer) IsSet() bool
- func (v NullableMultiTransfer) MarshalJSON() ([]byte, error)
- func (v *NullableMultiTransfer) Set(val *MultiTransfer)
- func (v *NullableMultiTransfer) UnmarshalJSON(src []byte) error
- func (v *NullableMultiTransfer) Unset()
- type NullableMultiTransferOperation
- func (v NullableMultiTransferOperation) Get() *MultiTransferOperation
- func (v NullableMultiTransferOperation) IsSet() bool
- func (v NullableMultiTransferOperation) MarshalJSON() ([]byte, error)
- func (v *NullableMultiTransferOperation) Set(val *MultiTransferOperation)
- func (v *NullableMultiTransferOperation) UnmarshalJSON(src []byte) error
- func (v *NullableMultiTransferOperation) Unset()
- type NullableNativeCurrency
- func (v NullableNativeCurrency) Get() *NativeCurrency
- func (v NullableNativeCurrency) IsSet() bool
- func (v NullableNativeCurrency) MarshalJSON() ([]byte, error)
- func (v *NullableNativeCurrency) Set(val *NativeCurrency)
- func (v *NullableNativeCurrency) UnmarshalJSON(src []byte) error
- func (v *NullableNativeCurrency) Unset()
- type NullableOperation
- type NullablePlatformDetail
- func (v NullablePlatformDetail) Get() *PlatformDetail
- func (v NullablePlatformDetail) IsSet() bool
- func (v NullablePlatformDetail) MarshalJSON() ([]byte, error)
- func (v *NullablePlatformDetail) Set(val *PlatformDetail)
- func (v *NullablePlatformDetail) UnmarshalJSON(src []byte) error
- func (v *NullablePlatformDetail) Unset()
- type NullablePlatformEndpoint
- func (v NullablePlatformEndpoint) Get() *PlatformEndpoint
- func (v NullablePlatformEndpoint) IsSet() bool
- func (v NullablePlatformEndpoint) MarshalJSON() ([]byte, error)
- func (v *NullablePlatformEndpoint) Set(val *PlatformEndpoint)
- func (v *NullablePlatformEndpoint) UnmarshalJSON(src []byte) error
- func (v *NullablePlatformEndpoint) Unset()
- type NullablePlatformsOverview
- func (v NullablePlatformsOverview) Get() *PlatformsOverview
- func (v NullablePlatformsOverview) IsSet() bool
- func (v NullablePlatformsOverview) MarshalJSON() ([]byte, error)
- func (v *NullablePlatformsOverview) Set(val *PlatformsOverview)
- func (v *NullablePlatformsOverview) UnmarshalJSON(src []byte) error
- func (v *NullablePlatformsOverview) Unset()
- type NullablePlatformsOverviewPlatforms
- func (v NullablePlatformsOverviewPlatforms) Get() *PlatformsOverviewPlatforms
- func (v NullablePlatformsOverviewPlatforms) IsSet() bool
- func (v NullablePlatformsOverviewPlatforms) MarshalJSON() ([]byte, error)
- func (v *NullablePlatformsOverviewPlatforms) Set(val *PlatformsOverviewPlatforms)
- func (v *NullablePlatformsOverviewPlatforms) UnmarshalJSON(src []byte) error
- func (v *NullablePlatformsOverviewPlatforms) Unset()
- type NullableReport
- type NullableReportField
- func (v NullableReportField) Get() *ReportField
- func (v NullableReportField) IsSet() bool
- func (v NullableReportField) MarshalJSON() ([]byte, error)
- func (v *NullableReportField) Set(val *ReportField)
- func (v *NullableReportField) UnmarshalJSON(src []byte) error
- func (v *NullableReportField) Unset()
- type NullableReportFieldMeta
- func (v NullableReportFieldMeta) Get() *ReportFieldMeta
- func (v NullableReportFieldMeta) IsSet() bool
- func (v NullableReportFieldMeta) MarshalJSON() ([]byte, error)
- func (v *NullableReportFieldMeta) Set(val *ReportFieldMeta)
- func (v *NullableReportFieldMeta) UnmarshalJSON(src []byte) error
- func (v *NullableReportFieldMeta) Unset()
- type NullableSignedTx
- type NullableSmartToken
- type NullableSmartTokenCurrency
- func (v NullableSmartTokenCurrency) Get() *SmartTokenCurrency
- func (v NullableSmartTokenCurrency) IsSet() bool
- func (v NullableSmartTokenCurrency) MarshalJSON() ([]byte, error)
- func (v *NullableSmartTokenCurrency) Set(val *SmartTokenCurrency)
- func (v *NullableSmartTokenCurrency) UnmarshalJSON(src []byte) error
- func (v *NullableSmartTokenCurrency) Unset()
- type NullableString
- type NullableSupply
- type NullableTime
- type NullableToken
- type NullableTokenCurrency
- func (v NullableTokenCurrency) Get() *TokenCurrency
- func (v NullableTokenCurrency) IsSet() bool
- func (v NullableTokenCurrency) MarshalJSON() ([]byte, error)
- func (v *NullableTokenCurrency) Set(val *TokenCurrency)
- func (v *NullableTokenCurrency) UnmarshalJSON(src []byte) error
- func (v *NullableTokenCurrency) Unset()
- type NullableTransfer
- type NullableTransferOperation
- func (v NullableTransferOperation) Get() *TransferOperation
- func (v NullableTransferOperation) IsSet() bool
- func (v NullableTransferOperation) MarshalJSON() ([]byte, error)
- func (v *NullableTransferOperation) Set(val *TransferOperation)
- func (v *NullableTransferOperation) UnmarshalJSON(src []byte) error
- func (v *NullableTransferOperation) Unset()
- type NullableTx
- type NullableTxConfirmation
- func (v NullableTxConfirmation) Get() *TxConfirmation
- func (v NullableTxConfirmation) IsSet() bool
- func (v NullableTxConfirmation) MarshalJSON() ([]byte, error)
- func (v *NullableTxConfirmation) Set(val *TxConfirmation)
- func (v *NullableTxConfirmation) UnmarshalJSON(src []byte) error
- func (v *NullableTxConfirmation) Unset()
- type NullableTxDestination
- func (v NullableTxDestination) Get() *TxDestination
- func (v NullableTxDestination) IsSet() bool
- func (v NullableTxDestination) MarshalJSON() ([]byte, error)
- func (v *NullableTxDestination) Set(val *TxDestination)
- func (v *NullableTxDestination) UnmarshalJSON(src []byte) error
- func (v *NullableTxDestination) Unset()
- type NullableTxPage
- type NullableTxPageV1
- type NullableTxReceipt
- type NullableTxV1
- type NullableUtxo
- type Operation
- type PlatformDetail
- func (o *PlatformDetail) GetEndpoints() []string
- func (o *PlatformDetail) GetEndpointsOk() (*[]string, bool)
- func (o *PlatformDetail) GetGenesisNumber() int64
- func (o *PlatformDetail) GetGenesisNumberOk() (*int64, bool)
- func (o *PlatformDetail) GetHandle() string
- func (o *PlatformDetail) GetHandleOk() (*string, bool)
- func (o *PlatformDetail) GetSource() string
- func (o *PlatformDetail) GetSourceOk() (*string, bool)
- func (o *PlatformDetail) HasEndpoints() bool
- func (o *PlatformDetail) HasGenesisNumber() bool
- func (o *PlatformDetail) HasHandle() bool
- func (o *PlatformDetail) HasSource() bool
- func (o PlatformDetail) MarshalJSON() ([]byte, error)
- func (o *PlatformDetail) SetEndpoints(v []string)
- func (o *PlatformDetail) SetGenesisNumber(v int64)
- func (o *PlatformDetail) SetHandle(v string)
- func (o *PlatformDetail) SetSource(v string)
- type PlatformEndpoint
- func (o *PlatformEndpoint) GetExample() string
- func (o *PlatformEndpoint) GetExampleOk() (*string, bool)
- func (o *PlatformEndpoint) GetPath() string
- func (o *PlatformEndpoint) GetPathOk() (*string, bool)
- func (o *PlatformEndpoint) HasExample() bool
- func (o *PlatformEndpoint) HasPath() bool
- func (o PlatformEndpoint) MarshalJSON() ([]byte, error)
- func (o *PlatformEndpoint) SetExample(v string)
- func (o *PlatformEndpoint) SetPath(v string)
- type PlatformsAPI
- type PlatformsAPIService
- func (a *PlatformsAPIService) GetPlatform(ctx _context.Context, platform string, network string) ApiGetPlatformRequest
- func (a *PlatformsAPIService) GetPlatformEndpoints(ctx _context.Context, platform string, network string) ApiGetPlatformEndpointsRequest
- func (a *PlatformsAPIService) GetPlatformEndpointsExecute(r ApiGetPlatformEndpointsRequest) (PlatformDetail, *_nethttp.Response, error)
- func (a *PlatformsAPIService) GetPlatformExecute(r ApiGetPlatformRequest) (PlatformDetail, *_nethttp.Response, error)
- func (a *PlatformsAPIService) GetPlatforms(ctx _context.Context) ApiGetPlatformsRequest
- func (a *PlatformsAPIService) GetPlatformsExecute(r ApiGetPlatformsRequest) (PlatformsOverview, *_nethttp.Response, error)
- func (a *PlatformsAPIService) GetPlatformsList(ctx _context.Context) ApiGetPlatformsListRequest
- func (a *PlatformsAPIService) GetPlatformsListExecute(r ApiGetPlatformsListRequest) (PlatformsOverview, *_nethttp.Response, error)
- type PlatformsOverview
- func (o *PlatformsOverview) GetPlatforms() []PlatformsOverviewPlatforms
- func (o *PlatformsOverview) GetPlatformsOk() (*[]PlatformsOverviewPlatforms, bool)
- func (o *PlatformsOverview) HasPlatforms() bool
- func (o PlatformsOverview) MarshalJSON() ([]byte, error)
- func (o *PlatformsOverview) SetPlatforms(v []PlatformsOverviewPlatforms)
- type PlatformsOverviewPlatforms
- func (o *PlatformsOverviewPlatforms) GetHandle() string
- func (o *PlatformsOverviewPlatforms) GetHandleOk() (*string, bool)
- func (o *PlatformsOverviewPlatforms) GetNetwork() string
- func (o *PlatformsOverviewPlatforms) GetNetworkOk() (*string, bool)
- func (o *PlatformsOverviewPlatforms) HasHandle() bool
- func (o *PlatformsOverviewPlatforms) HasNetwork() bool
- func (o PlatformsOverviewPlatforms) MarshalJSON() ([]byte, error)
- func (o *PlatformsOverviewPlatforms) SetHandle(v string)
- func (o *PlatformsOverviewPlatforms) SetNetwork(v string)
- type Report
- func (o *Report) GetContinuation() string
- func (o *Report) GetContinuationOk() (*string, bool)
- func (o *Report) GetFields() []ReportField
- func (o *Report) GetFieldsOk() (*[]ReportField, bool)
- func (o *Report) GetItems() int32
- func (o *Report) GetItemsOk() (*int32, bool)
- func (o *Report) GetLimit() int32
- func (o *Report) GetLimitOk() (*int32, bool)
- func (o *Report) HasContinuation() bool
- func (o *Report) HasLimit() bool
- func (o Report) MarshalJSON() ([]byte, error)
- func (o *Report) SetContinuation(v string)
- func (o *Report) SetFields(v []ReportField)
- func (o *Report) SetItems(v int32)
- func (o *Report) SetLimit(v int32)
- type ReportField
- func (o *ReportField) GetAction() string
- func (o *ReportField) GetActionOk() (*string, bool)
- func (o *ReportField) GetAddress() string
- func (o *ReportField) GetAddressOk() (*string, bool)
- func (o *ReportField) GetBlock() int64
- func (o *ReportField) GetBlockOk() (*int64, bool)
- func (o *ReportField) GetCurrency() string
- func (o *ReportField) GetCurrencyOk() (*string, bool)
- func (o *ReportField) GetDecimals() int32
- func (o *ReportField) GetDecimalsOk() (*int32, bool)
- func (o *ReportField) GetEventId() string
- func (o *ReportField) GetEventIdOk() (*string, bool)
- func (o *ReportField) GetFee() string
- func (o *ReportField) GetFeeOk() (*string, bool)
- func (o *ReportField) GetHash() string
- func (o *ReportField) GetHashOk() (*string, bool)
- func (o *ReportField) GetMeta() ReportFieldMeta
- func (o *ReportField) GetMetaOk() (*ReportFieldMeta, bool)
- func (o *ReportField) GetProtocol() string
- func (o *ReportField) GetProtocolOk() (*string, bool)
- func (o *ReportField) GetSenderAddress() string
- func (o *ReportField) GetSenderAddressOk() (*string, bool)
- func (o *ReportField) GetTimestamp() int32
- func (o *ReportField) GetTimestampOk() (*int32, bool)
- func (o *ReportField) GetValue() string
- func (o *ReportField) GetValueOk() (*string, bool)
- func (o *ReportField) HasMeta() bool
- func (o ReportField) MarshalJSON() ([]byte, error)
- func (o *ReportField) SetAction(v string)
- func (o *ReportField) SetAddress(v string)
- func (o *ReportField) SetBlock(v int64)
- func (o *ReportField) SetCurrency(v string)
- func (o *ReportField) SetDecimals(v int32)
- func (o *ReportField) SetEventId(v string)
- func (o *ReportField) SetFee(v string)
- func (o *ReportField) SetHash(v string)
- func (o *ReportField) SetMeta(v ReportFieldMeta)
- func (o *ReportField) SetMetaNil()
- func (o *ReportField) SetProtocol(v string)
- func (o *ReportField) SetSenderAddress(v string)
- func (o *ReportField) SetTimestamp(v int32)
- func (o *ReportField) SetValue(v string)
- func (o *ReportField) UnsetMeta()
- type ReportFieldMeta
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SignedTx
- type SmartToken
- func (o *SmartToken) GetContract() string
- func (o *SmartToken) GetContractOk() (*string, bool)
- func (o *SmartToken) GetType() string
- func (o *SmartToken) GetTypeOk() (*string, bool)
- func (o SmartToken) MarshalJSON() ([]byte, error)
- func (o *SmartToken) SetContract(v string)
- func (o *SmartToken) SetType(v string)
- type SmartTokenCurrency
- func (o *SmartTokenCurrency) GetAssetPath() string
- func (o *SmartTokenCurrency) GetAssetPathOk() (*string, bool)
- func (o *SmartTokenCurrency) GetDecimals() int32
- func (o *SmartTokenCurrency) GetDecimalsOk() (*int32, bool)
- func (o *SmartTokenCurrency) GetDetail() SmartToken
- func (o *SmartTokenCurrency) GetDetailOk() (*SmartToken, bool)
- func (o *SmartTokenCurrency) GetName() string
- func (o *SmartTokenCurrency) GetNameOk() (*string, bool)
- func (o *SmartTokenCurrency) GetSymbol() string
- func (o *SmartTokenCurrency) GetSymbolOk() (*string, bool)
- func (o *SmartTokenCurrency) GetType() string
- func (o *SmartTokenCurrency) GetTypeOk() (*string, bool)
- func (o *SmartTokenCurrency) HasDecimals() bool
- func (o *SmartTokenCurrency) HasDetail() bool
- func (o *SmartTokenCurrency) HasName() bool
- func (o *SmartTokenCurrency) HasSymbol() bool
- func (o SmartTokenCurrency) MarshalJSON() ([]byte, error)
- func (o *SmartTokenCurrency) SetAssetPath(v string)
- func (o *SmartTokenCurrency) SetDecimals(v int32)
- func (o *SmartTokenCurrency) SetDetail(v SmartToken)
- func (o *SmartTokenCurrency) SetName(v string)
- func (o *SmartTokenCurrency) SetSymbol(v string)
- func (o *SmartTokenCurrency) SetType(v string)
- type Supply
- func (o *Supply) GetCreated() string
- func (o *Supply) GetCreatedOk() (*string, bool)
- func (o *Supply) GetMaximum() string
- func (o *Supply) GetMaximumOk() (*string, bool)
- func (o *Supply) GetTotal() string
- func (o *Supply) GetTotalBurnt() string
- func (o *Supply) GetTotalBurntOk() (*string, bool)
- func (o *Supply) GetTotalCreated() string
- func (o *Supply) GetTotalCreatedOk() (*string, bool)
- func (o *Supply) GetTotalOk() (*string, bool)
- func (o *Supply) HasCreated() bool
- func (o *Supply) HasMaximum() bool
- func (o *Supply) HasTotal() bool
- func (o *Supply) HasTotalBurnt() bool
- func (o *Supply) HasTotalCreated() bool
- func (o Supply) MarshalJSON() ([]byte, error)
- func (o *Supply) SetCreated(v string)
- func (o *Supply) SetMaximum(v string)
- func (o *Supply) SetTotal(v string)
- func (o *Supply) SetTotalBurnt(v string)
- func (o *Supply) SetTotalCreated(v string)
- type SyncAPI
- type SyncAPIService
- func (a *SyncAPIService) CurrentBlockID(ctx _context.Context, platform string, network string) ApiCurrentBlockIDRequest
- func (a *SyncAPIService) CurrentBlockIDExecute(r ApiCurrentBlockIDRequest) (string, *_nethttp.Response, error)
- func (a *SyncAPIService) CurrentBlockNumber(ctx _context.Context, platform string, network string) ApiCurrentBlockNumberRequest
- func (a *SyncAPIService) CurrentBlockNumberExecute(r ApiCurrentBlockNumberRequest) (int64, *_nethttp.Response, error)
- type Token
- func (o *Token) GetCreator() string
- func (o *Token) GetCreatorOk() (*string, bool)
- func (o *Token) GetId() string
- func (o *Token) GetIdOk() (*string, bool)
- func (o *Token) GetType() string
- func (o *Token) GetTypeOk() (*string, bool)
- func (o *Token) HasCreator() bool
- func (o Token) MarshalJSON() ([]byte, error)
- func (o *Token) SetCreator(v string)
- func (o *Token) SetId(v string)
- func (o *Token) SetType(v string)
- type TokenCurrency
- func (o *TokenCurrency) GetAssetPath() string
- func (o *TokenCurrency) GetAssetPathOk() (*string, bool)
- func (o *TokenCurrency) GetDecimals() int32
- func (o *TokenCurrency) GetDecimalsOk() (*int32, bool)
- func (o *TokenCurrency) GetDetail() Token
- func (o *TokenCurrency) GetDetailOk() (*Token, bool)
- func (o *TokenCurrency) GetName() string
- func (o *TokenCurrency) GetNameOk() (*string, bool)
- func (o *TokenCurrency) GetSymbol() string
- func (o *TokenCurrency) GetSymbolOk() (*string, bool)
- func (o *TokenCurrency) GetType() string
- func (o *TokenCurrency) GetTypeOk() (*string, bool)
- func (o *TokenCurrency) HasDecimals() bool
- func (o *TokenCurrency) HasDetail() bool
- func (o *TokenCurrency) HasName() bool
- func (o *TokenCurrency) HasSymbol() bool
- func (o TokenCurrency) MarshalJSON() ([]byte, error)
- func (o *TokenCurrency) SetAssetPath(v string)
- func (o *TokenCurrency) SetDecimals(v int32)
- func (o *TokenCurrency) SetDetail(v Token)
- func (o *TokenCurrency) SetName(v string)
- func (o *TokenCurrency) SetSymbol(v string)
- func (o *TokenCurrency) SetType(v string)
- type TransactionsAPI
- type TransactionsAPIService
- func (a *TransactionsAPIService) EstimateFee(ctx _context.Context, platform string, network string) ApiEstimateFeeRequest
- func (a *TransactionsAPIService) EstimateFeeExecute(r ApiEstimateFeeRequest) (string, *_nethttp.Response, error)
- func (a *TransactionsAPIService) FeeEstimate(ctx _context.Context, platform string, network string) ApiFeeEstimateRequest
- func (a *TransactionsAPIService) FeeEstimateExecute(r ApiFeeEstimateRequest) (FeeEstimate, *_nethttp.Response, error)
- func (a *TransactionsAPIService) GetTx(ctx _context.Context, platform string, network string, id string) ApiGetTxRequest
- func (a *TransactionsAPIService) GetTxConfirmations(ctx _context.Context, platform string, network string, id string) ApiGetTxConfirmationsRequest
- func (a *TransactionsAPIService) GetTxConfirmationsExecute(r ApiGetTxConfirmationsRequest) (TxConfirmation, *_nethttp.Response, error)
- func (a *TransactionsAPIService) GetTxExecute(r ApiGetTxRequest) (Tx, *_nethttp.Response, error)
- func (a *TransactionsAPIService) GetTxs(ctx _context.Context, platform string, network string) ApiGetTxsRequest
- func (a *TransactionsAPIService) GetTxsExecute(r ApiGetTxsRequest) (TxPage, *_nethttp.Response, error)
- func (a *TransactionsAPIService) TxSend(ctx _context.Context, platform string, network string) ApiTxSendRequest
- func (a *TransactionsAPIService) TxSendExecute(r ApiTxSendRequest) (TxReceipt, *_nethttp.Response, error)
- type Transfer
- func (o *Transfer) GetCurrency() Currency
- func (o *Transfer) GetCurrencyOk() (*Currency, bool)
- func (o *Transfer) GetFee() Fee
- func (o *Transfer) GetFeeOk() (*Fee, bool)
- func (o *Transfer) GetFrom() string
- func (o *Transfer) GetFromOk() (*string, bool)
- func (o *Transfer) GetTo() string
- func (o *Transfer) GetToOk() (*string, bool)
- func (o *Transfer) GetValue() string
- func (o *Transfer) GetValueOk() (*string, bool)
- func (o *Transfer) HasFee() bool
- func (o Transfer) MarshalJSON() ([]byte, error)
- func (o *Transfer) SetCurrency(v Currency)
- func (o *Transfer) SetFee(v Fee)
- func (o *Transfer) SetFrom(v string)
- func (o *Transfer) SetTo(v string)
- func (o *Transfer) SetValue(v string)
- type TransferOperation
- func (o *TransferOperation) GetDetail() Transfer
- func (o *TransferOperation) GetDetailOk() (*Transfer, bool)
- func (o *TransferOperation) GetEvent() string
- func (o *TransferOperation) GetEventOk() (*string, bool)
- func (o *TransferOperation) GetType() string
- func (o *TransferOperation) GetTypeOk() (*string, bool)
- func (o *TransferOperation) HasEvent() bool
- func (o TransferOperation) MarshalJSON() ([]byte, error)
- func (o *TransferOperation) SetDetail(v Transfer)
- func (o *TransferOperation) SetEvent(v string)
- func (o *TransferOperation) SetType(v string)
- type Tx
- func (o *Tx) GetAddresses() []string
- func (o *Tx) GetAddressesOk() (*[]string, bool)
- func (o *Tx) GetAssets() []string
- func (o *Tx) GetAssetsOk() (*[]string, bool)
- func (o *Tx) GetBlockId() string
- func (o *Tx) GetBlockIdOk() (*string, bool)
- func (o *Tx) GetDate() int64
- func (o *Tx) GetDateOk() (*int64, bool)
- func (o *Tx) GetEffects() map[string]Effect
- func (o *Tx) GetEffectsOk() (*map[string]Effect, bool)
- func (o *Tx) GetHeight() int64
- func (o *Tx) GetHeightOk() (*int64, bool)
- func (o *Tx) GetId() string
- func (o *Tx) GetIdOk() (*string, bool)
- func (o *Tx) GetOperations() map[string]Operation
- func (o *Tx) GetOperationsOk() (*map[string]Operation, bool)
- func (o *Tx) GetSlip44() int32
- func (o *Tx) GetSlip44Ok() (*int32, bool)
- func (o *Tx) GetStatus() string
- func (o *Tx) GetStatusOk() (*string, bool)
- func (o *Tx) GetTags() []string
- func (o *Tx) GetTagsOk() (*[]string, bool)
- func (o *Tx) HasAddresses() bool
- func (o *Tx) HasAssets() bool
- func (o *Tx) HasBlockId() bool
- func (o *Tx) HasDate() bool
- func (o *Tx) HasEffects() bool
- func (o *Tx) HasHeight() bool
- func (o *Tx) HasId() bool
- func (o *Tx) HasOperations() bool
- func (o *Tx) HasSlip44() bool
- func (o *Tx) HasStatus() bool
- func (o *Tx) HasTags() bool
- func (o Tx) MarshalJSON() ([]byte, error)
- func (o *Tx) SetAddresses(v []string)
- func (o *Tx) SetAssets(v []string)
- func (o *Tx) SetBlockId(v string)
- func (o *Tx) SetBlockIdNil()
- func (o *Tx) SetDate(v int64)
- func (o *Tx) SetEffects(v map[string]Effect)
- func (o *Tx) SetHeight(v int64)
- func (o *Tx) SetHeightNil()
- func (o *Tx) SetId(v string)
- func (o *Tx) SetOperations(v map[string]Operation)
- func (o *Tx) SetSlip44(v int32)
- func (o *Tx) SetStatus(v string)
- func (o *Tx) SetTags(v []string)
- func (o *Tx) UnsetBlockId()
- func (o *Tx) UnsetHeight()
- type TxConfirmation
- func (o *TxConfirmation) GetConfirmations() int64
- func (o *TxConfirmation) GetConfirmationsOk() (*int64, bool)
- func (o *TxConfirmation) GetCurrentHeight() int64
- func (o *TxConfirmation) GetCurrentHeightOk() (*int64, bool)
- func (o *TxConfirmation) GetTxId() string
- func (o *TxConfirmation) GetTxIdOk() (*string, bool)
- func (o *TxConfirmation) HasConfirmations() bool
- func (o *TxConfirmation) HasCurrentHeight() bool
- func (o *TxConfirmation) HasTxId() bool
- func (o TxConfirmation) MarshalJSON() ([]byte, error)
- func (o *TxConfirmation) SetConfirmations(v int64)
- func (o *TxConfirmation) SetCurrentHeight(v int64)
- func (o *TxConfirmation) SetTxId(v string)
- type TxDestination
- func (o *TxDestination) GetAmount() string
- func (o *TxDestination) GetAmountOk() (*string, bool)
- func (o *TxDestination) GetDestination() string
- func (o *TxDestination) GetDestinationOk() (*string, bool)
- func (o TxDestination) MarshalJSON() ([]byte, error)
- func (o *TxDestination) SetAmount(v string)
- func (o *TxDestination) SetDestination(v string)
- type TxPage
- func (o *TxPage) GetContinuation() string
- func (o *TxPage) GetContinuationOk() (*string, bool)
- func (o *TxPage) GetItems() []Tx
- func (o *TxPage) GetItemsOk() (*[]Tx, bool)
- func (o *TxPage) GetTotal() int32
- func (o *TxPage) GetTotalOk() (*int32, bool)
- func (o *TxPage) HasContinuation() bool
- func (o *TxPage) HasItems() bool
- func (o *TxPage) HasTotal() bool
- func (o TxPage) MarshalJSON() ([]byte, error)
- func (o *TxPage) SetContinuation(v string)
- func (o *TxPage) SetContinuationNil()
- func (o *TxPage) SetItems(v []Tx)
- func (o *TxPage) SetTotal(v int32)
- func (o *TxPage) UnsetContinuation()
- type TxPageV1
- func (o *TxPageV1) GetContinuation() string
- func (o *TxPageV1) GetContinuationOk() (*string, bool)
- func (o *TxPageV1) GetItems() []TxV1
- func (o *TxPageV1) GetItemsOk() (*[]TxV1, bool)
- func (o *TxPageV1) GetTotal() int32
- func (o *TxPageV1) GetTotalOk() (*int32, bool)
- func (o *TxPageV1) HasContinuation() bool
- func (o *TxPageV1) HasItems() bool
- func (o *TxPageV1) HasTotal() bool
- func (o TxPageV1) MarshalJSON() ([]byte, error)
- func (o *TxPageV1) SetContinuation(v string)
- func (o *TxPageV1) SetContinuationNil()
- func (o *TxPageV1) SetItems(v []TxV1)
- func (o *TxPageV1) SetTotal(v int32)
- func (o *TxPageV1) UnsetContinuation()
- type TxReceipt
- type TxV1
- func (o *TxV1) GetBlockId() string
- func (o *TxV1) GetBlockIdOk() (*string, bool)
- func (o *TxV1) GetDate() int64
- func (o *TxV1) GetDateOk() (*int64, bool)
- func (o *TxV1) GetEvents() []Event
- func (o *TxV1) GetEventsOk() (*[]Event, bool)
- func (o *TxV1) GetId() string
- func (o *TxV1) GetIdOk() (*string, bool)
- func (o *TxV1) GetMeta() interface{}
- func (o *TxV1) GetMetaOk() (*interface{}, bool)
- func (o *TxV1) GetNonce() int32
- func (o *TxV1) GetNonceOk() (*int32, bool)
- func (o *TxV1) GetNumEvents() int32
- func (o *TxV1) GetNumEventsOk() (*int32, bool)
- func (o *TxV1) GetStatus() string
- func (o *TxV1) GetStatusOk() (*string, bool)
- func (o *TxV1) HasBlockId() bool
- func (o *TxV1) HasDate() bool
- func (o *TxV1) HasEvents() bool
- func (o *TxV1) HasId() bool
- func (o *TxV1) HasMeta() bool
- func (o *TxV1) HasNonce() bool
- func (o *TxV1) HasNumEvents() bool
- func (o *TxV1) HasStatus() bool
- func (o TxV1) MarshalJSON() ([]byte, error)
- func (o *TxV1) SetBlockId(v string)
- func (o *TxV1) SetBlockIdNil()
- func (o *TxV1) SetDate(v int64)
- func (o *TxV1) SetEvents(v []Event)
- func (o *TxV1) SetId(v string)
- func (o *TxV1) SetMeta(v interface{})
- func (o *TxV1) SetNonce(v int32)
- func (o *TxV1) SetNumEvents(v int32)
- func (o *TxV1) SetStatus(v string)
- func (o *TxV1) UnsetBlockId()
- type Utxo
- func (o *Utxo) GetAddress() string
- func (o *Utxo) GetAddressOk() (*string, bool)
- func (o *Utxo) GetAssetPath() string
- func (o *Utxo) GetAssetPathOk() (*string, bool)
- func (o *Utxo) GetValue() string
- func (o *Utxo) GetValueOk() (*string, bool)
- func (o *Utxo) HasAddress() bool
- func (o *Utxo) HasAssetPath() bool
- func (o *Utxo) HasValue() bool
- func (o Utxo) MarshalJSON() ([]byte, error)
- func (o *Utxo) SetAddress(v string)
- func (o *Utxo) SetAssetPath(v string)
- func (o *Utxo) SetValue(v string)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // 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") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { AccountsAPI AccountsAPI BlocksAPI BlocksAPI PlatformsAPI PlatformsAPI SyncAPI SyncAPI TransactionsAPI TransactionsAPI // contains filtered or unexported fields }
APIClient manages communication with the Ubiquity REST API API v2.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type AccountsAPI ¶
type AccountsAPI interface { /* * GetBalancesByAddress Balances Of Address * Returns the account balances for all supported currencies. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param address Account address * @return ApiGetBalancesByAddressRequest */ GetBalancesByAddress(ctx _context.Context, platform string, network string, address string) ApiGetBalancesByAddressRequest /* * GetBalancesByAddressExecute executes the request * @return map[string]map[string]interface{} */ GetBalancesByAddressExecute(r ApiGetBalancesByAddressRequest) (map[string]map[string]interface{}, *_nethttp.Response, error) /* * GetBalancesByAddresses Balances Of Addresses * Returns the balances of accounts for all supported currencies. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiGetBalancesByAddressesRequest */ GetBalancesByAddresses(ctx _context.Context, platform string, network string) ApiGetBalancesByAddressesRequest /* * GetBalancesByAddressesExecute executes the request * @return map[string]map[string]map[string]interface{} */ GetBalancesByAddressesExecute(r ApiGetBalancesByAddressesRequest) (map[string]map[string]map[string]interface{}, *_nethttp.Response, error) /* * GetListOfBalancesByAddress Balances Of Address * Returns the account balances for all supported currencies. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param address Account address * @return ApiGetListOfBalancesByAddressRequest */ GetListOfBalancesByAddress(ctx _context.Context, platform string, network string, address string) ApiGetListOfBalancesByAddressRequest /* * GetListOfBalancesByAddressExecute executes the request * @return []BalanceV1 */ GetListOfBalancesByAddressExecute(r ApiGetListOfBalancesByAddressRequest) ([]BalanceV1, *_nethttp.Response, error) /* * GetListOfBalancesByAddresses Balances Of Addresses * Returns the balances of accounts for all supported currencies. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiGetListOfBalancesByAddressesRequest */ GetListOfBalancesByAddresses(ctx _context.Context, platform string, network string) ApiGetListOfBalancesByAddressesRequest /* * GetListOfBalancesByAddressesExecute executes the request * @return map[string][]BalanceV1 */ GetListOfBalancesByAddressesExecute(r ApiGetListOfBalancesByAddressesRequest) (map[string][]BalanceV1, *_nethttp.Response, error) /* * GetReportByAddress A financial report for an address between a time period. Default timescale is within the last 30 days * Returns account activity * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param address Account address * @return ApiGetReportByAddressRequest */ GetReportByAddress(ctx _context.Context, platform string, network string, address string) ApiGetReportByAddressRequest /* * GetReportByAddressExecute executes the request * @return Report */ GetReportByAddressExecute(r ApiGetReportByAddressRequest) (Report, *_nethttp.Response, error) /* * GetTxsByAddress Transactions Of Address * Gets transactions that an address was involved with, from newest to oldest. This call uses pagination. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param address Account address * @return ApiGetTxsByAddressRequest */ GetTxsByAddress(ctx _context.Context, platform string, network string, address string) ApiGetTxsByAddressRequest /* * GetTxsByAddressExecute executes the request * @return TxPageV1 */ GetTxsByAddressExecute(r ApiGetTxsByAddressRequest) (TxPageV1, *_nethttp.Response, error) /* * V2GetReportByAddress A financial report for an address between a time period. Default timescale is within the last 30 days * Returns account activity * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param address Account address * @return ApiV2GetReportByAddressRequest */ V2GetReportByAddress(ctx _context.Context, platform string, network string, address string) ApiV2GetReportByAddressRequest /* * V2GetReportByAddressExecute executes the request * @return Report */ V2GetReportByAddressExecute(r ApiV2GetReportByAddressRequest) (Report, *_nethttp.Response, error) /* * V2GetTxsByAddress Transactions Of Address * Gets transactions that an address was involved with, from newest to oldest. This call uses pagination. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param address Account address * @return ApiV2GetTxsByAddressRequest */ V2GetTxsByAddress(ctx _context.Context, platform string, network string, address string) ApiV2GetTxsByAddressRequest /* * V2GetTxsByAddressExecute executes the request * @return TxPage */ V2GetTxsByAddressExecute(r ApiV2GetTxsByAddressRequest) (TxPage, *_nethttp.Response, error) }
type AccountsAPIService ¶
type AccountsAPIService service
AccountsAPIService AccountsAPI service
func (*AccountsAPIService) GetBalancesByAddress ¶
func (a *AccountsAPIService) GetBalancesByAddress(ctx _context.Context, platform string, network string, address string) ApiGetBalancesByAddressRequest
* GetBalancesByAddress Balances Of Address * Returns the account balances for all supported currencies.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param address Account address * @return ApiGetBalancesByAddressRequest
func (*AccountsAPIService) GetBalancesByAddressExecute ¶
func (a *AccountsAPIService) GetBalancesByAddressExecute(r ApiGetBalancesByAddressRequest) (map[string]map[string]interface{}, *_nethttp.Response, error)
* Execute executes the request * @return map[string]map[string]interface{}
func (*AccountsAPIService) GetBalancesByAddresses ¶ added in v0.0.5
func (a *AccountsAPIService) GetBalancesByAddresses(ctx _context.Context, platform string, network string) ApiGetBalancesByAddressesRequest
* GetBalancesByAddresses Balances Of Addresses * Returns the balances of accounts for all supported currencies.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiGetBalancesByAddressesRequest
func (*AccountsAPIService) GetBalancesByAddressesExecute ¶ added in v0.0.5
func (a *AccountsAPIService) GetBalancesByAddressesExecute(r ApiGetBalancesByAddressesRequest) (map[string]map[string]map[string]interface{}, *_nethttp.Response, error)
* Execute executes the request * @return map[string]map[string]map[string]interface{}
func (*AccountsAPIService) GetListOfBalancesByAddress ¶ added in v0.0.6
func (a *AccountsAPIService) GetListOfBalancesByAddress(ctx _context.Context, platform string, network string, address string) ApiGetListOfBalancesByAddressRequest
* GetListOfBalancesByAddress Balances Of Address * Returns the account balances for all supported currencies.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param address Account address * @return ApiGetListOfBalancesByAddressRequest
func (*AccountsAPIService) GetListOfBalancesByAddressExecute ¶ added in v0.0.6
func (a *AccountsAPIService) GetListOfBalancesByAddressExecute(r ApiGetListOfBalancesByAddressRequest) ([]BalanceV1, *_nethttp.Response, error)
* Execute executes the request * @return []BalanceV1
func (*AccountsAPIService) GetListOfBalancesByAddresses ¶ added in v0.0.6
func (a *AccountsAPIService) GetListOfBalancesByAddresses(ctx _context.Context, platform string, network string) ApiGetListOfBalancesByAddressesRequest
* GetListOfBalancesByAddresses Balances Of Addresses * Returns the balances of accounts for all supported currencies.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiGetListOfBalancesByAddressesRequest
func (*AccountsAPIService) GetListOfBalancesByAddressesExecute ¶ added in v0.0.6
func (a *AccountsAPIService) GetListOfBalancesByAddressesExecute(r ApiGetListOfBalancesByAddressesRequest) (map[string][]BalanceV1, *_nethttp.Response, error)
* Execute executes the request * @return map[string][]BalanceV1
func (*AccountsAPIService) GetReportByAddress ¶
func (a *AccountsAPIService) GetReportByAddress(ctx _context.Context, platform string, network string, address string) ApiGetReportByAddressRequest
* GetReportByAddress A financial report for an address between a time period. Default timescale is within the last 30 days * Returns account activity
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param address Account address * @return ApiGetReportByAddressRequest
func (*AccountsAPIService) GetReportByAddressExecute ¶
func (a *AccountsAPIService) GetReportByAddressExecute(r ApiGetReportByAddressRequest) (Report, *_nethttp.Response, error)
* Execute executes the request * @return Report
func (*AccountsAPIService) GetTxsByAddress ¶
func (a *AccountsAPIService) GetTxsByAddress(ctx _context.Context, platform string, network string, address string) ApiGetTxsByAddressRequest
- GetTxsByAddress Transactions Of Address
- Gets transactions that an address was involved with, from newest to oldest.
This call uses pagination.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param platform Coin platform handle
- @param network Which network to target. Available networks can be found with /{platform}
- @param address Account address
- @return ApiGetTxsByAddressRequest
func (*AccountsAPIService) GetTxsByAddressExecute ¶
func (a *AccountsAPIService) GetTxsByAddressExecute(r ApiGetTxsByAddressRequest) (TxPageV1, *_nethttp.Response, error)
* Execute executes the request * @return TxPageV1
func (*AccountsAPIService) V2GetReportByAddress ¶ added in v0.0.6
func (a *AccountsAPIService) V2GetReportByAddress(ctx _context.Context, platform string, network string, address string) ApiV2GetReportByAddressRequest
* V2GetReportByAddress A financial report for an address between a time period. Default timescale is within the last 30 days * Returns account activity
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param address Account address * @return ApiV2GetReportByAddressRequest
func (*AccountsAPIService) V2GetReportByAddressExecute ¶ added in v0.0.6
func (a *AccountsAPIService) V2GetReportByAddressExecute(r ApiV2GetReportByAddressRequest) (Report, *_nethttp.Response, error)
* Execute executes the request * @return Report
func (*AccountsAPIService) V2GetTxsByAddress ¶ added in v0.0.6
func (a *AccountsAPIService) V2GetTxsByAddress(ctx _context.Context, platform string, network string, address string) ApiV2GetTxsByAddressRequest
- V2GetTxsByAddress Transactions Of Address
- Gets transactions that an address was involved with, from newest to oldest.
This call uses pagination.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param platform Coin platform handle
- @param network Which network to target. Available networks can be found with /{platform}
- @param address Account address
- @return ApiV2GetTxsByAddressRequest
func (*AccountsAPIService) V2GetTxsByAddressExecute ¶ added in v0.0.6
func (a *AccountsAPIService) V2GetTxsByAddressExecute(r ApiV2GetTxsByAddressRequest) (TxPage, *_nethttp.Response, error)
* Execute executes the request * @return TxPage
type AccountsObj ¶ added in v0.0.5
type AccountsObj struct {
Addresses *[]string `json:"addresses,omitempty"`
}
AccountsObj struct for AccountsObj
func NewAccountsObj ¶ added in v0.0.5
func NewAccountsObj() *AccountsObj
NewAccountsObj instantiates a new AccountsObj 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 NewAccountsObjWithDefaults ¶ added in v0.0.5
func NewAccountsObjWithDefaults() *AccountsObj
NewAccountsObjWithDefaults instantiates a new AccountsObj 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 (*AccountsObj) GetAddresses ¶ added in v0.0.5
func (o *AccountsObj) GetAddresses() []string
GetAddresses returns the Addresses field value if set, zero value otherwise.
func (*AccountsObj) GetAddressesOk ¶ added in v0.0.5
func (o *AccountsObj) GetAddressesOk() (*[]string, bool)
GetAddressesOk returns a tuple with the Addresses field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AccountsObj) HasAddresses ¶ added in v0.0.5
func (o *AccountsObj) HasAddresses() bool
HasAddresses returns a boolean if a field has been set.
func (AccountsObj) MarshalJSON ¶ added in v0.0.5
func (o AccountsObj) MarshalJSON() ([]byte, error)
func (*AccountsObj) SetAddresses ¶ added in v0.0.5
func (o *AccountsObj) SetAddresses(v []string)
SetAddresses gets a reference to the given []string and assigns it to the Addresses field.
type AlgorandMeta ¶
type AlgorandMeta struct { Type *string `json:"type,omitempty"` SenderReward *string `json:"sender_reward,omitempty"` RecipientReward *string `json:"recipient_reward,omitempty"` Close *string `json:"close,omitempty"` CloseAmount *string `json:"close_amount,omitempty"` CloseReward *string `json:"close_reward,omitempty"` }
AlgorandMeta struct for AlgorandMeta
func NewAlgorandMeta ¶
func NewAlgorandMeta() *AlgorandMeta
NewAlgorandMeta instantiates a new AlgorandMeta 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 NewAlgorandMetaWithDefaults ¶
func NewAlgorandMetaWithDefaults() *AlgorandMeta
NewAlgorandMetaWithDefaults instantiates a new AlgorandMeta 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 (*AlgorandMeta) GetClose ¶
func (o *AlgorandMeta) GetClose() string
GetClose returns the Close field value if set, zero value otherwise.
func (*AlgorandMeta) GetCloseAmount ¶
func (o *AlgorandMeta) GetCloseAmount() string
GetCloseAmount returns the CloseAmount field value if set, zero value otherwise.
func (*AlgorandMeta) GetCloseAmountOk ¶
func (o *AlgorandMeta) GetCloseAmountOk() (*string, bool)
GetCloseAmountOk returns a tuple with the CloseAmount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlgorandMeta) GetCloseOk ¶
func (o *AlgorandMeta) GetCloseOk() (*string, bool)
GetCloseOk returns a tuple with the Close field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlgorandMeta) GetCloseReward ¶
func (o *AlgorandMeta) GetCloseReward() string
GetCloseReward returns the CloseReward field value if set, zero value otherwise.
func (*AlgorandMeta) GetCloseRewardOk ¶
func (o *AlgorandMeta) GetCloseRewardOk() (*string, bool)
GetCloseRewardOk returns a tuple with the CloseReward field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlgorandMeta) GetRecipientReward ¶
func (o *AlgorandMeta) GetRecipientReward() string
GetRecipientReward returns the RecipientReward field value if set, zero value otherwise.
func (*AlgorandMeta) GetRecipientRewardOk ¶
func (o *AlgorandMeta) GetRecipientRewardOk() (*string, bool)
GetRecipientRewardOk returns a tuple with the RecipientReward field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlgorandMeta) GetSenderReward ¶
func (o *AlgorandMeta) GetSenderReward() string
GetSenderReward returns the SenderReward field value if set, zero value otherwise.
func (*AlgorandMeta) GetSenderRewardOk ¶
func (o *AlgorandMeta) GetSenderRewardOk() (*string, bool)
GetSenderRewardOk returns a tuple with the SenderReward field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlgorandMeta) GetType ¶
func (o *AlgorandMeta) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*AlgorandMeta) GetTypeOk ¶
func (o *AlgorandMeta) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AlgorandMeta) HasClose ¶
func (o *AlgorandMeta) HasClose() bool
HasClose returns a boolean if a field has been set.
func (*AlgorandMeta) HasCloseAmount ¶
func (o *AlgorandMeta) HasCloseAmount() bool
HasCloseAmount returns a boolean if a field has been set.
func (*AlgorandMeta) HasCloseReward ¶
func (o *AlgorandMeta) HasCloseReward() bool
HasCloseReward returns a boolean if a field has been set.
func (*AlgorandMeta) HasRecipientReward ¶
func (o *AlgorandMeta) HasRecipientReward() bool
HasRecipientReward returns a boolean if a field has been set.
func (*AlgorandMeta) HasSenderReward ¶
func (o *AlgorandMeta) HasSenderReward() bool
HasSenderReward returns a boolean if a field has been set.
func (*AlgorandMeta) HasType ¶
func (o *AlgorandMeta) HasType() bool
HasType returns a boolean if a field has been set.
func (AlgorandMeta) MarshalJSON ¶
func (o AlgorandMeta) MarshalJSON() ([]byte, error)
func (*AlgorandMeta) SetClose ¶
func (o *AlgorandMeta) SetClose(v string)
SetClose gets a reference to the given string and assigns it to the Close field.
func (*AlgorandMeta) SetCloseAmount ¶
func (o *AlgorandMeta) SetCloseAmount(v string)
SetCloseAmount gets a reference to the given string and assigns it to the CloseAmount field.
func (*AlgorandMeta) SetCloseReward ¶
func (o *AlgorandMeta) SetCloseReward(v string)
SetCloseReward gets a reference to the given string and assigns it to the CloseReward field.
func (*AlgorandMeta) SetRecipientReward ¶
func (o *AlgorandMeta) SetRecipientReward(v string)
SetRecipientReward gets a reference to the given string and assigns it to the RecipientReward field.
func (*AlgorandMeta) SetSenderReward ¶
func (o *AlgorandMeta) SetSenderReward(v string)
SetSenderReward gets a reference to the given string and assigns it to the SenderReward field.
func (*AlgorandMeta) SetType ¶
func (o *AlgorandMeta) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type ApiCurrentBlockIDRequest ¶
type ApiCurrentBlockIDRequest struct { ApiService SyncAPI // contains filtered or unexported fields }
type ApiCurrentBlockNumberRequest ¶
type ApiCurrentBlockNumberRequest struct { ApiService SyncAPI // contains filtered or unexported fields }
type ApiEstimateFeeRequest ¶
type ApiEstimateFeeRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (ApiEstimateFeeRequest) ConfirmedWithinBlocks ¶
func (r ApiEstimateFeeRequest) ConfirmedWithinBlocks(confirmedWithinBlocks int32) ApiEstimateFeeRequest
type ApiFeeEstimateRequest ¶ added in v0.0.6
type ApiFeeEstimateRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (ApiFeeEstimateRequest) Execute ¶ added in v0.0.6
func (r ApiFeeEstimateRequest) Execute() (FeeEstimate, *_nethttp.Response, error)
type ApiGetBalancesByAddressRequest ¶
type ApiGetBalancesByAddressRequest struct { ApiService AccountsAPI // contains filtered or unexported fields }
func (ApiGetBalancesByAddressRequest) Assets ¶ added in v0.0.5
func (r ApiGetBalancesByAddressRequest) Assets(assets string) ApiGetBalancesByAddressRequest
type ApiGetBalancesByAddressesRequest ¶ added in v0.0.5
type ApiGetBalancesByAddressesRequest struct { ApiService AccountsAPI // contains filtered or unexported fields }
func (ApiGetBalancesByAddressesRequest) AccountsObj ¶ added in v0.0.5
func (r ApiGetBalancesByAddressesRequest) AccountsObj(accountsObj AccountsObj) ApiGetBalancesByAddressesRequest
func (ApiGetBalancesByAddressesRequest) Assets ¶ added in v0.0.5
func (r ApiGetBalancesByAddressesRequest) Assets(assets string) ApiGetBalancesByAddressesRequest
type ApiGetBlockIdentifierRequest ¶
type ApiGetBlockIdentifierRequest struct { ApiService BlocksAPI // contains filtered or unexported fields }
func (ApiGetBlockIdentifierRequest) Execute ¶
func (r ApiGetBlockIdentifierRequest) Execute() (BlockIdentifier, *_nethttp.Response, error)
type ApiGetBlockRequest ¶
type ApiGetBlockRequest struct { ApiService BlocksAPI // contains filtered or unexported fields }
type ApiGetListOfBalancesByAddressRequest ¶ added in v0.0.6
type ApiGetListOfBalancesByAddressRequest struct { ApiService AccountsAPI // contains filtered or unexported fields }
type ApiGetListOfBalancesByAddressesRequest ¶ added in v0.0.6
type ApiGetListOfBalancesByAddressesRequest struct { ApiService AccountsAPI // contains filtered or unexported fields }
func (ApiGetListOfBalancesByAddressesRequest) AccountsObj ¶ added in v0.0.6
func (r ApiGetListOfBalancesByAddressesRequest) AccountsObj(accountsObj AccountsObj) ApiGetListOfBalancesByAddressesRequest
type ApiGetPlatformEndpointsRequest ¶ added in v0.0.6
type ApiGetPlatformEndpointsRequest struct { ApiService PlatformsAPI // contains filtered or unexported fields }
func (ApiGetPlatformEndpointsRequest) Execute ¶ added in v0.0.6
func (r ApiGetPlatformEndpointsRequest) Execute() (PlatformDetail, *_nethttp.Response, error)
type ApiGetPlatformRequest ¶
type ApiGetPlatformRequest struct { ApiService PlatformsAPI // contains filtered or unexported fields }
func (ApiGetPlatformRequest) Execute ¶
func (r ApiGetPlatformRequest) Execute() (PlatformDetail, *_nethttp.Response, error)
type ApiGetPlatformsListRequest ¶ added in v0.0.6
type ApiGetPlatformsListRequest struct { ApiService PlatformsAPI // contains filtered or unexported fields }
func (ApiGetPlatformsListRequest) Execute ¶ added in v0.0.6
func (r ApiGetPlatformsListRequest) Execute() (PlatformsOverview, *_nethttp.Response, error)
type ApiGetPlatformsRequest ¶ added in v0.0.3
type ApiGetPlatformsRequest struct { ApiService PlatformsAPI // contains filtered or unexported fields }
func (ApiGetPlatformsRequest) Execute ¶ added in v0.0.3
func (r ApiGetPlatformsRequest) Execute() (PlatformsOverview, *_nethttp.Response, error)
type ApiGetReportByAddressRequest ¶
type ApiGetReportByAddressRequest struct { ApiService AccountsAPI // contains filtered or unexported fields }
func (ApiGetReportByAddressRequest) Continuation ¶ added in v0.0.6
func (r ApiGetReportByAddressRequest) Continuation(continuation string) ApiGetReportByAddressRequest
func (ApiGetReportByAddressRequest) Execute ¶
func (r ApiGetReportByAddressRequest) Execute() (Report, *_nethttp.Response, error)
func (ApiGetReportByAddressRequest) From ¶
func (r ApiGetReportByAddressRequest) From(from int32) ApiGetReportByAddressRequest
func (ApiGetReportByAddressRequest) Limit ¶ added in v0.0.6
func (r ApiGetReportByAddressRequest) Limit(limit int32) ApiGetReportByAddressRequest
func (ApiGetReportByAddressRequest) To ¶
func (r ApiGetReportByAddressRequest) To(to int32) ApiGetReportByAddressRequest
type ApiGetTxConfirmationsRequest ¶ added in v0.0.6
type ApiGetTxConfirmationsRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (ApiGetTxConfirmationsRequest) Execute ¶ added in v0.0.6
func (r ApiGetTxConfirmationsRequest) Execute() (TxConfirmation, *_nethttp.Response, error)
type ApiGetTxRequest ¶
type ApiGetTxRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
type ApiGetTxsByAddressRequest ¶
type ApiGetTxsByAddressRequest struct { ApiService AccountsAPI // contains filtered or unexported fields }
func (ApiGetTxsByAddressRequest) Assets ¶ added in v0.0.5
func (r ApiGetTxsByAddressRequest) Assets(assets string) ApiGetTxsByAddressRequest
func (ApiGetTxsByAddressRequest) Continuation ¶
func (r ApiGetTxsByAddressRequest) Continuation(continuation string) ApiGetTxsByAddressRequest
func (ApiGetTxsByAddressRequest) Execute ¶
func (r ApiGetTxsByAddressRequest) Execute() (TxPageV1, *_nethttp.Response, error)
func (ApiGetTxsByAddressRequest) Limit ¶
func (r ApiGetTxsByAddressRequest) Limit(limit int32) ApiGetTxsByAddressRequest
func (ApiGetTxsByAddressRequest) Order ¶
func (r ApiGetTxsByAddressRequest) Order(order string) ApiGetTxsByAddressRequest
type ApiGetTxsRequest ¶
type ApiGetTxsRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (ApiGetTxsRequest) Assets ¶
func (r ApiGetTxsRequest) Assets(assets string) ApiGetTxsRequest
func (ApiGetTxsRequest) Continuation ¶
func (r ApiGetTxsRequest) Continuation(continuation string) ApiGetTxsRequest
func (ApiGetTxsRequest) Execute ¶
func (r ApiGetTxsRequest) Execute() (TxPage, *_nethttp.Response, error)
func (ApiGetTxsRequest) Limit ¶
func (r ApiGetTxsRequest) Limit(limit int32) ApiGetTxsRequest
func (ApiGetTxsRequest) Order ¶
func (r ApiGetTxsRequest) Order(order string) ApiGetTxsRequest
type ApiTxSendRequest ¶
type ApiTxSendRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (ApiTxSendRequest) Execute ¶
func (r ApiTxSendRequest) Execute() (TxReceipt, *_nethttp.Response, error)
func (ApiTxSendRequest) SignedTx ¶
func (r ApiTxSendRequest) SignedTx(signedTx SignedTx) ApiTxSendRequest
type ApiV2GetReportByAddressRequest ¶ added in v0.0.6
type ApiV2GetReportByAddressRequest struct { ApiService AccountsAPI // contains filtered or unexported fields }
func (ApiV2GetReportByAddressRequest) Continuation ¶ added in v0.0.6
func (r ApiV2GetReportByAddressRequest) Continuation(continuation string) ApiV2GetReportByAddressRequest
func (ApiV2GetReportByAddressRequest) Execute ¶ added in v0.0.6
func (r ApiV2GetReportByAddressRequest) Execute() (Report, *_nethttp.Response, error)
func (ApiV2GetReportByAddressRequest) From ¶ added in v0.0.6
func (r ApiV2GetReportByAddressRequest) From(from int32) ApiV2GetReportByAddressRequest
func (ApiV2GetReportByAddressRequest) Limit ¶ added in v0.0.6
func (r ApiV2GetReportByAddressRequest) Limit(limit int32) ApiV2GetReportByAddressRequest
func (ApiV2GetReportByAddressRequest) To ¶ added in v0.0.6
func (r ApiV2GetReportByAddressRequest) To(to int32) ApiV2GetReportByAddressRequest
type ApiV2GetTxsByAddressRequest ¶ added in v0.0.6
type ApiV2GetTxsByAddressRequest struct { ApiService AccountsAPI // contains filtered or unexported fields }
func (ApiV2GetTxsByAddressRequest) Assets ¶ added in v0.0.6
func (r ApiV2GetTxsByAddressRequest) Assets(assets string) ApiV2GetTxsByAddressRequest
func (ApiV2GetTxsByAddressRequest) Continuation ¶ added in v0.0.6
func (r ApiV2GetTxsByAddressRequest) Continuation(continuation string) ApiV2GetTxsByAddressRequest
func (ApiV2GetTxsByAddressRequest) Execute ¶ added in v0.0.6
func (r ApiV2GetTxsByAddressRequest) Execute() (TxPage, *_nethttp.Response, error)
func (ApiV2GetTxsByAddressRequest) Limit ¶ added in v0.0.6
func (r ApiV2GetTxsByAddressRequest) Limit(limit int32) ApiV2GetTxsByAddressRequest
func (ApiV2GetTxsByAddressRequest) Order ¶ added in v0.0.6
func (r ApiV2GetTxsByAddressRequest) Order(order string) ApiV2GetTxsByAddressRequest
type BalanceChange ¶
type BalanceChange struct { // Balance before transaction Old *string `json:"old,omitempty"` // Balance difference Delta *string `json:"delta,omitempty"` // Balance after transaction New *string `json:"new,omitempty"` Currency *Currency `json:"currency,omitempty"` }
BalanceChange Change of balance of a currency
func NewBalanceChange ¶
func NewBalanceChange() *BalanceChange
NewBalanceChange instantiates a new BalanceChange 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 NewBalanceChangeWithDefaults ¶
func NewBalanceChangeWithDefaults() *BalanceChange
NewBalanceChangeWithDefaults instantiates a new BalanceChange 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 (*BalanceChange) GetCurrency ¶
func (o *BalanceChange) GetCurrency() Currency
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*BalanceChange) GetCurrencyOk ¶
func (o *BalanceChange) GetCurrencyOk() (*Currency, bool)
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceChange) GetDelta ¶
func (o *BalanceChange) GetDelta() string
GetDelta returns the Delta field value if set, zero value otherwise.
func (*BalanceChange) GetDeltaOk ¶
func (o *BalanceChange) GetDeltaOk() (*string, bool)
GetDeltaOk returns a tuple with the Delta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceChange) GetNew ¶
func (o *BalanceChange) GetNew() string
GetNew returns the New field value if set, zero value otherwise.
func (*BalanceChange) GetNewOk ¶
func (o *BalanceChange) GetNewOk() (*string, bool)
GetNewOk returns a tuple with the New field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceChange) GetOld ¶
func (o *BalanceChange) GetOld() string
GetOld returns the Old field value if set, zero value otherwise.
func (*BalanceChange) GetOldOk ¶
func (o *BalanceChange) GetOldOk() (*string, bool)
GetOldOk returns a tuple with the Old field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceChange) HasCurrency ¶
func (o *BalanceChange) HasCurrency() bool
HasCurrency returns a boolean if a field has been set.
func (*BalanceChange) HasDelta ¶
func (o *BalanceChange) HasDelta() bool
HasDelta returns a boolean if a field has been set.
func (*BalanceChange) HasNew ¶
func (o *BalanceChange) HasNew() bool
HasNew returns a boolean if a field has been set.
func (*BalanceChange) HasOld ¶
func (o *BalanceChange) HasOld() bool
HasOld returns a boolean if a field has been set.
func (BalanceChange) MarshalJSON ¶
func (o BalanceChange) MarshalJSON() ([]byte, error)
func (*BalanceChange) SetCurrency ¶
func (o *BalanceChange) SetCurrency(v Currency)
SetCurrency gets a reference to the given Currency and assigns it to the Currency field.
func (*BalanceChange) SetDelta ¶
func (o *BalanceChange) SetDelta(v string)
SetDelta gets a reference to the given string and assigns it to the Delta field.
func (*BalanceChange) SetNew ¶
func (o *BalanceChange) SetNew(v string)
SetNew gets a reference to the given string and assigns it to the New field.
func (*BalanceChange) SetOld ¶
func (o *BalanceChange) SetOld(v string)
SetOld gets a reference to the given string and assigns it to the Old field.
type BalanceV1 ¶ added in v0.0.6
type BalanceV1 struct { Currency *Currency `json:"currency,omitempty"` ConfirmedBalance *string `json:"confirmed_balance,omitempty"` PendingBalance *string `json:"pending_balance,omitempty"` ConfirmedNonce *int32 `json:"confirmed_nonce,omitempty"` ConfirmedBlock *int32 `json:"confirmed_block,omitempty"` }
BalanceV1 Currency balances with asset paths as keys
func NewBalanceV1 ¶ added in v0.0.6
func NewBalanceV1() *BalanceV1
NewBalanceV1 instantiates a new BalanceV1 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 NewBalanceV1WithDefaults ¶ added in v0.0.6
func NewBalanceV1WithDefaults() *BalanceV1
NewBalanceV1WithDefaults instantiates a new BalanceV1 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 (*BalanceV1) GetConfirmedBalance ¶ added in v0.0.6
GetConfirmedBalance returns the ConfirmedBalance field value if set, zero value otherwise.
func (*BalanceV1) GetConfirmedBalanceOk ¶ added in v0.0.6
GetConfirmedBalanceOk returns a tuple with the ConfirmedBalance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceV1) GetConfirmedBlock ¶ added in v0.0.6
GetConfirmedBlock returns the ConfirmedBlock field value if set, zero value otherwise.
func (*BalanceV1) GetConfirmedBlockOk ¶ added in v0.0.6
GetConfirmedBlockOk returns a tuple with the ConfirmedBlock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceV1) GetConfirmedNonce ¶ added in v0.0.6
GetConfirmedNonce returns the ConfirmedNonce field value if set, zero value otherwise.
func (*BalanceV1) GetConfirmedNonceOk ¶ added in v0.0.6
GetConfirmedNonceOk returns a tuple with the ConfirmedNonce field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceV1) GetCurrency ¶ added in v0.0.6
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*BalanceV1) GetCurrencyOk ¶ added in v0.0.6
GetCurrencyOk returns a tuple with the Currency field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceV1) GetPendingBalance ¶ added in v0.0.6
GetPendingBalance returns the PendingBalance field value if set, zero value otherwise.
func (*BalanceV1) GetPendingBalanceOk ¶ added in v0.0.6
GetPendingBalanceOk returns a tuple with the PendingBalance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalanceV1) HasConfirmedBalance ¶ added in v0.0.6
HasConfirmedBalance returns a boolean if a field has been set.
func (*BalanceV1) HasConfirmedBlock ¶ added in v0.0.6
HasConfirmedBlock returns a boolean if a field has been set.
func (*BalanceV1) HasConfirmedNonce ¶ added in v0.0.6
HasConfirmedNonce returns a boolean if a field has been set.
func (*BalanceV1) HasCurrency ¶ added in v0.0.6
HasCurrency returns a boolean if a field has been set.
func (*BalanceV1) HasPendingBalance ¶ added in v0.0.6
HasPendingBalance returns a boolean if a field has been set.
func (BalanceV1) MarshalJSON ¶ added in v0.0.6
func (*BalanceV1) SetConfirmedBalance ¶ added in v0.0.6
SetConfirmedBalance gets a reference to the given string and assigns it to the ConfirmedBalance field.
func (*BalanceV1) SetConfirmedBlock ¶ added in v0.0.6
SetConfirmedBlock gets a reference to the given int32 and assigns it to the ConfirmedBlock field.
func (*BalanceV1) SetConfirmedNonce ¶ added in v0.0.6
SetConfirmedNonce gets a reference to the given int32 and assigns it to the ConfirmedNonce field.
func (*BalanceV1) SetCurrency ¶ added in v0.0.6
SetCurrency gets a reference to the given Currency and assigns it to the Currency field.
func (*BalanceV1) SetPendingBalance ¶ added in v0.0.6
SetPendingBalance gets a reference to the given string and assigns it to the PendingBalance field.
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 Block ¶
type Block struct { // Block number Number *int64 `json:"number,omitempty"` // Block hash Id *string `json:"id,omitempty"` // Parent block hash ParentId *string `json:"parent_id,omitempty"` // Unix timestamp Date *int64 `json:"date,omitempty"` // Complete list of transaction IDs TxIds *[]string `json:"tx_ids,omitempty"` // Partial list of normalized transactions (not filtered or unknown model) Txs *[]Tx `json:"txs,omitempty"` // Coin supplies with asset paths as keys Supply *map[string]Supply `json:"supply,omitempty"` }
Block struct for Block
func NewBlock ¶
func NewBlock() *Block
NewBlock instantiates a new Block 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 NewBlockWithDefaults ¶
func NewBlockWithDefaults() *Block
NewBlockWithDefaults instantiates a new Block 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 (*Block) GetDateOk ¶
GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Block) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Block) GetNumberOk ¶
GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Block) GetParentId ¶
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*Block) GetParentIdOk ¶
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Block) GetSupplyOk ¶
GetSupplyOk returns a tuple with the Supply field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Block) GetTxIdsOk ¶
GetTxIdsOk returns a tuple with the TxIds field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Block) GetTxsOk ¶
GetTxsOk returns a tuple with the Txs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Block) HasParentId ¶
HasParentId returns a boolean if a field has been set.
func (Block) MarshalJSON ¶
func (*Block) SetDate ¶
SetDate gets a reference to the given int64 and assigns it to the Date field.
func (*Block) SetNumber ¶
SetNumber gets a reference to the given int64 and assigns it to the Number field.
func (*Block) SetParentId ¶
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (*Block) SetSupply ¶
SetSupply gets a reference to the given map[string]Supply and assigns it to the Supply field.
type BlockIdentifier ¶
type BlockIdentifier struct { // Block number Number *int64 `json:"number,omitempty"` // Block hash Id *string `json:"id,omitempty"` // Parent block hash ParentId *string `json:"parent_id,omitempty"` }
BlockIdentifier struct for BlockIdentifier
func NewBlockIdentifier ¶
func NewBlockIdentifier() *BlockIdentifier
NewBlockIdentifier instantiates a new BlockIdentifier 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 NewBlockIdentifierWithDefaults ¶
func NewBlockIdentifierWithDefaults() *BlockIdentifier
NewBlockIdentifierWithDefaults instantiates a new BlockIdentifier 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 (*BlockIdentifier) GetId ¶
func (o *BlockIdentifier) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*BlockIdentifier) GetIdOk ¶
func (o *BlockIdentifier) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BlockIdentifier) GetNumber ¶
func (o *BlockIdentifier) GetNumber() int64
GetNumber returns the Number field value if set, zero value otherwise.
func (*BlockIdentifier) GetNumberOk ¶
func (o *BlockIdentifier) GetNumberOk() (*int64, bool)
GetNumberOk returns a tuple with the Number field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BlockIdentifier) GetParentId ¶
func (o *BlockIdentifier) GetParentId() string
GetParentId returns the ParentId field value if set, zero value otherwise.
func (*BlockIdentifier) GetParentIdOk ¶
func (o *BlockIdentifier) GetParentIdOk() (*string, bool)
GetParentIdOk returns a tuple with the ParentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BlockIdentifier) HasId ¶
func (o *BlockIdentifier) HasId() bool
HasId returns a boolean if a field has been set.
func (*BlockIdentifier) HasNumber ¶
func (o *BlockIdentifier) HasNumber() bool
HasNumber returns a boolean if a field has been set.
func (*BlockIdentifier) HasParentId ¶
func (o *BlockIdentifier) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (BlockIdentifier) MarshalJSON ¶
func (o BlockIdentifier) MarshalJSON() ([]byte, error)
func (*BlockIdentifier) SetId ¶
func (o *BlockIdentifier) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*BlockIdentifier) SetNumber ¶
func (o *BlockIdentifier) SetNumber(v int64)
SetNumber gets a reference to the given int64 and assigns it to the Number field.
func (*BlockIdentifier) SetParentId ¶
func (o *BlockIdentifier) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
type BlocksAPI ¶
type BlocksAPI interface { /* * GetBlock Block By Number/Hash * Get a block and all its transactions by the block number or hash * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param key Block number or block hash/ID or Special identifier * @return ApiGetBlockRequest */ GetBlock(ctx _context.Context, platform string, network string, key string) ApiGetBlockRequest /* * GetBlockExecute executes the request * @return Block */ GetBlockExecute(r ApiGetBlockRequest) (Block, *_nethttp.Response, error) /* * GetBlockIdentifier Block Identifier By Number/Hash * Get minimal block identifier by block number or hash * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param key Block number or block hash/ID or Special identifier * @return ApiGetBlockIdentifierRequest */ GetBlockIdentifier(ctx _context.Context, platform string, network string, key string) ApiGetBlockIdentifierRequest /* * GetBlockIdentifierExecute executes the request * @return BlockIdentifier */ GetBlockIdentifierExecute(r ApiGetBlockIdentifierRequest) (BlockIdentifier, *_nethttp.Response, error) }
type BlocksAPIService ¶
type BlocksAPIService service
BlocksAPIService BlocksAPI service
func (*BlocksAPIService) GetBlock ¶
func (a *BlocksAPIService) GetBlock(ctx _context.Context, platform string, network string, key string) ApiGetBlockRequest
* GetBlock Block By Number/Hash * Get a block and all its transactions by the block number or hash * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param key Block number or block hash/ID or Special identifier * @return ApiGetBlockRequest
func (*BlocksAPIService) GetBlockExecute ¶
func (a *BlocksAPIService) GetBlockExecute(r ApiGetBlockRequest) (Block, *_nethttp.Response, error)
* Execute executes the request * @return Block
func (*BlocksAPIService) GetBlockIdentifier ¶
func (a *BlocksAPIService) GetBlockIdentifier(ctx _context.Context, platform string, network string, key string) ApiGetBlockIdentifierRequest
* GetBlockIdentifier Block Identifier By Number/Hash * Get minimal block identifier by block number or hash * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param key Block number or block hash/ID or Special identifier * @return ApiGetBlockIdentifierRequest
func (*BlocksAPIService) GetBlockIdentifierExecute ¶
func (a *BlocksAPIService) GetBlockIdentifierExecute(r ApiGetBlockIdentifierRequest) (BlockIdentifier, *_nethttp.Response, error)
* Execute executes the request * @return BlockIdentifier
type Coin ¶
type Coin struct { // Platform handle (platform var in path) Handle *string `json:"handle,omitempty"` // SatoshiLabs 0044, registered coin types: https://github.com/satoshilabs/slips/blob/master/slip-0044.md Slip44 *int32 `json:"slip44,omitempty"` // Symbol of native currency Symbol *string `json:"symbol,omitempty"` // Name of platform Name *string `json:"name,omitempty"` // Average time between blocks (milliseconds) BlockTime *int32 `json:"block_time,omitempty"` // Random address seen on chain (optional) SampleAddress *string `json:"sample_address,omitempty"` }
Coin struct for Coin
func NewCoin ¶
func NewCoin() *Coin
NewCoin instantiates a new Coin 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 NewCoinWithDefaults ¶
func NewCoinWithDefaults() *Coin
NewCoinWithDefaults instantiates a new Coin 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 (*Coin) GetBlockTime ¶
GetBlockTime returns the BlockTime field value if set, zero value otherwise.
func (*Coin) GetBlockTimeOk ¶
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 (*Coin) GetHandleOk ¶
GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Coin) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Coin) GetSampleAddress ¶
GetSampleAddress returns the SampleAddress field value if set, zero value otherwise.
func (*Coin) GetSampleAddressOk ¶
GetSampleAddressOk returns a tuple with the SampleAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Coin) GetSlip44Ok ¶
GetSlip44Ok returns a tuple with the Slip44 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Coin) GetSymbolOk ¶
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Coin) HasBlockTime ¶
HasBlockTime returns a boolean if a field has been set.
func (*Coin) HasSampleAddress ¶
HasSampleAddress returns a boolean if a field has been set.
func (Coin) MarshalJSON ¶
func (*Coin) SetBlockTime ¶
SetBlockTime gets a reference to the given int32 and assigns it to the BlockTime field.
func (*Coin) SetHandle ¶
SetHandle gets a reference to the given string and assigns it to the Handle field.
func (*Coin) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Coin) SetSampleAddress ¶
SetSampleAddress gets a reference to the given string and assigns it to the SampleAddress field.
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Currency ¶
type Currency struct { NativeCurrency *NativeCurrency SmartTokenCurrency *SmartTokenCurrency TokenCurrency *TokenCurrency }
Currency - struct for Currency
func NativeCurrencyAsCurrency ¶
func NativeCurrencyAsCurrency(v *NativeCurrency) Currency
NativeCurrencyAsCurrency is a convenience function that returns NativeCurrency wrapped in Currency
func SmartTokenCurrencyAsCurrency ¶
func SmartTokenCurrencyAsCurrency(v *SmartTokenCurrency) Currency
SmartTokenCurrencyAsCurrency is a convenience function that returns SmartTokenCurrency wrapped in Currency
func TokenCurrencyAsCurrency ¶
func TokenCurrencyAsCurrency(v *TokenCurrency) Currency
TokenCurrencyAsCurrency is a convenience function that returns TokenCurrency wrapped in Currency
func (*Currency) GetActualInstance ¶
func (obj *Currency) GetActualInstance() interface{}
Get the actual instance
func (Currency) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Currency) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type Effect ¶
type Effect struct { // Balance changes by asset BalanceChanges *map[string]BalanceChange `json:"balance_changes,omitempty"` }
Effect Effects are the state changes on an account
func NewEffect ¶
func NewEffect() *Effect
NewEffect instantiates a new Effect 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 NewEffectWithDefaults ¶
func NewEffectWithDefaults() *Effect
NewEffectWithDefaults instantiates a new Effect 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 (*Effect) GetBalanceChanges ¶
func (o *Effect) GetBalanceChanges() map[string]BalanceChange
GetBalanceChanges returns the BalanceChanges field value if set, zero value otherwise.
func (*Effect) GetBalanceChangesOk ¶
func (o *Effect) GetBalanceChangesOk() (*map[string]BalanceChange, bool)
GetBalanceChangesOk returns a tuple with the BalanceChanges field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Effect) HasBalanceChanges ¶
HasBalanceChanges returns a boolean if a field has been set.
func (Effect) MarshalJSON ¶
func (*Effect) SetBalanceChanges ¶
func (o *Effect) SetBalanceChanges(v map[string]BalanceChange)
SetBalanceChanges gets a reference to the given map[string]BalanceChange and assigns it to the BalanceChanges field.
type Event ¶ added in v0.0.6
type Event struct { Amount NullableInt32 `json:"amount,omitempty"` BlockId *string `json:"block_id,omitempty"` BlockNumber *int32 `json:"block_number,omitempty"` Date *int32 `json:"date,omitempty"` Decimals NullableInt32 `json:"decimals,omitempty"` Denomination NullableString `json:"denomination,omitempty"` Destination NullableString `json:"destination,omitempty"` Id *string `json:"id,omitempty"` Meta interface{} `json:"meta,omitempty"` Source NullableString `json:"source,omitempty"` TransactionId *string `json:"transaction_id,omitempty"` Type *string `json:"type,omitempty"` }
Event struct for Event
func NewEvent ¶ added in v0.0.6
func NewEvent() *Event
NewEvent instantiates a new Event 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 NewEventWithDefaults ¶ added in v0.0.6
func NewEventWithDefaults() *Event
NewEventWithDefaults instantiates a new Event 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 (*Event) GetAmount ¶ added in v0.0.6
GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Event) GetAmountOk ¶ added in v0.0.6
GetAmountOk returns a tuple with the Amount field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Event) GetBlockId ¶ added in v0.0.6
GetBlockId returns the BlockId field value if set, zero value otherwise.
func (*Event) GetBlockIdOk ¶ added in v0.0.6
GetBlockIdOk returns a tuple with the BlockId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetBlockNumber ¶ added in v0.0.6
GetBlockNumber returns the BlockNumber field value if set, zero value otherwise.
func (*Event) GetBlockNumberOk ¶ added in v0.0.6
GetBlockNumberOk returns a tuple with the BlockNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetDate ¶ added in v0.0.6
GetDate returns the Date field value if set, zero value otherwise.
func (*Event) GetDateOk ¶ added in v0.0.6
GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetDecimals ¶ added in v0.0.6
GetDecimals returns the Decimals field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Event) GetDecimalsOk ¶ added in v0.0.6
GetDecimalsOk returns a tuple with the Decimals field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Event) GetDenomination ¶ added in v0.0.6
GetDenomination returns the Denomination field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Event) GetDenominationOk ¶ added in v0.0.6
GetDenominationOk returns a tuple with the Denomination field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Event) GetDestination ¶ added in v0.0.6
GetDestination returns the Destination field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Event) GetDestinationOk ¶ added in v0.0.6
GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Event) GetId ¶ added in v0.0.6
GetId returns the Id field value if set, zero value otherwise.
func (*Event) GetIdOk ¶ added in v0.0.6
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetMeta ¶ added in v0.0.6
func (o *Event) GetMeta() interface{}
GetMeta returns the Meta field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Event) GetMetaOk ¶ added in v0.0.6
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Event) GetSource ¶ added in v0.0.6
GetSource returns the Source field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Event) GetSourceOk ¶ added in v0.0.6
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Event) GetTransactionId ¶ added in v0.0.6
GetTransactionId returns the TransactionId field value if set, zero value otherwise.
func (*Event) GetTransactionIdOk ¶ added in v0.0.6
GetTransactionIdOk returns a tuple with the TransactionId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetType ¶ added in v0.0.6
GetType returns the Type field value if set, zero value otherwise.
func (*Event) GetTypeOk ¶ added in v0.0.6
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) HasBlockId ¶ added in v0.0.6
HasBlockId returns a boolean if a field has been set.
func (*Event) HasBlockNumber ¶ added in v0.0.6
HasBlockNumber returns a boolean if a field has been set.
func (*Event) HasDecimals ¶ added in v0.0.6
HasDecimals returns a boolean if a field has been set.
func (*Event) HasDenomination ¶ added in v0.0.6
HasDenomination returns a boolean if a field has been set.
func (*Event) HasDestination ¶ added in v0.0.6
HasDestination returns a boolean if a field has been set.
func (*Event) HasTransactionId ¶ added in v0.0.6
HasTransactionId returns a boolean if a field has been set.
func (Event) MarshalJSON ¶ added in v0.0.6
func (*Event) SetAmount ¶ added in v0.0.6
SetAmount gets a reference to the given NullableInt32 and assigns it to the Amount field.
func (*Event) SetAmountNil ¶ added in v0.0.6
func (o *Event) SetAmountNil()
SetAmountNil sets the value for Amount to be an explicit nil
func (*Event) SetBlockId ¶ added in v0.0.6
SetBlockId gets a reference to the given string and assigns it to the BlockId field.
func (*Event) SetBlockNumber ¶ added in v0.0.6
SetBlockNumber gets a reference to the given int32 and assigns it to the BlockNumber field.
func (*Event) SetDate ¶ added in v0.0.6
SetDate gets a reference to the given int32 and assigns it to the Date field.
func (*Event) SetDecimals ¶ added in v0.0.6
SetDecimals gets a reference to the given NullableInt32 and assigns it to the Decimals field.
func (*Event) SetDecimalsNil ¶ added in v0.0.6
func (o *Event) SetDecimalsNil()
SetDecimalsNil sets the value for Decimals to be an explicit nil
func (*Event) SetDenomination ¶ added in v0.0.6
SetDenomination gets a reference to the given NullableString and assigns it to the Denomination field.
func (*Event) SetDenominationNil ¶ added in v0.0.6
func (o *Event) SetDenominationNil()
SetDenominationNil sets the value for Denomination to be an explicit nil
func (*Event) SetDestination ¶ added in v0.0.6
SetDestination gets a reference to the given NullableString and assigns it to the Destination field.
func (*Event) SetDestinationNil ¶ added in v0.0.6
func (o *Event) SetDestinationNil()
SetDestinationNil sets the value for Destination to be an explicit nil
func (*Event) SetId ¶ added in v0.0.6
SetId gets a reference to the given string and assigns it to the Id field.
func (*Event) SetMeta ¶ added in v0.0.6
func (o *Event) SetMeta(v interface{})
SetMeta gets a reference to the given interface{} and assigns it to the Meta field.
func (*Event) SetSource ¶ added in v0.0.6
SetSource gets a reference to the given NullableString and assigns it to the Source field.
func (*Event) SetSourceNil ¶ added in v0.0.6
func (o *Event) SetSourceNil()
SetSourceNil sets the value for Source to be an explicit nil
func (*Event) SetTransactionId ¶ added in v0.0.6
SetTransactionId gets a reference to the given string and assigns it to the TransactionId field.
func (*Event) SetType ¶ added in v0.0.6
SetType gets a reference to the given string and assigns it to the Type field.
func (*Event) UnsetAmount ¶ added in v0.0.6
func (o *Event) UnsetAmount()
UnsetAmount ensures that no value is present for Amount, not even an explicit nil
func (*Event) UnsetDecimals ¶ added in v0.0.6
func (o *Event) UnsetDecimals()
UnsetDecimals ensures that no value is present for Decimals, not even an explicit nil
func (*Event) UnsetDenomination ¶ added in v0.0.6
func (o *Event) UnsetDenomination()
UnsetDenomination ensures that no value is present for Denomination, not even an explicit nil
func (*Event) UnsetDestination ¶ added in v0.0.6
func (o *Event) UnsetDestination()
UnsetDestination ensures that no value is present for Destination, not even an explicit nil
func (*Event) UnsetSource ¶ added in v0.0.6
func (o *Event) UnsetSource()
UnsetSource ensures that no value is present for Source, not even an explicit nil
type Fee ¶
type Fee struct { // Integer string in smallest unit (Satoshis) Amount string `json:"amount"` // Destination Destination string `json:"destination"` }
Fee struct for Fee
func NewFee ¶
NewFee instantiates a new Fee 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 NewFeeWithDefaults ¶
func NewFeeWithDefaults() *Fee
NewFeeWithDefaults instantiates a new Fee 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 (*Fee) GetAmountOk ¶
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*Fee) GetDestination ¶
GetDestination returns the Destination field value
func (*Fee) GetDestinationOk ¶
GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set.
func (Fee) MarshalJSON ¶
type FeeEstimate ¶ added in v0.0.6
type FeeEstimate struct { // Most recent block MostRecentBlock *int32 `json:"most_recent_block,omitempty"` EstimatedFees *FeeEstimateEstimatedFees `json:"estimated_fees,omitempty"` }
FeeEstimate struct for FeeEstimate
func NewFeeEstimate ¶ added in v0.0.6
func NewFeeEstimate() *FeeEstimate
NewFeeEstimate instantiates a new FeeEstimate 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 NewFeeEstimateWithDefaults ¶ added in v0.0.6
func NewFeeEstimateWithDefaults() *FeeEstimate
NewFeeEstimateWithDefaults instantiates a new FeeEstimate 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 (*FeeEstimate) GetEstimatedFees ¶ added in v0.0.6
func (o *FeeEstimate) GetEstimatedFees() FeeEstimateEstimatedFees
GetEstimatedFees returns the EstimatedFees field value if set, zero value otherwise.
func (*FeeEstimate) GetEstimatedFeesOk ¶ added in v0.0.6
func (o *FeeEstimate) GetEstimatedFeesOk() (*FeeEstimateEstimatedFees, bool)
GetEstimatedFeesOk returns a tuple with the EstimatedFees field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FeeEstimate) GetMostRecentBlock ¶ added in v0.0.6
func (o *FeeEstimate) GetMostRecentBlock() int32
GetMostRecentBlock returns the MostRecentBlock field value if set, zero value otherwise.
func (*FeeEstimate) GetMostRecentBlockOk ¶ added in v0.0.6
func (o *FeeEstimate) GetMostRecentBlockOk() (*int32, bool)
GetMostRecentBlockOk returns a tuple with the MostRecentBlock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FeeEstimate) HasEstimatedFees ¶ added in v0.0.6
func (o *FeeEstimate) HasEstimatedFees() bool
HasEstimatedFees returns a boolean if a field has been set.
func (*FeeEstimate) HasMostRecentBlock ¶ added in v0.0.6
func (o *FeeEstimate) HasMostRecentBlock() bool
HasMostRecentBlock returns a boolean if a field has been set.
func (FeeEstimate) MarshalJSON ¶ added in v0.0.6
func (o FeeEstimate) MarshalJSON() ([]byte, error)
func (*FeeEstimate) SetEstimatedFees ¶ added in v0.0.6
func (o *FeeEstimate) SetEstimatedFees(v FeeEstimateEstimatedFees)
SetEstimatedFees gets a reference to the given FeeEstimateEstimatedFees and assigns it to the EstimatedFees field.
func (*FeeEstimate) SetMostRecentBlock ¶ added in v0.0.6
func (o *FeeEstimate) SetMostRecentBlock(v int32)
SetMostRecentBlock gets a reference to the given int32 and assigns it to the MostRecentBlock field.
type FeeEstimateEstimatedFees ¶ added in v0.0.6
type FeeEstimateEstimatedFees struct { Fast interface{} `json:"fast,omitempty"` Medium interface{} `json:"medium,omitempty"` Slow interface{} `json:"slow,omitempty"` }
FeeEstimateEstimatedFees Object containing fast, medium, slow fees
func NewFeeEstimateEstimatedFees ¶ added in v0.0.6
func NewFeeEstimateEstimatedFees() *FeeEstimateEstimatedFees
NewFeeEstimateEstimatedFees instantiates a new FeeEstimateEstimatedFees 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 NewFeeEstimateEstimatedFeesWithDefaults ¶ added in v0.0.6
func NewFeeEstimateEstimatedFeesWithDefaults() *FeeEstimateEstimatedFees
NewFeeEstimateEstimatedFeesWithDefaults instantiates a new FeeEstimateEstimatedFees 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 (*FeeEstimateEstimatedFees) GetFast ¶ added in v0.0.6
func (o *FeeEstimateEstimatedFees) GetFast() interface{}
GetFast returns the Fast field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FeeEstimateEstimatedFees) GetFastOk ¶ added in v0.0.6
func (o *FeeEstimateEstimatedFees) GetFastOk() (*interface{}, bool)
GetFastOk returns a tuple with the Fast field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*FeeEstimateEstimatedFees) GetMedium ¶ added in v0.0.6
func (o *FeeEstimateEstimatedFees) GetMedium() interface{}
GetMedium returns the Medium field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FeeEstimateEstimatedFees) GetMediumOk ¶ added in v0.0.6
func (o *FeeEstimateEstimatedFees) GetMediumOk() (*interface{}, bool)
GetMediumOk returns a tuple with the Medium field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*FeeEstimateEstimatedFees) GetSlow ¶ added in v0.0.6
func (o *FeeEstimateEstimatedFees) GetSlow() interface{}
GetSlow returns the Slow field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FeeEstimateEstimatedFees) GetSlowOk ¶ added in v0.0.6
func (o *FeeEstimateEstimatedFees) GetSlowOk() (*interface{}, bool)
GetSlowOk returns a tuple with the Slow field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*FeeEstimateEstimatedFees) HasFast ¶ added in v0.0.6
func (o *FeeEstimateEstimatedFees) HasFast() bool
HasFast returns a boolean if a field has been set.
func (*FeeEstimateEstimatedFees) HasMedium ¶ added in v0.0.6
func (o *FeeEstimateEstimatedFees) HasMedium() bool
HasMedium returns a boolean if a field has been set.
func (*FeeEstimateEstimatedFees) HasSlow ¶ added in v0.0.6
func (o *FeeEstimateEstimatedFees) HasSlow() bool
HasSlow returns a boolean if a field has been set.
func (FeeEstimateEstimatedFees) MarshalJSON ¶ added in v0.0.6
func (o FeeEstimateEstimatedFees) MarshalJSON() ([]byte, error)
func (*FeeEstimateEstimatedFees) SetFast ¶ added in v0.0.6
func (o *FeeEstimateEstimatedFees) SetFast(v interface{})
SetFast gets a reference to the given interface{} and assigns it to the Fast field.
func (*FeeEstimateEstimatedFees) SetMedium ¶ added in v0.0.6
func (o *FeeEstimateEstimatedFees) SetMedium(v interface{})
SetMedium gets a reference to the given interface{} and assigns it to the Medium field.
func (*FeeEstimateEstimatedFees) SetSlow ¶ added in v0.0.6
func (o *FeeEstimateEstimatedFees) SetSlow(v interface{})
SetSlow gets a reference to the given interface{} and assigns it to the Slow field.
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 ModelError ¶
type ModelError struct { // HTTP error type Type *string `json:"type,omitempty"` // Numeric error code Code *int32 `json:"code,omitempty"` // Short error description Title *string `json:"title,omitempty"` // HTTP status of the error Status *int32 `json:"status,omitempty"` // Long error description Detail *string `json:"detail,omitempty"` }
ModelError struct for ModelError
func NewModelError ¶
func NewModelError() *ModelError
NewModelError instantiates a new ModelError 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 NewModelErrorWithDefaults ¶
func NewModelErrorWithDefaults() *ModelError
NewModelErrorWithDefaults instantiates a new ModelError 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 (*ModelError) GetCode ¶
func (o *ModelError) GetCode() int32
GetCode returns the Code field value if set, zero value otherwise.
func (*ModelError) GetCodeOk ¶
func (o *ModelError) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelError) GetDetail ¶
func (o *ModelError) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*ModelError) GetDetailOk ¶
func (o *ModelError) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelError) GetStatus ¶
func (o *ModelError) GetStatus() int32
GetStatus returns the Status field value if set, zero value otherwise.
func (*ModelError) GetStatusOk ¶
func (o *ModelError) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelError) GetTitle ¶
func (o *ModelError) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*ModelError) GetTitleOk ¶
func (o *ModelError) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelError) GetType ¶
func (o *ModelError) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ModelError) GetTypeOk ¶
func (o *ModelError) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelError) HasCode ¶
func (o *ModelError) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ModelError) HasDetail ¶
func (o *ModelError) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*ModelError) HasStatus ¶
func (o *ModelError) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*ModelError) HasTitle ¶
func (o *ModelError) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ModelError) HasType ¶
func (o *ModelError) HasType() bool
HasType returns a boolean if a field has been set.
func (ModelError) MarshalJSON ¶
func (o ModelError) MarshalJSON() ([]byte, error)
func (*ModelError) SetCode ¶
func (o *ModelError) SetCode(v int32)
SetCode gets a reference to the given int32 and assigns it to the Code field.
func (*ModelError) SetDetail ¶
func (o *ModelError) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*ModelError) SetStatus ¶
func (o *ModelError) SetStatus(v int32)
SetStatus gets a reference to the given int32 and assigns it to the Status field.
func (*ModelError) SetTitle ¶
func (o *ModelError) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*ModelError) SetType ¶
func (o *ModelError) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type MultiTransfer ¶
type MultiTransfer struct { Inputs []Utxo `json:"inputs"` Outputs []Utxo `json:"outputs"` Currency Currency `json:"currency"` // Integer string in smallest unit (Satoshis) TotalIn string `json:"total_in"` // Integer string in smallest unit (Satoshis) TotalOut string `json:"total_out"` // Integer string in smallest unit (Satoshis) Unspent string `json:"unspent"` }
MultiTransfer Transfer of currency in the UTXO model
func NewMultiTransfer ¶
func NewMultiTransfer(inputs []Utxo, outputs []Utxo, currency Currency, totalIn string, totalOut string, unspent string) *MultiTransfer
NewMultiTransfer instantiates a new MultiTransfer 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 NewMultiTransferWithDefaults ¶
func NewMultiTransferWithDefaults() *MultiTransfer
NewMultiTransferWithDefaults instantiates a new MultiTransfer 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 (*MultiTransfer) GetCurrency ¶
func (o *MultiTransfer) GetCurrency() Currency
GetCurrency returns the Currency field value
func (*MultiTransfer) GetCurrencyOk ¶
func (o *MultiTransfer) GetCurrencyOk() (*Currency, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*MultiTransfer) GetInputs ¶
func (o *MultiTransfer) GetInputs() []Utxo
GetInputs returns the Inputs field value
func (*MultiTransfer) GetInputsOk ¶
func (o *MultiTransfer) GetInputsOk() (*[]Utxo, bool)
GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.
func (*MultiTransfer) GetOutputs ¶
func (o *MultiTransfer) GetOutputs() []Utxo
GetOutputs returns the Outputs field value
func (*MultiTransfer) GetOutputsOk ¶
func (o *MultiTransfer) GetOutputsOk() (*[]Utxo, bool)
GetOutputsOk returns a tuple with the Outputs field value and a boolean to check if the value has been set.
func (*MultiTransfer) GetTotalIn ¶
func (o *MultiTransfer) GetTotalIn() string
GetTotalIn returns the TotalIn field value
func (*MultiTransfer) GetTotalInOk ¶
func (o *MultiTransfer) GetTotalInOk() (*string, bool)
GetTotalInOk returns a tuple with the TotalIn field value and a boolean to check if the value has been set.
func (*MultiTransfer) GetTotalOut ¶
func (o *MultiTransfer) GetTotalOut() string
GetTotalOut returns the TotalOut field value
func (*MultiTransfer) GetTotalOutOk ¶
func (o *MultiTransfer) GetTotalOutOk() (*string, bool)
GetTotalOutOk returns a tuple with the TotalOut field value and a boolean to check if the value has been set.
func (*MultiTransfer) GetUnspent ¶
func (o *MultiTransfer) GetUnspent() string
GetUnspent returns the Unspent field value
func (*MultiTransfer) GetUnspentOk ¶
func (o *MultiTransfer) GetUnspentOk() (*string, bool)
GetUnspentOk returns a tuple with the Unspent field value and a boolean to check if the value has been set.
func (MultiTransfer) MarshalJSON ¶
func (o MultiTransfer) MarshalJSON() ([]byte, error)
func (*MultiTransfer) SetCurrency ¶
func (o *MultiTransfer) SetCurrency(v Currency)
SetCurrency sets field value
func (*MultiTransfer) SetInputs ¶
func (o *MultiTransfer) SetInputs(v []Utxo)
SetInputs sets field value
func (*MultiTransfer) SetOutputs ¶
func (o *MultiTransfer) SetOutputs(v []Utxo)
SetOutputs sets field value
func (*MultiTransfer) SetTotalIn ¶
func (o *MultiTransfer) SetTotalIn(v string)
SetTotalIn sets field value
func (*MultiTransfer) SetTotalOut ¶
func (o *MultiTransfer) SetTotalOut(v string)
SetTotalOut sets field value
func (*MultiTransfer) SetUnspent ¶
func (o *MultiTransfer) SetUnspent(v string)
SetUnspent sets field value
type MultiTransferOperation ¶
type MultiTransferOperation struct { Type string `json:"type"` Event *string `json:"event,omitempty"` Detail MultiTransfer `json:"detail"` }
MultiTransferOperation struct for MultiTransferOperation
func NewMultiTransferOperation ¶
func NewMultiTransferOperation(type_ string, detail MultiTransfer) *MultiTransferOperation
NewMultiTransferOperation instantiates a new MultiTransferOperation 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 NewMultiTransferOperationWithDefaults ¶
func NewMultiTransferOperationWithDefaults() *MultiTransferOperation
NewMultiTransferOperationWithDefaults instantiates a new MultiTransferOperation 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 (*MultiTransferOperation) GetDetail ¶
func (o *MultiTransferOperation) GetDetail() MultiTransfer
GetDetail returns the Detail field value
func (*MultiTransferOperation) GetDetailOk ¶
func (o *MultiTransferOperation) GetDetailOk() (*MultiTransfer, bool)
GetDetailOk returns a tuple with the Detail field value and a boolean to check if the value has been set.
func (*MultiTransferOperation) GetEvent ¶ added in v0.0.2
func (o *MultiTransferOperation) GetEvent() string
GetEvent returns the Event field value if set, zero value otherwise.
func (*MultiTransferOperation) GetEventOk ¶ added in v0.0.2
func (o *MultiTransferOperation) GetEventOk() (*string, bool)
GetEventOk returns a tuple with the Event field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MultiTransferOperation) GetType ¶
func (o *MultiTransferOperation) GetType() string
GetType returns the Type field value
func (*MultiTransferOperation) GetTypeOk ¶
func (o *MultiTransferOperation) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*MultiTransferOperation) HasEvent ¶ added in v0.0.2
func (o *MultiTransferOperation) HasEvent() bool
HasEvent returns a boolean if a field has been set.
func (MultiTransferOperation) MarshalJSON ¶
func (o MultiTransferOperation) MarshalJSON() ([]byte, error)
func (*MultiTransferOperation) SetDetail ¶
func (o *MultiTransferOperation) SetDetail(v MultiTransfer)
SetDetail sets field value
func (*MultiTransferOperation) SetEvent ¶ added in v0.0.2
func (o *MultiTransferOperation) SetEvent(v string)
SetEvent gets a reference to the given string and assigns it to the Event field.
func (*MultiTransferOperation) SetType ¶
func (o *MultiTransferOperation) SetType(v string)
SetType sets field value
type NativeCurrency ¶
type NativeCurrency struct { // Asset path of transferred currency AssetPath string `json:"asset_path"` // Currency symbol Symbol *string `json:"symbol,omitempty"` // Name of currency Name *string `json:"name,omitempty"` // Decimal places right to the comma Decimals *int32 `json:"decimals,omitempty"` Type string `json:"type"` }
NativeCurrency struct for NativeCurrency
func NewNativeCurrency ¶
func NewNativeCurrency(assetPath string, type_ string) *NativeCurrency
NewNativeCurrency instantiates a new NativeCurrency 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 NewNativeCurrencyWithDefaults ¶
func NewNativeCurrencyWithDefaults() *NativeCurrency
NewNativeCurrencyWithDefaults instantiates a new NativeCurrency 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 (*NativeCurrency) GetAssetPath ¶
func (o *NativeCurrency) GetAssetPath() string
GetAssetPath returns the AssetPath field value
func (*NativeCurrency) GetAssetPathOk ¶
func (o *NativeCurrency) GetAssetPathOk() (*string, bool)
GetAssetPathOk returns a tuple with the AssetPath field value and a boolean to check if the value has been set.
func (*NativeCurrency) GetDecimals ¶
func (o *NativeCurrency) GetDecimals() int32
GetDecimals returns the Decimals field value if set, zero value otherwise.
func (*NativeCurrency) GetDecimalsOk ¶
func (o *NativeCurrency) GetDecimalsOk() (*int32, bool)
GetDecimalsOk returns a tuple with the Decimals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NativeCurrency) GetName ¶
func (o *NativeCurrency) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*NativeCurrency) GetNameOk ¶
func (o *NativeCurrency) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NativeCurrency) GetSymbol ¶
func (o *NativeCurrency) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*NativeCurrency) GetSymbolOk ¶
func (o *NativeCurrency) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NativeCurrency) GetType ¶
func (o *NativeCurrency) GetType() string
GetType returns the Type field value
func (*NativeCurrency) GetTypeOk ¶
func (o *NativeCurrency) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*NativeCurrency) HasDecimals ¶
func (o *NativeCurrency) HasDecimals() bool
HasDecimals returns a boolean if a field has been set.
func (*NativeCurrency) HasName ¶
func (o *NativeCurrency) HasName() bool
HasName returns a boolean if a field has been set.
func (*NativeCurrency) HasSymbol ¶
func (o *NativeCurrency) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (NativeCurrency) MarshalJSON ¶
func (o NativeCurrency) MarshalJSON() ([]byte, error)
func (*NativeCurrency) SetAssetPath ¶
func (o *NativeCurrency) SetAssetPath(v string)
SetAssetPath sets field value
func (*NativeCurrency) SetDecimals ¶
func (o *NativeCurrency) SetDecimals(v int32)
SetDecimals gets a reference to the given int32 and assigns it to the Decimals field.
func (*NativeCurrency) SetName ¶
func (o *NativeCurrency) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*NativeCurrency) SetSymbol ¶
func (o *NativeCurrency) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*NativeCurrency) SetType ¶
func (o *NativeCurrency) SetType(v string)
SetType sets field value
type NullableAccountsObj ¶ added in v0.0.5
type NullableAccountsObj struct {
// contains filtered or unexported fields
}
func NewNullableAccountsObj ¶ added in v0.0.5
func NewNullableAccountsObj(val *AccountsObj) *NullableAccountsObj
func (NullableAccountsObj) Get ¶ added in v0.0.5
func (v NullableAccountsObj) Get() *AccountsObj
func (NullableAccountsObj) IsSet ¶ added in v0.0.5
func (v NullableAccountsObj) IsSet() bool
func (NullableAccountsObj) MarshalJSON ¶ added in v0.0.5
func (v NullableAccountsObj) MarshalJSON() ([]byte, error)
func (*NullableAccountsObj) Set ¶ added in v0.0.5
func (v *NullableAccountsObj) Set(val *AccountsObj)
func (*NullableAccountsObj) UnmarshalJSON ¶ added in v0.0.5
func (v *NullableAccountsObj) UnmarshalJSON(src []byte) error
func (*NullableAccountsObj) Unset ¶ added in v0.0.5
func (v *NullableAccountsObj) Unset()
type NullableAlgorandMeta ¶
type NullableAlgorandMeta struct {
// contains filtered or unexported fields
}
func NewNullableAlgorandMeta ¶
func NewNullableAlgorandMeta(val *AlgorandMeta) *NullableAlgorandMeta
func (NullableAlgorandMeta) Get ¶
func (v NullableAlgorandMeta) Get() *AlgorandMeta
func (NullableAlgorandMeta) IsSet ¶
func (v NullableAlgorandMeta) IsSet() bool
func (NullableAlgorandMeta) MarshalJSON ¶
func (v NullableAlgorandMeta) MarshalJSON() ([]byte, error)
func (*NullableAlgorandMeta) Set ¶
func (v *NullableAlgorandMeta) Set(val *AlgorandMeta)
func (*NullableAlgorandMeta) UnmarshalJSON ¶
func (v *NullableAlgorandMeta) UnmarshalJSON(src []byte) error
func (*NullableAlgorandMeta) Unset ¶
func (v *NullableAlgorandMeta) Unset()
type NullableBalanceChange ¶
type NullableBalanceChange struct {
// contains filtered or unexported fields
}
func NewNullableBalanceChange ¶
func NewNullableBalanceChange(val *BalanceChange) *NullableBalanceChange
func (NullableBalanceChange) Get ¶
func (v NullableBalanceChange) Get() *BalanceChange
func (NullableBalanceChange) IsSet ¶
func (v NullableBalanceChange) IsSet() bool
func (NullableBalanceChange) MarshalJSON ¶
func (v NullableBalanceChange) MarshalJSON() ([]byte, error)
func (*NullableBalanceChange) Set ¶
func (v *NullableBalanceChange) Set(val *BalanceChange)
func (*NullableBalanceChange) UnmarshalJSON ¶
func (v *NullableBalanceChange) UnmarshalJSON(src []byte) error
func (*NullableBalanceChange) Unset ¶
func (v *NullableBalanceChange) Unset()
type NullableBalanceV1 ¶ added in v0.0.6
type NullableBalanceV1 struct {
// contains filtered or unexported fields
}
func NewNullableBalanceV1 ¶ added in v0.0.6
func NewNullableBalanceV1(val *BalanceV1) *NullableBalanceV1
func (NullableBalanceV1) Get ¶ added in v0.0.6
func (v NullableBalanceV1) Get() *BalanceV1
func (NullableBalanceV1) IsSet ¶ added in v0.0.6
func (v NullableBalanceV1) IsSet() bool
func (NullableBalanceV1) MarshalJSON ¶ added in v0.0.6
func (v NullableBalanceV1) MarshalJSON() ([]byte, error)
func (*NullableBalanceV1) Set ¶ added in v0.0.6
func (v *NullableBalanceV1) Set(val *BalanceV1)
func (*NullableBalanceV1) UnmarshalJSON ¶ added in v0.0.6
func (v *NullableBalanceV1) UnmarshalJSON(src []byte) error
func (*NullableBalanceV1) Unset ¶ added in v0.0.6
func (v *NullableBalanceV1) Unset()
type NullableBlock ¶
type NullableBlock struct {
// contains filtered or unexported fields
}
func NewNullableBlock ¶
func NewNullableBlock(val *Block) *NullableBlock
func (NullableBlock) Get ¶
func (v NullableBlock) Get() *Block
func (NullableBlock) IsSet ¶
func (v NullableBlock) IsSet() bool
func (NullableBlock) MarshalJSON ¶
func (v NullableBlock) MarshalJSON() ([]byte, error)
func (*NullableBlock) Set ¶
func (v *NullableBlock) Set(val *Block)
func (*NullableBlock) UnmarshalJSON ¶
func (v *NullableBlock) UnmarshalJSON(src []byte) error
func (*NullableBlock) Unset ¶
func (v *NullableBlock) Unset()
type NullableBlockIdentifier ¶
type NullableBlockIdentifier struct {
// contains filtered or unexported fields
}
func NewNullableBlockIdentifier ¶
func NewNullableBlockIdentifier(val *BlockIdentifier) *NullableBlockIdentifier
func (NullableBlockIdentifier) Get ¶
func (v NullableBlockIdentifier) Get() *BlockIdentifier
func (NullableBlockIdentifier) IsSet ¶
func (v NullableBlockIdentifier) IsSet() bool
func (NullableBlockIdentifier) MarshalJSON ¶
func (v NullableBlockIdentifier) MarshalJSON() ([]byte, error)
func (*NullableBlockIdentifier) Set ¶
func (v *NullableBlockIdentifier) Set(val *BlockIdentifier)
func (*NullableBlockIdentifier) UnmarshalJSON ¶
func (v *NullableBlockIdentifier) UnmarshalJSON(src []byte) error
func (*NullableBlockIdentifier) Unset ¶
func (v *NullableBlockIdentifier) 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 NullableCoin ¶
type NullableCoin struct {
// contains filtered or unexported fields
}
func NewNullableCoin ¶
func NewNullableCoin(val *Coin) *NullableCoin
func (NullableCoin) Get ¶
func (v NullableCoin) Get() *Coin
func (NullableCoin) IsSet ¶
func (v NullableCoin) IsSet() bool
func (NullableCoin) MarshalJSON ¶
func (v NullableCoin) MarshalJSON() ([]byte, error)
func (*NullableCoin) Set ¶
func (v *NullableCoin) Set(val *Coin)
func (*NullableCoin) UnmarshalJSON ¶
func (v *NullableCoin) UnmarshalJSON(src []byte) error
func (*NullableCoin) Unset ¶
func (v *NullableCoin) Unset()
type NullableCurrency ¶
type NullableCurrency struct {
// contains filtered or unexported fields
}
func NewNullableCurrency ¶
func NewNullableCurrency(val *Currency) *NullableCurrency
func (NullableCurrency) Get ¶
func (v NullableCurrency) Get() *Currency
func (NullableCurrency) IsSet ¶
func (v NullableCurrency) IsSet() bool
func (NullableCurrency) MarshalJSON ¶
func (v NullableCurrency) MarshalJSON() ([]byte, error)
func (*NullableCurrency) Set ¶
func (v *NullableCurrency) Set(val *Currency)
func (*NullableCurrency) UnmarshalJSON ¶
func (v *NullableCurrency) UnmarshalJSON(src []byte) error
func (*NullableCurrency) Unset ¶
func (v *NullableCurrency) Unset()
type NullableEffect ¶
type NullableEffect struct {
// contains filtered or unexported fields
}
func NewNullableEffect ¶
func NewNullableEffect(val *Effect) *NullableEffect
func (NullableEffect) Get ¶
func (v NullableEffect) Get() *Effect
func (NullableEffect) IsSet ¶
func (v NullableEffect) IsSet() bool
func (NullableEffect) MarshalJSON ¶
func (v NullableEffect) MarshalJSON() ([]byte, error)
func (*NullableEffect) Set ¶
func (v *NullableEffect) Set(val *Effect)
func (*NullableEffect) UnmarshalJSON ¶
func (v *NullableEffect) UnmarshalJSON(src []byte) error
func (*NullableEffect) Unset ¶
func (v *NullableEffect) Unset()
type NullableEvent ¶ added in v0.0.6
type NullableEvent struct {
// contains filtered or unexported fields
}
func NewNullableEvent ¶ added in v0.0.6
func NewNullableEvent(val *Event) *NullableEvent
func (NullableEvent) Get ¶ added in v0.0.6
func (v NullableEvent) Get() *Event
func (NullableEvent) IsSet ¶ added in v0.0.6
func (v NullableEvent) IsSet() bool
func (NullableEvent) MarshalJSON ¶ added in v0.0.6
func (v NullableEvent) MarshalJSON() ([]byte, error)
func (*NullableEvent) Set ¶ added in v0.0.6
func (v *NullableEvent) Set(val *Event)
func (*NullableEvent) UnmarshalJSON ¶ added in v0.0.6
func (v *NullableEvent) UnmarshalJSON(src []byte) error
func (*NullableEvent) Unset ¶ added in v0.0.6
func (v *NullableEvent) Unset()
type NullableFee ¶
type NullableFee struct {
// contains filtered or unexported fields
}
func NewNullableFee ¶
func NewNullableFee(val *Fee) *NullableFee
func (NullableFee) Get ¶
func (v NullableFee) Get() *Fee
func (NullableFee) IsSet ¶
func (v NullableFee) IsSet() bool
func (NullableFee) MarshalJSON ¶
func (v NullableFee) MarshalJSON() ([]byte, error)
func (*NullableFee) Set ¶
func (v *NullableFee) Set(val *Fee)
func (*NullableFee) UnmarshalJSON ¶
func (v *NullableFee) UnmarshalJSON(src []byte) error
func (*NullableFee) Unset ¶
func (v *NullableFee) Unset()
type NullableFeeEstimate ¶ added in v0.0.6
type NullableFeeEstimate struct {
// contains filtered or unexported fields
}
func NewNullableFeeEstimate ¶ added in v0.0.6
func NewNullableFeeEstimate(val *FeeEstimate) *NullableFeeEstimate
func (NullableFeeEstimate) Get ¶ added in v0.0.6
func (v NullableFeeEstimate) Get() *FeeEstimate
func (NullableFeeEstimate) IsSet ¶ added in v0.0.6
func (v NullableFeeEstimate) IsSet() bool
func (NullableFeeEstimate) MarshalJSON ¶ added in v0.0.6
func (v NullableFeeEstimate) MarshalJSON() ([]byte, error)
func (*NullableFeeEstimate) Set ¶ added in v0.0.6
func (v *NullableFeeEstimate) Set(val *FeeEstimate)
func (*NullableFeeEstimate) UnmarshalJSON ¶ added in v0.0.6
func (v *NullableFeeEstimate) UnmarshalJSON(src []byte) error
func (*NullableFeeEstimate) Unset ¶ added in v0.0.6
func (v *NullableFeeEstimate) Unset()
type NullableFeeEstimateEstimatedFees ¶ added in v0.0.6
type NullableFeeEstimateEstimatedFees struct {
// contains filtered or unexported fields
}
func NewNullableFeeEstimateEstimatedFees ¶ added in v0.0.6
func NewNullableFeeEstimateEstimatedFees(val *FeeEstimateEstimatedFees) *NullableFeeEstimateEstimatedFees
func (NullableFeeEstimateEstimatedFees) Get ¶ added in v0.0.6
func (v NullableFeeEstimateEstimatedFees) Get() *FeeEstimateEstimatedFees
func (NullableFeeEstimateEstimatedFees) IsSet ¶ added in v0.0.6
func (v NullableFeeEstimateEstimatedFees) IsSet() bool
func (NullableFeeEstimateEstimatedFees) MarshalJSON ¶ added in v0.0.6
func (v NullableFeeEstimateEstimatedFees) MarshalJSON() ([]byte, error)
func (*NullableFeeEstimateEstimatedFees) Set ¶ added in v0.0.6
func (v *NullableFeeEstimateEstimatedFees) Set(val *FeeEstimateEstimatedFees)
func (*NullableFeeEstimateEstimatedFees) UnmarshalJSON ¶ added in v0.0.6
func (v *NullableFeeEstimateEstimatedFees) UnmarshalJSON(src []byte) error
func (*NullableFeeEstimateEstimatedFees) Unset ¶ added in v0.0.6
func (v *NullableFeeEstimateEstimatedFees) 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 NullableModelError ¶
type NullableModelError struct {
// contains filtered or unexported fields
}
func NewNullableModelError ¶
func NewNullableModelError(val *ModelError) *NullableModelError
func (NullableModelError) Get ¶
func (v NullableModelError) Get() *ModelError
func (NullableModelError) IsSet ¶
func (v NullableModelError) IsSet() bool
func (NullableModelError) MarshalJSON ¶
func (v NullableModelError) MarshalJSON() ([]byte, error)
func (*NullableModelError) Set ¶
func (v *NullableModelError) Set(val *ModelError)
func (*NullableModelError) UnmarshalJSON ¶
func (v *NullableModelError) UnmarshalJSON(src []byte) error
func (*NullableModelError) Unset ¶
func (v *NullableModelError) Unset()
type NullableMultiTransfer ¶
type NullableMultiTransfer struct {
// contains filtered or unexported fields
}
func NewNullableMultiTransfer ¶
func NewNullableMultiTransfer(val *MultiTransfer) *NullableMultiTransfer
func (NullableMultiTransfer) Get ¶
func (v NullableMultiTransfer) Get() *MultiTransfer
func (NullableMultiTransfer) IsSet ¶
func (v NullableMultiTransfer) IsSet() bool
func (NullableMultiTransfer) MarshalJSON ¶
func (v NullableMultiTransfer) MarshalJSON() ([]byte, error)
func (*NullableMultiTransfer) Set ¶
func (v *NullableMultiTransfer) Set(val *MultiTransfer)
func (*NullableMultiTransfer) UnmarshalJSON ¶
func (v *NullableMultiTransfer) UnmarshalJSON(src []byte) error
func (*NullableMultiTransfer) Unset ¶
func (v *NullableMultiTransfer) Unset()
type NullableMultiTransferOperation ¶
type NullableMultiTransferOperation struct {
// contains filtered or unexported fields
}
func NewNullableMultiTransferOperation ¶
func NewNullableMultiTransferOperation(val *MultiTransferOperation) *NullableMultiTransferOperation
func (NullableMultiTransferOperation) Get ¶
func (v NullableMultiTransferOperation) Get() *MultiTransferOperation
func (NullableMultiTransferOperation) IsSet ¶
func (v NullableMultiTransferOperation) IsSet() bool
func (NullableMultiTransferOperation) MarshalJSON ¶
func (v NullableMultiTransferOperation) MarshalJSON() ([]byte, error)
func (*NullableMultiTransferOperation) Set ¶
func (v *NullableMultiTransferOperation) Set(val *MultiTransferOperation)
func (*NullableMultiTransferOperation) UnmarshalJSON ¶
func (v *NullableMultiTransferOperation) UnmarshalJSON(src []byte) error
func (*NullableMultiTransferOperation) Unset ¶
func (v *NullableMultiTransferOperation) Unset()
type NullableNativeCurrency ¶
type NullableNativeCurrency struct {
// contains filtered or unexported fields
}
func NewNullableNativeCurrency ¶
func NewNullableNativeCurrency(val *NativeCurrency) *NullableNativeCurrency
func (NullableNativeCurrency) Get ¶
func (v NullableNativeCurrency) Get() *NativeCurrency
func (NullableNativeCurrency) IsSet ¶
func (v NullableNativeCurrency) IsSet() bool
func (NullableNativeCurrency) MarshalJSON ¶
func (v NullableNativeCurrency) MarshalJSON() ([]byte, error)
func (*NullableNativeCurrency) Set ¶
func (v *NullableNativeCurrency) Set(val *NativeCurrency)
func (*NullableNativeCurrency) UnmarshalJSON ¶
func (v *NullableNativeCurrency) UnmarshalJSON(src []byte) error
func (*NullableNativeCurrency) Unset ¶
func (v *NullableNativeCurrency) Unset()
type NullableOperation ¶
type NullableOperation struct {
// contains filtered or unexported fields
}
func NewNullableOperation ¶
func NewNullableOperation(val *Operation) *NullableOperation
func (NullableOperation) Get ¶
func (v NullableOperation) Get() *Operation
func (NullableOperation) IsSet ¶
func (v NullableOperation) IsSet() bool
func (NullableOperation) MarshalJSON ¶
func (v NullableOperation) MarshalJSON() ([]byte, error)
func (*NullableOperation) Set ¶
func (v *NullableOperation) Set(val *Operation)
func (*NullableOperation) UnmarshalJSON ¶
func (v *NullableOperation) UnmarshalJSON(src []byte) error
func (*NullableOperation) Unset ¶
func (v *NullableOperation) Unset()
type NullablePlatformDetail ¶
type NullablePlatformDetail struct {
// contains filtered or unexported fields
}
func NewNullablePlatformDetail ¶
func NewNullablePlatformDetail(val *PlatformDetail) *NullablePlatformDetail
func (NullablePlatformDetail) Get ¶
func (v NullablePlatformDetail) Get() *PlatformDetail
func (NullablePlatformDetail) IsSet ¶
func (v NullablePlatformDetail) IsSet() bool
func (NullablePlatformDetail) MarshalJSON ¶
func (v NullablePlatformDetail) MarshalJSON() ([]byte, error)
func (*NullablePlatformDetail) Set ¶
func (v *NullablePlatformDetail) Set(val *PlatformDetail)
func (*NullablePlatformDetail) UnmarshalJSON ¶
func (v *NullablePlatformDetail) UnmarshalJSON(src []byte) error
func (*NullablePlatformDetail) Unset ¶
func (v *NullablePlatformDetail) Unset()
type NullablePlatformEndpoint ¶
type NullablePlatformEndpoint struct {
// contains filtered or unexported fields
}
func NewNullablePlatformEndpoint ¶
func NewNullablePlatformEndpoint(val *PlatformEndpoint) *NullablePlatformEndpoint
func (NullablePlatformEndpoint) Get ¶
func (v NullablePlatformEndpoint) Get() *PlatformEndpoint
func (NullablePlatformEndpoint) IsSet ¶
func (v NullablePlatformEndpoint) IsSet() bool
func (NullablePlatformEndpoint) MarshalJSON ¶
func (v NullablePlatformEndpoint) MarshalJSON() ([]byte, error)
func (*NullablePlatformEndpoint) Set ¶
func (v *NullablePlatformEndpoint) Set(val *PlatformEndpoint)
func (*NullablePlatformEndpoint) UnmarshalJSON ¶
func (v *NullablePlatformEndpoint) UnmarshalJSON(src []byte) error
func (*NullablePlatformEndpoint) Unset ¶
func (v *NullablePlatformEndpoint) Unset()
type NullablePlatformsOverview ¶ added in v0.0.3
type NullablePlatformsOverview struct {
// contains filtered or unexported fields
}
func NewNullablePlatformsOverview ¶ added in v0.0.3
func NewNullablePlatformsOverview(val *PlatformsOverview) *NullablePlatformsOverview
func (NullablePlatformsOverview) Get ¶ added in v0.0.3
func (v NullablePlatformsOverview) Get() *PlatformsOverview
func (NullablePlatformsOverview) IsSet ¶ added in v0.0.3
func (v NullablePlatformsOverview) IsSet() bool
func (NullablePlatformsOverview) MarshalJSON ¶ added in v0.0.3
func (v NullablePlatformsOverview) MarshalJSON() ([]byte, error)
func (*NullablePlatformsOverview) Set ¶ added in v0.0.3
func (v *NullablePlatformsOverview) Set(val *PlatformsOverview)
func (*NullablePlatformsOverview) UnmarshalJSON ¶ added in v0.0.3
func (v *NullablePlatformsOverview) UnmarshalJSON(src []byte) error
func (*NullablePlatformsOverview) Unset ¶ added in v0.0.3
func (v *NullablePlatformsOverview) Unset()
type NullablePlatformsOverviewPlatforms ¶ added in v0.0.3
type NullablePlatformsOverviewPlatforms struct {
// contains filtered or unexported fields
}
func NewNullablePlatformsOverviewPlatforms ¶ added in v0.0.3
func NewNullablePlatformsOverviewPlatforms(val *PlatformsOverviewPlatforms) *NullablePlatformsOverviewPlatforms
func (NullablePlatformsOverviewPlatforms) Get ¶ added in v0.0.3
func (v NullablePlatformsOverviewPlatforms) Get() *PlatformsOverviewPlatforms
func (NullablePlatformsOverviewPlatforms) IsSet ¶ added in v0.0.3
func (v NullablePlatformsOverviewPlatforms) IsSet() bool
func (NullablePlatformsOverviewPlatforms) MarshalJSON ¶ added in v0.0.3
func (v NullablePlatformsOverviewPlatforms) MarshalJSON() ([]byte, error)
func (*NullablePlatformsOverviewPlatforms) Set ¶ added in v0.0.3
func (v *NullablePlatformsOverviewPlatforms) Set(val *PlatformsOverviewPlatforms)
func (*NullablePlatformsOverviewPlatforms) UnmarshalJSON ¶ added in v0.0.3
func (v *NullablePlatformsOverviewPlatforms) UnmarshalJSON(src []byte) error
func (*NullablePlatformsOverviewPlatforms) Unset ¶ added in v0.0.3
func (v *NullablePlatformsOverviewPlatforms) Unset()
type NullableReport ¶
type NullableReport struct {
// contains filtered or unexported fields
}
func NewNullableReport ¶
func NewNullableReport(val *Report) *NullableReport
func (NullableReport) Get ¶
func (v NullableReport) Get() *Report
func (NullableReport) IsSet ¶
func (v NullableReport) IsSet() bool
func (NullableReport) MarshalJSON ¶
func (v NullableReport) MarshalJSON() ([]byte, error)
func (*NullableReport) Set ¶
func (v *NullableReport) Set(val *Report)
func (*NullableReport) UnmarshalJSON ¶
func (v *NullableReport) UnmarshalJSON(src []byte) error
func (*NullableReport) Unset ¶
func (v *NullableReport) Unset()
type NullableReportField ¶
type NullableReportField struct {
// contains filtered or unexported fields
}
func NewNullableReportField ¶
func NewNullableReportField(val *ReportField) *NullableReportField
func (NullableReportField) Get ¶
func (v NullableReportField) Get() *ReportField
func (NullableReportField) IsSet ¶
func (v NullableReportField) IsSet() bool
func (NullableReportField) MarshalJSON ¶
func (v NullableReportField) MarshalJSON() ([]byte, error)
func (*NullableReportField) Set ¶
func (v *NullableReportField) Set(val *ReportField)
func (*NullableReportField) UnmarshalJSON ¶
func (v *NullableReportField) UnmarshalJSON(src []byte) error
func (*NullableReportField) Unset ¶
func (v *NullableReportField) Unset()
type NullableReportFieldMeta ¶
type NullableReportFieldMeta struct {
// contains filtered or unexported fields
}
func NewNullableReportFieldMeta ¶
func NewNullableReportFieldMeta(val *ReportFieldMeta) *NullableReportFieldMeta
func (NullableReportFieldMeta) Get ¶
func (v NullableReportFieldMeta) Get() *ReportFieldMeta
func (NullableReportFieldMeta) IsSet ¶
func (v NullableReportFieldMeta) IsSet() bool
func (NullableReportFieldMeta) MarshalJSON ¶
func (v NullableReportFieldMeta) MarshalJSON() ([]byte, error)
func (*NullableReportFieldMeta) Set ¶
func (v *NullableReportFieldMeta) Set(val *ReportFieldMeta)
func (*NullableReportFieldMeta) UnmarshalJSON ¶
func (v *NullableReportFieldMeta) UnmarshalJSON(src []byte) error
func (*NullableReportFieldMeta) Unset ¶
func (v *NullableReportFieldMeta) Unset()
type NullableSignedTx ¶
type NullableSignedTx struct {
// contains filtered or unexported fields
}
func NewNullableSignedTx ¶
func NewNullableSignedTx(val *SignedTx) *NullableSignedTx
func (NullableSignedTx) Get ¶
func (v NullableSignedTx) Get() *SignedTx
func (NullableSignedTx) IsSet ¶
func (v NullableSignedTx) IsSet() bool
func (NullableSignedTx) MarshalJSON ¶
func (v NullableSignedTx) MarshalJSON() ([]byte, error)
func (*NullableSignedTx) Set ¶
func (v *NullableSignedTx) Set(val *SignedTx)
func (*NullableSignedTx) UnmarshalJSON ¶
func (v *NullableSignedTx) UnmarshalJSON(src []byte) error
func (*NullableSignedTx) Unset ¶
func (v *NullableSignedTx) Unset()
type NullableSmartToken ¶
type NullableSmartToken struct {
// contains filtered or unexported fields
}
func NewNullableSmartToken ¶
func NewNullableSmartToken(val *SmartToken) *NullableSmartToken
func (NullableSmartToken) Get ¶
func (v NullableSmartToken) Get() *SmartToken
func (NullableSmartToken) IsSet ¶
func (v NullableSmartToken) IsSet() bool
func (NullableSmartToken) MarshalJSON ¶
func (v NullableSmartToken) MarshalJSON() ([]byte, error)
func (*NullableSmartToken) Set ¶
func (v *NullableSmartToken) Set(val *SmartToken)
func (*NullableSmartToken) UnmarshalJSON ¶
func (v *NullableSmartToken) UnmarshalJSON(src []byte) error
func (*NullableSmartToken) Unset ¶
func (v *NullableSmartToken) Unset()
type NullableSmartTokenCurrency ¶
type NullableSmartTokenCurrency struct {
// contains filtered or unexported fields
}
func NewNullableSmartTokenCurrency ¶
func NewNullableSmartTokenCurrency(val *SmartTokenCurrency) *NullableSmartTokenCurrency
func (NullableSmartTokenCurrency) Get ¶
func (v NullableSmartTokenCurrency) Get() *SmartTokenCurrency
func (NullableSmartTokenCurrency) IsSet ¶
func (v NullableSmartTokenCurrency) IsSet() bool
func (NullableSmartTokenCurrency) MarshalJSON ¶
func (v NullableSmartTokenCurrency) MarshalJSON() ([]byte, error)
func (*NullableSmartTokenCurrency) Set ¶
func (v *NullableSmartTokenCurrency) Set(val *SmartTokenCurrency)
func (*NullableSmartTokenCurrency) UnmarshalJSON ¶
func (v *NullableSmartTokenCurrency) UnmarshalJSON(src []byte) error
func (*NullableSmartTokenCurrency) Unset ¶
func (v *NullableSmartTokenCurrency) 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 NullableSupply ¶
type NullableSupply struct {
// contains filtered or unexported fields
}
func NewNullableSupply ¶
func NewNullableSupply(val *Supply) *NullableSupply
func (NullableSupply) Get ¶
func (v NullableSupply) Get() *Supply
func (NullableSupply) IsSet ¶
func (v NullableSupply) IsSet() bool
func (NullableSupply) MarshalJSON ¶
func (v NullableSupply) MarshalJSON() ([]byte, error)
func (*NullableSupply) Set ¶
func (v *NullableSupply) Set(val *Supply)
func (*NullableSupply) UnmarshalJSON ¶
func (v *NullableSupply) UnmarshalJSON(src []byte) error
func (*NullableSupply) Unset ¶
func (v *NullableSupply) 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 NullableToken ¶
type NullableToken struct {
// contains filtered or unexported fields
}
func NewNullableToken ¶
func NewNullableToken(val *Token) *NullableToken
func (NullableToken) Get ¶
func (v NullableToken) Get() *Token
func (NullableToken) IsSet ¶
func (v NullableToken) IsSet() bool
func (NullableToken) MarshalJSON ¶
func (v NullableToken) MarshalJSON() ([]byte, error)
func (*NullableToken) Set ¶
func (v *NullableToken) Set(val *Token)
func (*NullableToken) UnmarshalJSON ¶
func (v *NullableToken) UnmarshalJSON(src []byte) error
func (*NullableToken) Unset ¶
func (v *NullableToken) Unset()
type NullableTokenCurrency ¶
type NullableTokenCurrency struct {
// contains filtered or unexported fields
}
func NewNullableTokenCurrency ¶
func NewNullableTokenCurrency(val *TokenCurrency) *NullableTokenCurrency
func (NullableTokenCurrency) Get ¶
func (v NullableTokenCurrency) Get() *TokenCurrency
func (NullableTokenCurrency) IsSet ¶
func (v NullableTokenCurrency) IsSet() bool
func (NullableTokenCurrency) MarshalJSON ¶
func (v NullableTokenCurrency) MarshalJSON() ([]byte, error)
func (*NullableTokenCurrency) Set ¶
func (v *NullableTokenCurrency) Set(val *TokenCurrency)
func (*NullableTokenCurrency) UnmarshalJSON ¶
func (v *NullableTokenCurrency) UnmarshalJSON(src []byte) error
func (*NullableTokenCurrency) Unset ¶
func (v *NullableTokenCurrency) Unset()
type NullableTransfer ¶
type NullableTransfer struct {
// contains filtered or unexported fields
}
func NewNullableTransfer ¶
func NewNullableTransfer(val *Transfer) *NullableTransfer
func (NullableTransfer) Get ¶
func (v NullableTransfer) Get() *Transfer
func (NullableTransfer) IsSet ¶
func (v NullableTransfer) IsSet() bool
func (NullableTransfer) MarshalJSON ¶
func (v NullableTransfer) MarshalJSON() ([]byte, error)
func (*NullableTransfer) Set ¶
func (v *NullableTransfer) Set(val *Transfer)
func (*NullableTransfer) UnmarshalJSON ¶
func (v *NullableTransfer) UnmarshalJSON(src []byte) error
func (*NullableTransfer) Unset ¶
func (v *NullableTransfer) Unset()
type NullableTransferOperation ¶
type NullableTransferOperation struct {
// contains filtered or unexported fields
}
func NewNullableTransferOperation ¶
func NewNullableTransferOperation(val *TransferOperation) *NullableTransferOperation
func (NullableTransferOperation) Get ¶
func (v NullableTransferOperation) Get() *TransferOperation
func (NullableTransferOperation) IsSet ¶
func (v NullableTransferOperation) IsSet() bool
func (NullableTransferOperation) MarshalJSON ¶
func (v NullableTransferOperation) MarshalJSON() ([]byte, error)
func (*NullableTransferOperation) Set ¶
func (v *NullableTransferOperation) Set(val *TransferOperation)
func (*NullableTransferOperation) UnmarshalJSON ¶
func (v *NullableTransferOperation) UnmarshalJSON(src []byte) error
func (*NullableTransferOperation) Unset ¶
func (v *NullableTransferOperation) Unset()
type NullableTx ¶
type NullableTx struct {
// contains filtered or unexported fields
}
func NewNullableTx ¶
func NewNullableTx(val *Tx) *NullableTx
func (NullableTx) Get ¶
func (v NullableTx) Get() *Tx
func (NullableTx) IsSet ¶
func (v NullableTx) IsSet() bool
func (NullableTx) MarshalJSON ¶
func (v NullableTx) MarshalJSON() ([]byte, error)
func (*NullableTx) Set ¶
func (v *NullableTx) Set(val *Tx)
func (*NullableTx) UnmarshalJSON ¶
func (v *NullableTx) UnmarshalJSON(src []byte) error
func (*NullableTx) Unset ¶
func (v *NullableTx) Unset()
type NullableTxConfirmation ¶ added in v0.0.6
type NullableTxConfirmation struct {
// contains filtered or unexported fields
}
func NewNullableTxConfirmation ¶ added in v0.0.6
func NewNullableTxConfirmation(val *TxConfirmation) *NullableTxConfirmation
func (NullableTxConfirmation) Get ¶ added in v0.0.6
func (v NullableTxConfirmation) Get() *TxConfirmation
func (NullableTxConfirmation) IsSet ¶ added in v0.0.6
func (v NullableTxConfirmation) IsSet() bool
func (NullableTxConfirmation) MarshalJSON ¶ added in v0.0.6
func (v NullableTxConfirmation) MarshalJSON() ([]byte, error)
func (*NullableTxConfirmation) Set ¶ added in v0.0.6
func (v *NullableTxConfirmation) Set(val *TxConfirmation)
func (*NullableTxConfirmation) UnmarshalJSON ¶ added in v0.0.6
func (v *NullableTxConfirmation) UnmarshalJSON(src []byte) error
func (*NullableTxConfirmation) Unset ¶ added in v0.0.6
func (v *NullableTxConfirmation) Unset()
type NullableTxDestination ¶
type NullableTxDestination struct {
// contains filtered or unexported fields
}
func NewNullableTxDestination ¶
func NewNullableTxDestination(val *TxDestination) *NullableTxDestination
func (NullableTxDestination) Get ¶
func (v NullableTxDestination) Get() *TxDestination
func (NullableTxDestination) IsSet ¶
func (v NullableTxDestination) IsSet() bool
func (NullableTxDestination) MarshalJSON ¶
func (v NullableTxDestination) MarshalJSON() ([]byte, error)
func (*NullableTxDestination) Set ¶
func (v *NullableTxDestination) Set(val *TxDestination)
func (*NullableTxDestination) UnmarshalJSON ¶
func (v *NullableTxDestination) UnmarshalJSON(src []byte) error
func (*NullableTxDestination) Unset ¶
func (v *NullableTxDestination) Unset()
type NullableTxPage ¶
type NullableTxPage struct {
// contains filtered or unexported fields
}
func NewNullableTxPage ¶
func NewNullableTxPage(val *TxPage) *NullableTxPage
func (NullableTxPage) Get ¶
func (v NullableTxPage) Get() *TxPage
func (NullableTxPage) IsSet ¶
func (v NullableTxPage) IsSet() bool
func (NullableTxPage) MarshalJSON ¶
func (v NullableTxPage) MarshalJSON() ([]byte, error)
func (*NullableTxPage) Set ¶
func (v *NullableTxPage) Set(val *TxPage)
func (*NullableTxPage) UnmarshalJSON ¶
func (v *NullableTxPage) UnmarshalJSON(src []byte) error
func (*NullableTxPage) Unset ¶
func (v *NullableTxPage) Unset()
type NullableTxPageV1 ¶ added in v0.0.6
type NullableTxPageV1 struct {
// contains filtered or unexported fields
}
func NewNullableTxPageV1 ¶ added in v0.0.6
func NewNullableTxPageV1(val *TxPageV1) *NullableTxPageV1
func (NullableTxPageV1) Get ¶ added in v0.0.6
func (v NullableTxPageV1) Get() *TxPageV1
func (NullableTxPageV1) IsSet ¶ added in v0.0.6
func (v NullableTxPageV1) IsSet() bool
func (NullableTxPageV1) MarshalJSON ¶ added in v0.0.6
func (v NullableTxPageV1) MarshalJSON() ([]byte, error)
func (*NullableTxPageV1) Set ¶ added in v0.0.6
func (v *NullableTxPageV1) Set(val *TxPageV1)
func (*NullableTxPageV1) UnmarshalJSON ¶ added in v0.0.6
func (v *NullableTxPageV1) UnmarshalJSON(src []byte) error
func (*NullableTxPageV1) Unset ¶ added in v0.0.6
func (v *NullableTxPageV1) Unset()
type NullableTxReceipt ¶
type NullableTxReceipt struct {
// contains filtered or unexported fields
}
func NewNullableTxReceipt ¶
func NewNullableTxReceipt(val *TxReceipt) *NullableTxReceipt
func (NullableTxReceipt) Get ¶
func (v NullableTxReceipt) Get() *TxReceipt
func (NullableTxReceipt) IsSet ¶
func (v NullableTxReceipt) IsSet() bool
func (NullableTxReceipt) MarshalJSON ¶
func (v NullableTxReceipt) MarshalJSON() ([]byte, error)
func (*NullableTxReceipt) Set ¶
func (v *NullableTxReceipt) Set(val *TxReceipt)
func (*NullableTxReceipt) UnmarshalJSON ¶
func (v *NullableTxReceipt) UnmarshalJSON(src []byte) error
func (*NullableTxReceipt) Unset ¶
func (v *NullableTxReceipt) Unset()
type NullableTxV1 ¶ added in v0.0.6
type NullableTxV1 struct {
// contains filtered or unexported fields
}
func NewNullableTxV1 ¶ added in v0.0.6
func NewNullableTxV1(val *TxV1) *NullableTxV1
func (NullableTxV1) Get ¶ added in v0.0.6
func (v NullableTxV1) Get() *TxV1
func (NullableTxV1) IsSet ¶ added in v0.0.6
func (v NullableTxV1) IsSet() bool
func (NullableTxV1) MarshalJSON ¶ added in v0.0.6
func (v NullableTxV1) MarshalJSON() ([]byte, error)
func (*NullableTxV1) Set ¶ added in v0.0.6
func (v *NullableTxV1) Set(val *TxV1)
func (*NullableTxV1) UnmarshalJSON ¶ added in v0.0.6
func (v *NullableTxV1) UnmarshalJSON(src []byte) error
func (*NullableTxV1) Unset ¶ added in v0.0.6
func (v *NullableTxV1) 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 Operation ¶
type Operation struct { MultiTransferOperation *MultiTransferOperation TransferOperation *TransferOperation }
Operation - struct for Operation
func MultiTransferOperationAsOperation ¶
func MultiTransferOperationAsOperation(v *MultiTransferOperation) Operation
MultiTransferOperationAsOperation is a convenience function that returns MultiTransferOperation wrapped in Operation
func TransferOperationAsOperation ¶
func TransferOperationAsOperation(v *TransferOperation) Operation
TransferOperationAsOperation is a convenience function that returns TransferOperation wrapped in Operation
func (*Operation) GetActualInstance ¶
func (obj *Operation) GetActualInstance() interface{}
Get the actual instance
func (Operation) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Operation) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type PlatformDetail ¶
type PlatformDetail struct { // Backend API Type Source *string `json:"source,omitempty"` Handle *string `json:"handle,omitempty"` GenesisNumber *int64 `json:"genesis_number,omitempty"` Endpoints *[]string `json:"endpoints,omitempty"` }
PlatformDetail struct for PlatformDetail
func NewPlatformDetail ¶
func NewPlatformDetail() *PlatformDetail
NewPlatformDetail instantiates a new PlatformDetail 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 NewPlatformDetailWithDefaults ¶
func NewPlatformDetailWithDefaults() *PlatformDetail
NewPlatformDetailWithDefaults instantiates a new PlatformDetail 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 (*PlatformDetail) GetEndpoints ¶
func (o *PlatformDetail) GetEndpoints() []string
GetEndpoints returns the Endpoints field value if set, zero value otherwise.
func (*PlatformDetail) GetEndpointsOk ¶
func (o *PlatformDetail) GetEndpointsOk() (*[]string, bool)
GetEndpointsOk returns a tuple with the Endpoints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlatformDetail) GetGenesisNumber ¶
func (o *PlatformDetail) GetGenesisNumber() int64
GetGenesisNumber returns the GenesisNumber field value if set, zero value otherwise.
func (*PlatformDetail) GetGenesisNumberOk ¶
func (o *PlatformDetail) GetGenesisNumberOk() (*int64, bool)
GetGenesisNumberOk returns a tuple with the GenesisNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlatformDetail) GetHandle ¶
func (o *PlatformDetail) GetHandle() string
GetHandle returns the Handle field value if set, zero value otherwise.
func (*PlatformDetail) GetHandleOk ¶
func (o *PlatformDetail) GetHandleOk() (*string, bool)
GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlatformDetail) GetSource ¶
func (o *PlatformDetail) GetSource() string
GetSource returns the Source field value if set, zero value otherwise.
func (*PlatformDetail) GetSourceOk ¶
func (o *PlatformDetail) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlatformDetail) HasEndpoints ¶
func (o *PlatformDetail) HasEndpoints() bool
HasEndpoints returns a boolean if a field has been set.
func (*PlatformDetail) HasGenesisNumber ¶
func (o *PlatformDetail) HasGenesisNumber() bool
HasGenesisNumber returns a boolean if a field has been set.
func (*PlatformDetail) HasHandle ¶
func (o *PlatformDetail) HasHandle() bool
HasHandle returns a boolean if a field has been set.
func (*PlatformDetail) HasSource ¶
func (o *PlatformDetail) HasSource() bool
HasSource returns a boolean if a field has been set.
func (PlatformDetail) MarshalJSON ¶
func (o PlatformDetail) MarshalJSON() ([]byte, error)
func (*PlatformDetail) SetEndpoints ¶
func (o *PlatformDetail) SetEndpoints(v []string)
SetEndpoints gets a reference to the given []string and assigns it to the Endpoints field.
func (*PlatformDetail) SetGenesisNumber ¶
func (o *PlatformDetail) SetGenesisNumber(v int64)
SetGenesisNumber gets a reference to the given int64 and assigns it to the GenesisNumber field.
func (*PlatformDetail) SetHandle ¶
func (o *PlatformDetail) SetHandle(v string)
SetHandle gets a reference to the given string and assigns it to the Handle field.
func (*PlatformDetail) SetSource ¶
func (o *PlatformDetail) SetSource(v string)
SetSource gets a reference to the given string and assigns it to the Source field.
type PlatformEndpoint ¶
type PlatformEndpoint struct { Path *string `json:"path,omitempty"` Example *string `json:"example,omitempty"` }
PlatformEndpoint struct for PlatformEndpoint
func NewPlatformEndpoint ¶
func NewPlatformEndpoint() *PlatformEndpoint
NewPlatformEndpoint instantiates a new PlatformEndpoint 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 NewPlatformEndpointWithDefaults ¶
func NewPlatformEndpointWithDefaults() *PlatformEndpoint
NewPlatformEndpointWithDefaults instantiates a new PlatformEndpoint 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 (*PlatformEndpoint) GetExample ¶
func (o *PlatformEndpoint) GetExample() string
GetExample returns the Example field value if set, zero value otherwise.
func (*PlatformEndpoint) GetExampleOk ¶
func (o *PlatformEndpoint) GetExampleOk() (*string, bool)
GetExampleOk returns a tuple with the Example field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlatformEndpoint) GetPath ¶
func (o *PlatformEndpoint) GetPath() string
GetPath returns the Path field value if set, zero value otherwise.
func (*PlatformEndpoint) GetPathOk ¶
func (o *PlatformEndpoint) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlatformEndpoint) HasExample ¶
func (o *PlatformEndpoint) HasExample() bool
HasExample returns a boolean if a field has been set.
func (*PlatformEndpoint) HasPath ¶
func (o *PlatformEndpoint) HasPath() bool
HasPath returns a boolean if a field has been set.
func (PlatformEndpoint) MarshalJSON ¶
func (o PlatformEndpoint) MarshalJSON() ([]byte, error)
func (*PlatformEndpoint) SetExample ¶
func (o *PlatformEndpoint) SetExample(v string)
SetExample gets a reference to the given string and assigns it to the Example field.
func (*PlatformEndpoint) SetPath ¶
func (o *PlatformEndpoint) SetPath(v string)
SetPath gets a reference to the given string and assigns it to the Path field.
type PlatformsAPI ¶
type PlatformsAPI interface { /* * GetPlatform Platform Info * Provides information about supported endpoints and generic platform information. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiGetPlatformRequest */ GetPlatform(ctx _context.Context, platform string, network string) ApiGetPlatformRequest /* * GetPlatformExecute executes the request * @return PlatformDetail */ GetPlatformExecute(r ApiGetPlatformRequest) (PlatformDetail, *_nethttp.Response, error) /* * GetPlatformEndpoints Platform Info * Provides information about supported endpoints and generic platform information. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiGetPlatformEndpointsRequest */ GetPlatformEndpoints(ctx _context.Context, platform string, network string) ApiGetPlatformEndpointsRequest /* * GetPlatformEndpointsExecute executes the request * @return PlatformDetail */ GetPlatformEndpointsExecute(r ApiGetPlatformEndpointsRequest) (PlatformDetail, *_nethttp.Response, error) /* * GetPlatforms Platforms overview * Provides a list of supported platforms and networks. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetPlatformsRequest */ GetPlatforms(ctx _context.Context) ApiGetPlatformsRequest /* * GetPlatformsExecute executes the request * @return PlatformsOverview */ GetPlatformsExecute(r ApiGetPlatformsRequest) (PlatformsOverview, *_nethttp.Response, error) /* * GetPlatformsList Platforms overview * Provides a list of supported platforms and networks. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetPlatformsListRequest */ GetPlatformsList(ctx _context.Context) ApiGetPlatformsListRequest /* * GetPlatformsListExecute executes the request * @return PlatformsOverview */ GetPlatformsListExecute(r ApiGetPlatformsListRequest) (PlatformsOverview, *_nethttp.Response, error) }
type PlatformsAPIService ¶
type PlatformsAPIService service
PlatformsAPIService PlatformsAPI service
func (*PlatformsAPIService) GetPlatform ¶
func (a *PlatformsAPIService) GetPlatform(ctx _context.Context, platform string, network string) ApiGetPlatformRequest
* GetPlatform Platform Info * Provides information about supported endpoints and generic platform information.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiGetPlatformRequest
func (*PlatformsAPIService) GetPlatformEndpoints ¶ added in v0.0.6
func (a *PlatformsAPIService) GetPlatformEndpoints(ctx _context.Context, platform string, network string) ApiGetPlatformEndpointsRequest
* GetPlatformEndpoints Platform Info * Provides information about supported endpoints and generic platform information.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiGetPlatformEndpointsRequest
func (*PlatformsAPIService) GetPlatformEndpointsExecute ¶ added in v0.0.6
func (a *PlatformsAPIService) GetPlatformEndpointsExecute(r ApiGetPlatformEndpointsRequest) (PlatformDetail, *_nethttp.Response, error)
* Execute executes the request * @return PlatformDetail
func (*PlatformsAPIService) GetPlatformExecute ¶
func (a *PlatformsAPIService) GetPlatformExecute(r ApiGetPlatformRequest) (PlatformDetail, *_nethttp.Response, error)
* Execute executes the request * @return PlatformDetail
func (*PlatformsAPIService) GetPlatforms ¶ added in v0.0.3
func (a *PlatformsAPIService) GetPlatforms(ctx _context.Context) ApiGetPlatformsRequest
* GetPlatforms Platforms overview * Provides a list of supported platforms and networks.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetPlatformsRequest
func (*PlatformsAPIService) GetPlatformsExecute ¶ added in v0.0.3
func (a *PlatformsAPIService) GetPlatformsExecute(r ApiGetPlatformsRequest) (PlatformsOverview, *_nethttp.Response, error)
* Execute executes the request * @return PlatformsOverview
func (*PlatformsAPIService) GetPlatformsList ¶ added in v0.0.6
func (a *PlatformsAPIService) GetPlatformsList(ctx _context.Context) ApiGetPlatformsListRequest
* GetPlatformsList Platforms overview * Provides a list of supported platforms and networks.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetPlatformsListRequest
func (*PlatformsAPIService) GetPlatformsListExecute ¶ added in v0.0.6
func (a *PlatformsAPIService) GetPlatformsListExecute(r ApiGetPlatformsListRequest) (PlatformsOverview, *_nethttp.Response, error)
* Execute executes the request * @return PlatformsOverview
type PlatformsOverview ¶ added in v0.0.3
type PlatformsOverview struct { // List of items each describing a pair of supported platform and network. Platforms *[]PlatformsOverviewPlatforms `json:"platforms,omitempty"` }
PlatformsOverview struct for PlatformsOverview
func NewPlatformsOverview ¶ added in v0.0.3
func NewPlatformsOverview() *PlatformsOverview
NewPlatformsOverview instantiates a new PlatformsOverview 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 NewPlatformsOverviewWithDefaults ¶ added in v0.0.3
func NewPlatformsOverviewWithDefaults() *PlatformsOverview
NewPlatformsOverviewWithDefaults instantiates a new PlatformsOverview 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 (*PlatformsOverview) GetPlatforms ¶ added in v0.0.3
func (o *PlatformsOverview) GetPlatforms() []PlatformsOverviewPlatforms
GetPlatforms returns the Platforms field value if set, zero value otherwise.
func (*PlatformsOverview) GetPlatformsOk ¶ added in v0.0.3
func (o *PlatformsOverview) GetPlatformsOk() (*[]PlatformsOverviewPlatforms, bool)
GetPlatformsOk returns a tuple with the Platforms field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlatformsOverview) HasPlatforms ¶ added in v0.0.3
func (o *PlatformsOverview) HasPlatforms() bool
HasPlatforms returns a boolean if a field has been set.
func (PlatformsOverview) MarshalJSON ¶ added in v0.0.3
func (o PlatformsOverview) MarshalJSON() ([]byte, error)
func (*PlatformsOverview) SetPlatforms ¶ added in v0.0.3
func (o *PlatformsOverview) SetPlatforms(v []PlatformsOverviewPlatforms)
SetPlatforms gets a reference to the given []PlatformsOverviewPlatforms and assigns it to the Platforms field.
type PlatformsOverviewPlatforms ¶ added in v0.0.3
type PlatformsOverviewPlatforms struct { Handle *string `json:"handle,omitempty"` Network *string `json:"network,omitempty"` }
PlatformsOverviewPlatforms struct for PlatformsOverviewPlatforms
func NewPlatformsOverviewPlatforms ¶ added in v0.0.3
func NewPlatformsOverviewPlatforms() *PlatformsOverviewPlatforms
NewPlatformsOverviewPlatforms instantiates a new PlatformsOverviewPlatforms 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 NewPlatformsOverviewPlatformsWithDefaults ¶ added in v0.0.3
func NewPlatformsOverviewPlatformsWithDefaults() *PlatformsOverviewPlatforms
NewPlatformsOverviewPlatformsWithDefaults instantiates a new PlatformsOverviewPlatforms 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 (*PlatformsOverviewPlatforms) GetHandle ¶ added in v0.0.3
func (o *PlatformsOverviewPlatforms) GetHandle() string
GetHandle returns the Handle field value if set, zero value otherwise.
func (*PlatformsOverviewPlatforms) GetHandleOk ¶ added in v0.0.3
func (o *PlatformsOverviewPlatforms) GetHandleOk() (*string, bool)
GetHandleOk returns a tuple with the Handle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlatformsOverviewPlatforms) GetNetwork ¶ added in v0.0.3
func (o *PlatformsOverviewPlatforms) GetNetwork() string
GetNetwork returns the Network field value if set, zero value otherwise.
func (*PlatformsOverviewPlatforms) GetNetworkOk ¶ added in v0.0.3
func (o *PlatformsOverviewPlatforms) GetNetworkOk() (*string, 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 (*PlatformsOverviewPlatforms) HasHandle ¶ added in v0.0.3
func (o *PlatformsOverviewPlatforms) HasHandle() bool
HasHandle returns a boolean if a field has been set.
func (*PlatformsOverviewPlatforms) HasNetwork ¶ added in v0.0.3
func (o *PlatformsOverviewPlatforms) HasNetwork() bool
HasNetwork returns a boolean if a field has been set.
func (PlatformsOverviewPlatforms) MarshalJSON ¶ added in v0.0.3
func (o PlatformsOverviewPlatforms) MarshalJSON() ([]byte, error)
func (*PlatformsOverviewPlatforms) SetHandle ¶ added in v0.0.3
func (o *PlatformsOverviewPlatforms) SetHandle(v string)
SetHandle gets a reference to the given string and assigns it to the Handle field.
func (*PlatformsOverviewPlatforms) SetNetwork ¶ added in v0.0.3
func (o *PlatformsOverviewPlatforms) SetNetwork(v string)
SetNetwork gets a reference to the given string and assigns it to the Network field.
type Report ¶
type Report struct { // Transaction items Fields []ReportField `json:"fields"` // The number of transactions in the report Items int32 `json:"items"` // The limit number provided in the request or the default Limit *int32 `json:"limit,omitempty"` // Continuation token to send in the next request if there are more items Continuation *string `json:"continuation,omitempty"` }
Report struct for Report
func NewReport ¶
func NewReport(fields []ReportField, items int32) *Report
NewReport instantiates a new Report 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 NewReportWithDefaults ¶
func NewReportWithDefaults() *Report
NewReportWithDefaults instantiates a new Report 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 (*Report) GetContinuation ¶ added in v0.0.6
GetContinuation returns the Continuation field value if set, zero value otherwise.
func (*Report) GetContinuationOk ¶ added in v0.0.6
GetContinuationOk returns a tuple with the Continuation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Report) GetFields ¶
func (o *Report) GetFields() []ReportField
GetFields returns the Fields field value
func (*Report) GetFieldsOk ¶
func (o *Report) GetFieldsOk() (*[]ReportField, bool)
GetFieldsOk returns a tuple with the Fields field value and a boolean to check if the value has been set.
func (*Report) GetItemsOk ¶
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*Report) GetLimit ¶ added in v0.0.6
GetLimit returns the Limit field value if set, zero value otherwise.
func (*Report) GetLimitOk ¶ added in v0.0.6
GetLimitOk returns a tuple with the Limit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Report) HasContinuation ¶ added in v0.0.6
HasContinuation returns a boolean if a field has been set.
func (Report) MarshalJSON ¶
func (*Report) SetContinuation ¶ added in v0.0.6
SetContinuation gets a reference to the given string and assigns it to the Continuation field.
type ReportField ¶
type ReportField struct { // The protocol the address relates to Protocol string `json:"protocol"` // The wallet/account the transaction occurred Address string `json:"address"` // The currency symbol Currency string `json:"currency"` // The ID of the event within a transaction EventId string `json:"event_id"` // The block number the transaction occurred on Block int64 `json:"block"` // The unix timestamp when the transaction was added to a block Timestamp int32 `json:"timestamp"` // The transaction ID Hash string `json:"hash"` // The action type e.g. Transfer, Deposit, Staking Reward etc.. Action string `json:"action"` // The amount of currency involved in the transaction (smallest unit) Value string `json:"value"` // The address where the funds originated SenderAddress string `json:"sender_address"` // How much was charged as a fee for processing the transaction Fee string `json:"fee"` // The number of decimals in one coin, used to convert smallest unit to 1 whole coin if needed Decimals int32 `json:"decimals"` Meta NullableReportFieldMeta `json:"meta,omitempty"` }
ReportField struct for ReportField
func NewReportField ¶
func NewReportField(protocol string, address string, currency string, eventId string, block int64, timestamp int32, hash string, action string, value string, senderAddress string, fee string, decimals int32) *ReportField
NewReportField instantiates a new ReportField 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 NewReportFieldWithDefaults ¶
func NewReportFieldWithDefaults() *ReportField
NewReportFieldWithDefaults instantiates a new ReportField 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 (*ReportField) GetAction ¶
func (o *ReportField) GetAction() string
GetAction returns the Action field value
func (*ReportField) GetActionOk ¶
func (o *ReportField) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*ReportField) GetAddress ¶
func (o *ReportField) GetAddress() string
GetAddress returns the Address field value
func (*ReportField) GetAddressOk ¶
func (o *ReportField) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*ReportField) GetBlock ¶
func (o *ReportField) GetBlock() int64
GetBlock returns the Block field value
func (*ReportField) GetBlockOk ¶
func (o *ReportField) GetBlockOk() (*int64, bool)
GetBlockOk returns a tuple with the Block field value and a boolean to check if the value has been set.
func (*ReportField) GetCurrency ¶
func (o *ReportField) GetCurrency() string
GetCurrency returns the Currency field value
func (*ReportField) GetCurrencyOk ¶
func (o *ReportField) GetCurrencyOk() (*string, bool)
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*ReportField) GetDecimals ¶
func (o *ReportField) GetDecimals() int32
GetDecimals returns the Decimals field value
func (*ReportField) GetDecimalsOk ¶
func (o *ReportField) GetDecimalsOk() (*int32, bool)
GetDecimalsOk returns a tuple with the Decimals field value and a boolean to check if the value has been set.
func (*ReportField) GetEventId ¶
func (o *ReportField) GetEventId() string
GetEventId returns the EventId field value
func (*ReportField) GetEventIdOk ¶
func (o *ReportField) GetEventIdOk() (*string, bool)
GetEventIdOk returns a tuple with the EventId field value and a boolean to check if the value has been set.
func (*ReportField) GetFee ¶
func (o *ReportField) GetFee() string
GetFee returns the Fee field value
func (*ReportField) GetFeeOk ¶
func (o *ReportField) GetFeeOk() (*string, bool)
GetFeeOk returns a tuple with the Fee field value and a boolean to check if the value has been set.
func (*ReportField) GetHash ¶
func (o *ReportField) GetHash() string
GetHash returns the Hash field value
func (*ReportField) GetHashOk ¶
func (o *ReportField) GetHashOk() (*string, bool)
GetHashOk returns a tuple with the Hash field value and a boolean to check if the value has been set.
func (*ReportField) GetMeta ¶
func (o *ReportField) GetMeta() ReportFieldMeta
GetMeta returns the Meta field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ReportField) GetMetaOk ¶
func (o *ReportField) GetMetaOk() (*ReportFieldMeta, bool)
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ReportField) GetProtocol ¶
func (o *ReportField) GetProtocol() string
GetProtocol returns the Protocol field value
func (*ReportField) GetProtocolOk ¶
func (o *ReportField) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field value and a boolean to check if the value has been set.
func (*ReportField) GetSenderAddress ¶
func (o *ReportField) GetSenderAddress() string
GetSenderAddress returns the SenderAddress field value
func (*ReportField) GetSenderAddressOk ¶
func (o *ReportField) GetSenderAddressOk() (*string, bool)
GetSenderAddressOk returns a tuple with the SenderAddress field value and a boolean to check if the value has been set.
func (*ReportField) GetTimestamp ¶
func (o *ReportField) GetTimestamp() int32
GetTimestamp returns the Timestamp field value
func (*ReportField) GetTimestampOk ¶
func (o *ReportField) GetTimestampOk() (*int32, bool)
GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.
func (*ReportField) GetValue ¶
func (o *ReportField) GetValue() string
GetValue returns the Value field value
func (*ReportField) GetValueOk ¶
func (o *ReportField) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (*ReportField) HasMeta ¶
func (o *ReportField) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (ReportField) MarshalJSON ¶
func (o ReportField) MarshalJSON() ([]byte, error)
func (*ReportField) SetAction ¶
func (o *ReportField) SetAction(v string)
SetAction sets field value
func (*ReportField) SetAddress ¶
func (o *ReportField) SetAddress(v string)
SetAddress sets field value
func (*ReportField) SetCurrency ¶
func (o *ReportField) SetCurrency(v string)
SetCurrency sets field value
func (*ReportField) SetDecimals ¶
func (o *ReportField) SetDecimals(v int32)
SetDecimals sets field value
func (*ReportField) SetEventId ¶
func (o *ReportField) SetEventId(v string)
SetEventId sets field value
func (*ReportField) SetMeta ¶
func (o *ReportField) SetMeta(v ReportFieldMeta)
SetMeta gets a reference to the given NullableReportFieldMeta and assigns it to the Meta field.
func (*ReportField) SetMetaNil ¶
func (o *ReportField) SetMetaNil()
SetMetaNil sets the value for Meta to be an explicit nil
func (*ReportField) SetProtocol ¶
func (o *ReportField) SetProtocol(v string)
SetProtocol sets field value
func (*ReportField) SetSenderAddress ¶
func (o *ReportField) SetSenderAddress(v string)
SetSenderAddress sets field value
func (*ReportField) SetTimestamp ¶
func (o *ReportField) SetTimestamp(v int32)
SetTimestamp sets field value
func (*ReportField) UnsetMeta ¶
func (o *ReportField) UnsetMeta()
UnsetMeta ensures that no value is present for Meta, not even an explicit nil
type ReportFieldMeta ¶
type ReportFieldMeta struct {
AlgorandMeta *AlgorandMeta
}
ReportFieldMeta - Additional metadata bespoke to specific protocols
func AlgorandMetaAsReportFieldMeta ¶
func AlgorandMetaAsReportFieldMeta(v *AlgorandMeta) ReportFieldMeta
AlgorandMetaAsReportFieldMeta is a convenience function that returns AlgorandMeta wrapped in ReportFieldMeta
func (*ReportFieldMeta) GetActualInstance ¶
func (obj *ReportFieldMeta) GetActualInstance() interface{}
Get the actual instance
func (ReportFieldMeta) MarshalJSON ¶
func (src ReportFieldMeta) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ReportFieldMeta) UnmarshalJSON ¶
func (dst *ReportFieldMeta) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SignedTx ¶
type SignedTx struct { // The signed TX Tx string `json:"tx"` }
SignedTx struct for SignedTx
func NewSignedTx ¶
NewSignedTx instantiates a new SignedTx 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 NewSignedTxWithDefaults ¶
func NewSignedTxWithDefaults() *SignedTx
NewSignedTxWithDefaults instantiates a new SignedTx 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 (*SignedTx) GetTxOk ¶
GetTxOk returns a tuple with the Tx field value and a boolean to check if the value has been set.
func (SignedTx) MarshalJSON ¶
type SmartToken ¶
type SmartToken struct { // Name of token mechanism (smart contract) Type string `json:"type"` // Address of contract Contract string `json:"contract"` }
SmartToken struct for SmartToken
func NewSmartToken ¶
func NewSmartToken(type_ string, contract string) *SmartToken
NewSmartToken instantiates a new SmartToken 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 NewSmartTokenWithDefaults ¶
func NewSmartTokenWithDefaults() *SmartToken
NewSmartTokenWithDefaults instantiates a new SmartToken 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 (*SmartToken) GetContract ¶
func (o *SmartToken) GetContract() string
GetContract returns the Contract field value
func (*SmartToken) GetContractOk ¶
func (o *SmartToken) GetContractOk() (*string, bool)
GetContractOk returns a tuple with the Contract field value and a boolean to check if the value has been set.
func (*SmartToken) GetType ¶
func (o *SmartToken) GetType() string
GetType returns the Type field value
func (*SmartToken) GetTypeOk ¶
func (o *SmartToken) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (SmartToken) MarshalJSON ¶
func (o SmartToken) MarshalJSON() ([]byte, error)
func (*SmartToken) SetContract ¶
func (o *SmartToken) SetContract(v string)
SetContract sets field value
type SmartTokenCurrency ¶
type SmartTokenCurrency struct { // Asset path of transferred currency AssetPath string `json:"asset_path"` // Currency symbol Symbol *string `json:"symbol,omitempty"` // Name of currency Name *string `json:"name,omitempty"` // Decimal places right to the comma Decimals *int32 `json:"decimals,omitempty"` Type string `json:"type"` Detail *SmartToken `json:"detail,omitempty"` }
SmartTokenCurrency struct for SmartTokenCurrency
func NewSmartTokenCurrency ¶
func NewSmartTokenCurrency(assetPath string, type_ string) *SmartTokenCurrency
NewSmartTokenCurrency instantiates a new SmartTokenCurrency 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 NewSmartTokenCurrencyWithDefaults ¶
func NewSmartTokenCurrencyWithDefaults() *SmartTokenCurrency
NewSmartTokenCurrencyWithDefaults instantiates a new SmartTokenCurrency 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 (*SmartTokenCurrency) GetAssetPath ¶
func (o *SmartTokenCurrency) GetAssetPath() string
GetAssetPath returns the AssetPath field value
func (*SmartTokenCurrency) GetAssetPathOk ¶
func (o *SmartTokenCurrency) GetAssetPathOk() (*string, bool)
GetAssetPathOk returns a tuple with the AssetPath field value and a boolean to check if the value has been set.
func (*SmartTokenCurrency) GetDecimals ¶
func (o *SmartTokenCurrency) GetDecimals() int32
GetDecimals returns the Decimals field value if set, zero value otherwise.
func (*SmartTokenCurrency) GetDecimalsOk ¶
func (o *SmartTokenCurrency) GetDecimalsOk() (*int32, bool)
GetDecimalsOk returns a tuple with the Decimals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SmartTokenCurrency) GetDetail ¶
func (o *SmartTokenCurrency) GetDetail() SmartToken
GetDetail returns the Detail field value if set, zero value otherwise.
func (*SmartTokenCurrency) GetDetailOk ¶
func (o *SmartTokenCurrency) GetDetailOk() (*SmartToken, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SmartTokenCurrency) GetName ¶
func (o *SmartTokenCurrency) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SmartTokenCurrency) GetNameOk ¶
func (o *SmartTokenCurrency) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SmartTokenCurrency) GetSymbol ¶
func (o *SmartTokenCurrency) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*SmartTokenCurrency) GetSymbolOk ¶
func (o *SmartTokenCurrency) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SmartTokenCurrency) GetType ¶
func (o *SmartTokenCurrency) GetType() string
GetType returns the Type field value
func (*SmartTokenCurrency) GetTypeOk ¶
func (o *SmartTokenCurrency) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*SmartTokenCurrency) HasDecimals ¶
func (o *SmartTokenCurrency) HasDecimals() bool
HasDecimals returns a boolean if a field has been set.
func (*SmartTokenCurrency) HasDetail ¶
func (o *SmartTokenCurrency) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*SmartTokenCurrency) HasName ¶
func (o *SmartTokenCurrency) HasName() bool
HasName returns a boolean if a field has been set.
func (*SmartTokenCurrency) HasSymbol ¶
func (o *SmartTokenCurrency) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (SmartTokenCurrency) MarshalJSON ¶
func (o SmartTokenCurrency) MarshalJSON() ([]byte, error)
func (*SmartTokenCurrency) SetAssetPath ¶
func (o *SmartTokenCurrency) SetAssetPath(v string)
SetAssetPath sets field value
func (*SmartTokenCurrency) SetDecimals ¶
func (o *SmartTokenCurrency) SetDecimals(v int32)
SetDecimals gets a reference to the given int32 and assigns it to the Decimals field.
func (*SmartTokenCurrency) SetDetail ¶
func (o *SmartTokenCurrency) SetDetail(v SmartToken)
SetDetail gets a reference to the given SmartToken and assigns it to the Detail field.
func (*SmartTokenCurrency) SetName ¶
func (o *SmartTokenCurrency) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SmartTokenCurrency) SetSymbol ¶
func (o *SmartTokenCurrency) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
func (*SmartTokenCurrency) SetType ¶
func (o *SmartTokenCurrency) SetType(v string)
SetType sets field value
type Supply ¶
type Supply struct { // Maximum supply Maximum *string `json:"maximum,omitempty"` // Total supply at block height, excluding burnt coins Total *string `json:"total,omitempty"` // Total coins created historically up until this block TotalCreated *string `json:"total_created,omitempty"` // Total coins burnt historically up until this block TotalBurnt *string `json:"total_burnt,omitempty"` // Coins created at this block Created *string `json:"created,omitempty"` }
Supply struct for Supply
func NewSupply ¶
func NewSupply() *Supply
NewSupply instantiates a new Supply 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 NewSupplyWithDefaults ¶
func NewSupplyWithDefaults() *Supply
NewSupplyWithDefaults instantiates a new Supply 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 (*Supply) GetCreated ¶
GetCreated returns the Created field value if set, zero value otherwise.
func (*Supply) GetCreatedOk ¶
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Supply) GetMaximum ¶
GetMaximum returns the Maximum field value if set, zero value otherwise.
func (*Supply) GetMaximumOk ¶
GetMaximumOk returns a tuple with the Maximum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Supply) GetTotalBurnt ¶
GetTotalBurnt returns the TotalBurnt field value if set, zero value otherwise.
func (*Supply) GetTotalBurntOk ¶
GetTotalBurntOk returns a tuple with the TotalBurnt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Supply) GetTotalCreated ¶
GetTotalCreated returns the TotalCreated field value if set, zero value otherwise.
func (*Supply) GetTotalCreatedOk ¶
GetTotalCreatedOk returns a tuple with the TotalCreated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Supply) GetTotalOk ¶
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Supply) HasCreated ¶
HasCreated returns a boolean if a field has been set.
func (*Supply) HasMaximum ¶
HasMaximum returns a boolean if a field has been set.
func (*Supply) HasTotalBurnt ¶
HasTotalBurnt returns a boolean if a field has been set.
func (*Supply) HasTotalCreated ¶
HasTotalCreated returns a boolean if a field has been set.
func (Supply) MarshalJSON ¶
func (*Supply) SetCreated ¶
SetCreated gets a reference to the given string and assigns it to the Created field.
func (*Supply) SetMaximum ¶
SetMaximum gets a reference to the given string and assigns it to the Maximum field.
func (*Supply) SetTotal ¶
SetTotal gets a reference to the given string and assigns it to the Total field.
func (*Supply) SetTotalBurnt ¶
SetTotalBurnt gets a reference to the given string and assigns it to the TotalBurnt field.
func (*Supply) SetTotalCreated ¶
SetTotalCreated gets a reference to the given string and assigns it to the TotalCreated field.
type SyncAPI ¶
type SyncAPI interface { /* * CurrentBlockID Get current block ID * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiCurrentBlockIDRequest */ CurrentBlockID(ctx _context.Context, platform string, network string) ApiCurrentBlockIDRequest /* * CurrentBlockIDExecute executes the request * @return string */ CurrentBlockIDExecute(r ApiCurrentBlockIDRequest) (string, *_nethttp.Response, error) /* * CurrentBlockNumber Get current block number * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiCurrentBlockNumberRequest */ CurrentBlockNumber(ctx _context.Context, platform string, network string) ApiCurrentBlockNumberRequest /* * CurrentBlockNumberExecute executes the request * @return int64 */ CurrentBlockNumberExecute(r ApiCurrentBlockNumberRequest) (int64, *_nethttp.Response, error) }
type SyncAPIService ¶
type SyncAPIService service
SyncAPIService SyncAPI service
func (*SyncAPIService) CurrentBlockID ¶
func (a *SyncAPIService) CurrentBlockID(ctx _context.Context, platform string, network string) ApiCurrentBlockIDRequest
* CurrentBlockID Get current block ID * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiCurrentBlockIDRequest
func (*SyncAPIService) CurrentBlockIDExecute ¶
func (a *SyncAPIService) CurrentBlockIDExecute(r ApiCurrentBlockIDRequest) (string, *_nethttp.Response, error)
* Execute executes the request * @return string
func (*SyncAPIService) CurrentBlockNumber ¶
func (a *SyncAPIService) CurrentBlockNumber(ctx _context.Context, platform string, network string) ApiCurrentBlockNumberRequest
* CurrentBlockNumber Get current block number * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiCurrentBlockNumberRequest
func (*SyncAPIService) CurrentBlockNumberExecute ¶
func (a *SyncAPIService) CurrentBlockNumberExecute(r ApiCurrentBlockNumberRequest) (int64, *_nethttp.Response, error)
* Execute executes the request * @return int64
type Token ¶
type Token struct { // Name of token mechanism Type string `json:"type"` // Token identifier Id string `json:"id"` // Address that created token Creator *string `json:"creator,omitempty"` }
Token struct for Token
func NewToken ¶
NewToken instantiates a new Token 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 NewTokenWithDefaults ¶
func NewTokenWithDefaults() *Token
NewTokenWithDefaults instantiates a new Token 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 (*Token) GetCreator ¶
GetCreator returns the Creator field value if set, zero value otherwise.
func (*Token) GetCreatorOk ¶
GetCreatorOk returns a tuple with the Creator field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Token) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Token) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Token) HasCreator ¶
HasCreator returns a boolean if a field has been set.
func (Token) MarshalJSON ¶
func (*Token) SetCreator ¶
SetCreator gets a reference to the given string and assigns it to the Creator field.
type TokenCurrency ¶
type TokenCurrency struct { // Asset path of transferred currency AssetPath string `json:"asset_path"` // Currency symbol Symbol *string `json:"symbol,omitempty"` // Name of currency Name *string `json:"name,omitempty"` // Decimal places right to the comma Decimals *int32 `json:"decimals,omitempty"` Type string `json:"type"` Detail *Token `json:"detail,omitempty"` }
TokenCurrency struct for TokenCurrency
func NewTokenCurrency ¶
func NewTokenCurrency(assetPath string, type_ string) *TokenCurrency
NewTokenCurrency instantiates a new TokenCurrency 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 NewTokenCurrencyWithDefaults ¶
func NewTokenCurrencyWithDefaults() *TokenCurrency
NewTokenCurrencyWithDefaults instantiates a new TokenCurrency 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 (*TokenCurrency) GetAssetPath ¶
func (o *TokenCurrency) GetAssetPath() string
GetAssetPath returns the AssetPath field value
func (*TokenCurrency) GetAssetPathOk ¶
func (o *TokenCurrency) GetAssetPathOk() (*string, bool)
GetAssetPathOk returns a tuple with the AssetPath field value and a boolean to check if the value has been set.
func (*TokenCurrency) GetDecimals ¶
func (o *TokenCurrency) GetDecimals() int32
GetDecimals returns the Decimals field value if set, zero value otherwise.
func (*TokenCurrency) GetDecimalsOk ¶
func (o *TokenCurrency) GetDecimalsOk() (*int32, bool)
GetDecimalsOk returns a tuple with the Decimals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TokenCurrency) GetDetail ¶
func (o *TokenCurrency) GetDetail() Token
GetDetail returns the Detail field value if set, zero value otherwise.
func (*TokenCurrency) GetDetailOk ¶
func (o *TokenCurrency) GetDetailOk() (*Token, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TokenCurrency) GetName ¶
func (o *TokenCurrency) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*TokenCurrency) GetNameOk ¶
func (o *TokenCurrency) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TokenCurrency) GetSymbol ¶
func (o *TokenCurrency) GetSymbol() string
GetSymbol returns the Symbol field value if set, zero value otherwise.
func (*TokenCurrency) GetSymbolOk ¶
func (o *TokenCurrency) GetSymbolOk() (*string, bool)
GetSymbolOk returns a tuple with the Symbol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TokenCurrency) GetType ¶
func (o *TokenCurrency) GetType() string
GetType returns the Type field value
func (*TokenCurrency) GetTypeOk ¶
func (o *TokenCurrency) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*TokenCurrency) HasDecimals ¶
func (o *TokenCurrency) HasDecimals() bool
HasDecimals returns a boolean if a field has been set.
func (*TokenCurrency) HasDetail ¶
func (o *TokenCurrency) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*TokenCurrency) HasName ¶
func (o *TokenCurrency) HasName() bool
HasName returns a boolean if a field has been set.
func (*TokenCurrency) HasSymbol ¶
func (o *TokenCurrency) HasSymbol() bool
HasSymbol returns a boolean if a field has been set.
func (TokenCurrency) MarshalJSON ¶
func (o TokenCurrency) MarshalJSON() ([]byte, error)
func (*TokenCurrency) SetAssetPath ¶
func (o *TokenCurrency) SetAssetPath(v string)
SetAssetPath sets field value
func (*TokenCurrency) SetDecimals ¶
func (o *TokenCurrency) SetDecimals(v int32)
SetDecimals gets a reference to the given int32 and assigns it to the Decimals field.
func (*TokenCurrency) SetDetail ¶
func (o *TokenCurrency) SetDetail(v Token)
SetDetail gets a reference to the given Token and assigns it to the Detail field.
func (*TokenCurrency) SetName ¶
func (o *TokenCurrency) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*TokenCurrency) SetSymbol ¶
func (o *TokenCurrency) SetSymbol(v string)
SetSymbol gets a reference to the given string and assigns it to the Symbol field.
type TransactionsAPI ¶
type TransactionsAPI interface { /* * EstimateFee Get fee estimate * Get a fee estimation in decimals from the network. If supported by the platform, the number of blocks used to make the estimation can be customized by the confirmed_within_blocks query parameter. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiEstimateFeeRequest */ EstimateFee(ctx _context.Context, platform string, network string) ApiEstimateFeeRequest /* * EstimateFeeExecute executes the request * @return string */ EstimateFeeExecute(r ApiEstimateFeeRequest) (string, *_nethttp.Response, error) /* * FeeEstimate Get fee estimate * Get a fee estimation in decimals from the ubiquity fee estimation service. Currently supported for Bitcoin and Ethereum. Endpoint will return 3 fee estimations fast, medium and slow * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiFeeEstimateRequest */ FeeEstimate(ctx _context.Context, platform string, network string) ApiFeeEstimateRequest /* * FeeEstimateExecute executes the request * @return FeeEstimate */ FeeEstimateExecute(r ApiFeeEstimateRequest) (FeeEstimate, *_nethttp.Response, error) /* * GetTx Transaction By Hash * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param id Transaction ID/Hash * @return ApiGetTxRequest */ GetTx(ctx _context.Context, platform string, network string, id string) ApiGetTxRequest /* * GetTxExecute executes the request * @return Tx */ GetTxExecute(r ApiGetTxRequest) (Tx, *_nethttp.Response, error) /* * GetTxConfirmations Transaction confirmations By Hash * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param id Transaction ID/Hash * @return ApiGetTxConfirmationsRequest */ GetTxConfirmations(ctx _context.Context, platform string, network string, id string) ApiGetTxConfirmationsRequest /* * GetTxConfirmationsExecute executes the request * @return TxConfirmation */ GetTxConfirmationsExecute(r ApiGetTxConfirmationsRequest) (TxConfirmation, *_nethttp.Response, error) /* * GetTxs All Transactions * Get all transactions on the platform, starting with the lastest one. Each call returns a slice of the entire list. Use the returned continuation token to get the next part. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiGetTxsRequest */ GetTxs(ctx _context.Context, platform string, network string) ApiGetTxsRequest /* * GetTxsExecute executes the request * @return TxPage */ GetTxsExecute(r ApiGetTxsRequest) (TxPage, *_nethttp.Response, error) /* * TxSend Submit a signed transaction * Submit a signed transaction to the network. **Note**: A successful transaction may still be rejected on chain or not processed due to a too low fee. You can monitor successful transactions through Ubiquity websockets. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiTxSendRequest */ TxSend(ctx _context.Context, platform string, network string) ApiTxSendRequest /* * TxSendExecute executes the request * @return TxReceipt */ TxSendExecute(r ApiTxSendRequest) (TxReceipt, *_nethttp.Response, error) }
type TransactionsAPIService ¶
type TransactionsAPIService service
TransactionsAPIService TransactionsAPI service
func (*TransactionsAPIService) EstimateFee ¶
func (a *TransactionsAPIService) EstimateFee(ctx _context.Context, platform string, network string) ApiEstimateFeeRequest
- EstimateFee Get fee estimate
- Get a fee estimation in decimals from the network.
If supported by the platform, the number of blocks used to make the estimation can be customized by the confirmed_within_blocks query parameter.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param platform Coin platform handle
- @param network Which network to target. Available networks can be found with /{platform}
- @return ApiEstimateFeeRequest
func (*TransactionsAPIService) EstimateFeeExecute ¶
func (a *TransactionsAPIService) EstimateFeeExecute(r ApiEstimateFeeRequest) (string, *_nethttp.Response, error)
* Execute executes the request * @return string
func (*TransactionsAPIService) FeeEstimate ¶ added in v0.0.6
func (a *TransactionsAPIService) FeeEstimate(ctx _context.Context, platform string, network string) ApiFeeEstimateRequest
- FeeEstimate Get fee estimate
- Get a fee estimation in decimals from the ubiquity fee estimation service.
Currently supported for Bitcoin and Ethereum. Endpoint will return 3 fee estimations fast, medium and slow
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param platform Coin platform handle
- @param network Which network to target. Available networks can be found with /{platform}
- @return ApiFeeEstimateRequest
func (*TransactionsAPIService) FeeEstimateExecute ¶ added in v0.0.6
func (a *TransactionsAPIService) FeeEstimateExecute(r ApiFeeEstimateRequest) (FeeEstimate, *_nethttp.Response, error)
* Execute executes the request * @return FeeEstimate
func (*TransactionsAPIService) GetTx ¶
func (a *TransactionsAPIService) GetTx(ctx _context.Context, platform string, network string, id string) ApiGetTxRequest
* GetTx Transaction By Hash * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param id Transaction ID/Hash * @return ApiGetTxRequest
func (*TransactionsAPIService) GetTxConfirmations ¶ added in v0.0.6
func (a *TransactionsAPIService) GetTxConfirmations(ctx _context.Context, platform string, network string, id string) ApiGetTxConfirmationsRequest
* GetTxConfirmations Transaction confirmations By Hash * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @param id Transaction ID/Hash * @return ApiGetTxConfirmationsRequest
func (*TransactionsAPIService) GetTxConfirmationsExecute ¶ added in v0.0.6
func (a *TransactionsAPIService) GetTxConfirmationsExecute(r ApiGetTxConfirmationsRequest) (TxConfirmation, *_nethttp.Response, error)
* Execute executes the request * @return TxConfirmation
func (*TransactionsAPIService) GetTxExecute ¶
func (a *TransactionsAPIService) GetTxExecute(r ApiGetTxRequest) (Tx, *_nethttp.Response, error)
* Execute executes the request * @return Tx
func (*TransactionsAPIService) GetTxs ¶
func (a *TransactionsAPIService) GetTxs(ctx _context.Context, platform string, network string) ApiGetTxsRequest
* GetTxs All Transactions * Get all transactions on the platform, starting with the lastest one. Each call returns a slice of the entire list. Use the returned continuation token to get the next part. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param platform Coin platform handle * @param network Which network to target. Available networks can be found with /{platform} * @return ApiGetTxsRequest
func (*TransactionsAPIService) GetTxsExecute ¶
func (a *TransactionsAPIService) GetTxsExecute(r ApiGetTxsRequest) (TxPage, *_nethttp.Response, error)
* Execute executes the request * @return TxPage
func (*TransactionsAPIService) TxSend ¶
func (a *TransactionsAPIService) TxSend(ctx _context.Context, platform string, network string) ApiTxSendRequest
- TxSend Submit a signed transaction
- Submit a signed transaction to the network.
**Note**: A successful transaction may still be rejected on chain or not processed due to a too low fee. You can monitor successful transactions through Ubiquity websockets.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param platform Coin platform handle
- @param network Which network to target. Available networks can be found with /{platform}
- @return ApiTxSendRequest
func (*TransactionsAPIService) TxSendExecute ¶
func (a *TransactionsAPIService) TxSendExecute(r ApiTxSendRequest) (TxReceipt, *_nethttp.Response, error)
* Execute executes the request * @return TxReceipt
type Transfer ¶
type Transfer struct { // Sender address From string `json:"from"` // Receiver address To string `json:"to"` Currency Currency `json:"currency"` // Integer string in smallest unit (Satoshis) Value string `json:"value"` Fee *Fee `json:"fee,omitempty"` }
Transfer Transfer of currency from one account to another
func NewTransfer ¶
NewTransfer instantiates a new Transfer 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 NewTransferWithDefaults ¶
func NewTransferWithDefaults() *Transfer
NewTransferWithDefaults instantiates a new Transfer 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 (*Transfer) GetCurrency ¶
GetCurrency returns the Currency field value
func (*Transfer) GetCurrencyOk ¶
GetCurrencyOk returns a tuple with the Currency field value and a boolean to check if the value has been set.
func (*Transfer) GetFeeOk ¶
GetFeeOk returns a tuple with the Fee field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transfer) GetFromOk ¶
GetFromOk returns a tuple with the From field value and a boolean to check if the value has been set.
func (*Transfer) GetToOk ¶
GetToOk returns a tuple with the To field value and a boolean to check if the value has been set.
func (*Transfer) GetValueOk ¶
GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.
func (Transfer) MarshalJSON ¶
func (*Transfer) SetCurrency ¶
SetCurrency sets field value
type TransferOperation ¶
type TransferOperation struct { Type string `json:"type"` Event *string `json:"event,omitempty"` Detail Transfer `json:"detail"` }
TransferOperation struct for TransferOperation
func NewTransferOperation ¶
func NewTransferOperation(type_ string, detail Transfer) *TransferOperation
NewTransferOperation instantiates a new TransferOperation 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 NewTransferOperationWithDefaults ¶
func NewTransferOperationWithDefaults() *TransferOperation
NewTransferOperationWithDefaults instantiates a new TransferOperation 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 (*TransferOperation) GetDetail ¶
func (o *TransferOperation) GetDetail() Transfer
GetDetail returns the Detail field value
func (*TransferOperation) GetDetailOk ¶
func (o *TransferOperation) GetDetailOk() (*Transfer, bool)
GetDetailOk returns a tuple with the Detail field value and a boolean to check if the value has been set.
func (*TransferOperation) GetEvent ¶ added in v0.0.2
func (o *TransferOperation) GetEvent() string
GetEvent returns the Event field value if set, zero value otherwise.
func (*TransferOperation) GetEventOk ¶ added in v0.0.2
func (o *TransferOperation) GetEventOk() (*string, bool)
GetEventOk returns a tuple with the Event field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TransferOperation) GetType ¶
func (o *TransferOperation) GetType() string
GetType returns the Type field value
func (*TransferOperation) GetTypeOk ¶
func (o *TransferOperation) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*TransferOperation) HasEvent ¶ added in v0.0.2
func (o *TransferOperation) HasEvent() bool
HasEvent returns a boolean if a field has been set.
func (TransferOperation) MarshalJSON ¶
func (o TransferOperation) MarshalJSON() ([]byte, error)
func (*TransferOperation) SetDetail ¶
func (o *TransferOperation) SetDetail(v Transfer)
SetDetail sets field value
func (*TransferOperation) SetEvent ¶ added in v0.0.2
func (o *TransferOperation) SetEvent(v string)
SetEvent gets a reference to the given string and assigns it to the Event field.
func (*TransferOperation) SetType ¶
func (o *TransferOperation) SetType(v string)
SetType sets field value
type Tx ¶
type Tx struct { // Unique transaction identifier Id *string `json:"id,omitempty"` // SLIP-44 coin ID Slip44 *int32 `json:"slip44,omitempty"` // List of involved addresses (excluding contracts) Addresses []string `json:"addresses,omitempty"` // List of moved assets by asset path Assets []string `json:"assets,omitempty"` // Unix timestamp Date *int64 `json:"date,omitempty"` // Number of block if mined, otherwise omitted. Height NullableInt64 `json:"height,omitempty"` // ID of block if mined, otherwise omitted. BlockId NullableString `json:"block_id,omitempty"` // Result status of the transaction. Status *string `json:"status,omitempty"` // List of tags for this transaction Tags []string `json:"tags,omitempty"` // Operations in this transaction (opaque keys). Operations *map[string]Operation `json:"operations,omitempty"` // Effects by address, if supported Effects *map[string]Effect `json:"effects,omitempty"` }
Tx struct for Tx
func NewTx ¶
func NewTx() *Tx
NewTx instantiates a new Tx 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 NewTxWithDefaults ¶
func NewTxWithDefaults() *Tx
NewTxWithDefaults instantiates a new Tx 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 (*Tx) GetAddresses ¶
GetAddresses returns the Addresses field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Tx) GetAddressesOk ¶
GetAddressesOk returns a tuple with the Addresses field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Tx) GetAssets ¶
GetAssets returns the Assets field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Tx) GetAssetsOk ¶
GetAssetsOk returns a tuple with the Assets field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Tx) GetBlockId ¶
GetBlockId returns the BlockId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Tx) GetBlockIdOk ¶
GetBlockIdOk returns a tuple with the BlockId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Tx) GetDateOk ¶
GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tx) GetEffects ¶
GetEffects returns the Effects field value if set, zero value otherwise.
func (*Tx) GetEffectsOk ¶
GetEffectsOk returns a tuple with the Effects field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tx) GetHeight ¶
GetHeight returns the Height field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Tx) GetHeightOk ¶
GetHeightOk returns a tuple with the Height field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Tx) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tx) GetOperations ¶
GetOperations returns the Operations field value if set, zero value otherwise.
func (*Tx) GetOperationsOk ¶
GetOperationsOk returns a tuple with the Operations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tx) GetSlip44Ok ¶
GetSlip44Ok returns a tuple with the Slip44 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tx) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tx) GetTags ¶
GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Tx) GetTagsOk ¶
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*Tx) HasAddresses ¶
HasAddresses returns a boolean if a field has been set.
func (*Tx) HasBlockId ¶
HasBlockId returns a boolean if a field has been set.
func (*Tx) HasEffects ¶
HasEffects returns a boolean if a field has been set.
func (*Tx) HasOperations ¶
HasOperations returns a boolean if a field has been set.
func (Tx) MarshalJSON ¶
func (*Tx) SetAddresses ¶
SetAddresses gets a reference to the given []string and assigns it to the Addresses field.
func (*Tx) SetAssets ¶
SetAssets gets a reference to the given []string and assigns it to the Assets field.
func (*Tx) SetBlockId ¶
SetBlockId gets a reference to the given NullableString and assigns it to the BlockId field.
func (*Tx) SetBlockIdNil ¶
func (o *Tx) SetBlockIdNil()
SetBlockIdNil sets the value for BlockId to be an explicit nil
func (*Tx) SetEffects ¶
SetEffects gets a reference to the given map[string]Effect and assigns it to the Effects field.
func (*Tx) SetHeight ¶
SetHeight gets a reference to the given NullableInt64 and assigns it to the Height field.
func (*Tx) SetHeightNil ¶
func (o *Tx) SetHeightNil()
SetHeightNil sets the value for Height to be an explicit nil
func (*Tx) SetOperations ¶
SetOperations gets a reference to the given map[string]Operation and assigns it to the Operations field.
func (*Tx) SetSlip44 ¶
SetSlip44 gets a reference to the given int32 and assigns it to the Slip44 field.
func (*Tx) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Tx) SetTags ¶
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (*Tx) UnsetBlockId ¶
func (o *Tx) UnsetBlockId()
UnsetBlockId ensures that no value is present for BlockId, not even an explicit nil
func (*Tx) UnsetHeight ¶
func (o *Tx) UnsetHeight()
UnsetHeight ensures that no value is present for Height, not even an explicit nil
type TxConfirmation ¶ added in v0.0.6
type TxConfirmation struct { // Current Block Number CurrentHeight *int64 `json:"current_height,omitempty"` // Transaction hash TxId *string `json:"tx_id,omitempty"` // Total transaction confirmations Confirmations *int64 `json:"confirmations,omitempty"` }
TxConfirmation struct for TxConfirmation
func NewTxConfirmation ¶ added in v0.0.6
func NewTxConfirmation() *TxConfirmation
NewTxConfirmation instantiates a new TxConfirmation 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 NewTxConfirmationWithDefaults ¶ added in v0.0.6
func NewTxConfirmationWithDefaults() *TxConfirmation
NewTxConfirmationWithDefaults instantiates a new TxConfirmation 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 (*TxConfirmation) GetConfirmations ¶ added in v0.0.6
func (o *TxConfirmation) GetConfirmations() int64
GetConfirmations returns the Confirmations field value if set, zero value otherwise.
func (*TxConfirmation) GetConfirmationsOk ¶ added in v0.0.6
func (o *TxConfirmation) GetConfirmationsOk() (*int64, bool)
GetConfirmationsOk returns a tuple with the Confirmations field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxConfirmation) GetCurrentHeight ¶ added in v0.0.6
func (o *TxConfirmation) GetCurrentHeight() int64
GetCurrentHeight returns the CurrentHeight field value if set, zero value otherwise.
func (*TxConfirmation) GetCurrentHeightOk ¶ added in v0.0.6
func (o *TxConfirmation) GetCurrentHeightOk() (*int64, bool)
GetCurrentHeightOk returns a tuple with the CurrentHeight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxConfirmation) GetTxId ¶ added in v0.0.6
func (o *TxConfirmation) GetTxId() string
GetTxId returns the TxId field value if set, zero value otherwise.
func (*TxConfirmation) GetTxIdOk ¶ added in v0.0.6
func (o *TxConfirmation) GetTxIdOk() (*string, bool)
GetTxIdOk returns a tuple with the TxId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxConfirmation) HasConfirmations ¶ added in v0.0.6
func (o *TxConfirmation) HasConfirmations() bool
HasConfirmations returns a boolean if a field has been set.
func (*TxConfirmation) HasCurrentHeight ¶ added in v0.0.6
func (o *TxConfirmation) HasCurrentHeight() bool
HasCurrentHeight returns a boolean if a field has been set.
func (*TxConfirmation) HasTxId ¶ added in v0.0.6
func (o *TxConfirmation) HasTxId() bool
HasTxId returns a boolean if a field has been set.
func (TxConfirmation) MarshalJSON ¶ added in v0.0.6
func (o TxConfirmation) MarshalJSON() ([]byte, error)
func (*TxConfirmation) SetConfirmations ¶ added in v0.0.6
func (o *TxConfirmation) SetConfirmations(v int64)
SetConfirmations gets a reference to the given int64 and assigns it to the Confirmations field.
func (*TxConfirmation) SetCurrentHeight ¶ added in v0.0.6
func (o *TxConfirmation) SetCurrentHeight(v int64)
SetCurrentHeight gets a reference to the given int64 and assigns it to the CurrentHeight field.
func (*TxConfirmation) SetTxId ¶ added in v0.0.6
func (o *TxConfirmation) SetTxId(v string)
SetTxId gets a reference to the given string and assigns it to the TxId field.
type TxDestination ¶
type TxDestination struct { Destination string `json:"destination"` // The amount you wish to transfer Amount string `json:"amount"` }
TxDestination A list of recipients
func NewTxDestination ¶
func NewTxDestination(destination string, amount string) *TxDestination
NewTxDestination instantiates a new TxDestination 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 NewTxDestinationWithDefaults ¶
func NewTxDestinationWithDefaults() *TxDestination
NewTxDestinationWithDefaults instantiates a new TxDestination 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 (*TxDestination) GetAmount ¶
func (o *TxDestination) GetAmount() string
GetAmount returns the Amount field value
func (*TxDestination) GetAmountOk ¶
func (o *TxDestination) GetAmountOk() (*string, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*TxDestination) GetDestination ¶
func (o *TxDestination) GetDestination() string
GetDestination returns the Destination field value
func (*TxDestination) GetDestinationOk ¶
func (o *TxDestination) GetDestinationOk() (*string, bool)
GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set.
func (TxDestination) MarshalJSON ¶
func (o TxDestination) MarshalJSON() ([]byte, error)
func (*TxDestination) SetAmount ¶
func (o *TxDestination) SetAmount(v string)
SetAmount sets field value
func (*TxDestination) SetDestination ¶
func (o *TxDestination) SetDestination(v string)
SetDestination sets field value
type TxPage ¶
type TxPage struct { // Number of items in txs Total *int32 `json:"total,omitempty"` Items *[]Tx `json:"items,omitempty"` // Token to get the next page Continuation NullableString `json:"continuation,omitempty"` }
TxPage struct for TxPage
func NewTxPage ¶
func NewTxPage() *TxPage
NewTxPage instantiates a new TxPage 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 NewTxPageWithDefaults ¶
func NewTxPageWithDefaults() *TxPage
NewTxPageWithDefaults instantiates a new TxPage 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 (*TxPage) GetContinuation ¶
GetContinuation returns the Continuation field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TxPage) GetContinuationOk ¶
GetContinuationOk returns a tuple with the Continuation field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TxPage) GetItemsOk ¶
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxPage) GetTotalOk ¶
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxPage) HasContinuation ¶
HasContinuation returns a boolean if a field has been set.
func (TxPage) MarshalJSON ¶
func (*TxPage) SetContinuation ¶
SetContinuation gets a reference to the given NullableString and assigns it to the Continuation field.
func (*TxPage) SetContinuationNil ¶
func (o *TxPage) SetContinuationNil()
SetContinuationNil sets the value for Continuation to be an explicit nil
func (*TxPage) SetItems ¶
SetItems gets a reference to the given []Tx and assigns it to the Items field.
func (*TxPage) SetTotal ¶
SetTotal gets a reference to the given int32 and assigns it to the Total field.
func (*TxPage) UnsetContinuation ¶
func (o *TxPage) UnsetContinuation()
UnsetContinuation ensures that no value is present for Continuation, not even an explicit nil
type TxPageV1 ¶ added in v0.0.6
type TxPageV1 struct { // Number of items in txs Total *int32 `json:"total,omitempty"` Items *[]TxV1 `json:"items,omitempty"` // Token to get the next page Continuation NullableString `json:"continuation,omitempty"` }
TxPageV1 struct for TxPageV1
func NewTxPageV1 ¶ added in v0.0.6
func NewTxPageV1() *TxPageV1
NewTxPageV1 instantiates a new TxPageV1 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 NewTxPageV1WithDefaults ¶ added in v0.0.6
func NewTxPageV1WithDefaults() *TxPageV1
NewTxPageV1WithDefaults instantiates a new TxPageV1 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 (*TxPageV1) GetContinuation ¶ added in v0.0.6
GetContinuation returns the Continuation field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TxPageV1) GetContinuationOk ¶ added in v0.0.6
GetContinuationOk returns a tuple with the Continuation field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TxPageV1) GetItems ¶ added in v0.0.6
GetItems returns the Items field value if set, zero value otherwise.
func (*TxPageV1) GetItemsOk ¶ added in v0.0.6
GetItemsOk returns a tuple with the Items field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxPageV1) GetTotal ¶ added in v0.0.6
GetTotal returns the Total field value if set, zero value otherwise.
func (*TxPageV1) GetTotalOk ¶ added in v0.0.6
GetTotalOk returns a tuple with the Total field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxPageV1) HasContinuation ¶ added in v0.0.6
HasContinuation returns a boolean if a field has been set.
func (TxPageV1) MarshalJSON ¶ added in v0.0.6
func (*TxPageV1) SetContinuation ¶ added in v0.0.6
SetContinuation gets a reference to the given NullableString and assigns it to the Continuation field.
func (*TxPageV1) SetContinuationNil ¶ added in v0.0.6
func (o *TxPageV1) SetContinuationNil()
SetContinuationNil sets the value for Continuation to be an explicit nil
func (*TxPageV1) SetItems ¶ added in v0.0.6
SetItems gets a reference to the given []TxV1 and assigns it to the Items field.
func (*TxPageV1) SetTotal ¶ added in v0.0.6
SetTotal gets a reference to the given int32 and assigns it to the Total field.
func (*TxPageV1) UnsetContinuation ¶ added in v0.0.6
func (o *TxPageV1) UnsetContinuation()
UnsetContinuation ensures that no value is present for Continuation, not even an explicit nil
type TxReceipt ¶
type TxReceipt struct { // The transaction ID Id string `json:"id"` }
TxReceipt struct for TxReceipt
func NewTxReceipt ¶
NewTxReceipt instantiates a new TxReceipt 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 NewTxReceiptWithDefaults ¶
func NewTxReceiptWithDefaults() *TxReceipt
NewTxReceiptWithDefaults instantiates a new TxReceipt 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 (*TxReceipt) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (TxReceipt) MarshalJSON ¶
type TxV1 ¶ added in v0.0.6
type TxV1 struct { // Unique transaction identifier Id *string `json:"id,omitempty"` // Unix timestamp Date *int64 `json:"date,omitempty"` // ID of block if mined, otherwise omitted. BlockId NullableString `json:"block_id,omitempty"` // Result status of the transaction. Status *string `json:"status,omitempty"` Nonce *int32 `json:"nonce,omitempty"` NumEvents *int32 `json:"num_events,omitempty"` Meta interface{} `json:"meta,omitempty"` Events []Event `json:"events,omitempty"` }
TxV1 struct for TxV1
func NewTxV1 ¶ added in v0.0.6
func NewTxV1() *TxV1
NewTxV1 instantiates a new TxV1 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 NewTxV1WithDefaults ¶ added in v0.0.6
func NewTxV1WithDefaults() *TxV1
NewTxV1WithDefaults instantiates a new TxV1 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 (*TxV1) GetBlockId ¶ added in v0.0.6
GetBlockId returns the BlockId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TxV1) GetBlockIdOk ¶ added in v0.0.6
GetBlockIdOk returns a tuple with the BlockId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TxV1) GetDate ¶ added in v0.0.6
GetDate returns the Date field value if set, zero value otherwise.
func (*TxV1) GetDateOk ¶ added in v0.0.6
GetDateOk returns a tuple with the Date field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxV1) GetEvents ¶ added in v0.0.6
GetEvents returns the Events field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TxV1) GetEventsOk ¶ added in v0.0.6
GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TxV1) GetIdOk ¶ added in v0.0.6
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxV1) GetMeta ¶ added in v0.0.6
func (o *TxV1) GetMeta() interface{}
GetMeta returns the Meta field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TxV1) GetMetaOk ¶ added in v0.0.6
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*TxV1) GetNonce ¶ added in v0.0.6
GetNonce returns the Nonce field value if set, zero value otherwise.
func (*TxV1) GetNonceOk ¶ added in v0.0.6
GetNonceOk returns a tuple with the Nonce field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxV1) GetNumEvents ¶ added in v0.0.6
GetNumEvents returns the NumEvents field value if set, zero value otherwise.
func (*TxV1) GetNumEventsOk ¶ added in v0.0.6
GetNumEventsOk returns a tuple with the NumEvents field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxV1) GetStatus ¶ added in v0.0.6
GetStatus returns the Status field value if set, zero value otherwise.
func (*TxV1) GetStatusOk ¶ added in v0.0.6
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxV1) HasBlockId ¶ added in v0.0.6
HasBlockId returns a boolean if a field has been set.
func (*TxV1) HasNumEvents ¶ added in v0.0.6
HasNumEvents returns a boolean if a field has been set.
func (TxV1) MarshalJSON ¶ added in v0.0.6
func (*TxV1) SetBlockId ¶ added in v0.0.6
SetBlockId gets a reference to the given NullableString and assigns it to the BlockId field.
func (*TxV1) SetBlockIdNil ¶ added in v0.0.6
func (o *TxV1) SetBlockIdNil()
SetBlockIdNil sets the value for BlockId to be an explicit nil
func (*TxV1) SetDate ¶ added in v0.0.6
SetDate gets a reference to the given int64 and assigns it to the Date field.
func (*TxV1) SetEvents ¶ added in v0.0.6
SetEvents gets a reference to the given []Event and assigns it to the Events field.
func (*TxV1) SetId ¶ added in v0.0.6
SetId gets a reference to the given string and assigns it to the Id field.
func (*TxV1) SetMeta ¶ added in v0.0.6
func (o *TxV1) SetMeta(v interface{})
SetMeta gets a reference to the given interface{} and assigns it to the Meta field.
func (*TxV1) SetNonce ¶ added in v0.0.6
SetNonce gets a reference to the given int32 and assigns it to the Nonce field.
func (*TxV1) SetNumEvents ¶ added in v0.0.6
SetNumEvents gets a reference to the given int32 and assigns it to the NumEvents field.
func (*TxV1) SetStatus ¶ added in v0.0.6
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*TxV1) UnsetBlockId ¶ added in v0.0.6
func (o *TxV1) UnsetBlockId()
UnsetBlockId ensures that no value is present for BlockId, not even an explicit nil
type Utxo ¶
type Utxo struct { // Asset path of transferred currency AssetPath *string `json:"asset_path,omitempty"` Address *string `json:"address,omitempty"` // Integer string in smallest unit (Satoshis) Value *string `json:"value,omitempty"` }
Utxo An unspent transaction output
func NewUtxo ¶
func NewUtxo() *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 ¶
GetAddress returns the Address field value if set, zero value otherwise.
func (*Utxo) GetAddressOk ¶
GetAddressOk returns a tuple with the Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Utxo) GetAssetPath ¶
GetAssetPath returns the AssetPath field value if set, zero value otherwise.
func (*Utxo) GetAssetPathOk ¶
GetAssetPathOk returns a tuple with the AssetPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Utxo) GetValueOk ¶
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Utxo) HasAddress ¶
HasAddress returns a boolean if a field has been set.
func (*Utxo) HasAssetPath ¶
HasAssetPath returns a boolean if a field has been set.
func (Utxo) MarshalJSON ¶
func (*Utxo) SetAddress ¶
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*Utxo) SetAssetPath ¶
SetAssetPath gets a reference to the given string and assigns it to the AssetPath field.
Source Files ¶
- api_accounts.go
- api_blocks.go
- api_platforms.go
- api_sync.go
- api_transactions.go
- client.go
- configuration.go
- model_accounts_obj.go
- model_algorand_meta.go
- model_balance_change.go
- model_balance_v1.go
- model_block.go
- model_block_identifier.go
- model_coin.go
- model_currency.go
- model_effect.go
- model_error.go
- model_event.go
- model_fee.go
- model_fee_estimate.go
- model_fee_estimate_estimated_fees.go
- model_multi_transfer.go
- model_multi_transfer_operation.go
- model_native_currency.go
- model_operation.go
- model_platform_detail.go
- model_platform_endpoint.go
- model_platforms_overview.go
- model_platforms_overview_platforms.go
- model_report.go
- model_report_field.go
- model_report_field_meta.go
- model_signed_tx.go
- model_smart_token.go
- model_smart_token_currency.go
- model_supply.go
- model_token.go
- model_token_currency.go
- model_transfer.go
- model_transfer_operation.go
- model_tx.go
- model_tx_confirmation.go
- model_tx_destination.go
- model_tx_page.go
- model_tx_page_v1.go
- model_tx_receipt.go
- model_tx_v1.go
- model_utxo.go
- response.go
- utils.go