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 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 ApiGetBlockByNumberRequest
- type ApiGetBlockIdentifierByNumberRequest
- type ApiGetBlockIdentifiersRequest
- func (r ApiGetBlockIdentifiersRequest) Execute() (BlockIdentifiers, *_nethttp.Response, error)
- func (r ApiGetBlockIdentifiersRequest) Order(order string) ApiGetBlockIdentifiersRequest
- func (r ApiGetBlockIdentifiersRequest) PageSize(pageSize int32) ApiGetBlockIdentifiersRequest
- func (r ApiGetBlockIdentifiersRequest) PageToken(pageToken string) ApiGetBlockIdentifiersRequest
- type ApiGetCurrentBlockHashRequest
- type ApiGetCurrentBlockNumberRequest
- type ApiGetFeeEstimateRequest
- type ApiGetListOfBalancesByAddressRequest
- type ApiGetListOfBalancesByAddressesRequest
- func (r ApiGetListOfBalancesByAddressesRequest) AccountsObj(accountsObj AccountsObj) ApiGetListOfBalancesByAddressesRequest
- func (r ApiGetListOfBalancesByAddressesRequest) Assets(assets string) ApiGetListOfBalancesByAddressesRequest
- func (r ApiGetListOfBalancesByAddressesRequest) Execute() (map[string][]Balance, *_nethttp.Response, error)
- type ApiGetProtocolEndpointsRequest
- type ApiGetProtocolsListRequest
- type ApiGetReportByAddressRequest
- func (r ApiGetReportByAddressRequest) Execute() (Report, *_nethttp.Response, error)
- func (r ApiGetReportByAddressRequest) From(from int32) ApiGetReportByAddressRequest
- func (r ApiGetReportByAddressRequest) PageSize(pageSize int32) ApiGetReportByAddressRequest
- func (r ApiGetReportByAddressRequest) PageToken(pageToken string) ApiGetReportByAddressRequest
- func (r ApiGetReportByAddressRequest) To(to int32) ApiGetReportByAddressRequest
- type ApiGetTxByHashRequest
- type ApiGetTxConfirmationsRequest
- type ApiGetTxOutputByHashAndIndexRequest
- type ApiGetTxsByAddressRequest
- func (r ApiGetTxsByAddressRequest) Assets(assets string) ApiGetTxsByAddressRequest
- func (r ApiGetTxsByAddressRequest) Execute() (TxPage, *_nethttp.Response, error)
- func (r ApiGetTxsByAddressRequest) From(from int32) ApiGetTxsByAddressRequest
- func (r ApiGetTxsByAddressRequest) Order(order string) ApiGetTxsByAddressRequest
- func (r ApiGetTxsByAddressRequest) PageSize(pageSize int32) ApiGetTxsByAddressRequest
- func (r ApiGetTxsByAddressRequest) PageToken(pageToken string) ApiGetTxsByAddressRequest
- func (r ApiGetTxsByAddressRequest) To(to int32) ApiGetTxsByAddressRequest
- type ApiGetTxsRequest
- func (r ApiGetTxsRequest) Assets(assets string) ApiGetTxsRequest
- func (r ApiGetTxsRequest) BlockHash(blockHash string) ApiGetTxsRequest
- func (r ApiGetTxsRequest) BlockNumber(blockNumber int32) ApiGetTxsRequest
- func (r ApiGetTxsRequest) Execute() (TxPage, *_nethttp.Response, error)
- func (r ApiGetTxsRequest) Order(order string) ApiGetTxsRequest
- func (r ApiGetTxsRequest) PageSize(pageSize int32) ApiGetTxsRequest
- func (r ApiGetTxsRequest) PageToken(pageToken string) ApiGetTxsRequest
- type ApiGetUTXOByAccountRequest
- func (r ApiGetUTXOByAccountRequest) CheckMempool(checkMempool bool) ApiGetUTXOByAccountRequest
- func (r ApiGetUTXOByAccountRequest) Execute() (TxOutputs, *_nethttp.Response, error)
- func (r ApiGetUTXOByAccountRequest) From(from int32) ApiGetUTXOByAccountRequest
- func (r ApiGetUTXOByAccountRequest) Order(order string) ApiGetUTXOByAccountRequest
- func (r ApiGetUTXOByAccountRequest) PageSize(pageSize int32) ApiGetUTXOByAccountRequest
- func (r ApiGetUTXOByAccountRequest) PageToken(pageToken string) ApiGetUTXOByAccountRequest
- func (r ApiGetUTXOByAccountRequest) Spent(spent bool) ApiGetUTXOByAccountRequest
- func (r ApiGetUTXOByAccountRequest) To(to int32) ApiGetUTXOByAccountRequest
- type ApiTxCreateRequest
- type ApiTxSendRequest
- type Balance
- func (o *Balance) GetConfirmedBalance() string
- func (o *Balance) GetConfirmedBalanceOk() (*string, bool)
- func (o *Balance) GetConfirmedBlock() int32
- func (o *Balance) GetConfirmedBlockOk() (*int32, bool)
- func (o *Balance) GetConfirmedNonce() int32
- func (o *Balance) GetConfirmedNonceOk() (*int32, bool)
- func (o *Balance) GetCurrency() Currency
- func (o *Balance) GetCurrencyOk() (*Currency, bool)
- func (o *Balance) GetPendingBalance() string
- func (o *Balance) GetPendingBalanceOk() (*string, bool)
- func (o *Balance) HasConfirmedBalance() bool
- func (o *Balance) HasConfirmedBlock() bool
- func (o *Balance) HasConfirmedNonce() bool
- func (o *Balance) HasCurrency() bool
- func (o *Balance) HasPendingBalance() bool
- func (o Balance) MarshalJSON() ([]byte, error)
- func (o *Balance) SetConfirmedBalance(v string)
- func (o *Balance) SetConfirmedBlock(v int32)
- func (o *Balance) SetConfirmedNonce(v int32)
- func (o *Balance) SetCurrency(v Currency)
- func (o *Balance) SetPendingBalance(v string)
- type BalancesUTXOAPI
- type BalancesUTXOAPIService
- func (a *BalancesUTXOAPIService) GetListOfBalancesByAddress(ctx _context.Context, protocol string, network string, address string) ApiGetListOfBalancesByAddressRequest
- func (a *BalancesUTXOAPIService) GetListOfBalancesByAddressExecute(r ApiGetListOfBalancesByAddressRequest) ([]Balance, *_nethttp.Response, error)
- func (a *BalancesUTXOAPIService) GetListOfBalancesByAddresses(ctx _context.Context, protocol string, network string) ApiGetListOfBalancesByAddressesRequest
- func (a *BalancesUTXOAPIService) GetListOfBalancesByAddressesExecute(r ApiGetListOfBalancesByAddressesRequest) (map[string][]Balance, *_nethttp.Response, error)
- func (a *BalancesUTXOAPIService) GetReportByAddress(ctx _context.Context, protocol string, network string, address string) ApiGetReportByAddressRequest
- func (a *BalancesUTXOAPIService) GetReportByAddressExecute(r ApiGetReportByAddressRequest) (Report, *_nethttp.Response, error)
- 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) GetNumTxs() int32
- func (o *Block) GetNumTxsOk() (*int32, 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) GetTxs() []Tx
- func (o *Block) GetTxsOk() (*[]Tx, bool)
- func (o *Block) HasDate() bool
- func (o *Block) HasId() bool
- func (o *Block) HasNumTxs() bool
- func (o *Block) HasNumber() bool
- func (o *Block) HasParentId() 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) SetNumTxs(v int32)
- func (o *Block) SetNumber(v int64)
- func (o *Block) SetParentId(v string)
- func (o *Block) SetTxs(v []Tx)
- type BlockIdentifier
- func (o *BlockIdentifier) GetDate() int64
- func (o *BlockIdentifier) GetDateOk() (*int64, bool)
- func (o *BlockIdentifier) GetId() string
- func (o *BlockIdentifier) GetIdOk() (*string, bool)
- func (o *BlockIdentifier) GetNumTxs() int32
- func (o *BlockIdentifier) GetNumTxsOk() (*int32, 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) HasDate() bool
- func (o *BlockIdentifier) HasId() bool
- func (o *BlockIdentifier) HasNumTxs() bool
- func (o *BlockIdentifier) HasNumber() bool
- func (o *BlockIdentifier) HasParentId() bool
- func (o BlockIdentifier) MarshalJSON() ([]byte, error)
- func (o *BlockIdentifier) SetDate(v int64)
- func (o *BlockIdentifier) SetId(v string)
- func (o *BlockIdentifier) SetNumTxs(v int32)
- func (o *BlockIdentifier) SetNumber(v int64)
- func (o *BlockIdentifier) SetParentId(v string)
- type BlockIdentifiers
- func (o *BlockIdentifiers) GetData() []BlockIdentifier
- func (o *BlockIdentifiers) GetDataOk() (*[]BlockIdentifier, bool)
- func (o *BlockIdentifiers) GetMeta() Meta
- func (o *BlockIdentifiers) GetMetaOk() (*Meta, bool)
- func (o *BlockIdentifiers) GetTotal() int32
- func (o *BlockIdentifiers) GetTotalOk() (*int32, bool)
- func (o *BlockIdentifiers) HasData() bool
- func (o *BlockIdentifiers) HasMeta() bool
- func (o *BlockIdentifiers) HasTotal() bool
- func (o BlockIdentifiers) MarshalJSON() ([]byte, error)
- func (o *BlockIdentifiers) SetData(v []BlockIdentifier)
- func (o *BlockIdentifiers) SetMeta(v Meta)
- func (o *BlockIdentifiers) SetMetaNil()
- func (o *BlockIdentifiers) SetTotal(v int32)
- func (o *BlockIdentifiers) UnsetMeta()
- type BlocksAPI
- type BlocksAPIService
- func (a *BlocksAPIService) GetBlockByNumber(ctx _context.Context, protocol string, network string, blockIdentifier string) ApiGetBlockByNumberRequest
- func (a *BlocksAPIService) GetBlockByNumberExecute(r ApiGetBlockByNumberRequest) (Block, *_nethttp.Response, error)
- func (a *BlocksAPIService) GetBlockIdentifierByNumber(ctx _context.Context, protocol string, network string, blockIdentifier string) ApiGetBlockIdentifierByNumberRequest
- func (a *BlocksAPIService) GetBlockIdentifierByNumberExecute(r ApiGetBlockIdentifierByNumberRequest) (BlockIdentifier, *_nethttp.Response, error)
- func (a *BlocksAPIService) GetBlockIdentifiers(ctx _context.Context, protocol string, network string) ApiGetBlockIdentifiersRequest
- func (a *BlocksAPIService) GetBlockIdentifiersExecute(r ApiGetBlockIdentifiersRequest) (BlockIdentifiers, *_nethttp.Response, error)
- func (a *BlocksAPIService) GetCurrentBlockHash(ctx _context.Context, protocol string, network string) ApiGetCurrentBlockHashRequest
- func (a *BlocksAPIService) GetCurrentBlockHashExecute(r ApiGetCurrentBlockHashRequest) (string, *_nethttp.Response, error)
- func (a *BlocksAPIService) GetCurrentBlockNumber(ctx _context.Context, protocol string, network string) ApiGetCurrentBlockNumberRequest
- func (a *BlocksAPIService) GetCurrentBlockNumberExecute(r ApiGetCurrentBlockNumberRequest) (int64, *_nethttp.Response, error)
- type Configuration
- type Currency
- type Event
- func (o *Event) GetAmount() bigInt
- func (o *Event) GetAmountOk() (*bigInt, bool)
- func (o *Event) GetDate() int64
- func (o *Event) GetDateOk() (*int64, 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() EventMeta
- func (o *Event) GetMetaOk() (*EventMeta, 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) 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 bigInt)
- func (o *Event) SetAmountNil()
- func (o *Event) SetDate(v int64)
- 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 EventMeta)
- 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 EventMeta
- func (o *EventMeta) GetAddresses() []string
- func (o *EventMeta) GetAddressesOk() (*[]string, bool)
- func (o *EventMeta) GetIndex() int32
- func (o *EventMeta) GetIndexOk() (*int32, bool)
- func (o *EventMeta) GetScript() string
- func (o *EventMeta) GetScriptOk() (*string, bool)
- func (o *EventMeta) GetScriptType() string
- func (o *EventMeta) GetScriptTypeOk() (*string, bool)
- func (o *EventMeta) HasAddresses() bool
- func (o *EventMeta) HasIndex() bool
- func (o *EventMeta) HasScript() bool
- func (o *EventMeta) HasScriptType() bool
- func (o EventMeta) MarshalJSON() ([]byte, error)
- func (o *EventMeta) SetAddresses(v []string)
- func (o *EventMeta) SetIndex(v int32)
- func (o *EventMeta) SetScript(v string)
- func (o *EventMeta) SetScriptType(v string)
- type EvmFee
- func (o *EvmFee) GetMaxPriorityFee() bigInt
- func (o *EvmFee) GetMaxPriorityFeeOk() (*bigInt, bool)
- func (o *EvmFee) GetMaxTotalFee() bigInt
- func (o *EvmFee) GetMaxTotalFeeOk() (*bigInt, bool)
- func (o *EvmFee) HasMaxPriorityFee() bool
- func (o *EvmFee) HasMaxTotalFee() bool
- func (o EvmFee) MarshalJSON() ([]byte, error)
- func (o *EvmFee) SetMaxPriorityFee(v bigInt)
- func (o *EvmFee) SetMaxTotalFee(v bigInt)
- type EvmFeeEstimate
- func (o *EvmFeeEstimate) GetFast() EvmFee
- func (o *EvmFeeEstimate) GetFastOk() (*EvmFee, bool)
- func (o *EvmFeeEstimate) GetMedium() EvmFee
- func (o *EvmFeeEstimate) GetMediumOk() (*EvmFee, bool)
- func (o *EvmFeeEstimate) GetSlow() EvmFee
- func (o *EvmFeeEstimate) GetSlowOk() (*EvmFee, bool)
- func (o *EvmFeeEstimate) HasFast() bool
- func (o *EvmFeeEstimate) HasMedium() bool
- func (o *EvmFeeEstimate) HasSlow() bool
- func (o EvmFeeEstimate) MarshalJSON() ([]byte, error)
- func (o *EvmFeeEstimate) SetFast(v EvmFee)
- func (o *EvmFeeEstimate) SetMedium(v EvmFee)
- func (o *EvmFeeEstimate) SetSlow(v EvmFee)
- type FeeEstimate
- func (o *FeeEstimate) GetFast() bigInt
- func (o *FeeEstimate) GetFastOk() (*bigInt, bool)
- func (o *FeeEstimate) GetMedium() bigInt
- func (o *FeeEstimate) GetMediumOk() (*bigInt, bool)
- func (o *FeeEstimate) GetSlow() bigInt
- func (o *FeeEstimate) GetSlowOk() (*bigInt, bool)
- func (o *FeeEstimate) HasFast() bool
- func (o *FeeEstimate) HasMedium() bool
- func (o *FeeEstimate) HasSlow() bool
- func (o FeeEstimate) MarshalJSON() ([]byte, error)
- func (o *FeeEstimate) SetFast(v bigInt)
- func (o *FeeEstimate) SetMedium(v bigInt)
- func (o *FeeEstimate) SetSlow(v bigInt)
- type FeeEstimateResponse
- type FeeEstimatorAPI
- type FeeEstimatorAPIService
- type GenericOpenAPIError
- type InlineResponse200
- func (o *InlineResponse200) GetEstimatedFees() FeeEstimateResponse
- func (o *InlineResponse200) GetEstimatedFeesOk() (*FeeEstimateResponse, bool)
- func (o *InlineResponse200) GetMostRecentBlock() int32
- func (o *InlineResponse200) GetMostRecentBlockOk() (*int32, bool)
- func (o *InlineResponse200) HasEstimatedFees() bool
- func (o *InlineResponse200) HasMostRecentBlock() bool
- func (o InlineResponse200) MarshalJSON() ([]byte, error)
- func (o *InlineResponse200) SetEstimatedFees(v FeeEstimateResponse)
- func (o *InlineResponse200) SetMostRecentBlock(v int32)
- type Meta
- 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 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 NullableBalance
- type NullableBigInt
- 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 NullableBlockIdentifiers
- func (v NullableBlockIdentifiers) Get() *BlockIdentifiers
- func (v NullableBlockIdentifiers) IsSet() bool
- func (v NullableBlockIdentifiers) MarshalJSON() ([]byte, error)
- func (v *NullableBlockIdentifiers) Set(val *BlockIdentifiers)
- func (v *NullableBlockIdentifiers) UnmarshalJSON(src []byte) error
- func (v *NullableBlockIdentifiers) Unset()
- type NullableBool
- type NullableCurrency
- type NullableEvent
- type NullableEventMeta
- type NullableEvmFee
- type NullableEvmFeeEstimate
- func (v NullableEvmFeeEstimate) Get() *EvmFeeEstimate
- func (v NullableEvmFeeEstimate) IsSet() bool
- func (v NullableEvmFeeEstimate) MarshalJSON() ([]byte, error)
- func (v *NullableEvmFeeEstimate) Set(val *EvmFeeEstimate)
- func (v *NullableEvmFeeEstimate) UnmarshalJSON(src []byte) error
- func (v *NullableEvmFeeEstimate) Unset()
- 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 NullableFeeEstimateResponse
- func (v NullableFeeEstimateResponse) Get() *FeeEstimateResponse
- func (v NullableFeeEstimateResponse) IsSet() bool
- func (v NullableFeeEstimateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFeeEstimateResponse) Set(val *FeeEstimateResponse)
- func (v *NullableFeeEstimateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFeeEstimateResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInlineResponse200
- func (v NullableInlineResponse200) Get() *InlineResponse200
- func (v NullableInlineResponse200) IsSet() bool
- func (v NullableInlineResponse200) MarshalJSON() ([]byte, error)
- func (v *NullableInlineResponse200) Set(val *InlineResponse200)
- func (v *NullableInlineResponse200) UnmarshalJSON(src []byte) error
- func (v *NullableInlineResponse200) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableMeta
- type NullableModelError
- 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 NullablePaging
- type NullableProtocolDetail
- func (v NullableProtocolDetail) Get() *ProtocolDetail
- func (v NullableProtocolDetail) IsSet() bool
- func (v NullableProtocolDetail) MarshalJSON() ([]byte, error)
- func (v *NullableProtocolDetail) Set(val *ProtocolDetail)
- func (v *NullableProtocolDetail) UnmarshalJSON(src []byte) error
- func (v *NullableProtocolDetail) Unset()
- type NullableProtocolsOverview
- func (v NullableProtocolsOverview) Get() *ProtocolsOverview
- func (v NullableProtocolsOverview) IsSet() bool
- func (v NullableProtocolsOverview) MarshalJSON() ([]byte, error)
- func (v *NullableProtocolsOverview) Set(val *ProtocolsOverview)
- func (v *NullableProtocolsOverview) UnmarshalJSON(src []byte) error
- func (v *NullableProtocolsOverview) Unset()
- type NullableProtocolsOverviewProtocols
- func (v NullableProtocolsOverviewProtocols) Get() *ProtocolsOverviewProtocols
- func (v NullableProtocolsOverviewProtocols) IsSet() bool
- func (v NullableProtocolsOverviewProtocols) MarshalJSON() ([]byte, error)
- func (v *NullableProtocolsOverviewProtocols) Set(val *ProtocolsOverviewProtocols)
- func (v *NullableProtocolsOverviewProtocols) UnmarshalJSON(src []byte) error
- func (v *NullableProtocolsOverviewProtocols) 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 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 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 NullableTxCreate
- type NullableTxCreateContract
- func (v NullableTxCreateContract) Get() *TxCreateContract
- func (v NullableTxCreateContract) IsSet() bool
- func (v NullableTxCreateContract) MarshalJSON() ([]byte, error)
- func (v *NullableTxCreateContract) Set(val *TxCreateContract)
- func (v *NullableTxCreateContract) UnmarshalJSON(src []byte) error
- func (v *NullableTxCreateContract) Unset()
- type NullableTxCreateEvm
- func (v NullableTxCreateEvm) Get() *TxCreateEvm
- func (v NullableTxCreateEvm) IsSet() bool
- func (v NullableTxCreateEvm) MarshalJSON() ([]byte, error)
- func (v *NullableTxCreateEvm) Set(val *TxCreateEvm)
- func (v *NullableTxCreateEvm) UnmarshalJSON(src []byte) error
- func (v *NullableTxCreateEvm) Unset()
- type NullableTxCreateProtocol
- func (v NullableTxCreateProtocol) Get() *TxCreateProtocol
- func (v NullableTxCreateProtocol) IsSet() bool
- func (v NullableTxCreateProtocol) MarshalJSON() ([]byte, error)
- func (v *NullableTxCreateProtocol) Set(val *TxCreateProtocol)
- func (v *NullableTxCreateProtocol) UnmarshalJSON(src []byte) error
- func (v *NullableTxCreateProtocol) 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 NullableTxMinify
- type NullableTxOutput
- type NullableTxOutputResponse
- func (v NullableTxOutputResponse) Get() *TxOutputResponse
- func (v NullableTxOutputResponse) IsSet() bool
- func (v NullableTxOutputResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTxOutputResponse) Set(val *TxOutputResponse)
- func (v *NullableTxOutputResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTxOutputResponse) Unset()
- type NullableTxOutputResponseMeta
- func (v NullableTxOutputResponseMeta) Get() *TxOutputResponseMeta
- func (v NullableTxOutputResponseMeta) IsSet() bool
- func (v NullableTxOutputResponseMeta) MarshalJSON() ([]byte, error)
- func (v *NullableTxOutputResponseMeta) Set(val *TxOutputResponseMeta)
- func (v *NullableTxOutputResponseMeta) UnmarshalJSON(src []byte) error
- func (v *NullableTxOutputResponseMeta) Unset()
- type NullableTxOutputs
- type NullableTxOutputsData
- func (v NullableTxOutputsData) Get() *TxOutputsData
- func (v NullableTxOutputsData) IsSet() bool
- func (v NullableTxOutputsData) MarshalJSON() ([]byte, error)
- func (v *NullableTxOutputsData) Set(val *TxOutputsData)
- func (v *NullableTxOutputsData) UnmarshalJSON(src []byte) error
- func (v *NullableTxOutputsData) Unset()
- type NullableTxPage
- type NullableTxReceipt
- type NullableUnsignedTx
- type NullableUnsignedTxMeta
- func (v NullableUnsignedTxMeta) Get() *UnsignedTxMeta
- func (v NullableUnsignedTxMeta) IsSet() bool
- func (v NullableUnsignedTxMeta) MarshalJSON() ([]byte, error)
- func (v *NullableUnsignedTxMeta) Set(val *UnsignedTxMeta)
- func (v *NullableUnsignedTxMeta) UnmarshalJSON(src []byte) error
- func (v *NullableUnsignedTxMeta) Unset()
- type Paging
- type ProtocolAndEndpointSupportAPI
- type ProtocolAndEndpointSupportAPIService
- func (a *ProtocolAndEndpointSupportAPIService) GetProtocolEndpoints(ctx _context.Context, protocol string, network string) ApiGetProtocolEndpointsRequest
- func (a *ProtocolAndEndpointSupportAPIService) GetProtocolEndpointsExecute(r ApiGetProtocolEndpointsRequest) (ProtocolDetail, *_nethttp.Response, error)
- func (a *ProtocolAndEndpointSupportAPIService) GetProtocolsList(ctx _context.Context) ApiGetProtocolsListRequest
- func (a *ProtocolAndEndpointSupportAPIService) GetProtocolsListExecute(r ApiGetProtocolsListRequest) (ProtocolsOverview, *_nethttp.Response, error)
- type ProtocolDetail
- func (o *ProtocolDetail) GetEndpoints() []string
- func (o *ProtocolDetail) GetEndpointsOk() (*[]string, bool)
- func (o *ProtocolDetail) GetGenesisNumber() int64
- func (o *ProtocolDetail) GetGenesisNumberOk() (*int64, bool)
- func (o *ProtocolDetail) GetHandle() string
- func (o *ProtocolDetail) GetHandleOk() (*string, bool)
- func (o *ProtocolDetail) GetNetwork() interface{}
- func (o *ProtocolDetail) GetNetworkOk() (*interface{}, bool)
- func (o *ProtocolDetail) HasEndpoints() bool
- func (o *ProtocolDetail) HasGenesisNumber() bool
- func (o *ProtocolDetail) HasHandle() bool
- func (o *ProtocolDetail) HasNetwork() bool
- func (o ProtocolDetail) MarshalJSON() ([]byte, error)
- func (o *ProtocolDetail) SetEndpoints(v []string)
- func (o *ProtocolDetail) SetGenesisNumber(v int64)
- func (o *ProtocolDetail) SetHandle(v string)
- func (o *ProtocolDetail) SetNetwork(v interface{})
- type ProtocolsOverview
- func (o *ProtocolsOverview) GetProtocols() []ProtocolsOverviewProtocols
- func (o *ProtocolsOverview) GetProtocolsOk() (*[]ProtocolsOverviewProtocols, bool)
- func (o *ProtocolsOverview) HasProtocols() bool
- func (o ProtocolsOverview) MarshalJSON() ([]byte, error)
- func (o *ProtocolsOverview) SetProtocols(v []ProtocolsOverviewProtocols)
- type ProtocolsOverviewProtocols
- func (o *ProtocolsOverviewProtocols) GetHandle() string
- func (o *ProtocolsOverviewProtocols) GetHandleOk() (*string, bool)
- func (o *ProtocolsOverviewProtocols) GetNetwork() string
- func (o *ProtocolsOverviewProtocols) GetNetworkOk() (*string, bool)
- func (o *ProtocolsOverviewProtocols) HasHandle() bool
- func (o *ProtocolsOverviewProtocols) HasNetwork() bool
- func (o ProtocolsOverviewProtocols) MarshalJSON() ([]byte, error)
- func (o *ProtocolsOverviewProtocols) SetHandle(v string)
- func (o *ProtocolsOverviewProtocols) SetNetwork(v string)
- type Report
- 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) GetPageSize() int32
- func (o *Report) GetPageSizeOk() (*int32, bool)
- func (o *Report) GetPageToken() string
- func (o *Report) GetPageTokenOk() (*string, bool)
- func (o *Report) HasLimit() bool
- func (o *Report) HasPageSize() bool
- func (o *Report) HasPageToken() bool
- func (o Report) MarshalJSON() ([]byte, error)
- func (o *Report) SetFields(v []ReportField)
- func (o *Report) SetItems(v int32)
- func (o *Report) SetLimit(v int32)
- func (o *Report) SetPageSize(v int32)
- func (o *Report) SetPageToken(v string)
- 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() int64
- func (o *ReportField) GetTimestampOk() (*int64, 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) SetProtocol(v string)
- func (o *ReportField) SetSenderAddress(v string)
- func (o *ReportField) SetTimestamp(v int64)
- func (o *ReportField) SetValue(v string)
- 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 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) GetTxByHash(ctx _context.Context, protocol string, network string, hash string) ApiGetTxByHashRequest
- func (a *TransactionsAPIService) GetTxByHashExecute(r ApiGetTxByHashRequest) (Tx, *_nethttp.Response, error)
- func (a *TransactionsAPIService) GetTxConfirmations(ctx _context.Context, protocol string, network string, hash string) ApiGetTxConfirmationsRequest
- func (a *TransactionsAPIService) GetTxConfirmationsExecute(r ApiGetTxConfirmationsRequest) (TxConfirmation, *_nethttp.Response, error)
- func (a *TransactionsAPIService) GetTxOutputByHashAndIndex(ctx _context.Context, protocol string, network string, hash string, ...) ApiGetTxOutputByHashAndIndexRequest
- func (a *TransactionsAPIService) GetTxOutputByHashAndIndexExecute(r ApiGetTxOutputByHashAndIndexRequest) (TxOutput, *_nethttp.Response, error)
- func (a *TransactionsAPIService) GetTxs(ctx _context.Context, protocol string, network string) ApiGetTxsRequest
- func (a *TransactionsAPIService) GetTxsByAddress(ctx _context.Context, protocol string, network string, address string) ApiGetTxsByAddressRequest
- func (a *TransactionsAPIService) GetTxsByAddressExecute(r ApiGetTxsByAddressRequest) (TxPage, *_nethttp.Response, error)
- func (a *TransactionsAPIService) GetTxsExecute(r ApiGetTxsRequest) (TxPage, *_nethttp.Response, error)
- func (a *TransactionsAPIService) GetUTXOByAccount(ctx _context.Context, protocol string, network string, address string) ApiGetUTXOByAccountRequest
- func (a *TransactionsAPIService) GetUTXOByAccountExecute(r ApiGetUTXOByAccountRequest) (TxOutputs, *_nethttp.Response, error)
- func (a *TransactionsAPIService) TxCreate(ctx _context.Context, protocol string, network string) ApiTxCreateRequest
- func (a *TransactionsAPIService) TxCreateExecute(r ApiTxCreateRequest) (UnsignedTx, *_nethttp.Response, error)
- func (a *TransactionsAPIService) TxSend(ctx _context.Context, protocol string, network string) ApiTxSendRequest
- func (a *TransactionsAPIService) TxSendExecute(r ApiTxSendRequest) (TxReceipt, *_nethttp.Response, error)
- type Tx
- 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) GetBlockNumber() int32
- func (o *Tx) GetBlockNumberOk() (*int32, bool)
- func (o *Tx) GetConfirmations() int32
- func (o *Tx) GetConfirmationsOk() (*int32, bool)
- func (o *Tx) GetDate() int64
- func (o *Tx) GetDateOk() (*int64, bool)
- func (o *Tx) GetEvents() []Event
- func (o *Tx) GetEventsOk() (*[]Event, bool)
- func (o *Tx) GetId() string
- func (o *Tx) GetIdOk() (*string, bool)
- func (o *Tx) GetMeta() map[string]interface{}
- func (o *Tx) GetMetaOk() (*map[string]interface{}, bool)
- func (o *Tx) GetNonce() int32
- func (o *Tx) GetNonceOk() (*int32, bool)
- func (o *Tx) GetNumEvents() int32
- func (o *Tx) GetNumEventsOk() (*int32, bool)
- func (o *Tx) GetStatus() string
- func (o *Tx) GetStatusOk() (*string, bool)
- func (o *Tx) HasAssets() bool
- func (o *Tx) HasBlockId() bool
- func (o *Tx) HasBlockNumber() bool
- func (o *Tx) HasConfirmations() bool
- func (o *Tx) HasDate() bool
- func (o *Tx) HasEvents() bool
- func (o *Tx) HasId() bool
- func (o *Tx) HasMeta() bool
- func (o *Tx) HasNonce() bool
- func (o *Tx) HasNumEvents() bool
- func (o *Tx) HasStatus() bool
- func (o Tx) MarshalJSON() ([]byte, error)
- func (o *Tx) SetAssets(v []string)
- func (o *Tx) SetBlockId(v string)
- func (o *Tx) SetBlockIdNil()
- func (o *Tx) SetBlockNumber(v int32)
- func (o *Tx) SetBlockNumberNil()
- func (o *Tx) SetConfirmations(v int32)
- func (o *Tx) SetDate(v int64)
- func (o *Tx) SetEvents(v []Event)
- func (o *Tx) SetId(v string)
- func (o *Tx) SetMeta(v map[string]interface{})
- func (o *Tx) SetNonce(v int32)
- func (o *Tx) SetNumEvents(v int32)
- func (o *Tx) SetStatus(v string)
- func (o *Tx) UnsetBlockId()
- func (o *Tx) UnsetBlockNumber()
- 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 TxCreate
- func (o *TxCreate) GetContract() TxCreateContract
- func (o *TxCreate) GetContractOk() (*TxCreateContract, bool)
- func (o *TxCreate) GetFee() string
- func (o *TxCreate) GetFeeOk() (*string, bool)
- func (o *TxCreate) GetFrom() string
- func (o *TxCreate) GetFromOk() (*string, bool)
- func (o *TxCreate) GetIndex() int64
- func (o *TxCreate) GetIndexOk() (*int64, bool)
- func (o *TxCreate) GetProtocol() TxCreateProtocol
- func (o *TxCreate) GetProtocolOk() (*TxCreateProtocol, bool)
- func (o *TxCreate) GetTo() []TxDestination
- func (o *TxCreate) GetToOk() (*[]TxDestination, bool)
- func (o *TxCreate) HasContract() bool
- func (o *TxCreate) HasFee() bool
- func (o *TxCreate) HasIndex() bool
- func (o *TxCreate) HasProtocol() bool
- func (o TxCreate) MarshalJSON() ([]byte, error)
- func (o *TxCreate) SetContract(v TxCreateContract)
- func (o *TxCreate) SetFee(v string)
- func (o *TxCreate) SetFrom(v string)
- func (o *TxCreate) SetIndex(v int64)
- func (o *TxCreate) SetProtocol(v TxCreateProtocol)
- func (o *TxCreate) SetTo(v []TxDestination)
- type TxCreateContract
- func (o *TxCreateContract) GetAddress() string
- func (o *TxCreateContract) GetAddressOk() (*string, bool)
- func (o *TxCreateContract) GetType() string
- func (o *TxCreateContract) GetTypeOk() (*string, bool)
- func (o *TxCreateContract) HasAddress() bool
- func (o *TxCreateContract) HasType() bool
- func (o TxCreateContract) MarshalJSON() ([]byte, error)
- func (o *TxCreateContract) SetAddress(v string)
- func (o *TxCreateContract) SetType(v string)
- type TxCreateEvm
- func (o *TxCreateEvm) GetGas() int64
- func (o *TxCreateEvm) GetGasOk() (*int64, bool)
- func (o *TxCreateEvm) GetMaxFeePerGas() int64
- func (o *TxCreateEvm) GetMaxFeePerGasOk() (*int64, bool)
- func (o *TxCreateEvm) GetMaxPriorityFeePerGas() int64
- func (o *TxCreateEvm) GetMaxPriorityFeePerGasOk() (*int64, bool)
- func (o *TxCreateEvm) HasGas() bool
- func (o *TxCreateEvm) HasMaxFeePerGas() bool
- func (o *TxCreateEvm) HasMaxPriorityFeePerGas() bool
- func (o TxCreateEvm) MarshalJSON() ([]byte, error)
- func (o *TxCreateEvm) SetGas(v int64)
- func (o *TxCreateEvm) SetMaxFeePerGas(v int64)
- func (o *TxCreateEvm) SetMaxPriorityFeePerGas(v int64)
- type TxCreateProtocol
- func (o *TxCreateProtocol) GetAvalanche() TxCreateEvm
- func (o *TxCreateProtocol) GetAvalancheOk() (*TxCreateEvm, bool)
- func (o *TxCreateProtocol) GetEthereum() TxCreateEvm
- func (o *TxCreateProtocol) GetEthereumOk() (*TxCreateEvm, bool)
- func (o *TxCreateProtocol) GetFantom() TxCreateEvm
- func (o *TxCreateProtocol) GetFantomOk() (*TxCreateEvm, bool)
- func (o *TxCreateProtocol) GetPolygon() TxCreateEvm
- func (o *TxCreateProtocol) GetPolygonOk() (*TxCreateEvm, bool)
- func (o *TxCreateProtocol) HasAvalanche() bool
- func (o *TxCreateProtocol) HasEthereum() bool
- func (o *TxCreateProtocol) HasFantom() bool
- func (o *TxCreateProtocol) HasPolygon() bool
- func (o TxCreateProtocol) MarshalJSON() ([]byte, error)
- func (o *TxCreateProtocol) SetAvalanche(v TxCreateEvm)
- func (o *TxCreateProtocol) SetEthereum(v TxCreateEvm)
- func (o *TxCreateProtocol) SetFantom(v TxCreateEvm)
- func (o *TxCreateProtocol) SetPolygon(v TxCreateEvm)
- 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 TxMinify
- func (o *TxMinify) GetBlockId() string
- func (o *TxMinify) GetBlockIdOk() (*string, bool)
- func (o *TxMinify) GetBlockNumber() int64
- func (o *TxMinify) GetBlockNumberOk() (*int64, bool)
- func (o *TxMinify) GetConfirmations() int64
- func (o *TxMinify) GetConfirmationsOk() (*int64, bool)
- func (o *TxMinify) GetDate() int64
- func (o *TxMinify) GetDateOk() (*int64, bool)
- func (o *TxMinify) GetIndex() int32
- func (o *TxMinify) GetIndexOk() (*int32, bool)
- func (o *TxMinify) GetTxId() string
- func (o *TxMinify) GetTxIdOk() (*string, bool)
- func (o *TxMinify) HasBlockId() bool
- func (o *TxMinify) HasBlockNumber() bool
- func (o *TxMinify) HasConfirmations() bool
- func (o *TxMinify) HasDate() bool
- func (o *TxMinify) HasIndex() bool
- func (o *TxMinify) HasTxId() bool
- func (o TxMinify) MarshalJSON() ([]byte, error)
- func (o *TxMinify) SetBlockId(v string)
- func (o *TxMinify) SetBlockIdNil()
- func (o *TxMinify) SetBlockNumber(v int64)
- func (o *TxMinify) SetBlockNumberNil()
- func (o *TxMinify) SetConfirmations(v int64)
- func (o *TxMinify) SetDate(v int64)
- func (o *TxMinify) SetIndex(v int32)
- func (o *TxMinify) SetTxId(v string)
- func (o *TxMinify) UnsetBlockId()
- func (o *TxMinify) UnsetBlockNumber()
- type TxOutput
- func (o *TxOutput) GetIsSpent() bool
- func (o *TxOutput) GetIsSpentOk() (*bool, bool)
- func (o *TxOutput) GetMined() TxMinify
- func (o *TxOutput) GetMinedOk() (*TxMinify, bool)
- func (o *TxOutput) GetSpent() TxMinify
- func (o *TxOutput) GetSpentOk() (*TxMinify, bool)
- func (o *TxOutput) GetStatus() string
- func (o *TxOutput) GetStatusOk() (*string, bool)
- func (o *TxOutput) GetValue() int64
- func (o *TxOutput) GetValueOk() (*int64, bool)
- func (o *TxOutput) HasIsSpent() bool
- func (o *TxOutput) HasMined() bool
- func (o *TxOutput) HasSpent() bool
- func (o *TxOutput) HasStatus() bool
- func (o *TxOutput) HasValue() bool
- func (o TxOutput) MarshalJSON() ([]byte, error)
- func (o *TxOutput) SetIsSpent(v bool)
- func (o *TxOutput) SetMined(v TxMinify)
- func (o *TxOutput) SetMinedNil()
- func (o *TxOutput) SetSpent(v TxMinify)
- func (o *TxOutput) SetSpentNil()
- func (o *TxOutput) SetStatus(v string)
- func (o *TxOutput) SetValue(v int64)
- func (o *TxOutput) SetValueNil()
- func (o *TxOutput) UnsetMined()
- func (o *TxOutput) UnsetSpent()
- func (o *TxOutput) UnsetValue()
- type TxOutputResponse
- func (o *TxOutputResponse) GetBlockId() string
- func (o *TxOutputResponse) GetBlockIdOk() (*string, bool)
- func (o *TxOutputResponse) GetBlockNumber() int32
- func (o *TxOutputResponse) GetBlockNumberOk() (*int32, bool)
- func (o *TxOutputResponse) GetConfirmations() int32
- func (o *TxOutputResponse) GetConfirmationsOk() (*int32, bool)
- func (o *TxOutputResponse) GetDate() int64
- func (o *TxOutputResponse) GetDateOk() (*int64, bool)
- func (o *TxOutputResponse) GetIndex() int32
- func (o *TxOutputResponse) GetIndexOk() (*int32, bool)
- func (o *TxOutputResponse) GetMeta() TxOutputResponseMeta
- func (o *TxOutputResponse) GetMetaOk() (*TxOutputResponseMeta, bool)
- func (o *TxOutputResponse) GetTxId() string
- func (o *TxOutputResponse) GetTxIdOk() (*string, bool)
- func (o *TxOutputResponse) HasBlockId() bool
- func (o *TxOutputResponse) HasBlockNumber() bool
- func (o *TxOutputResponse) HasConfirmations() bool
- func (o *TxOutputResponse) HasDate() bool
- func (o *TxOutputResponse) HasIndex() bool
- func (o *TxOutputResponse) HasMeta() bool
- func (o *TxOutputResponse) HasTxId() bool
- func (o TxOutputResponse) MarshalJSON() ([]byte, error)
- func (o *TxOutputResponse) SetBlockId(v string)
- func (o *TxOutputResponse) SetBlockNumber(v int32)
- func (o *TxOutputResponse) SetConfirmations(v int32)
- func (o *TxOutputResponse) SetDate(v int64)
- func (o *TxOutputResponse) SetIndex(v int32)
- func (o *TxOutputResponse) SetMeta(v TxOutputResponseMeta)
- func (o *TxOutputResponse) SetTxId(v string)
- type TxOutputResponseMeta
- func (o *TxOutputResponseMeta) GetAddresses() []string
- func (o *TxOutputResponseMeta) GetAddressesOk() (*[]string, bool)
- func (o *TxOutputResponseMeta) GetIndex() int32
- func (o *TxOutputResponseMeta) GetIndexOk() (*int32, bool)
- func (o *TxOutputResponseMeta) GetScript() string
- func (o *TxOutputResponseMeta) GetScriptOk() (*string, bool)
- func (o *TxOutputResponseMeta) GetScriptType() string
- func (o *TxOutputResponseMeta) GetScriptTypeOk() (*string, bool)
- func (o *TxOutputResponseMeta) HasAddresses() bool
- func (o *TxOutputResponseMeta) HasIndex() bool
- func (o *TxOutputResponseMeta) HasScript() bool
- func (o *TxOutputResponseMeta) HasScriptType() bool
- func (o TxOutputResponseMeta) MarshalJSON() ([]byte, error)
- func (o *TxOutputResponseMeta) SetAddresses(v []string)
- func (o *TxOutputResponseMeta) SetIndex(v int32)
- func (o *TxOutputResponseMeta) SetScript(v string)
- func (o *TxOutputResponseMeta) SetScriptType(v string)
- type TxOutputs
- func (o *TxOutputs) GetData() []TxOutputsData
- func (o *TxOutputs) GetDataOk() (*[]TxOutputsData, bool)
- func (o *TxOutputs) GetMeta() Meta
- func (o *TxOutputs) GetMetaOk() (*Meta, bool)
- func (o *TxOutputs) GetTotal() int32
- func (o *TxOutputs) GetTotalOk() (*int32, bool)
- func (o *TxOutputs) HasData() bool
- func (o *TxOutputs) HasMeta() bool
- func (o *TxOutputs) HasTotal() bool
- func (o TxOutputs) MarshalJSON() ([]byte, error)
- func (o *TxOutputs) SetData(v []TxOutputsData)
- func (o *TxOutputs) SetMeta(v Meta)
- func (o *TxOutputs) SetMetaNil()
- func (o *TxOutputs) SetTotal(v int32)
- func (o *TxOutputs) UnsetMeta()
- type TxOutputsData
- func (o *TxOutputsData) GetIsSpent() bool
- func (o *TxOutputsData) GetIsSpentOk() (*bool, bool)
- func (o *TxOutputsData) GetMined() TxOutputResponse
- func (o *TxOutputsData) GetMinedOk() (*TxOutputResponse, bool)
- func (o *TxOutputsData) GetPending() TxOutputResponse
- func (o *TxOutputsData) GetPendingOk() (*TxOutputResponse, bool)
- func (o *TxOutputsData) GetSpent() TxOutputResponse
- func (o *TxOutputsData) GetSpentOk() (*TxOutputResponse, bool)
- func (o *TxOutputsData) GetStatus() string
- func (o *TxOutputsData) GetStatusOk() (*string, bool)
- func (o *TxOutputsData) GetValue() int64
- func (o *TxOutputsData) GetValueOk() (*int64, bool)
- func (o *TxOutputsData) HasIsSpent() bool
- func (o *TxOutputsData) HasMined() bool
- func (o *TxOutputsData) HasPending() bool
- func (o *TxOutputsData) HasSpent() bool
- func (o *TxOutputsData) HasStatus() bool
- func (o *TxOutputsData) HasValue() bool
- func (o TxOutputsData) MarshalJSON() ([]byte, error)
- func (o *TxOutputsData) SetIsSpent(v bool)
- func (o *TxOutputsData) SetMined(v TxOutputResponse)
- func (o *TxOutputsData) SetPending(v TxOutputResponse)
- func (o *TxOutputsData) SetSpent(v TxOutputResponse)
- func (o *TxOutputsData) SetStatus(v string)
- func (o *TxOutputsData) SetValue(v int64)
- type TxPage
- func (o *TxPage) GetData() []Tx
- func (o *TxPage) GetDataOk() (*[]Tx, bool)
- func (o *TxPage) GetMeta() Meta
- func (o *TxPage) GetMetaOk() (*Meta, bool)
- func (o *TxPage) GetTotal() int32
- func (o *TxPage) GetTotalOk() (*int32, bool)
- func (o *TxPage) HasData() bool
- func (o *TxPage) HasMeta() bool
- func (o *TxPage) HasTotal() bool
- func (o TxPage) MarshalJSON() ([]byte, error)
- func (o *TxPage) SetData(v []Tx)
- func (o *TxPage) SetMeta(v Meta)
- func (o *TxPage) SetMetaNil()
- func (o *TxPage) SetTotal(v int32)
- func (o *TxPage) UnsetMeta()
- type TxReceipt
- type UnsignedTx
- func (o *UnsignedTx) GetId() string
- func (o *UnsignedTx) GetIdOk() (*string, bool)
- func (o *UnsignedTx) GetMeta() UnsignedTxMeta
- func (o *UnsignedTx) GetMetaOk() (*UnsignedTxMeta, bool)
- func (o *UnsignedTx) GetUnsignedTx() string
- func (o *UnsignedTx) GetUnsignedTxOk() (*string, bool)
- func (o *UnsignedTx) HasId() bool
- func (o *UnsignedTx) HasMeta() bool
- func (o UnsignedTx) MarshalJSON() ([]byte, error)
- func (o *UnsignedTx) SetId(v string)
- func (o *UnsignedTx) SetMeta(v UnsignedTxMeta)
- func (o *UnsignedTx) SetUnsignedTx(v string)
- type UnsignedTxMeta
- func (o *UnsignedTxMeta) GetFee() string
- func (o *UnsignedTxMeta) GetFeeOk() (*string, bool)
- func (o *UnsignedTxMeta) GetSigningPayload() string
- func (o *UnsignedTxMeta) GetSigningPayloadOk() (*string, bool)
- func (o *UnsignedTxMeta) HasFee() bool
- func (o *UnsignedTxMeta) HasSigningPayload() bool
- func (o UnsignedTxMeta) MarshalJSON() ([]byte, error)
- func (o *UnsignedTxMeta) SetFee(v string)
- func (o *UnsignedTxMeta) SetSigningPayload(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 { BalancesUTXOAPI BalancesUTXOAPI BlocksAPI BlocksAPI FeeEstimatorAPI FeeEstimatorAPI ProtocolAndEndpointSupportAPI ProtocolAndEndpointSupportAPI TransactionsAPI TransactionsAPI // contains filtered or unexported fields }
APIClient manages communication with the Blockdaemon REST API API v3.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 AccountsObj ¶
type AccountsObj struct { // A list of addresses. Addresses *[]string `json:"addresses,omitempty"` }
AccountsObj struct for AccountsObj
func NewAccountsObj ¶
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 ¶
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 ¶
func (o *AccountsObj) GetAddresses() []string
GetAddresses returns the Addresses field value if set, zero value otherwise.
func (*AccountsObj) GetAddressesOk ¶
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 ¶
func (o *AccountsObj) HasAddresses() bool
HasAddresses returns a boolean if a field has been set.
func (AccountsObj) MarshalJSON ¶
func (o AccountsObj) MarshalJSON() ([]byte, error)
func (*AccountsObj) SetAddresses ¶
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 { // The type of protocol the metadata relates to. Type *string `json:"type,omitempty"` // The sender reward amount. SenderReward *string `json:"sender_reward,omitempty"` // The recipient reward amount. RecipientReward *string `json:"recipient_reward,omitempty"` // The closing account. Close *string `json:"close,omitempty"` // The closing amount. CloseAmount *string `json:"close_amount,omitempty"` // The closing reward. 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 ApiGetBlockByNumberRequest ¶ added in v1.3.0
type ApiGetBlockByNumberRequest struct { ApiService BlocksAPI // contains filtered or unexported fields }
type ApiGetBlockIdentifierByNumberRequest ¶ added in v1.3.0
type ApiGetBlockIdentifierByNumberRequest struct { ApiService BlocksAPI // contains filtered or unexported fields }
func (ApiGetBlockIdentifierByNumberRequest) Execute ¶ added in v1.3.0
func (r ApiGetBlockIdentifierByNumberRequest) Execute() (BlockIdentifier, *_nethttp.Response, error)
type ApiGetBlockIdentifiersRequest ¶
type ApiGetBlockIdentifiersRequest struct { ApiService BlocksAPI // contains filtered or unexported fields }
func (ApiGetBlockIdentifiersRequest) Execute ¶
func (r ApiGetBlockIdentifiersRequest) Execute() (BlockIdentifiers, *_nethttp.Response, error)
func (ApiGetBlockIdentifiersRequest) Order ¶ added in v1.2.0
func (r ApiGetBlockIdentifiersRequest) Order(order string) ApiGetBlockIdentifiersRequest
func (ApiGetBlockIdentifiersRequest) PageSize ¶ added in v1.5.0
func (r ApiGetBlockIdentifiersRequest) PageSize(pageSize int32) ApiGetBlockIdentifiersRequest
func (ApiGetBlockIdentifiersRequest) PageToken ¶ added in v1.5.0
func (r ApiGetBlockIdentifiersRequest) PageToken(pageToken string) ApiGetBlockIdentifiersRequest
type ApiGetCurrentBlockHashRequest ¶ added in v1.3.0
type ApiGetCurrentBlockHashRequest struct { ApiService BlocksAPI // contains filtered or unexported fields }
type ApiGetCurrentBlockNumberRequest ¶ added in v1.3.0
type ApiGetCurrentBlockNumberRequest struct { ApiService BlocksAPI // contains filtered or unexported fields }
type ApiGetFeeEstimateRequest ¶ added in v1.8.2
type ApiGetFeeEstimateRequest struct { ApiService FeeEstimatorAPI // contains filtered or unexported fields }
func (ApiGetFeeEstimateRequest) Execute ¶ added in v1.8.2
func (r ApiGetFeeEstimateRequest) Execute() (InlineResponse200, *_nethttp.Response, error)
type ApiGetListOfBalancesByAddressRequest ¶
type ApiGetListOfBalancesByAddressRequest struct { ApiService BalancesUTXOAPI // contains filtered or unexported fields }
func (ApiGetListOfBalancesByAddressRequest) Assets ¶ added in v1.1.0
func (r ApiGetListOfBalancesByAddressRequest) Assets(assets string) ApiGetListOfBalancesByAddressRequest
type ApiGetListOfBalancesByAddressesRequest ¶
type ApiGetListOfBalancesByAddressesRequest struct { ApiService BalancesUTXOAPI // contains filtered or unexported fields }
func (ApiGetListOfBalancesByAddressesRequest) AccountsObj ¶
func (r ApiGetListOfBalancesByAddressesRequest) AccountsObj(accountsObj AccountsObj) ApiGetListOfBalancesByAddressesRequest
func (ApiGetListOfBalancesByAddressesRequest) Assets ¶ added in v1.1.0
func (r ApiGetListOfBalancesByAddressesRequest) Assets(assets string) ApiGetListOfBalancesByAddressesRequest
type ApiGetProtocolEndpointsRequest ¶ added in v1.2.0
type ApiGetProtocolEndpointsRequest struct { ApiService ProtocolAndEndpointSupportAPI // contains filtered or unexported fields }
func (ApiGetProtocolEndpointsRequest) Execute ¶ added in v1.2.0
func (r ApiGetProtocolEndpointsRequest) Execute() (ProtocolDetail, *_nethttp.Response, error)
type ApiGetProtocolsListRequest ¶ added in v1.2.0
type ApiGetProtocolsListRequest struct { ApiService ProtocolAndEndpointSupportAPI // contains filtered or unexported fields }
func (ApiGetProtocolsListRequest) Execute ¶ added in v1.2.0
func (r ApiGetProtocolsListRequest) Execute() (ProtocolsOverview, *_nethttp.Response, error)
type ApiGetReportByAddressRequest ¶
type ApiGetReportByAddressRequest struct { ApiService BalancesUTXOAPI // contains filtered or unexported fields }
func (ApiGetReportByAddressRequest) Execute ¶
func (r ApiGetReportByAddressRequest) Execute() (Report, *_nethttp.Response, error)
func (ApiGetReportByAddressRequest) From ¶
func (r ApiGetReportByAddressRequest) From(from int32) ApiGetReportByAddressRequest
func (ApiGetReportByAddressRequest) PageSize ¶ added in v1.5.0
func (r ApiGetReportByAddressRequest) PageSize(pageSize int32) ApiGetReportByAddressRequest
func (ApiGetReportByAddressRequest) PageToken ¶ added in v1.5.0
func (r ApiGetReportByAddressRequest) PageToken(pageToken string) ApiGetReportByAddressRequest
func (ApiGetReportByAddressRequest) To ¶
func (r ApiGetReportByAddressRequest) To(to int32) ApiGetReportByAddressRequest
type ApiGetTxByHashRequest ¶ added in v1.3.0
type ApiGetTxByHashRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
type ApiGetTxConfirmationsRequest ¶
type ApiGetTxConfirmationsRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (ApiGetTxConfirmationsRequest) Execute ¶
func (r ApiGetTxConfirmationsRequest) Execute() (TxConfirmation, *_nethttp.Response, error)
type ApiGetTxOutputByHashAndIndexRequest ¶ added in v1.3.0
type ApiGetTxOutputByHashAndIndexRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
type ApiGetTxsByAddressRequest ¶
type ApiGetTxsByAddressRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (ApiGetTxsByAddressRequest) Assets ¶
func (r ApiGetTxsByAddressRequest) Assets(assets string) ApiGetTxsByAddressRequest
func (ApiGetTxsByAddressRequest) Execute ¶
func (r ApiGetTxsByAddressRequest) Execute() (TxPage, *_nethttp.Response, error)
func (ApiGetTxsByAddressRequest) From ¶ added in v1.2.0
func (r ApiGetTxsByAddressRequest) From(from int32) ApiGetTxsByAddressRequest
func (ApiGetTxsByAddressRequest) Order ¶
func (r ApiGetTxsByAddressRequest) Order(order string) ApiGetTxsByAddressRequest
func (ApiGetTxsByAddressRequest) PageSize ¶ added in v1.5.0
func (r ApiGetTxsByAddressRequest) PageSize(pageSize int32) ApiGetTxsByAddressRequest
func (ApiGetTxsByAddressRequest) PageToken ¶ added in v1.5.0
func (r ApiGetTxsByAddressRequest) PageToken(pageToken string) ApiGetTxsByAddressRequest
func (ApiGetTxsByAddressRequest) To ¶ added in v1.2.0
func (r ApiGetTxsByAddressRequest) To(to int32) ApiGetTxsByAddressRequest
type ApiGetTxsRequest ¶
type ApiGetTxsRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (ApiGetTxsRequest) Assets ¶ added in v1.1.0
func (r ApiGetTxsRequest) Assets(assets string) ApiGetTxsRequest
func (ApiGetTxsRequest) BlockHash ¶ added in v1.3.0
func (r ApiGetTxsRequest) BlockHash(blockHash string) ApiGetTxsRequest
func (ApiGetTxsRequest) BlockNumber ¶ added in v1.8.2
func (r ApiGetTxsRequest) BlockNumber(blockNumber int32) ApiGetTxsRequest
func (ApiGetTxsRequest) Execute ¶
func (r ApiGetTxsRequest) Execute() (TxPage, *_nethttp.Response, error)
func (ApiGetTxsRequest) Order ¶
func (r ApiGetTxsRequest) Order(order string) ApiGetTxsRequest
func (ApiGetTxsRequest) PageSize ¶ added in v1.5.0
func (r ApiGetTxsRequest) PageSize(pageSize int32) ApiGetTxsRequest
func (ApiGetTxsRequest) PageToken ¶ added in v1.5.0
func (r ApiGetTxsRequest) PageToken(pageToken string) ApiGetTxsRequest
type ApiGetUTXOByAccountRequest ¶ added in v1.2.0
type ApiGetUTXOByAccountRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (ApiGetUTXOByAccountRequest) CheckMempool ¶ added in v1.6.0
func (r ApiGetUTXOByAccountRequest) CheckMempool(checkMempool bool) ApiGetUTXOByAccountRequest
func (ApiGetUTXOByAccountRequest) Execute ¶ added in v1.2.0
func (r ApiGetUTXOByAccountRequest) Execute() (TxOutputs, *_nethttp.Response, error)
func (ApiGetUTXOByAccountRequest) From ¶ added in v1.2.0
func (r ApiGetUTXOByAccountRequest) From(from int32) ApiGetUTXOByAccountRequest
func (ApiGetUTXOByAccountRequest) Order ¶ added in v1.2.0
func (r ApiGetUTXOByAccountRequest) Order(order string) ApiGetUTXOByAccountRequest
func (ApiGetUTXOByAccountRequest) PageSize ¶ added in v1.5.0
func (r ApiGetUTXOByAccountRequest) PageSize(pageSize int32) ApiGetUTXOByAccountRequest
func (ApiGetUTXOByAccountRequest) PageToken ¶ added in v1.5.0
func (r ApiGetUTXOByAccountRequest) PageToken(pageToken string) ApiGetUTXOByAccountRequest
func (ApiGetUTXOByAccountRequest) Spent ¶ added in v1.2.0
func (r ApiGetUTXOByAccountRequest) Spent(spent bool) ApiGetUTXOByAccountRequest
func (ApiGetUTXOByAccountRequest) To ¶ added in v1.2.0
func (r ApiGetUTXOByAccountRequest) To(to int32) ApiGetUTXOByAccountRequest
type ApiTxCreateRequest ¶ added in v1.3.0
type ApiTxCreateRequest struct { ApiService TransactionsAPI // contains filtered or unexported fields }
func (ApiTxCreateRequest) Execute ¶ added in v1.3.0
func (r ApiTxCreateRequest) Execute() (UnsignedTx, *_nethttp.Response, error)
func (ApiTxCreateRequest) TxCreate ¶ added in v1.3.0
func (r ApiTxCreateRequest) TxCreate(txCreate TxCreate) ApiTxCreateRequest
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 Balance ¶
type Balance struct { Currency *Currency `json:"currency,omitempty"` // The balance that can be spent. ConfirmedBalance *string `json:"confirmed_balance,omitempty"` // The balance value from the latest confirmed block. PendingBalance *string `json:"pending_balance,omitempty"` // The confirmed block number. ConfirmedBlock *int32 `json:"confirmed_block,omitempty"` // The confirmed nonce of the transaction. ConfirmedNonce *int32 `json:"confirmed_nonce,omitempty"` }
Balance Account balance object.
func NewBalance ¶
func NewBalance() *Balance
NewBalance instantiates a new Balance 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 NewBalanceWithDefaults ¶
func NewBalanceWithDefaults() *Balance
NewBalanceWithDefaults instantiates a new Balance 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 (*Balance) GetConfirmedBalance ¶
GetConfirmedBalance returns the ConfirmedBalance field value if set, zero value otherwise.
func (*Balance) GetConfirmedBalanceOk ¶
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 (*Balance) GetConfirmedBlock ¶
GetConfirmedBlock returns the ConfirmedBlock field value if set, zero value otherwise.
func (*Balance) GetConfirmedBlockOk ¶
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 (*Balance) GetConfirmedNonce ¶
GetConfirmedNonce returns the ConfirmedNonce field value if set, zero value otherwise.
func (*Balance) GetConfirmedNonceOk ¶
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 (*Balance) GetCurrency ¶
GetCurrency returns the Currency field value if set, zero value otherwise.
func (*Balance) GetCurrencyOk ¶
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 (*Balance) GetPendingBalance ¶
GetPendingBalance returns the PendingBalance field value if set, zero value otherwise.
func (*Balance) GetPendingBalanceOk ¶
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 (*Balance) HasConfirmedBalance ¶
HasConfirmedBalance returns a boolean if a field has been set.
func (*Balance) HasConfirmedBlock ¶
HasConfirmedBlock returns a boolean if a field has been set.
func (*Balance) HasConfirmedNonce ¶
HasConfirmedNonce returns a boolean if a field has been set.
func (*Balance) HasCurrency ¶
HasCurrency returns a boolean if a field has been set.
func (*Balance) HasPendingBalance ¶
HasPendingBalance returns a boolean if a field has been set.
func (Balance) MarshalJSON ¶
func (*Balance) SetConfirmedBalance ¶
SetConfirmedBalance gets a reference to the given string and assigns it to the ConfirmedBalance field.
func (*Balance) SetConfirmedBlock ¶
SetConfirmedBlock gets a reference to the given int32 and assigns it to the ConfirmedBlock field.
func (*Balance) SetConfirmedNonce ¶
SetConfirmedNonce gets a reference to the given int32 and assigns it to the ConfirmedNonce field.
func (*Balance) SetCurrency ¶
SetCurrency gets a reference to the given Currency and assigns it to the Currency field.
func (*Balance) SetPendingBalance ¶
SetPendingBalance gets a reference to the given string and assigns it to the PendingBalance field.
type BalancesUTXOAPI ¶ added in v1.11.0
type BalancesUTXOAPI interface { /* * GetListOfBalancesByAddress Get a List of Balances for an Address * Returns a list of account balances by a user-defined account address for the supported currencies. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `near`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar`, `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param address The account address of the protocol. * @return ApiGetListOfBalancesByAddressRequest */ GetListOfBalancesByAddress(ctx _context.Context, protocol string, network string, address string) ApiGetListOfBalancesByAddressRequest /* * GetListOfBalancesByAddressExecute executes the request * @return []Balance */ GetListOfBalancesByAddressExecute(r ApiGetListOfBalancesByAddressRequest) ([]Balance, *_nethttp.Response, error) /* * GetListOfBalancesByAddresses Get a List of Balances for Multiple Adresses * Returns a list of account balances by a user-defined list of account addresses for the supported currencies. The maximum of account addresses allowed in the filter is 10. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `near`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar`, `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiGetListOfBalancesByAddressesRequest */ GetListOfBalancesByAddresses(ctx _context.Context, protocol string, network string) ApiGetListOfBalancesByAddressesRequest /* * GetListOfBalancesByAddressesExecute executes the request * @return map[string][]Balance */ GetListOfBalancesByAddressesExecute(r ApiGetListOfBalancesByAddressesRequest) (map[string][]Balance, *_nethttp.Response, error) /* * GetReportByAddress Get a Financial Report for an Address Between a Time Period * Returns a financial report by a user-defined account address between a time period. Default timescale is within the last 30 days. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `fantom`, `polkadot`, `polygon`, `stellar` `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param address The account address of the protocol. * @return ApiGetReportByAddressRequest */ GetReportByAddress(ctx _context.Context, protocol string, network string, address string) ApiGetReportByAddressRequest /* * GetReportByAddressExecute executes the request * @return Report */ GetReportByAddressExecute(r ApiGetReportByAddressRequest) (Report, *_nethttp.Response, error) }
type BalancesUTXOAPIService ¶ added in v1.11.0
type BalancesUTXOAPIService service
BalancesUTXOAPIService BalancesUTXOAPI service
func (*BalancesUTXOAPIService) GetListOfBalancesByAddress ¶ added in v1.11.0
func (a *BalancesUTXOAPIService) GetListOfBalancesByAddress(ctx _context.Context, protocol string, network string, address string) ApiGetListOfBalancesByAddressRequest
* GetListOfBalancesByAddress Get a List of Balances for an Address * Returns a list of account balances by a user-defined account address for the supported currencies. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `near`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar`, `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param address The account address of the protocol. * @return ApiGetListOfBalancesByAddressRequest
func (*BalancesUTXOAPIService) GetListOfBalancesByAddressExecute ¶ added in v1.11.0
func (a *BalancesUTXOAPIService) GetListOfBalancesByAddressExecute(r ApiGetListOfBalancesByAddressRequest) ([]Balance, *_nethttp.Response, error)
* Execute executes the request * @return []Balance
func (*BalancesUTXOAPIService) GetListOfBalancesByAddresses ¶ added in v1.11.0
func (a *BalancesUTXOAPIService) GetListOfBalancesByAddresses(ctx _context.Context, protocol string, network string) ApiGetListOfBalancesByAddressesRequest
* GetListOfBalancesByAddresses Get a List of Balances for Multiple Adresses * Returns a list of account balances by a user-defined list of account addresses for the supported currencies. The maximum of account addresses allowed in the filter is 10.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `near`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar`, `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiGetListOfBalancesByAddressesRequest
func (*BalancesUTXOAPIService) GetListOfBalancesByAddressesExecute ¶ added in v1.11.0
func (a *BalancesUTXOAPIService) GetListOfBalancesByAddressesExecute(r ApiGetListOfBalancesByAddressesRequest) (map[string][]Balance, *_nethttp.Response, error)
* Execute executes the request * @return map[string][]Balance
func (*BalancesUTXOAPIService) GetReportByAddress ¶ added in v1.11.0
func (a *BalancesUTXOAPIService) GetReportByAddress(ctx _context.Context, protocol string, network string, address string) ApiGetReportByAddressRequest
* GetReportByAddress Get a Financial Report for an Address Between a Time Period * Returns a financial report by a user-defined account address between a time period. Default timescale is within the last 30 days.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `fantom`, `polkadot`, `polygon`, `stellar` `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param address The account address of the protocol. * @return ApiGetReportByAddressRequest
func (*BalancesUTXOAPIService) GetReportByAddressExecute ¶ added in v1.11.0
func (a *BalancesUTXOAPIService) GetReportByAddressExecute(r ApiGetReportByAddressRequest) (Report, *_nethttp.Response, error)
* Execute executes the request * @return Report
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 { // The block number. Number *int64 `json:"number,omitempty"` // The block hash. Id *string `json:"id,omitempty"` // The parent block hash. ParentId *string `json:"parent_id,omitempty"` // The block date in unix timestamp format. Date *int64 `json:"date,omitempty"` // The amount of transaction in the block. NumTxs *int32 `json:"num_txs,omitempty"` // A list of normalized transactions presented in the block (not filtered or unknown model). Txs *[]Tx `json:"txs,omitempty"` }
Block The block object.
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) GetNumTxsOk ¶
GetNumTxsOk returns a tuple with the NumTxs 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) 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) SetNumTxs ¶
SetNumTxs gets a reference to the given int32 and assigns it to the NumTxs 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.
type BlockIdentifier ¶
type BlockIdentifier struct { // The block number. Number *int64 `json:"number,omitempty"` // The block hash. Id *string `json:"id,omitempty"` // The parent block hash. ParentId *string `json:"parent_id,omitempty"` // The block date in Unix timestamp format. Date *int64 `json:"date,omitempty"` // The amount of transaction in the block. NumTxs *int32 `json:"num_txs,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) GetDate ¶
func (o *BlockIdentifier) GetDate() int64
GetDate returns the Date field value if set, zero value otherwise.
func (*BlockIdentifier) GetDateOk ¶
func (o *BlockIdentifier) GetDateOk() (*int64, bool)
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 (*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) GetNumTxs ¶ added in v1.8.2
func (o *BlockIdentifier) GetNumTxs() int32
GetNumTxs returns the NumTxs field value if set, zero value otherwise.
func (*BlockIdentifier) GetNumTxsOk ¶ added in v1.8.2
func (o *BlockIdentifier) GetNumTxsOk() (*int32, bool)
GetNumTxsOk returns a tuple with the NumTxs 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) HasDate ¶
func (o *BlockIdentifier) HasDate() bool
HasDate returns a boolean if a field has been set.
func (*BlockIdentifier) HasId ¶
func (o *BlockIdentifier) HasId() bool
HasId returns a boolean if a field has been set.
func (*BlockIdentifier) HasNumTxs ¶ added in v1.8.2
func (o *BlockIdentifier) HasNumTxs() bool
HasNumTxs 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) SetDate ¶
func (o *BlockIdentifier) SetDate(v int64)
SetDate gets a reference to the given int64 and assigns it to the Date field.
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) SetNumTxs ¶ added in v1.8.2
func (o *BlockIdentifier) SetNumTxs(v int32)
SetNumTxs gets a reference to the given int32 and assigns it to the NumTxs 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 BlockIdentifiers ¶ added in v1.2.0
type BlockIdentifiers struct { // The number of items in block identifiers. Total *int32 `json:"total,omitempty"` Data *[]BlockIdentifier `json:"data,omitempty"` Meta NullableMeta `json:"meta,omitempty"` }
BlockIdentifiers struct for BlockIdentifiers
func NewBlockIdentifiers ¶ added in v1.2.0
func NewBlockIdentifiers() *BlockIdentifiers
NewBlockIdentifiers instantiates a new BlockIdentifiers 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 NewBlockIdentifiersWithDefaults ¶ added in v1.2.0
func NewBlockIdentifiersWithDefaults() *BlockIdentifiers
NewBlockIdentifiersWithDefaults instantiates a new BlockIdentifiers 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 (*BlockIdentifiers) GetData ¶ added in v1.2.0
func (o *BlockIdentifiers) GetData() []BlockIdentifier
GetData returns the Data field value if set, zero value otherwise.
func (*BlockIdentifiers) GetDataOk ¶ added in v1.2.0
func (o *BlockIdentifiers) GetDataOk() (*[]BlockIdentifier, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BlockIdentifiers) GetMeta ¶ added in v1.2.0
func (o *BlockIdentifiers) GetMeta() Meta
GetMeta returns the Meta field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BlockIdentifiers) GetMetaOk ¶ added in v1.2.0
func (o *BlockIdentifiers) GetMetaOk() (*Meta, 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 (*BlockIdentifiers) GetTotal ¶ added in v1.2.0
func (o *BlockIdentifiers) GetTotal() int32
GetTotal returns the Total field value if set, zero value otherwise.
func (*BlockIdentifiers) GetTotalOk ¶ added in v1.2.0
func (o *BlockIdentifiers) GetTotalOk() (*int32, bool)
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 (*BlockIdentifiers) HasData ¶ added in v1.2.0
func (o *BlockIdentifiers) HasData() bool
HasData returns a boolean if a field has been set.
func (*BlockIdentifiers) HasMeta ¶ added in v1.2.0
func (o *BlockIdentifiers) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (*BlockIdentifiers) HasTotal ¶ added in v1.2.0
func (o *BlockIdentifiers) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (BlockIdentifiers) MarshalJSON ¶ added in v1.2.0
func (o BlockIdentifiers) MarshalJSON() ([]byte, error)
func (*BlockIdentifiers) SetData ¶ added in v1.2.0
func (o *BlockIdentifiers) SetData(v []BlockIdentifier)
SetData gets a reference to the given []BlockIdentifier and assigns it to the Data field.
func (*BlockIdentifiers) SetMeta ¶ added in v1.2.0
func (o *BlockIdentifiers) SetMeta(v Meta)
SetMeta gets a reference to the given NullableMeta and assigns it to the Meta field.
func (*BlockIdentifiers) SetMetaNil ¶ added in v1.2.0
func (o *BlockIdentifiers) SetMetaNil()
SetMetaNil sets the value for Meta to be an explicit nil
func (*BlockIdentifiers) SetTotal ¶ added in v1.2.0
func (o *BlockIdentifiers) SetTotal(v int32)
SetTotal gets a reference to the given int32 and assigns it to the Total field.
func (*BlockIdentifiers) UnsetMeta ¶ added in v1.2.0
func (o *BlockIdentifiers) UnsetMeta()
UnsetMeta ensures that no value is present for Meta, not even an explicit nil
type BlocksAPI ¶
type BlocksAPI interface { /* * GetBlockByNumber Get a Block by Number or Hash * Get a block and all its transactions by a user-defined block number or block hash. Use `-1` or `current` parameter to return the current block. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `near`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar`, `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param blockIdentifier The block identifier, hash or number. * @return ApiGetBlockByNumberRequest */ GetBlockByNumber(ctx _context.Context, protocol string, network string, blockIdentifier string) ApiGetBlockByNumberRequest /* * GetBlockByNumberExecute executes the request * @return Block */ GetBlockByNumberExecute(r ApiGetBlockByNumberRequest) (Block, *_nethttp.Response, error) /* * GetBlockIdentifierByNumber Get a Block Identifier by Number of Hash * Get the minimal block data, block header, by a user-defined block number or block hash. Use `-1` or `current` parameter to return the current block. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `near`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar`, `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param blockIdentifier The block identifier, hash or number. * @return ApiGetBlockIdentifierByNumberRequest */ GetBlockIdentifierByNumber(ctx _context.Context, protocol string, network string, blockIdentifier string) ApiGetBlockIdentifierByNumberRequest /* * GetBlockIdentifierByNumberExecute executes the request * @return BlockIdentifier */ GetBlockIdentifierByNumberExecute(r ApiGetBlockIdentifierByNumberRequest) (BlockIdentifier, *_nethttp.Response, error) /* * GetBlockIdentifiers Get a List of Block Identifiers * Returns a list of minimal block data, block headers such as block hash and block number. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `optimism`, `polkadot`, `polygon`, `tezos`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiGetBlockIdentifiersRequest */ GetBlockIdentifiers(ctx _context.Context, protocol string, network string) ApiGetBlockIdentifiersRequest /* * GetBlockIdentifiersExecute executes the request * @return BlockIdentifiers */ GetBlockIdentifiersExecute(r ApiGetBlockIdentifiersRequest) (BlockIdentifiers, *_nethttp.Response, error) /* * GetCurrentBlockHash Get the Current Block Hash * Get the current block id (hash) of the protocol. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `near`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar`, `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiGetCurrentBlockHashRequest */ GetCurrentBlockHash(ctx _context.Context, protocol string, network string) ApiGetCurrentBlockHashRequest /* * GetCurrentBlockHashExecute executes the request * @return string */ GetCurrentBlockHashExecute(r ApiGetCurrentBlockHashRequest) (string, *_nethttp.Response, error) /* * GetCurrentBlockNumber Get the Current Block Number * Returns the current block number/height of the protocol. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `near`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar`, `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiGetCurrentBlockNumberRequest */ GetCurrentBlockNumber(ctx _context.Context, protocol string, network string) ApiGetCurrentBlockNumberRequest /* * GetCurrentBlockNumberExecute executes the request * @return int64 */ GetCurrentBlockNumberExecute(r ApiGetCurrentBlockNumberRequest) (int64, *_nethttp.Response, error) }
type BlocksAPIService ¶
type BlocksAPIService service
BlocksAPIService BlocksAPI service
func (*BlocksAPIService) GetBlockByNumber ¶ added in v1.3.0
func (a *BlocksAPIService) GetBlockByNumber(ctx _context.Context, protocol string, network string, blockIdentifier string) ApiGetBlockByNumberRequest
- GetBlockByNumber Get a Block by Number or Hash
- Get a block and all its transactions by a user-defined block number or block hash.
Use `-1` or `current` parameter to return the current block.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `near`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar`, `tezos`, `xrp`.
- @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}.
- @param blockIdentifier The block identifier, hash or number.
- @return ApiGetBlockByNumberRequest
func (*BlocksAPIService) GetBlockByNumberExecute ¶ added in v1.3.0
func (a *BlocksAPIService) GetBlockByNumberExecute(r ApiGetBlockByNumberRequest) (Block, *_nethttp.Response, error)
* Execute executes the request * @return Block
func (*BlocksAPIService) GetBlockIdentifierByNumber ¶ added in v1.3.0
func (a *BlocksAPIService) GetBlockIdentifierByNumber(ctx _context.Context, protocol string, network string, blockIdentifier string) ApiGetBlockIdentifierByNumberRequest
- GetBlockIdentifierByNumber Get a Block Identifier by Number of Hash
- Get the minimal block data, block header, by a user-defined block number or block hash.
Use `-1` or `current` parameter to return the current block.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `near`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar`, `tezos`, `xrp`.
- @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}.
- @param blockIdentifier The block identifier, hash or number.
- @return ApiGetBlockIdentifierByNumberRequest
func (*BlocksAPIService) GetBlockIdentifierByNumberExecute ¶ added in v1.3.0
func (a *BlocksAPIService) GetBlockIdentifierByNumberExecute(r ApiGetBlockIdentifierByNumberRequest) (BlockIdentifier, *_nethttp.Response, error)
* Execute executes the request * @return BlockIdentifier
func (*BlocksAPIService) GetBlockIdentifiers ¶
func (a *BlocksAPIService) GetBlockIdentifiers(ctx _context.Context, protocol string, network string) ApiGetBlockIdentifiersRequest
* GetBlockIdentifiers Get a List of Block Identifiers * Returns a list of minimal block data, block headers such as block hash and block number.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `optimism`, `polkadot`, `polygon`, `tezos`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiGetBlockIdentifiersRequest
func (*BlocksAPIService) GetBlockIdentifiersExecute ¶
func (a *BlocksAPIService) GetBlockIdentifiersExecute(r ApiGetBlockIdentifiersRequest) (BlockIdentifiers, *_nethttp.Response, error)
* Execute executes the request * @return BlockIdentifiers
func (*BlocksAPIService) GetCurrentBlockHash ¶ added in v1.3.0
func (a *BlocksAPIService) GetCurrentBlockHash(ctx _context.Context, protocol string, network string) ApiGetCurrentBlockHashRequest
* GetCurrentBlockHash Get the Current Block Hash * Get the current block id (hash) of the protocol. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `near`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar`, `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiGetCurrentBlockHashRequest
func (*BlocksAPIService) GetCurrentBlockHashExecute ¶ added in v1.3.0
func (a *BlocksAPIService) GetCurrentBlockHashExecute(r ApiGetCurrentBlockHashRequest) (string, *_nethttp.Response, error)
* Execute executes the request * @return string
func (*BlocksAPIService) GetCurrentBlockNumber ¶ added in v1.3.0
func (a *BlocksAPIService) GetCurrentBlockNumber(ctx _context.Context, protocol string, network string) ApiGetCurrentBlockNumberRequest
* GetCurrentBlockNumber Get the Current Block Number * Returns the current block number/height of the protocol. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `near`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar`, `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiGetCurrentBlockNumberRequest
func (*BlocksAPIService) GetCurrentBlockNumberExecute ¶ added in v1.3.0
func (a *BlocksAPIService) GetCurrentBlockNumberExecute(r ApiGetCurrentBlockNumberRequest) (int64, *_nethttp.Response, error)
* Execute executes the request * @return int64
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 Event ¶
type Event struct { // The event identifier. Id *string `json:"id,omitempty"` // The transaction identifer this event is presented. TransactionId *string `json:"transaction_id,omitempty"` // The event type. Type *string `json:"type,omitempty"` // The Symbol of currency, can be natibe currency or token currency. Denomination NullableString `json:"denomination,omitempty"` // The destination address of the event. Destination NullableString `json:"destination,omitempty"` // The source address of the event. Source NullableString `json:"source,omitempty"` Meta *EventMeta `json:"meta,omitempty"` // The event date in unix timestamp format. Date *int64 `json:"date,omitempty"` // The coin amount transfered in the event. Amount NullableBigInt `json:"amount,omitempty"` // The coin amount transfered in the event. Decimals NullableInt32 `json:"decimals,omitempty"` }
Event struct for Event
func NewEvent ¶
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 ¶
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 ¶
func (o *Event) GetAmount() bigInt
GetAmount returns the Amount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Event) GetAmountOk ¶
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) 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 (*Event) GetDecimals ¶
GetDecimals returns the Decimals field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Event) GetDecimalsOk ¶
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 ¶
GetDenomination returns the Denomination field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Event) GetDenominationOk ¶
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 ¶
GetDestination returns the Destination field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Event) GetDestinationOk ¶
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) 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 (*Event) GetMetaOk ¶
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Event) GetSource ¶
GetSource returns the Source field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Event) GetSourceOk ¶
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 ¶
GetTransactionId returns the TransactionId field value if set, zero value otherwise.
func (*Event) GetTransactionIdOk ¶
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) GetTypeOk ¶
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) HasDecimals ¶
HasDecimals returns a boolean if a field has been set.
func (*Event) HasDenomination ¶
HasDenomination returns a boolean if a field has been set.
func (*Event) HasDestination ¶
HasDestination returns a boolean if a field has been set.
func (*Event) HasTransactionId ¶
HasTransactionId returns a boolean if a field has been set.
func (Event) MarshalJSON ¶
func (*Event) SetAmount ¶
func (o *Event) SetAmount(v bigInt)
SetAmount gets a reference to the given NullableBigInt and assigns it to the Amount field.
func (*Event) SetAmountNil ¶
func (o *Event) SetAmountNil()
SetAmountNil sets the value for Amount to be an explicit nil
func (*Event) SetDate ¶
SetDate gets a reference to the given int64 and assigns it to the Date field.
func (*Event) SetDecimals ¶
SetDecimals gets a reference to the given NullableInt32 and assigns it to the Decimals field.
func (*Event) SetDecimalsNil ¶
func (o *Event) SetDecimalsNil()
SetDecimalsNil sets the value for Decimals to be an explicit nil
func (*Event) SetDenomination ¶
SetDenomination gets a reference to the given NullableString and assigns it to the Denomination field.
func (*Event) SetDenominationNil ¶
func (o *Event) SetDenominationNil()
SetDenominationNil sets the value for Denomination to be an explicit nil
func (*Event) SetDestination ¶
SetDestination gets a reference to the given NullableString and assigns it to the Destination field.
func (*Event) SetDestinationNil ¶
func (o *Event) SetDestinationNil()
SetDestinationNil sets the value for Destination to be an explicit nil
func (*Event) SetMeta ¶
SetMeta gets a reference to the given EventMeta and assigns it to the Meta field.
func (*Event) SetSource ¶
SetSource gets a reference to the given NullableString and assigns it to the Source field.
func (*Event) SetSourceNil ¶
func (o *Event) SetSourceNil()
SetSourceNil sets the value for Source to be an explicit nil
func (*Event) SetTransactionId ¶
SetTransactionId gets a reference to the given string and assigns it to the TransactionId field.
func (*Event) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*Event) UnsetAmount ¶
func (o *Event) UnsetAmount()
UnsetAmount ensures that no value is present for Amount, not even an explicit nil
func (*Event) UnsetDecimals ¶
func (o *Event) UnsetDecimals()
UnsetDecimals ensures that no value is present for Decimals, not even an explicit nil
func (*Event) UnsetDenomination ¶
func (o *Event) UnsetDenomination()
UnsetDenomination ensures that no value is present for Denomination, not even an explicit nil
func (*Event) UnsetDestination ¶
func (o *Event) UnsetDestination()
UnsetDestination ensures that no value is present for Destination, not even an explicit nil
func (*Event) UnsetSource ¶
func (o *Event) UnsetSource()
UnsetSource ensures that no value is present for Source, not even an explicit nil
type EventMeta ¶ added in v1.8.2
type EventMeta struct { // A list of addresses. Addresses *[]string `json:"addresses,omitempty"` // The index number. Index *int32 `json:"index,omitempty"` // The script. Script *string `json:"script,omitempty"` // The script type. ScriptType *string `json:"script_type,omitempty"` }
EventMeta Protocol specific data that doesn't fit into a standard model.
func NewEventMeta ¶ added in v1.8.2
func NewEventMeta() *EventMeta
NewEventMeta instantiates a new EventMeta 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 NewEventMetaWithDefaults ¶ added in v1.8.2
func NewEventMetaWithDefaults() *EventMeta
NewEventMetaWithDefaults instantiates a new EventMeta 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 (*EventMeta) GetAddresses ¶ added in v1.8.2
GetAddresses returns the Addresses field value if set, zero value otherwise.
func (*EventMeta) GetAddressesOk ¶ added in v1.8.2
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 (*EventMeta) GetIndex ¶ added in v1.8.2
GetIndex returns the Index field value if set, zero value otherwise.
func (*EventMeta) GetIndexOk ¶ added in v1.8.2
GetIndexOk returns a tuple with the Index field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventMeta) GetScript ¶ added in v1.8.2
GetScript returns the Script field value if set, zero value otherwise.
func (*EventMeta) GetScriptOk ¶ added in v1.8.2
GetScriptOk returns a tuple with the Script field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventMeta) GetScriptType ¶ added in v1.8.2
GetScriptType returns the ScriptType field value if set, zero value otherwise.
func (*EventMeta) GetScriptTypeOk ¶ added in v1.8.2
GetScriptTypeOk returns a tuple with the ScriptType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EventMeta) HasAddresses ¶ added in v1.8.2
HasAddresses returns a boolean if a field has been set.
func (*EventMeta) HasScriptType ¶ added in v1.8.2
HasScriptType returns a boolean if a field has been set.
func (EventMeta) MarshalJSON ¶ added in v1.8.2
func (*EventMeta) SetAddresses ¶ added in v1.8.2
SetAddresses gets a reference to the given []string and assigns it to the Addresses field.
func (*EventMeta) SetIndex ¶ added in v1.8.2
SetIndex gets a reference to the given int32 and assigns it to the Index field.
func (*EventMeta) SetScript ¶ added in v1.8.2
SetScript gets a reference to the given string and assigns it to the Script field.
func (*EventMeta) SetScriptType ¶ added in v1.8.2
SetScriptType gets a reference to the given string and assigns it to the ScriptType field.
type EvmFee ¶ added in v1.8.4
type EvmFee struct { // The fast slow priority fee. MaxPriorityFee *bigInt `json:"max_priority_fee,omitempty"` // The fast slow total fee. MaxTotalFee *bigInt `json:"max_total_fee,omitempty"` }
EvmFee The priority fee.
func NewEvmFee ¶ added in v1.8.4
func NewEvmFee() *EvmFee
NewEvmFee instantiates a new EvmFee 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 NewEvmFeeWithDefaults ¶ added in v1.8.4
func NewEvmFeeWithDefaults() *EvmFee
NewEvmFeeWithDefaults instantiates a new EvmFee 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 (*EvmFee) GetMaxPriorityFee ¶ added in v1.8.4
func (o *EvmFee) GetMaxPriorityFee() bigInt
GetMaxPriorityFee returns the MaxPriorityFee field value if set, zero value otherwise.
func (*EvmFee) GetMaxPriorityFeeOk ¶ added in v1.8.4
GetMaxPriorityFeeOk returns a tuple with the MaxPriorityFee field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EvmFee) GetMaxTotalFee ¶ added in v1.8.4
func (o *EvmFee) GetMaxTotalFee() bigInt
GetMaxTotalFee returns the MaxTotalFee field value if set, zero value otherwise.
func (*EvmFee) GetMaxTotalFeeOk ¶ added in v1.8.4
GetMaxTotalFeeOk returns a tuple with the MaxTotalFee field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EvmFee) HasMaxPriorityFee ¶ added in v1.8.4
HasMaxPriorityFee returns a boolean if a field has been set.
func (*EvmFee) HasMaxTotalFee ¶ added in v1.8.4
HasMaxTotalFee returns a boolean if a field has been set.
func (EvmFee) MarshalJSON ¶ added in v1.8.4
func (*EvmFee) SetMaxPriorityFee ¶ added in v1.8.4
func (o *EvmFee) SetMaxPriorityFee(v bigInt)
SetMaxPriorityFee gets a reference to the given bigInt and assigns it to the MaxPriorityFee field.
func (*EvmFee) SetMaxTotalFee ¶ added in v1.8.4
func (o *EvmFee) SetMaxTotalFee(v bigInt)
SetMaxTotalFee gets a reference to the given bigInt and assigns it to the MaxTotalFee field.
type EvmFeeEstimate ¶ added in v1.8.4
type EvmFeeEstimate struct { Fast *EvmFee `json:"fast,omitempty"` Medium *EvmFee `json:"medium,omitempty"` Slow *EvmFee `json:"slow,omitempty"` }
EvmFeeEstimate struct for EvmFeeEstimate
func NewEvmFeeEstimate ¶ added in v1.8.4
func NewEvmFeeEstimate() *EvmFeeEstimate
NewEvmFeeEstimate instantiates a new EvmFeeEstimate 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 NewEvmFeeEstimateWithDefaults ¶ added in v1.8.4
func NewEvmFeeEstimateWithDefaults() *EvmFeeEstimate
NewEvmFeeEstimateWithDefaults instantiates a new EvmFeeEstimate 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 (*EvmFeeEstimate) GetFast ¶ added in v1.8.4
func (o *EvmFeeEstimate) GetFast() EvmFee
GetFast returns the Fast field value if set, zero value otherwise.
func (*EvmFeeEstimate) GetFastOk ¶ added in v1.8.4
func (o *EvmFeeEstimate) GetFastOk() (*EvmFee, 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.
func (*EvmFeeEstimate) GetMedium ¶ added in v1.8.4
func (o *EvmFeeEstimate) GetMedium() EvmFee
GetMedium returns the Medium field value if set, zero value otherwise.
func (*EvmFeeEstimate) GetMediumOk ¶ added in v1.8.4
func (o *EvmFeeEstimate) GetMediumOk() (*EvmFee, 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.
func (*EvmFeeEstimate) GetSlow ¶ added in v1.8.4
func (o *EvmFeeEstimate) GetSlow() EvmFee
GetSlow returns the Slow field value if set, zero value otherwise.
func (*EvmFeeEstimate) GetSlowOk ¶ added in v1.8.4
func (o *EvmFeeEstimate) GetSlowOk() (*EvmFee, 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.
func (*EvmFeeEstimate) HasFast ¶ added in v1.8.4
func (o *EvmFeeEstimate) HasFast() bool
HasFast returns a boolean if a field has been set.
func (*EvmFeeEstimate) HasMedium ¶ added in v1.8.4
func (o *EvmFeeEstimate) HasMedium() bool
HasMedium returns a boolean if a field has been set.
func (*EvmFeeEstimate) HasSlow ¶ added in v1.8.4
func (o *EvmFeeEstimate) HasSlow() bool
HasSlow returns a boolean if a field has been set.
func (EvmFeeEstimate) MarshalJSON ¶ added in v1.8.4
func (o EvmFeeEstimate) MarshalJSON() ([]byte, error)
func (*EvmFeeEstimate) SetFast ¶ added in v1.8.4
func (o *EvmFeeEstimate) SetFast(v EvmFee)
SetFast gets a reference to the given EvmFee and assigns it to the Fast field.
func (*EvmFeeEstimate) SetMedium ¶ added in v1.8.4
func (o *EvmFeeEstimate) SetMedium(v EvmFee)
SetMedium gets a reference to the given EvmFee and assigns it to the Medium field.
func (*EvmFeeEstimate) SetSlow ¶ added in v1.8.4
func (o *EvmFeeEstimate) SetSlow(v EvmFee)
SetSlow gets a reference to the given EvmFee and assigns it to the Slow field.
type FeeEstimate ¶
type FeeEstimate struct { // The fast maximum priority fee. Fast *bigInt `json:"fast,omitempty"` // The medium maximum priority fee. Medium *bigInt `json:"medium,omitempty"` // The slow maximum priority fee. Slow *bigInt `json:"slow,omitempty"` }
FeeEstimate struct for FeeEstimate
func NewFeeEstimate ¶
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 ¶
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) GetFast ¶ added in v1.8.4
func (o *FeeEstimate) GetFast() bigInt
GetFast returns the Fast field value if set, zero value otherwise.
func (*FeeEstimate) GetFastOk ¶ added in v1.8.4
func (o *FeeEstimate) GetFastOk() (*bigInt, 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.
func (*FeeEstimate) GetMedium ¶ added in v1.8.4
func (o *FeeEstimate) GetMedium() bigInt
GetMedium returns the Medium field value if set, zero value otherwise.
func (*FeeEstimate) GetMediumOk ¶ added in v1.8.4
func (o *FeeEstimate) GetMediumOk() (*bigInt, 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.
func (*FeeEstimate) GetSlow ¶ added in v1.8.4
func (o *FeeEstimate) GetSlow() bigInt
GetSlow returns the Slow field value if set, zero value otherwise.
func (*FeeEstimate) GetSlowOk ¶ added in v1.8.4
func (o *FeeEstimate) GetSlowOk() (*bigInt, 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.
func (*FeeEstimate) HasFast ¶ added in v1.8.4
func (o *FeeEstimate) HasFast() bool
HasFast returns a boolean if a field has been set.
func (*FeeEstimate) HasMedium ¶ added in v1.8.4
func (o *FeeEstimate) HasMedium() bool
HasMedium returns a boolean if a field has been set.
func (*FeeEstimate) HasSlow ¶ added in v1.8.4
func (o *FeeEstimate) HasSlow() bool
HasSlow returns a boolean if a field has been set.
func (FeeEstimate) MarshalJSON ¶
func (o FeeEstimate) MarshalJSON() ([]byte, error)
func (*FeeEstimate) SetFast ¶ added in v1.8.4
func (o *FeeEstimate) SetFast(v bigInt)
SetFast gets a reference to the given bigInt and assigns it to the Fast field.
func (*FeeEstimate) SetMedium ¶ added in v1.8.4
func (o *FeeEstimate) SetMedium(v bigInt)
SetMedium gets a reference to the given bigInt and assigns it to the Medium field.
func (*FeeEstimate) SetSlow ¶ added in v1.8.4
func (o *FeeEstimate) SetSlow(v bigInt)
SetSlow gets a reference to the given bigInt and assigns it to the Slow field.
type FeeEstimateResponse ¶ added in v1.8.3
type FeeEstimateResponse struct { EvmFeeEstimate *EvmFeeEstimate FeeEstimate *FeeEstimate }
FeeEstimateResponse struct for FeeEstimateResponse
func (*FeeEstimateResponse) MarshalJSON ¶ added in v1.8.3
func (src *FeeEstimateResponse) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*FeeEstimateResponse) UnmarshalJSON ¶ added in v1.8.3
func (dst *FeeEstimateResponse) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type FeeEstimatorAPI ¶ added in v1.8.2
type FeeEstimatorAPI interface { /* * GetFeeEstimate Get the Fee Estimation * Returns fee estimation in decimals.This 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 protocol Protocol handle, one of: `avalanche`, `bitcoin`, `bitcoincash`, `ethereum`, `fantom`, `litecoin`, `polkadot`, `polygon` and `solana`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiGetFeeEstimateRequest */ GetFeeEstimate(ctx _context.Context, protocol string, network string) ApiGetFeeEstimateRequest /* * GetFeeEstimateExecute executes the request * @return InlineResponse200 */ GetFeeEstimateExecute(r ApiGetFeeEstimateRequest) (InlineResponse200, *_nethttp.Response, error) }
type FeeEstimatorAPIService ¶ added in v1.8.2
type FeeEstimatorAPIService service
FeeEstimatorAPIService FeeEstimatorAPI service
func (*FeeEstimatorAPIService) GetFeeEstimate ¶ added in v1.8.2
func (a *FeeEstimatorAPIService) GetFeeEstimate(ctx _context.Context, protocol string, network string) ApiGetFeeEstimateRequest
* GetFeeEstimate Get the Fee Estimation * Returns fee estimation in decimals.This 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 protocol Protocol handle, one of: `avalanche`, `bitcoin`, `bitcoincash`, `ethereum`, `fantom`, `litecoin`, `polkadot`, `polygon` and `solana`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiGetFeeEstimateRequest
func (*FeeEstimatorAPIService) GetFeeEstimateExecute ¶ added in v1.8.2
func (a *FeeEstimatorAPIService) GetFeeEstimateExecute(r ApiGetFeeEstimateRequest) (InlineResponse200, *_nethttp.Response, error)
* Execute executes the request * @return InlineResponse200
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 InlineResponse200 ¶ added in v1.8.4
type InlineResponse200 struct { MostRecentBlock *int32 `json:"most_recent_block,omitempty"` EstimatedFees *FeeEstimateResponse `json:"estimated_fees,omitempty"` }
InlineResponse200 struct for InlineResponse200
func NewInlineResponse200 ¶ added in v1.8.4
func NewInlineResponse200() *InlineResponse200
NewInlineResponse200 instantiates a new InlineResponse200 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 NewInlineResponse200WithDefaults ¶ added in v1.8.4
func NewInlineResponse200WithDefaults() *InlineResponse200
NewInlineResponse200WithDefaults instantiates a new InlineResponse200 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 (*InlineResponse200) GetEstimatedFees ¶ added in v1.8.4
func (o *InlineResponse200) GetEstimatedFees() FeeEstimateResponse
GetEstimatedFees returns the EstimatedFees field value if set, zero value otherwise.
func (*InlineResponse200) GetEstimatedFeesOk ¶ added in v1.8.4
func (o *InlineResponse200) GetEstimatedFeesOk() (*FeeEstimateResponse, 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 (*InlineResponse200) GetMostRecentBlock ¶ added in v1.8.4
func (o *InlineResponse200) GetMostRecentBlock() int32
GetMostRecentBlock returns the MostRecentBlock field value if set, zero value otherwise.
func (*InlineResponse200) GetMostRecentBlockOk ¶ added in v1.8.4
func (o *InlineResponse200) 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 (*InlineResponse200) HasEstimatedFees ¶ added in v1.8.4
func (o *InlineResponse200) HasEstimatedFees() bool
HasEstimatedFees returns a boolean if a field has been set.
func (*InlineResponse200) HasMostRecentBlock ¶ added in v1.8.4
func (o *InlineResponse200) HasMostRecentBlock() bool
HasMostRecentBlock returns a boolean if a field has been set.
func (InlineResponse200) MarshalJSON ¶ added in v1.8.4
func (o InlineResponse200) MarshalJSON() ([]byte, error)
func (*InlineResponse200) SetEstimatedFees ¶ added in v1.8.4
func (o *InlineResponse200) SetEstimatedFees(v FeeEstimateResponse)
SetEstimatedFees gets a reference to the given FeeEstimateResponse and assigns it to the EstimatedFees field.
func (*InlineResponse200) SetMostRecentBlock ¶ added in v1.8.4
func (o *InlineResponse200) SetMostRecentBlock(v int32)
SetMostRecentBlock gets a reference to the given int32 and assigns it to the MostRecentBlock field.
type Meta ¶ added in v1.0.0
type Meta struct {
Paging *Paging `json:"paging,omitempty"`
}
Meta The meta details.
func NewMeta ¶ added in v1.0.0
func NewMeta() *Meta
NewMeta instantiates a new Meta 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 NewMetaWithDefaults ¶ added in v1.0.0
func NewMetaWithDefaults() *Meta
NewMetaWithDefaults instantiates a new Meta 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 (*Meta) GetPaging ¶ added in v1.0.0
GetPaging returns the Paging field value if set, zero value otherwise.
func (*Meta) GetPagingOk ¶ added in v1.0.0
GetPagingOk returns a tuple with the Paging field value if set, nil otherwise and a boolean to check if the value has been set.
func (Meta) MarshalJSON ¶ added in v1.0.0
type ModelError ¶
type ModelError struct { // The HTTP error type. Type *string `json:"type,omitempty"` // The numeric error code. Code *int32 `json:"code,omitempty"` // The short error description. Title *string `json:"title,omitempty"` // The 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 NativeCurrency ¶
type NativeCurrency struct { // The asset path of transferred currency. AssetPath string `json:"asset_path"` // The currency symbol. Symbol *string `json:"symbol,omitempty"` // The name of the currency. Name *string `json:"name,omitempty"` // The decimal places right to the comma. Decimals *int32 `json:"decimals,omitempty"` // The type of the currency. 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 ¶
type NullableAccountsObj struct {
// contains filtered or unexported fields
}
func NewNullableAccountsObj ¶
func NewNullableAccountsObj(val *AccountsObj) *NullableAccountsObj
func (NullableAccountsObj) Get ¶
func (v NullableAccountsObj) Get() *AccountsObj
func (NullableAccountsObj) IsSet ¶
func (v NullableAccountsObj) IsSet() bool
func (NullableAccountsObj) MarshalJSON ¶
func (v NullableAccountsObj) MarshalJSON() ([]byte, error)
func (*NullableAccountsObj) Set ¶
func (v *NullableAccountsObj) Set(val *AccountsObj)
func (*NullableAccountsObj) UnmarshalJSON ¶
func (v *NullableAccountsObj) UnmarshalJSON(src []byte) error
func (*NullableAccountsObj) Unset ¶
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 NullableBalance ¶
type NullableBalance struct {
// contains filtered or unexported fields
}
func NewNullableBalance ¶
func NewNullableBalance(val *Balance) *NullableBalance
func (NullableBalance) Get ¶
func (v NullableBalance) Get() *Balance
func (NullableBalance) IsSet ¶
func (v NullableBalance) IsSet() bool
func (NullableBalance) MarshalJSON ¶
func (v NullableBalance) MarshalJSON() ([]byte, error)
func (*NullableBalance) Set ¶
func (v *NullableBalance) Set(val *Balance)
func (*NullableBalance) UnmarshalJSON ¶
func (v *NullableBalance) UnmarshalJSON(src []byte) error
func (*NullableBalance) Unset ¶
func (v *NullableBalance) Unset()
type NullableBigInt ¶ added in v1.1.0
type NullableBigInt struct {
// contains filtered or unexported fields
}
func NewNullableBigInt ¶ added in v1.1.0
func NewNullableBigInt(val *bigInt) *NullableBigInt
func (NullableBigInt) Get ¶ added in v1.1.0
func (v NullableBigInt) Get() *bigInt
func (NullableBigInt) IsSet ¶ added in v1.1.0
func (v NullableBigInt) IsSet() bool
func (NullableBigInt) MarshalJSON ¶ added in v1.1.0
func (v NullableBigInt) MarshalJSON() ([]byte, error)
func (*NullableBigInt) Set ¶ added in v1.1.0
func (v *NullableBigInt) Set(val *bigInt)
func (*NullableBigInt) UnmarshalJSON ¶ added in v1.1.0
func (v *NullableBigInt) UnmarshalJSON(src []byte) error
func (*NullableBigInt) Unset ¶ added in v1.1.0
func (v *NullableBigInt) 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 NullableBlockIdentifiers ¶ added in v1.2.0
type NullableBlockIdentifiers struct {
// contains filtered or unexported fields
}
func NewNullableBlockIdentifiers ¶ added in v1.2.0
func NewNullableBlockIdentifiers(val *BlockIdentifiers) *NullableBlockIdentifiers
func (NullableBlockIdentifiers) Get ¶ added in v1.2.0
func (v NullableBlockIdentifiers) Get() *BlockIdentifiers
func (NullableBlockIdentifiers) IsSet ¶ added in v1.2.0
func (v NullableBlockIdentifiers) IsSet() bool
func (NullableBlockIdentifiers) MarshalJSON ¶ added in v1.2.0
func (v NullableBlockIdentifiers) MarshalJSON() ([]byte, error)
func (*NullableBlockIdentifiers) Set ¶ added in v1.2.0
func (v *NullableBlockIdentifiers) Set(val *BlockIdentifiers)
func (*NullableBlockIdentifiers) UnmarshalJSON ¶ added in v1.2.0
func (v *NullableBlockIdentifiers) UnmarshalJSON(src []byte) error
func (*NullableBlockIdentifiers) Unset ¶ added in v1.2.0
func (v *NullableBlockIdentifiers) 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 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 NullableEvent ¶
type NullableEvent struct {
// contains filtered or unexported fields
}
func NewNullableEvent ¶
func NewNullableEvent(val *Event) *NullableEvent
func (NullableEvent) Get ¶
func (v NullableEvent) Get() *Event
func (NullableEvent) IsSet ¶
func (v NullableEvent) IsSet() bool
func (NullableEvent) MarshalJSON ¶
func (v NullableEvent) MarshalJSON() ([]byte, error)
func (*NullableEvent) Set ¶
func (v *NullableEvent) Set(val *Event)
func (*NullableEvent) UnmarshalJSON ¶
func (v *NullableEvent) UnmarshalJSON(src []byte) error
func (*NullableEvent) Unset ¶
func (v *NullableEvent) Unset()
type NullableEventMeta ¶ added in v1.8.2
type NullableEventMeta struct {
// contains filtered or unexported fields
}
func NewNullableEventMeta ¶ added in v1.8.2
func NewNullableEventMeta(val *EventMeta) *NullableEventMeta
func (NullableEventMeta) Get ¶ added in v1.8.2
func (v NullableEventMeta) Get() *EventMeta
func (NullableEventMeta) IsSet ¶ added in v1.8.2
func (v NullableEventMeta) IsSet() bool
func (NullableEventMeta) MarshalJSON ¶ added in v1.8.2
func (v NullableEventMeta) MarshalJSON() ([]byte, error)
func (*NullableEventMeta) Set ¶ added in v1.8.2
func (v *NullableEventMeta) Set(val *EventMeta)
func (*NullableEventMeta) UnmarshalJSON ¶ added in v1.8.2
func (v *NullableEventMeta) UnmarshalJSON(src []byte) error
func (*NullableEventMeta) Unset ¶ added in v1.8.2
func (v *NullableEventMeta) Unset()
type NullableEvmFee ¶ added in v1.8.4
type NullableEvmFee struct {
// contains filtered or unexported fields
}
func NewNullableEvmFee ¶ added in v1.8.4
func NewNullableEvmFee(val *EvmFee) *NullableEvmFee
func (NullableEvmFee) Get ¶ added in v1.8.4
func (v NullableEvmFee) Get() *EvmFee
func (NullableEvmFee) IsSet ¶ added in v1.8.4
func (v NullableEvmFee) IsSet() bool
func (NullableEvmFee) MarshalJSON ¶ added in v1.8.4
func (v NullableEvmFee) MarshalJSON() ([]byte, error)
func (*NullableEvmFee) Set ¶ added in v1.8.4
func (v *NullableEvmFee) Set(val *EvmFee)
func (*NullableEvmFee) UnmarshalJSON ¶ added in v1.8.4
func (v *NullableEvmFee) UnmarshalJSON(src []byte) error
func (*NullableEvmFee) Unset ¶ added in v1.8.4
func (v *NullableEvmFee) Unset()
type NullableEvmFeeEstimate ¶ added in v1.8.4
type NullableEvmFeeEstimate struct {
// contains filtered or unexported fields
}
func NewNullableEvmFeeEstimate ¶ added in v1.8.4
func NewNullableEvmFeeEstimate(val *EvmFeeEstimate) *NullableEvmFeeEstimate
func (NullableEvmFeeEstimate) Get ¶ added in v1.8.4
func (v NullableEvmFeeEstimate) Get() *EvmFeeEstimate
func (NullableEvmFeeEstimate) IsSet ¶ added in v1.8.4
func (v NullableEvmFeeEstimate) IsSet() bool
func (NullableEvmFeeEstimate) MarshalJSON ¶ added in v1.8.4
func (v NullableEvmFeeEstimate) MarshalJSON() ([]byte, error)
func (*NullableEvmFeeEstimate) Set ¶ added in v1.8.4
func (v *NullableEvmFeeEstimate) Set(val *EvmFeeEstimate)
func (*NullableEvmFeeEstimate) UnmarshalJSON ¶ added in v1.8.4
func (v *NullableEvmFeeEstimate) UnmarshalJSON(src []byte) error
func (*NullableEvmFeeEstimate) Unset ¶ added in v1.8.4
func (v *NullableEvmFeeEstimate) Unset()
type NullableFeeEstimate ¶
type NullableFeeEstimate struct {
// contains filtered or unexported fields
}
func NewNullableFeeEstimate ¶
func NewNullableFeeEstimate(val *FeeEstimate) *NullableFeeEstimate
func (NullableFeeEstimate) Get ¶
func (v NullableFeeEstimate) Get() *FeeEstimate
func (NullableFeeEstimate) IsSet ¶
func (v NullableFeeEstimate) IsSet() bool
func (NullableFeeEstimate) MarshalJSON ¶
func (v NullableFeeEstimate) MarshalJSON() ([]byte, error)
func (*NullableFeeEstimate) Set ¶
func (v *NullableFeeEstimate) Set(val *FeeEstimate)
func (*NullableFeeEstimate) UnmarshalJSON ¶
func (v *NullableFeeEstimate) UnmarshalJSON(src []byte) error
func (*NullableFeeEstimate) Unset ¶
func (v *NullableFeeEstimate) Unset()
type NullableFeeEstimateResponse ¶ added in v1.8.3
type NullableFeeEstimateResponse struct {
// contains filtered or unexported fields
}
func NewNullableFeeEstimateResponse ¶ added in v1.8.3
func NewNullableFeeEstimateResponse(val *FeeEstimateResponse) *NullableFeeEstimateResponse
func (NullableFeeEstimateResponse) Get ¶ added in v1.8.3
func (v NullableFeeEstimateResponse) Get() *FeeEstimateResponse
func (NullableFeeEstimateResponse) IsSet ¶ added in v1.8.3
func (v NullableFeeEstimateResponse) IsSet() bool
func (NullableFeeEstimateResponse) MarshalJSON ¶ added in v1.8.3
func (v NullableFeeEstimateResponse) MarshalJSON() ([]byte, error)
func (*NullableFeeEstimateResponse) Set ¶ added in v1.8.3
func (v *NullableFeeEstimateResponse) Set(val *FeeEstimateResponse)
func (*NullableFeeEstimateResponse) UnmarshalJSON ¶ added in v1.8.3
func (v *NullableFeeEstimateResponse) UnmarshalJSON(src []byte) error
func (*NullableFeeEstimateResponse) Unset ¶ added in v1.8.3
func (v *NullableFeeEstimateResponse) 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 NullableInlineResponse200 ¶ added in v1.8.4
type NullableInlineResponse200 struct {
// contains filtered or unexported fields
}
func NewNullableInlineResponse200 ¶ added in v1.8.4
func NewNullableInlineResponse200(val *InlineResponse200) *NullableInlineResponse200
func (NullableInlineResponse200) Get ¶ added in v1.8.4
func (v NullableInlineResponse200) Get() *InlineResponse200
func (NullableInlineResponse200) IsSet ¶ added in v1.8.4
func (v NullableInlineResponse200) IsSet() bool
func (NullableInlineResponse200) MarshalJSON ¶ added in v1.8.4
func (v NullableInlineResponse200) MarshalJSON() ([]byte, error)
func (*NullableInlineResponse200) Set ¶ added in v1.8.4
func (v *NullableInlineResponse200) Set(val *InlineResponse200)
func (*NullableInlineResponse200) UnmarshalJSON ¶ added in v1.8.4
func (v *NullableInlineResponse200) UnmarshalJSON(src []byte) error
func (*NullableInlineResponse200) Unset ¶ added in v1.8.4
func (v *NullableInlineResponse200) 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 NullableMeta ¶ added in v1.0.0
type NullableMeta struct {
// contains filtered or unexported fields
}
func NewNullableMeta ¶ added in v1.0.0
func NewNullableMeta(val *Meta) *NullableMeta
func (NullableMeta) Get ¶ added in v1.0.0
func (v NullableMeta) Get() *Meta
func (NullableMeta) IsSet ¶ added in v1.0.0
func (v NullableMeta) IsSet() bool
func (NullableMeta) MarshalJSON ¶ added in v1.0.0
func (v NullableMeta) MarshalJSON() ([]byte, error)
func (*NullableMeta) Set ¶ added in v1.0.0
func (v *NullableMeta) Set(val *Meta)
func (*NullableMeta) UnmarshalJSON ¶ added in v1.0.0
func (v *NullableMeta) UnmarshalJSON(src []byte) error
func (*NullableMeta) Unset ¶ added in v1.0.0
func (v *NullableMeta) 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 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 NullablePaging ¶ added in v1.0.0
type NullablePaging struct {
// contains filtered or unexported fields
}
func NewNullablePaging ¶ added in v1.0.0
func NewNullablePaging(val *Paging) *NullablePaging
func (NullablePaging) Get ¶ added in v1.0.0
func (v NullablePaging) Get() *Paging
func (NullablePaging) IsSet ¶ added in v1.0.0
func (v NullablePaging) IsSet() bool
func (NullablePaging) MarshalJSON ¶ added in v1.0.0
func (v NullablePaging) MarshalJSON() ([]byte, error)
func (*NullablePaging) Set ¶ added in v1.0.0
func (v *NullablePaging) Set(val *Paging)
func (*NullablePaging) UnmarshalJSON ¶ added in v1.0.0
func (v *NullablePaging) UnmarshalJSON(src []byte) error
func (*NullablePaging) Unset ¶ added in v1.0.0
func (v *NullablePaging) Unset()
type NullableProtocolDetail ¶ added in v1.2.0
type NullableProtocolDetail struct {
// contains filtered or unexported fields
}
func NewNullableProtocolDetail ¶ added in v1.2.0
func NewNullableProtocolDetail(val *ProtocolDetail) *NullableProtocolDetail
func (NullableProtocolDetail) Get ¶ added in v1.2.0
func (v NullableProtocolDetail) Get() *ProtocolDetail
func (NullableProtocolDetail) IsSet ¶ added in v1.2.0
func (v NullableProtocolDetail) IsSet() bool
func (NullableProtocolDetail) MarshalJSON ¶ added in v1.2.0
func (v NullableProtocolDetail) MarshalJSON() ([]byte, error)
func (*NullableProtocolDetail) Set ¶ added in v1.2.0
func (v *NullableProtocolDetail) Set(val *ProtocolDetail)
func (*NullableProtocolDetail) UnmarshalJSON ¶ added in v1.2.0
func (v *NullableProtocolDetail) UnmarshalJSON(src []byte) error
func (*NullableProtocolDetail) Unset ¶ added in v1.2.0
func (v *NullableProtocolDetail) Unset()
type NullableProtocolsOverview ¶ added in v1.2.0
type NullableProtocolsOverview struct {
// contains filtered or unexported fields
}
func NewNullableProtocolsOverview ¶ added in v1.2.0
func NewNullableProtocolsOverview(val *ProtocolsOverview) *NullableProtocolsOverview
func (NullableProtocolsOverview) Get ¶ added in v1.2.0
func (v NullableProtocolsOverview) Get() *ProtocolsOverview
func (NullableProtocolsOverview) IsSet ¶ added in v1.2.0
func (v NullableProtocolsOverview) IsSet() bool
func (NullableProtocolsOverview) MarshalJSON ¶ added in v1.2.0
func (v NullableProtocolsOverview) MarshalJSON() ([]byte, error)
func (*NullableProtocolsOverview) Set ¶ added in v1.2.0
func (v *NullableProtocolsOverview) Set(val *ProtocolsOverview)
func (*NullableProtocolsOverview) UnmarshalJSON ¶ added in v1.2.0
func (v *NullableProtocolsOverview) UnmarshalJSON(src []byte) error
func (*NullableProtocolsOverview) Unset ¶ added in v1.2.0
func (v *NullableProtocolsOverview) Unset()
type NullableProtocolsOverviewProtocols ¶ added in v1.2.0
type NullableProtocolsOverviewProtocols struct {
// contains filtered or unexported fields
}
func NewNullableProtocolsOverviewProtocols ¶ added in v1.2.0
func NewNullableProtocolsOverviewProtocols(val *ProtocolsOverviewProtocols) *NullableProtocolsOverviewProtocols
func (NullableProtocolsOverviewProtocols) Get ¶ added in v1.2.0
func (v NullableProtocolsOverviewProtocols) Get() *ProtocolsOverviewProtocols
func (NullableProtocolsOverviewProtocols) IsSet ¶ added in v1.2.0
func (v NullableProtocolsOverviewProtocols) IsSet() bool
func (NullableProtocolsOverviewProtocols) MarshalJSON ¶ added in v1.2.0
func (v NullableProtocolsOverviewProtocols) MarshalJSON() ([]byte, error)
func (*NullableProtocolsOverviewProtocols) Set ¶ added in v1.2.0
func (v *NullableProtocolsOverviewProtocols) Set(val *ProtocolsOverviewProtocols)
func (*NullableProtocolsOverviewProtocols) UnmarshalJSON ¶ added in v1.2.0
func (v *NullableProtocolsOverviewProtocols) UnmarshalJSON(src []byte) error
func (*NullableProtocolsOverviewProtocols) Unset ¶ added in v1.2.0
func (v *NullableProtocolsOverviewProtocols) 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 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 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 ¶
type NullableTxConfirmation struct {
// contains filtered or unexported fields
}
func NewNullableTxConfirmation ¶
func NewNullableTxConfirmation(val *TxConfirmation) *NullableTxConfirmation
func (NullableTxConfirmation) Get ¶
func (v NullableTxConfirmation) Get() *TxConfirmation
func (NullableTxConfirmation) IsSet ¶
func (v NullableTxConfirmation) IsSet() bool
func (NullableTxConfirmation) MarshalJSON ¶
func (v NullableTxConfirmation) MarshalJSON() ([]byte, error)
func (*NullableTxConfirmation) Set ¶
func (v *NullableTxConfirmation) Set(val *TxConfirmation)
func (*NullableTxConfirmation) UnmarshalJSON ¶
func (v *NullableTxConfirmation) UnmarshalJSON(src []byte) error
func (*NullableTxConfirmation) Unset ¶
func (v *NullableTxConfirmation) Unset()
type NullableTxCreate ¶ added in v1.3.0
type NullableTxCreate struct {
// contains filtered or unexported fields
}
func NewNullableTxCreate ¶ added in v1.3.0
func NewNullableTxCreate(val *TxCreate) *NullableTxCreate
func (NullableTxCreate) Get ¶ added in v1.3.0
func (v NullableTxCreate) Get() *TxCreate
func (NullableTxCreate) IsSet ¶ added in v1.3.0
func (v NullableTxCreate) IsSet() bool
func (NullableTxCreate) MarshalJSON ¶ added in v1.3.0
func (v NullableTxCreate) MarshalJSON() ([]byte, error)
func (*NullableTxCreate) Set ¶ added in v1.3.0
func (v *NullableTxCreate) Set(val *TxCreate)
func (*NullableTxCreate) UnmarshalJSON ¶ added in v1.3.0
func (v *NullableTxCreate) UnmarshalJSON(src []byte) error
func (*NullableTxCreate) Unset ¶ added in v1.3.0
func (v *NullableTxCreate) Unset()
type NullableTxCreateContract ¶ added in v1.9.0
type NullableTxCreateContract struct {
// contains filtered or unexported fields
}
func NewNullableTxCreateContract ¶ added in v1.9.0
func NewNullableTxCreateContract(val *TxCreateContract) *NullableTxCreateContract
func (NullableTxCreateContract) Get ¶ added in v1.9.0
func (v NullableTxCreateContract) Get() *TxCreateContract
func (NullableTxCreateContract) IsSet ¶ added in v1.9.0
func (v NullableTxCreateContract) IsSet() bool
func (NullableTxCreateContract) MarshalJSON ¶ added in v1.9.0
func (v NullableTxCreateContract) MarshalJSON() ([]byte, error)
func (*NullableTxCreateContract) Set ¶ added in v1.9.0
func (v *NullableTxCreateContract) Set(val *TxCreateContract)
func (*NullableTxCreateContract) UnmarshalJSON ¶ added in v1.9.0
func (v *NullableTxCreateContract) UnmarshalJSON(src []byte) error
func (*NullableTxCreateContract) Unset ¶ added in v1.9.0
func (v *NullableTxCreateContract) Unset()
type NullableTxCreateEvm ¶ added in v1.7.0
type NullableTxCreateEvm struct {
// contains filtered or unexported fields
}
func NewNullableTxCreateEvm ¶ added in v1.7.0
func NewNullableTxCreateEvm(val *TxCreateEvm) *NullableTxCreateEvm
func (NullableTxCreateEvm) Get ¶ added in v1.7.0
func (v NullableTxCreateEvm) Get() *TxCreateEvm
func (NullableTxCreateEvm) IsSet ¶ added in v1.7.0
func (v NullableTxCreateEvm) IsSet() bool
func (NullableTxCreateEvm) MarshalJSON ¶ added in v1.7.0
func (v NullableTxCreateEvm) MarshalJSON() ([]byte, error)
func (*NullableTxCreateEvm) Set ¶ added in v1.7.0
func (v *NullableTxCreateEvm) Set(val *TxCreateEvm)
func (*NullableTxCreateEvm) UnmarshalJSON ¶ added in v1.7.0
func (v *NullableTxCreateEvm) UnmarshalJSON(src []byte) error
func (*NullableTxCreateEvm) Unset ¶ added in v1.7.0
func (v *NullableTxCreateEvm) Unset()
type NullableTxCreateProtocol ¶ added in v1.7.0
type NullableTxCreateProtocol struct {
// contains filtered or unexported fields
}
func NewNullableTxCreateProtocol ¶ added in v1.7.0
func NewNullableTxCreateProtocol(val *TxCreateProtocol) *NullableTxCreateProtocol
func (NullableTxCreateProtocol) Get ¶ added in v1.7.0
func (v NullableTxCreateProtocol) Get() *TxCreateProtocol
func (NullableTxCreateProtocol) IsSet ¶ added in v1.7.0
func (v NullableTxCreateProtocol) IsSet() bool
func (NullableTxCreateProtocol) MarshalJSON ¶ added in v1.7.0
func (v NullableTxCreateProtocol) MarshalJSON() ([]byte, error)
func (*NullableTxCreateProtocol) Set ¶ added in v1.7.0
func (v *NullableTxCreateProtocol) Set(val *TxCreateProtocol)
func (*NullableTxCreateProtocol) UnmarshalJSON ¶ added in v1.7.0
func (v *NullableTxCreateProtocol) UnmarshalJSON(src []byte) error
func (*NullableTxCreateProtocol) Unset ¶ added in v1.7.0
func (v *NullableTxCreateProtocol) Unset()
type NullableTxDestination ¶ added in v1.3.0
type NullableTxDestination struct {
// contains filtered or unexported fields
}
func NewNullableTxDestination ¶ added in v1.3.0
func NewNullableTxDestination(val *TxDestination) *NullableTxDestination
func (NullableTxDestination) Get ¶ added in v1.3.0
func (v NullableTxDestination) Get() *TxDestination
func (NullableTxDestination) IsSet ¶ added in v1.3.0
func (v NullableTxDestination) IsSet() bool
func (NullableTxDestination) MarshalJSON ¶ added in v1.3.0
func (v NullableTxDestination) MarshalJSON() ([]byte, error)
func (*NullableTxDestination) Set ¶ added in v1.3.0
func (v *NullableTxDestination) Set(val *TxDestination)
func (*NullableTxDestination) UnmarshalJSON ¶ added in v1.3.0
func (v *NullableTxDestination) UnmarshalJSON(src []byte) error
func (*NullableTxDestination) Unset ¶ added in v1.3.0
func (v *NullableTxDestination) Unset()
type NullableTxMinify ¶ added in v1.1.0
type NullableTxMinify struct {
// contains filtered or unexported fields
}
func NewNullableTxMinify ¶ added in v1.1.0
func NewNullableTxMinify(val *TxMinify) *NullableTxMinify
func (NullableTxMinify) Get ¶ added in v1.1.0
func (v NullableTxMinify) Get() *TxMinify
func (NullableTxMinify) IsSet ¶ added in v1.1.0
func (v NullableTxMinify) IsSet() bool
func (NullableTxMinify) MarshalJSON ¶ added in v1.1.0
func (v NullableTxMinify) MarshalJSON() ([]byte, error)
func (*NullableTxMinify) Set ¶ added in v1.1.0
func (v *NullableTxMinify) Set(val *TxMinify)
func (*NullableTxMinify) UnmarshalJSON ¶ added in v1.1.0
func (v *NullableTxMinify) UnmarshalJSON(src []byte) error
func (*NullableTxMinify) Unset ¶ added in v1.1.0
func (v *NullableTxMinify) Unset()
type NullableTxOutput ¶ added in v1.1.0
type NullableTxOutput struct {
// contains filtered or unexported fields
}
func NewNullableTxOutput ¶ added in v1.1.0
func NewNullableTxOutput(val *TxOutput) *NullableTxOutput
func (NullableTxOutput) Get ¶ added in v1.1.0
func (v NullableTxOutput) Get() *TxOutput
func (NullableTxOutput) IsSet ¶ added in v1.1.0
func (v NullableTxOutput) IsSet() bool
func (NullableTxOutput) MarshalJSON ¶ added in v1.1.0
func (v NullableTxOutput) MarshalJSON() ([]byte, error)
func (*NullableTxOutput) Set ¶ added in v1.1.0
func (v *NullableTxOutput) Set(val *TxOutput)
func (*NullableTxOutput) UnmarshalJSON ¶ added in v1.1.0
func (v *NullableTxOutput) UnmarshalJSON(src []byte) error
func (*NullableTxOutput) Unset ¶ added in v1.1.0
func (v *NullableTxOutput) Unset()
type NullableTxOutputResponse ¶ added in v1.2.0
type NullableTxOutputResponse struct {
// contains filtered or unexported fields
}
func NewNullableTxOutputResponse ¶ added in v1.2.0
func NewNullableTxOutputResponse(val *TxOutputResponse) *NullableTxOutputResponse
func (NullableTxOutputResponse) Get ¶ added in v1.2.0
func (v NullableTxOutputResponse) Get() *TxOutputResponse
func (NullableTxOutputResponse) IsSet ¶ added in v1.2.0
func (v NullableTxOutputResponse) IsSet() bool
func (NullableTxOutputResponse) MarshalJSON ¶ added in v1.2.0
func (v NullableTxOutputResponse) MarshalJSON() ([]byte, error)
func (*NullableTxOutputResponse) Set ¶ added in v1.2.0
func (v *NullableTxOutputResponse) Set(val *TxOutputResponse)
func (*NullableTxOutputResponse) UnmarshalJSON ¶ added in v1.2.0
func (v *NullableTxOutputResponse) UnmarshalJSON(src []byte) error
func (*NullableTxOutputResponse) Unset ¶ added in v1.2.0
func (v *NullableTxOutputResponse) Unset()
type NullableTxOutputResponseMeta ¶ added in v1.8.2
type NullableTxOutputResponseMeta struct {
// contains filtered or unexported fields
}
func NewNullableTxOutputResponseMeta ¶ added in v1.8.2
func NewNullableTxOutputResponseMeta(val *TxOutputResponseMeta) *NullableTxOutputResponseMeta
func (NullableTxOutputResponseMeta) Get ¶ added in v1.8.2
func (v NullableTxOutputResponseMeta) Get() *TxOutputResponseMeta
func (NullableTxOutputResponseMeta) IsSet ¶ added in v1.8.2
func (v NullableTxOutputResponseMeta) IsSet() bool
func (NullableTxOutputResponseMeta) MarshalJSON ¶ added in v1.8.2
func (v NullableTxOutputResponseMeta) MarshalJSON() ([]byte, error)
func (*NullableTxOutputResponseMeta) Set ¶ added in v1.8.2
func (v *NullableTxOutputResponseMeta) Set(val *TxOutputResponseMeta)
func (*NullableTxOutputResponseMeta) UnmarshalJSON ¶ added in v1.8.2
func (v *NullableTxOutputResponseMeta) UnmarshalJSON(src []byte) error
func (*NullableTxOutputResponseMeta) Unset ¶ added in v1.8.2
func (v *NullableTxOutputResponseMeta) Unset()
type NullableTxOutputs ¶ added in v1.2.0
type NullableTxOutputs struct {
// contains filtered or unexported fields
}
func NewNullableTxOutputs ¶ added in v1.2.0
func NewNullableTxOutputs(val *TxOutputs) *NullableTxOutputs
func (NullableTxOutputs) Get ¶ added in v1.2.0
func (v NullableTxOutputs) Get() *TxOutputs
func (NullableTxOutputs) IsSet ¶ added in v1.2.0
func (v NullableTxOutputs) IsSet() bool
func (NullableTxOutputs) MarshalJSON ¶ added in v1.2.0
func (v NullableTxOutputs) MarshalJSON() ([]byte, error)
func (*NullableTxOutputs) Set ¶ added in v1.2.0
func (v *NullableTxOutputs) Set(val *TxOutputs)
func (*NullableTxOutputs) UnmarshalJSON ¶ added in v1.2.0
func (v *NullableTxOutputs) UnmarshalJSON(src []byte) error
func (*NullableTxOutputs) Unset ¶ added in v1.2.0
func (v *NullableTxOutputs) Unset()
type NullableTxOutputsData ¶ added in v1.2.0
type NullableTxOutputsData struct {
// contains filtered or unexported fields
}
func NewNullableTxOutputsData ¶ added in v1.2.0
func NewNullableTxOutputsData(val *TxOutputsData) *NullableTxOutputsData
func (NullableTxOutputsData) Get ¶ added in v1.2.0
func (v NullableTxOutputsData) Get() *TxOutputsData
func (NullableTxOutputsData) IsSet ¶ added in v1.2.0
func (v NullableTxOutputsData) IsSet() bool
func (NullableTxOutputsData) MarshalJSON ¶ added in v1.2.0
func (v NullableTxOutputsData) MarshalJSON() ([]byte, error)
func (*NullableTxOutputsData) Set ¶ added in v1.2.0
func (v *NullableTxOutputsData) Set(val *TxOutputsData)
func (*NullableTxOutputsData) UnmarshalJSON ¶ added in v1.2.0
func (v *NullableTxOutputsData) UnmarshalJSON(src []byte) error
func (*NullableTxOutputsData) Unset ¶ added in v1.2.0
func (v *NullableTxOutputsData) 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 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 NullableUnsignedTx ¶ added in v1.3.0
type NullableUnsignedTx struct {
// contains filtered or unexported fields
}
func NewNullableUnsignedTx ¶ added in v1.3.0
func NewNullableUnsignedTx(val *UnsignedTx) *NullableUnsignedTx
func (NullableUnsignedTx) Get ¶ added in v1.3.0
func (v NullableUnsignedTx) Get() *UnsignedTx
func (NullableUnsignedTx) IsSet ¶ added in v1.3.0
func (v NullableUnsignedTx) IsSet() bool
func (NullableUnsignedTx) MarshalJSON ¶ added in v1.3.0
func (v NullableUnsignedTx) MarshalJSON() ([]byte, error)
func (*NullableUnsignedTx) Set ¶ added in v1.3.0
func (v *NullableUnsignedTx) Set(val *UnsignedTx)
func (*NullableUnsignedTx) UnmarshalJSON ¶ added in v1.3.0
func (v *NullableUnsignedTx) UnmarshalJSON(src []byte) error
func (*NullableUnsignedTx) Unset ¶ added in v1.3.0
func (v *NullableUnsignedTx) Unset()
type NullableUnsignedTxMeta ¶ added in v1.8.2
type NullableUnsignedTxMeta struct {
// contains filtered or unexported fields
}
func NewNullableUnsignedTxMeta ¶ added in v1.8.2
func NewNullableUnsignedTxMeta(val *UnsignedTxMeta) *NullableUnsignedTxMeta
func (NullableUnsignedTxMeta) Get ¶ added in v1.8.2
func (v NullableUnsignedTxMeta) Get() *UnsignedTxMeta
func (NullableUnsignedTxMeta) IsSet ¶ added in v1.8.2
func (v NullableUnsignedTxMeta) IsSet() bool
func (NullableUnsignedTxMeta) MarshalJSON ¶ added in v1.8.2
func (v NullableUnsignedTxMeta) MarshalJSON() ([]byte, error)
func (*NullableUnsignedTxMeta) Set ¶ added in v1.8.2
func (v *NullableUnsignedTxMeta) Set(val *UnsignedTxMeta)
func (*NullableUnsignedTxMeta) UnmarshalJSON ¶ added in v1.8.2
func (v *NullableUnsignedTxMeta) UnmarshalJSON(src []byte) error
func (*NullableUnsignedTxMeta) Unset ¶ added in v1.8.2
func (v *NullableUnsignedTxMeta) Unset()
type Paging ¶ added in v1.0.0
type Paging struct { // The next page token to use in the following request. NextPageToken *string `json:"next_page_token,omitempty"` }
Paging The pagination details.
func NewPaging ¶ added in v1.0.0
func NewPaging() *Paging
NewPaging instantiates a new Paging 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 NewPagingWithDefaults ¶ added in v1.0.0
func NewPagingWithDefaults() *Paging
NewPagingWithDefaults instantiates a new Paging 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 (*Paging) GetNextPageToken ¶ added in v1.0.0
GetNextPageToken returns the NextPageToken field value if set, zero value otherwise.
func (*Paging) GetNextPageTokenOk ¶ added in v1.0.0
GetNextPageTokenOk returns a tuple with the NextPageToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Paging) HasNextPageToken ¶ added in v1.0.0
HasNextPageToken returns a boolean if a field has been set.
func (Paging) MarshalJSON ¶ added in v1.0.0
func (*Paging) SetNextPageToken ¶ added in v1.0.0
SetNextPageToken gets a reference to the given string and assigns it to the NextPageToken field.
type ProtocolAndEndpointSupportAPI ¶ added in v1.3.0
type ProtocolAndEndpointSupportAPI interface { /* * GetProtocolEndpoints Get the Protocol Info * Provides information about supported endpoints and generic protocol information. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `near`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar`, `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiGetProtocolEndpointsRequest */ GetProtocolEndpoints(ctx _context.Context, protocol string, network string) ApiGetProtocolEndpointsRequest /* * GetProtocolEndpointsExecute executes the request * @return ProtocolDetail */ GetProtocolEndpointsExecute(r ApiGetProtocolEndpointsRequest) (ProtocolDetail, *_nethttp.Response, error) /* * GetProtocolsList Get the Protocols Overview * Provides a list of supported protocols and networks. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetProtocolsListRequest */ GetProtocolsList(ctx _context.Context) ApiGetProtocolsListRequest /* * GetProtocolsListExecute executes the request * @return ProtocolsOverview */ GetProtocolsListExecute(r ApiGetProtocolsListRequest) (ProtocolsOverview, *_nethttp.Response, error) }
type ProtocolAndEndpointSupportAPIService ¶ added in v1.3.0
type ProtocolAndEndpointSupportAPIService service
ProtocolAndEndpointSupportAPIService ProtocolAndEndpointSupportAPI service
func (*ProtocolAndEndpointSupportAPIService) GetProtocolEndpoints ¶ added in v1.3.0
func (a *ProtocolAndEndpointSupportAPIService) GetProtocolEndpoints(ctx _context.Context, protocol string, network string) ApiGetProtocolEndpointsRequest
* GetProtocolEndpoints Get the Protocol Info * Provides information about supported endpoints and generic protocol information.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `near`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar`, `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiGetProtocolEndpointsRequest
func (*ProtocolAndEndpointSupportAPIService) GetProtocolEndpointsExecute ¶ added in v1.3.0
func (a *ProtocolAndEndpointSupportAPIService) GetProtocolEndpointsExecute(r ApiGetProtocolEndpointsRequest) (ProtocolDetail, *_nethttp.Response, error)
* Execute executes the request * @return ProtocolDetail
func (*ProtocolAndEndpointSupportAPIService) GetProtocolsList ¶ added in v1.3.0
func (a *ProtocolAndEndpointSupportAPIService) GetProtocolsList(ctx _context.Context) ApiGetProtocolsListRequest
* GetProtocolsList Get the Protocols Overview * Provides a list of supported protocols and networks.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiGetProtocolsListRequest
func (*ProtocolAndEndpointSupportAPIService) GetProtocolsListExecute ¶ added in v1.3.0
func (a *ProtocolAndEndpointSupportAPIService) GetProtocolsListExecute(r ApiGetProtocolsListRequest) (ProtocolsOverview, *_nethttp.Response, error)
* Execute executes the request * @return ProtocolsOverview
type ProtocolDetail ¶ added in v1.2.0
type ProtocolDetail struct { // The protocol handle. Handle *string `json:"handle,omitempty"` // The specified network type. Network interface{} `json:"network,omitempty"` // The genesis number. GenesisNumber *int64 `json:"genesis_number,omitempty"` // The supported endpoints. Endpoints *[]string `json:"endpoints,omitempty"` }
ProtocolDetail struct for ProtocolDetail
func NewProtocolDetail ¶ added in v1.2.0
func NewProtocolDetail() *ProtocolDetail
NewProtocolDetail instantiates a new ProtocolDetail 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 NewProtocolDetailWithDefaults ¶ added in v1.2.0
func NewProtocolDetailWithDefaults() *ProtocolDetail
NewProtocolDetailWithDefaults instantiates a new ProtocolDetail 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 (*ProtocolDetail) GetEndpoints ¶ added in v1.2.0
func (o *ProtocolDetail) GetEndpoints() []string
GetEndpoints returns the Endpoints field value if set, zero value otherwise.
func (*ProtocolDetail) GetEndpointsOk ¶ added in v1.2.0
func (o *ProtocolDetail) 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 (*ProtocolDetail) GetGenesisNumber ¶ added in v1.2.0
func (o *ProtocolDetail) GetGenesisNumber() int64
GetGenesisNumber returns the GenesisNumber field value if set, zero value otherwise.
func (*ProtocolDetail) GetGenesisNumberOk ¶ added in v1.2.0
func (o *ProtocolDetail) 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 (*ProtocolDetail) GetHandle ¶ added in v1.2.0
func (o *ProtocolDetail) GetHandle() string
GetHandle returns the Handle field value if set, zero value otherwise.
func (*ProtocolDetail) GetHandleOk ¶ added in v1.2.0
func (o *ProtocolDetail) 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 (*ProtocolDetail) GetNetwork ¶ added in v1.8.2
func (o *ProtocolDetail) GetNetwork() interface{}
GetNetwork returns the Network field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ProtocolDetail) GetNetworkOk ¶ added in v1.8.2
func (o *ProtocolDetail) GetNetworkOk() (*interface{}, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ProtocolDetail) HasEndpoints ¶ added in v1.2.0
func (o *ProtocolDetail) HasEndpoints() bool
HasEndpoints returns a boolean if a field has been set.
func (*ProtocolDetail) HasGenesisNumber ¶ added in v1.2.0
func (o *ProtocolDetail) HasGenesisNumber() bool
HasGenesisNumber returns a boolean if a field has been set.
func (*ProtocolDetail) HasHandle ¶ added in v1.2.0
func (o *ProtocolDetail) HasHandle() bool
HasHandle returns a boolean if a field has been set.
func (*ProtocolDetail) HasNetwork ¶ added in v1.8.2
func (o *ProtocolDetail) HasNetwork() bool
HasNetwork returns a boolean if a field has been set.
func (ProtocolDetail) MarshalJSON ¶ added in v1.2.0
func (o ProtocolDetail) MarshalJSON() ([]byte, error)
func (*ProtocolDetail) SetEndpoints ¶ added in v1.2.0
func (o *ProtocolDetail) SetEndpoints(v []string)
SetEndpoints gets a reference to the given []string and assigns it to the Endpoints field.
func (*ProtocolDetail) SetGenesisNumber ¶ added in v1.2.0
func (o *ProtocolDetail) SetGenesisNumber(v int64)
SetGenesisNumber gets a reference to the given int64 and assigns it to the GenesisNumber field.
func (*ProtocolDetail) SetHandle ¶ added in v1.2.0
func (o *ProtocolDetail) SetHandle(v string)
SetHandle gets a reference to the given string and assigns it to the Handle field.
func (*ProtocolDetail) SetNetwork ¶ added in v1.8.2
func (o *ProtocolDetail) SetNetwork(v interface{})
SetNetwork gets a reference to the given interface{} and assigns it to the Network field.
type ProtocolsOverview ¶ added in v1.2.0
type ProtocolsOverview struct { // List of items each describing a pair of supported protocol and network. Protocols *[]ProtocolsOverviewProtocols `json:"protocols,omitempty"` }
ProtocolsOverview struct for ProtocolsOverview
func NewProtocolsOverview ¶ added in v1.2.0
func NewProtocolsOverview() *ProtocolsOverview
NewProtocolsOverview instantiates a new ProtocolsOverview 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 NewProtocolsOverviewWithDefaults ¶ added in v1.2.0
func NewProtocolsOverviewWithDefaults() *ProtocolsOverview
NewProtocolsOverviewWithDefaults instantiates a new ProtocolsOverview 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 (*ProtocolsOverview) GetProtocols ¶ added in v1.2.0
func (o *ProtocolsOverview) GetProtocols() []ProtocolsOverviewProtocols
GetProtocols returns the Protocols field value if set, zero value otherwise.
func (*ProtocolsOverview) GetProtocolsOk ¶ added in v1.2.0
func (o *ProtocolsOverview) GetProtocolsOk() (*[]ProtocolsOverviewProtocols, bool)
GetProtocolsOk returns a tuple with the Protocols field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProtocolsOverview) HasProtocols ¶ added in v1.2.0
func (o *ProtocolsOverview) HasProtocols() bool
HasProtocols returns a boolean if a field has been set.
func (ProtocolsOverview) MarshalJSON ¶ added in v1.2.0
func (o ProtocolsOverview) MarshalJSON() ([]byte, error)
func (*ProtocolsOverview) SetProtocols ¶ added in v1.2.0
func (o *ProtocolsOverview) SetProtocols(v []ProtocolsOverviewProtocols)
SetProtocols gets a reference to the given []ProtocolsOverviewProtocols and assigns it to the Protocols field.
type ProtocolsOverviewProtocols ¶ added in v1.2.0
type ProtocolsOverviewProtocols struct { // The protocol name. Handle *string `json:"handle,omitempty"` // The network type, i.e., mainnet, testnet, etc. Network *string `json:"network,omitempty"` }
ProtocolsOverviewProtocols struct for ProtocolsOverviewProtocols
func NewProtocolsOverviewProtocols ¶ added in v1.2.0
func NewProtocolsOverviewProtocols() *ProtocolsOverviewProtocols
NewProtocolsOverviewProtocols instantiates a new ProtocolsOverviewProtocols 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 NewProtocolsOverviewProtocolsWithDefaults ¶ added in v1.2.0
func NewProtocolsOverviewProtocolsWithDefaults() *ProtocolsOverviewProtocols
NewProtocolsOverviewProtocolsWithDefaults instantiates a new ProtocolsOverviewProtocols 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 (*ProtocolsOverviewProtocols) GetHandle ¶ added in v1.2.0
func (o *ProtocolsOverviewProtocols) GetHandle() string
GetHandle returns the Handle field value if set, zero value otherwise.
func (*ProtocolsOverviewProtocols) GetHandleOk ¶ added in v1.2.0
func (o *ProtocolsOverviewProtocols) 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 (*ProtocolsOverviewProtocols) GetNetwork ¶ added in v1.2.0
func (o *ProtocolsOverviewProtocols) GetNetwork() string
GetNetwork returns the Network field value if set, zero value otherwise.
func (*ProtocolsOverviewProtocols) GetNetworkOk ¶ added in v1.2.0
func (o *ProtocolsOverviewProtocols) 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 (*ProtocolsOverviewProtocols) HasHandle ¶ added in v1.2.0
func (o *ProtocolsOverviewProtocols) HasHandle() bool
HasHandle returns a boolean if a field has been set.
func (*ProtocolsOverviewProtocols) HasNetwork ¶ added in v1.2.0
func (o *ProtocolsOverviewProtocols) HasNetwork() bool
HasNetwork returns a boolean if a field has been set.
func (ProtocolsOverviewProtocols) MarshalJSON ¶ added in v1.2.0
func (o ProtocolsOverviewProtocols) MarshalJSON() ([]byte, error)
func (*ProtocolsOverviewProtocols) SetHandle ¶ added in v1.2.0
func (o *ProtocolsOverviewProtocols) SetHandle(v string)
SetHandle gets a reference to the given string and assigns it to the Handle field.
func (*ProtocolsOverviewProtocols) SetNetwork ¶ added in v1.2.0
func (o *ProtocolsOverviewProtocols) SetNetwork(v string)
SetNetwork gets a reference to the given string and assigns it to the Network field.
type Report ¶
type Report struct { // The transaction items. Fields []ReportField `json:"fields"` // The number of transactions in the report. Items int32 `json:"items"` // The limit number. Limit *int32 `json:"limit,omitempty"` // The limit number provided in the request or the default. PageSize *int32 `json:"page_size,omitempty"` // The token to retrieve more items in the next request. Use the `next_page_token` returned from the previous response for this parameter. PageToken *string `json:"page_token,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) 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) GetLimitOk ¶
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) GetPageSize ¶ added in v1.5.0
GetPageSize returns the PageSize field value if set, zero value otherwise.
func (*Report) GetPageSizeOk ¶ added in v1.5.0
GetPageSizeOk returns a tuple with the PageSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Report) GetPageToken ¶ added in v1.5.0
GetPageToken returns the PageToken field value if set, zero value otherwise.
func (*Report) GetPageTokenOk ¶ added in v1.5.0
GetPageTokenOk returns a tuple with the PageToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Report) HasPageSize ¶ added in v1.5.0
HasPageSize returns a boolean if a field has been set.
func (*Report) HasPageToken ¶ added in v1.5.0
HasPageToken returns a boolean if a field has been set.
func (Report) MarshalJSON ¶
func (*Report) SetLimit ¶
SetLimit gets a reference to the given int32 and assigns it to the Limit field.
func (*Report) SetPageSize ¶ added in v1.5.0
SetPageSize gets a reference to the given int32 and assigns it to the PageSize field.
func (*Report) SetPageToken ¶ added in v1.5.0
SetPageToken gets a reference to the given string and assigns it to the PageToken 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 int64 `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"` // How much was charged as a fee for processing the transaction. Fee string `json:"fee"` // The address where the funds originated. SenderAddress string `json:"sender_address"` // The number of decimals in one coin, used to convert smallest unit to 1 whole coin if needed. Decimals int32 `json:"decimals"` Meta *ReportFieldMeta `json:"meta,omitempty"` }
ReportField struct for ReportField
func NewReportField ¶
func NewReportField(protocol string, address string, currency string, eventId string, block int64, timestamp int64, hash string, action string, value string, fee string, senderAddress 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.
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.
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() int64
GetTimestamp returns the Timestamp field value
func (*ReportField) GetTimestampOk ¶
func (o *ReportField) GetTimestampOk() (*int64, 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 ReportFieldMeta and assigns it to the Meta field.
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 int64)
SetTimestamp sets field value
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 { // The name of the token mechanism (smart contract). Type string `json:"type"` // The address of the contract. Contract string `json:"contract"` }
SmartToken The detail object.
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 { // The asset path of the transferred currency. AssetPath string `json:"asset_path"` // The currency symbol. Symbol *string `json:"symbol,omitempty"` // The name of the currency. Name *string `json:"name,omitempty"` // The decimal places right to the comma. Decimals *int32 `json:"decimals,omitempty"` // The type of the currency. 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 Token ¶
type Token struct { // The name of token mechanism. Type string `json:"type"` // The token identifier. Id string `json:"id"` // The address that created the token. Creator *string `json:"creator,omitempty"` }
Token The detail object.
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 { // The asset path of the transferred currency. AssetPath string `json:"asset_path"` // The currency symbol. Symbol *string `json:"symbol,omitempty"` // The name of the currency. Name *string `json:"name,omitempty"` // The decimal places right to the comma. Decimals *int32 `json:"decimals,omitempty"` // The currency type. 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 { /* * GetTxByHash Get a Transaction * Returns a transaction by a user-defined transaction hash. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar` `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param hash The transaction hash. * @return ApiGetTxByHashRequest */ GetTxByHash(ctx _context.Context, protocol string, network string, hash string) ApiGetTxByHashRequest /* * GetTxByHashExecute executes the request * @return Tx */ GetTxByHashExecute(r ApiGetTxByHashRequest) (Tx, *_nethttp.Response, error) /* * GetTxConfirmations Get the Transaction Confirmations * Returns the number of transaction confirmations by a user-defined transaction hash. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `optimism`, `polkadot`, `polygon`, `tezos`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param hash The transaction hash. * @return ApiGetTxConfirmationsRequest */ GetTxConfirmations(ctx _context.Context, protocol string, network string, hash string) ApiGetTxConfirmationsRequest /* * GetTxConfirmationsExecute executes the request * @return TxConfirmation */ GetTxConfirmationsExecute(r ApiGetTxConfirmationsRequest) (TxConfirmation, *_nethttp.Response, error) /* * GetTxOutputByHashAndIndex Get a Transaction Output by Hash and Index * Get a transaction output by a user-defined transaction hash and the transaction output index. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `bitcoin`, `bitcoincash`, `dogecoin`, `litecoin`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param hash The transaction hash. * @param index The transaction output index. * @return ApiGetTxOutputByHashAndIndexRequest */ GetTxOutputByHashAndIndex(ctx _context.Context, protocol string, network string, hash string, index int32) ApiGetTxOutputByHashAndIndexRequest /* * GetTxOutputByHashAndIndexExecute executes the request * @return TxOutput */ GetTxOutputByHashAndIndexExecute(r ApiGetTxOutputByHashAndIndexRequest) (TxOutput, *_nethttp.Response, error) /* * GetTxs Get a List of Transactions * Get a List of transactions, starting with the lastest one. Each call returns an array of the entire list. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom` `litecoin`, `optimism`, `polkadot`, `polygon`, `stellar` `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiGetTxsRequest */ GetTxs(ctx _context.Context, protocol string, network string) ApiGetTxsRequest /* * GetTxsExecute executes the request * @return TxPage */ GetTxsExecute(r ApiGetTxsRequest) (TxPage, *_nethttp.Response, error) /* * GetTxsByAddress Get a List of Transactions for a Given Address * Returns the transactions that an address was involved with, from newest to oldest. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol The protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `optimism`, `polkadot`, `polygon`, `solana`, `tezos`, `stellar`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param address The account address of the protocol. * @return ApiGetTxsByAddressRequest */ GetTxsByAddress(ctx _context.Context, protocol string, network string, address string) ApiGetTxsByAddressRequest /* * GetTxsByAddressExecute executes the request * @return TxPage */ GetTxsByAddressExecute(r ApiGetTxsByAddressRequest) (TxPage, *_nethttp.Response, error) /* * GetUTXOByAccount Get a List of Transaction Inputs and Outputs * Returns the transaction inputs and outputs following the BTC's UTXO model definition by a user-definied account address. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol The protocol handle, one of: `bitcoin`, `bitcoincash`, `dogecoin`, `litecoin`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param address The account address of the protocol. * @return ApiGetUTXOByAccountRequest */ GetUTXOByAccount(ctx _context.Context, protocol string, network string, address string) ApiGetUTXOByAccountRequest /* * GetUTXOByAccountExecute executes the request * @return TxOutputs */ GetUTXOByAccountExecute(r ApiGetUTXOByAccountRequest) (TxOutputs, *_nethttp.Response, error) /* * TxCreate Create an Unsigned Transaction * Creates an unsigned transaction. **Note** that Ethereum currently only supports singular transaction destinations. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `avalanche`, `bitcoin`, `ethereum`, `dogecoin`, `fantom`, `polkadot`, `polygon`, `solana`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiTxCreateRequest */ TxCreate(ctx _context.Context, protocol string, network string) ApiTxCreateRequest /* * TxCreateExecute executes the request * @return UnsignedTx */ TxCreateExecute(r ApiTxCreateRequest) (UnsignedTx, *_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 Universal websockets. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `optimism`, `polkadot`, `polygon`, `solana`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiTxSendRequest */ TxSend(ctx _context.Context, protocol 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) GetTxByHash ¶ added in v1.3.0
func (a *TransactionsAPIService) GetTxByHash(ctx _context.Context, protocol string, network string, hash string) ApiGetTxByHashRequest
* GetTxByHash Get a Transaction * Returns a transaction by a user-defined transaction hash. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `optimism`, `polkadot`, `polygon`, `solana`, `stellar` `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param hash The transaction hash. * @return ApiGetTxByHashRequest
func (*TransactionsAPIService) GetTxByHashExecute ¶ added in v1.3.0
func (a *TransactionsAPIService) GetTxByHashExecute(r ApiGetTxByHashRequest) (Tx, *_nethttp.Response, error)
* Execute executes the request * @return Tx
func (*TransactionsAPIService) GetTxConfirmations ¶
func (a *TransactionsAPIService) GetTxConfirmations(ctx _context.Context, protocol string, network string, hash string) ApiGetTxConfirmationsRequest
* GetTxConfirmations Get the Transaction Confirmations * Returns the number of transaction confirmations by a user-defined transaction hash.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `optimism`, `polkadot`, `polygon`, `tezos`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param hash The transaction hash. * @return ApiGetTxConfirmationsRequest
func (*TransactionsAPIService) GetTxConfirmationsExecute ¶
func (a *TransactionsAPIService) GetTxConfirmationsExecute(r ApiGetTxConfirmationsRequest) (TxConfirmation, *_nethttp.Response, error)
* Execute executes the request * @return TxConfirmation
func (*TransactionsAPIService) GetTxOutputByHashAndIndex ¶ added in v1.3.0
func (a *TransactionsAPIService) GetTxOutputByHashAndIndex(ctx _context.Context, protocol string, network string, hash string, index int32) ApiGetTxOutputByHashAndIndexRequest
* GetTxOutputByHashAndIndex Get a Transaction Output by Hash and Index * Get a transaction output by a user-defined transaction hash and the transaction output index. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `bitcoin`, `bitcoincash`, `dogecoin`, `litecoin`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param hash The transaction hash. * @param index The transaction output index. * @return ApiGetTxOutputByHashAndIndexRequest
func (*TransactionsAPIService) GetTxOutputByHashAndIndexExecute ¶ added in v1.3.0
func (a *TransactionsAPIService) GetTxOutputByHashAndIndexExecute(r ApiGetTxOutputByHashAndIndexRequest) (TxOutput, *_nethttp.Response, error)
* Execute executes the request * @return TxOutput
func (*TransactionsAPIService) GetTxs ¶
func (a *TransactionsAPIService) GetTxs(ctx _context.Context, protocol string, network string) ApiGetTxsRequest
* GetTxs Get a List of Transactions * Get a List of transactions, starting with the lastest one. Each call returns an array of the entire list.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom` `litecoin`, `optimism`, `polkadot`, `polygon`, `stellar` `tezos`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @return ApiGetTxsRequest
func (*TransactionsAPIService) GetTxsByAddress ¶ added in v1.11.0
func (a *TransactionsAPIService) GetTxsByAddress(ctx _context.Context, protocol string, network string, address string) ApiGetTxsByAddressRequest
* GetTxsByAddress Get a List of Transactions for a Given Address * Returns the transactions that an address was involved with, from newest to oldest.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol The protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `optimism`, `polkadot`, `polygon`, `solana`, `tezos`, `stellar`, `xrp`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param address The account address of the protocol. * @return ApiGetTxsByAddressRequest
func (*TransactionsAPIService) GetTxsByAddressExecute ¶ added in v1.11.0
func (a *TransactionsAPIService) GetTxsByAddressExecute(r ApiGetTxsByAddressRequest) (TxPage, *_nethttp.Response, error)
* Execute executes the request * @return TxPage
func (*TransactionsAPIService) GetTxsExecute ¶
func (a *TransactionsAPIService) GetTxsExecute(r ApiGetTxsRequest) (TxPage, *_nethttp.Response, error)
* Execute executes the request * @return TxPage
func (*TransactionsAPIService) GetUTXOByAccount ¶ added in v1.11.0
func (a *TransactionsAPIService) GetUTXOByAccount(ctx _context.Context, protocol string, network string, address string) ApiGetUTXOByAccountRequest
* GetUTXOByAccount Get a List of Transaction Inputs and Outputs * Returns the transaction inputs and outputs following the BTC's UTXO model definition by a user-definied account address.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param protocol The protocol handle, one of: `bitcoin`, `bitcoincash`, `dogecoin`, `litecoin`. * @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}. * @param address The account address of the protocol. * @return ApiGetUTXOByAccountRequest
func (*TransactionsAPIService) GetUTXOByAccountExecute ¶ added in v1.11.0
func (a *TransactionsAPIService) GetUTXOByAccountExecute(r ApiGetUTXOByAccountRequest) (TxOutputs, *_nethttp.Response, error)
* Execute executes the request * @return TxOutputs
func (*TransactionsAPIService) TxCreate ¶ added in v1.3.0
func (a *TransactionsAPIService) TxCreate(ctx _context.Context, protocol string, network string) ApiTxCreateRequest
- TxCreate Create an Unsigned Transaction
- Creates an unsigned transaction.
**Note** that Ethereum currently only supports singular transaction destinations.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param protocol Protocol handle, one of: `avalanche`, `bitcoin`, `ethereum`, `dogecoin`, `fantom`, `polkadot`, `polygon`, `solana`.
- @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}.
- @return ApiTxCreateRequest
func (*TransactionsAPIService) TxCreateExecute ¶ added in v1.3.0
func (a *TransactionsAPIService) TxCreateExecute(r ApiTxCreateRequest) (UnsignedTx, *_nethttp.Response, error)
* Execute executes the request * @return UnsignedTx
func (*TransactionsAPIService) TxSend ¶
func (a *TransactionsAPIService) TxSend(ctx _context.Context, protocol 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 Universal websockets.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param protocol Protocol handle, one of: `algorand`, `avalanche`, `bitcoin`, `bitcoincash`, `dogecoin`, `ethereum`, `fantom`, `litecoin`, `optimism`, `polkadot`, `polygon`, `solana`.
- @param network Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}.
- @return ApiTxSendRequest
func (*TransactionsAPIService) TxSendExecute ¶
func (a *TransactionsAPIService) TxSendExecute(r ApiTxSendRequest) (TxReceipt, *_nethttp.Response, error)
* Execute executes the request * @return TxReceipt
type Tx ¶
type Tx struct { // Unique transaction identifier. Id *string `json:"id,omitempty"` // Block hash if mined, otherwise omitted. BlockId NullableString `json:"block_id,omitempty"` // The transaction creation unix timestamp. Date *int64 `json:"date,omitempty"` // Result status of the transaction. Status *string `json:"status,omitempty"` // List of transaction events. NumEvents *int32 `json:"num_events,omitempty"` // Protocol specific data that doesn't fit into a standard model. Meta *map[string]interface{} `json:"meta,omitempty"` // Block number if mined, otherwise omitted. BlockNumber NullableInt32 `json:"block_number,omitempty"` // Total transaction confirmations. Confirmations *int32 `json:"confirmations,omitempty"` Events []Event `json:"events,omitempty"` // List of moved assets by asset path. Find all the asset paths on this [page](https://docs.blockdaemon.com/reference/available-currencies-and-tokens). Assets []string `json:"assets,omitempty"` // The nonce of the transaction. Nonce *int32 `json:"nonce,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) GetAssets ¶ added in v1.1.0
GetAssets returns the Assets field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Tx) GetAssetsOk ¶ added in v1.1.0
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) GetBlockNumber ¶ added in v1.8.2
GetBlockNumber returns the BlockNumber field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Tx) GetBlockNumberOk ¶ added in v1.8.2
GetBlockNumberOk returns a tuple with the BlockNumber 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) GetConfirmations ¶ added in v1.8.2
GetConfirmations returns the Confirmations field value if set, zero value otherwise.
func (*Tx) GetConfirmationsOk ¶ added in v1.8.2
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 (*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) GetEvents ¶
GetEvents returns the Events field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Tx) GetEventsOk ¶
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 (*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) GetMetaOk ¶
GetMetaOk returns a tuple with the Meta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Tx) GetNonceOk ¶
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 (*Tx) GetNumEvents ¶
GetNumEvents returns the NumEvents field value if set, zero value otherwise.
func (*Tx) GetNumEventsOk ¶
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 (*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) HasBlockId ¶
HasBlockId returns a boolean if a field has been set.
func (*Tx) HasBlockNumber ¶ added in v1.8.2
HasBlockNumber returns a boolean if a field has been set.
func (*Tx) HasConfirmations ¶ added in v1.8.2
HasConfirmations returns a boolean if a field has been set.
func (*Tx) HasNumEvents ¶
HasNumEvents returns a boolean if a field has been set.
func (Tx) MarshalJSON ¶
func (*Tx) SetAssets ¶ added in v1.1.0
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) SetBlockNumber ¶ added in v1.8.2
SetBlockNumber gets a reference to the given NullableInt32 and assigns it to the BlockNumber field.
func (*Tx) SetBlockNumberNil ¶ added in v1.8.2
func (o *Tx) SetBlockNumberNil()
SetBlockNumberNil sets the value for BlockNumber to be an explicit nil
func (*Tx) SetConfirmations ¶ added in v1.8.2
SetConfirmations gets a reference to the given int32 and assigns it to the Confirmations field.
func (*Tx) SetEvents ¶
SetEvents gets a reference to the given []Event and assigns it to the Events field.
func (*Tx) SetMeta ¶
SetMeta gets a reference to the given map[string]interface{} and assigns it to the Meta field.
func (*Tx) SetNonce ¶
SetNonce gets a reference to the given int32 and assigns it to the Nonce field.
func (*Tx) SetNumEvents ¶
SetNumEvents gets a reference to the given int32 and assigns it to the NumEvents field.
func (*Tx) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Tx) UnsetBlockId ¶
func (o *Tx) UnsetBlockId()
UnsetBlockId ensures that no value is present for BlockId, not even an explicit nil
func (*Tx) UnsetBlockNumber ¶ added in v1.8.2
func (o *Tx) UnsetBlockNumber()
UnsetBlockNumber ensures that no value is present for BlockNumber, not even an explicit nil
type TxConfirmation ¶
type TxConfirmation struct { // The current block height. CurrentHeight *int64 `json:"current_height,omitempty"` // The transaction hash. TxId *string `json:"tx_id,omitempty"` // The total transaction confirmations. Confirmations *int64 `json:"confirmations,omitempty"` }
TxConfirmation struct for TxConfirmation
func NewTxConfirmation ¶
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 ¶
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 ¶
func (o *TxConfirmation) GetConfirmations() int64
GetConfirmations returns the Confirmations field value if set, zero value otherwise.
func (*TxConfirmation) GetConfirmationsOk ¶
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 ¶
func (o *TxConfirmation) GetCurrentHeight() int64
GetCurrentHeight returns the CurrentHeight field value if set, zero value otherwise.
func (*TxConfirmation) GetCurrentHeightOk ¶
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 ¶
func (o *TxConfirmation) GetTxId() string
GetTxId returns the TxId field value if set, zero value otherwise.
func (*TxConfirmation) GetTxIdOk ¶
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 ¶
func (o *TxConfirmation) HasConfirmations() bool
HasConfirmations returns a boolean if a field has been set.
func (*TxConfirmation) HasCurrentHeight ¶
func (o *TxConfirmation) HasCurrentHeight() bool
HasCurrentHeight returns a boolean if a field has been set.
func (*TxConfirmation) HasTxId ¶
func (o *TxConfirmation) HasTxId() bool
HasTxId returns a boolean if a field has been set.
func (TxConfirmation) MarshalJSON ¶
func (o TxConfirmation) MarshalJSON() ([]byte, error)
func (*TxConfirmation) SetConfirmations ¶
func (o *TxConfirmation) SetConfirmations(v int64)
SetConfirmations gets a reference to the given int64 and assigns it to the Confirmations field.
func (*TxConfirmation) SetCurrentHeight ¶
func (o *TxConfirmation) SetCurrentHeight(v int64)
SetCurrentHeight gets a reference to the given int64 and assigns it to the CurrentHeight field.
func (*TxConfirmation) SetTxId ¶
func (o *TxConfirmation) SetTxId(v string)
SetTxId gets a reference to the given string and assigns it to the TxId field.
type TxCreate ¶ added in v1.3.0
type TxCreate struct { // The source UTXO or account ID for the originating funds. From string `json:"from"` // A list of recipients. To []TxDestination `json:"to"` Contract *TxCreateContract `json:"contract,omitempty"` // The UTXO index or the account Nonce. Required for Bitcoin, Bitcoincash, and Litecoin. Index *int64 `json:"index,omitempty"` // The fee you are willing to pay for the transaction. For Ethereum and Polygon see 'protocol.ethereum' and 'protocol.polygon'. Fee *string `json:"fee,omitempty"` Protocol *TxCreateProtocol `json:"protocol,omitempty"` }
TxCreate struct for TxCreate
func NewTxCreate ¶ added in v1.3.0
func NewTxCreate(from string, to []TxDestination) *TxCreate
NewTxCreate instantiates a new TxCreate 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 NewTxCreateWithDefaults ¶ added in v1.3.0
func NewTxCreateWithDefaults() *TxCreate
NewTxCreateWithDefaults instantiates a new TxCreate 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 (*TxCreate) GetContract ¶ added in v1.9.0
func (o *TxCreate) GetContract() TxCreateContract
GetContract returns the Contract field value if set, zero value otherwise.
func (*TxCreate) GetContractOk ¶ added in v1.9.0
func (o *TxCreate) GetContractOk() (*TxCreateContract, bool)
GetContractOk returns a tuple with the Contract field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxCreate) GetFee ¶ added in v1.3.0
GetFee returns the Fee field value if set, zero value otherwise.
func (*TxCreate) GetFeeOk ¶ added in v1.3.0
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 (*TxCreate) GetFromOk ¶ added in v1.3.0
GetFromOk returns a tuple with the From field value and a boolean to check if the value has been set.
func (*TxCreate) GetIndex ¶ added in v1.3.0
GetIndex returns the Index field value if set, zero value otherwise.
func (*TxCreate) GetIndexOk ¶ added in v1.3.0
GetIndexOk returns a tuple with the Index field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxCreate) GetProtocol ¶ added in v1.7.0
func (o *TxCreate) GetProtocol() TxCreateProtocol
GetProtocol returns the Protocol field value if set, zero value otherwise.
func (*TxCreate) GetProtocolOk ¶ added in v1.7.0
func (o *TxCreate) GetProtocolOk() (*TxCreateProtocol, bool)
GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxCreate) GetTo ¶ added in v1.3.0
func (o *TxCreate) GetTo() []TxDestination
GetTo returns the To field value
func (*TxCreate) GetToOk ¶ added in v1.3.0
func (o *TxCreate) GetToOk() (*[]TxDestination, bool)
GetToOk returns a tuple with the To field value and a boolean to check if the value has been set.
func (*TxCreate) HasContract ¶ added in v1.9.0
HasContract returns a boolean if a field has been set.
func (*TxCreate) HasProtocol ¶ added in v1.7.0
HasProtocol returns a boolean if a field has been set.
func (TxCreate) MarshalJSON ¶ added in v1.3.0
func (*TxCreate) SetContract ¶ added in v1.9.0
func (o *TxCreate) SetContract(v TxCreateContract)
SetContract gets a reference to the given TxCreateContract and assigns it to the Contract field.
func (*TxCreate) SetFee ¶ added in v1.3.0
SetFee gets a reference to the given string and assigns it to the Fee field.
func (*TxCreate) SetIndex ¶ added in v1.3.0
SetIndex gets a reference to the given int64 and assigns it to the Index field.
func (*TxCreate) SetProtocol ¶ added in v1.7.0
func (o *TxCreate) SetProtocol(v TxCreateProtocol)
SetProtocol gets a reference to the given TxCreateProtocol and assigns it to the Protocol field.
func (*TxCreate) SetTo ¶ added in v1.3.0
func (o *TxCreate) SetTo(v []TxDestination)
SetTo sets field value
type TxCreateContract ¶ added in v1.9.0
type TxCreateContract struct { // The address of the contract. Address *string `json:"address,omitempty"` // The type of contract. Type *string `json:"type,omitempty"` }
TxCreateContract The contract object.
func NewTxCreateContract ¶ added in v1.9.0
func NewTxCreateContract() *TxCreateContract
NewTxCreateContract instantiates a new TxCreateContract 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 NewTxCreateContractWithDefaults ¶ added in v1.9.0
func NewTxCreateContractWithDefaults() *TxCreateContract
NewTxCreateContractWithDefaults instantiates a new TxCreateContract 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 (*TxCreateContract) GetAddress ¶ added in v1.9.0
func (o *TxCreateContract) GetAddress() string
GetAddress returns the Address field value if set, zero value otherwise.
func (*TxCreateContract) GetAddressOk ¶ added in v1.9.0
func (o *TxCreateContract) GetAddressOk() (*string, bool)
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 (*TxCreateContract) GetType ¶ added in v1.9.0
func (o *TxCreateContract) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TxCreateContract) GetTypeOk ¶ added in v1.9.0
func (o *TxCreateContract) 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 (*TxCreateContract) HasAddress ¶ added in v1.9.0
func (o *TxCreateContract) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (*TxCreateContract) HasType ¶ added in v1.9.0
func (o *TxCreateContract) HasType() bool
HasType returns a boolean if a field has been set.
func (TxCreateContract) MarshalJSON ¶ added in v1.9.0
func (o TxCreateContract) MarshalJSON() ([]byte, error)
func (*TxCreateContract) SetAddress ¶ added in v1.9.0
func (o *TxCreateContract) SetAddress(v string)
SetAddress gets a reference to the given string and assigns it to the Address field.
func (*TxCreateContract) SetType ¶ added in v1.9.0
func (o *TxCreateContract) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type TxCreateEvm ¶ added in v1.7.0
type TxCreateEvm struct { // Gas of transaction. If omitted, the gas will be estimated using eth_estimateGas. Gas *int64 `json:"gas,omitempty"` // The max priority fee per gas. Also referred to as the miner tip. When omitted an estimate will be used. MaxPriorityFeePerGas *int64 `json:"maxPriorityFeePerGas,omitempty"` // The max fee per gas, this includes the base fee and max priority fee per gas. When omitted an esitmate will be used. MaxFeePerGas *int64 `json:"maxFeePerGas,omitempty"` }
TxCreateEvm EVM specific parameters for transaction creation.
func NewTxCreateEvm ¶ added in v1.7.0
func NewTxCreateEvm() *TxCreateEvm
NewTxCreateEvm instantiates a new TxCreateEvm 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 NewTxCreateEvmWithDefaults ¶ added in v1.7.0
func NewTxCreateEvmWithDefaults() *TxCreateEvm
NewTxCreateEvmWithDefaults instantiates a new TxCreateEvm 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 (*TxCreateEvm) GetGas ¶ added in v1.7.0
func (o *TxCreateEvm) GetGas() int64
GetGas returns the Gas field value if set, zero value otherwise.
func (*TxCreateEvm) GetGasOk ¶ added in v1.7.0
func (o *TxCreateEvm) GetGasOk() (*int64, bool)
GetGasOk returns a tuple with the Gas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxCreateEvm) GetMaxFeePerGas ¶ added in v1.7.0
func (o *TxCreateEvm) GetMaxFeePerGas() int64
GetMaxFeePerGas returns the MaxFeePerGas field value if set, zero value otherwise.
func (*TxCreateEvm) GetMaxFeePerGasOk ¶ added in v1.7.0
func (o *TxCreateEvm) GetMaxFeePerGasOk() (*int64, bool)
GetMaxFeePerGasOk returns a tuple with the MaxFeePerGas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxCreateEvm) GetMaxPriorityFeePerGas ¶ added in v1.7.0
func (o *TxCreateEvm) GetMaxPriorityFeePerGas() int64
GetMaxPriorityFeePerGas returns the MaxPriorityFeePerGas field value if set, zero value otherwise.
func (*TxCreateEvm) GetMaxPriorityFeePerGasOk ¶ added in v1.7.0
func (o *TxCreateEvm) GetMaxPriorityFeePerGasOk() (*int64, bool)
GetMaxPriorityFeePerGasOk returns a tuple with the MaxPriorityFeePerGas field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxCreateEvm) HasGas ¶ added in v1.7.0
func (o *TxCreateEvm) HasGas() bool
HasGas returns a boolean if a field has been set.
func (*TxCreateEvm) HasMaxFeePerGas ¶ added in v1.7.0
func (o *TxCreateEvm) HasMaxFeePerGas() bool
HasMaxFeePerGas returns a boolean if a field has been set.
func (*TxCreateEvm) HasMaxPriorityFeePerGas ¶ added in v1.7.0
func (o *TxCreateEvm) HasMaxPriorityFeePerGas() bool
HasMaxPriorityFeePerGas returns a boolean if a field has been set.
func (TxCreateEvm) MarshalJSON ¶ added in v1.7.0
func (o TxCreateEvm) MarshalJSON() ([]byte, error)
func (*TxCreateEvm) SetGas ¶ added in v1.7.0
func (o *TxCreateEvm) SetGas(v int64)
SetGas gets a reference to the given int64 and assigns it to the Gas field.
func (*TxCreateEvm) SetMaxFeePerGas ¶ added in v1.7.0
func (o *TxCreateEvm) SetMaxFeePerGas(v int64)
SetMaxFeePerGas gets a reference to the given int64 and assigns it to the MaxFeePerGas field.
func (*TxCreateEvm) SetMaxPriorityFeePerGas ¶ added in v1.7.0
func (o *TxCreateEvm) SetMaxPriorityFeePerGas(v int64)
SetMaxPriorityFeePerGas gets a reference to the given int64 and assigns it to the MaxPriorityFeePerGas field.
type TxCreateProtocol ¶ added in v1.7.0
type TxCreateProtocol struct { Avalanche *TxCreateEvm `json:"avalanche,omitempty"` Ethereum *TxCreateEvm `json:"ethereum,omitempty"` Fantom *TxCreateEvm `json:"fantom,omitempty"` Polygon *TxCreateEvm `json:"polygon,omitempty"` }
TxCreateProtocol Protocol specific parameters for transaction creation.
func NewTxCreateProtocol ¶ added in v1.7.0
func NewTxCreateProtocol() *TxCreateProtocol
NewTxCreateProtocol instantiates a new TxCreateProtocol 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 NewTxCreateProtocolWithDefaults ¶ added in v1.7.0
func NewTxCreateProtocolWithDefaults() *TxCreateProtocol
NewTxCreateProtocolWithDefaults instantiates a new TxCreateProtocol 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 (*TxCreateProtocol) GetAvalanche ¶ added in v1.10.0
func (o *TxCreateProtocol) GetAvalanche() TxCreateEvm
GetAvalanche returns the Avalanche field value if set, zero value otherwise.
func (*TxCreateProtocol) GetAvalancheOk ¶ added in v1.10.0
func (o *TxCreateProtocol) GetAvalancheOk() (*TxCreateEvm, bool)
GetAvalancheOk returns a tuple with the Avalanche field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxCreateProtocol) GetEthereum ¶ added in v1.7.0
func (o *TxCreateProtocol) GetEthereum() TxCreateEvm
GetEthereum returns the Ethereum field value if set, zero value otherwise.
func (*TxCreateProtocol) GetEthereumOk ¶ added in v1.7.0
func (o *TxCreateProtocol) GetEthereumOk() (*TxCreateEvm, bool)
GetEthereumOk returns a tuple with the Ethereum field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxCreateProtocol) GetFantom ¶ added in v1.10.0
func (o *TxCreateProtocol) GetFantom() TxCreateEvm
GetFantom returns the Fantom field value if set, zero value otherwise.
func (*TxCreateProtocol) GetFantomOk ¶ added in v1.10.0
func (o *TxCreateProtocol) GetFantomOk() (*TxCreateEvm, bool)
GetFantomOk returns a tuple with the Fantom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxCreateProtocol) GetPolygon ¶ added in v1.7.0
func (o *TxCreateProtocol) GetPolygon() TxCreateEvm
GetPolygon returns the Polygon field value if set, zero value otherwise.
func (*TxCreateProtocol) GetPolygonOk ¶ added in v1.7.0
func (o *TxCreateProtocol) GetPolygonOk() (*TxCreateEvm, bool)
GetPolygonOk returns a tuple with the Polygon field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxCreateProtocol) HasAvalanche ¶ added in v1.10.0
func (o *TxCreateProtocol) HasAvalanche() bool
HasAvalanche returns a boolean if a field has been set.
func (*TxCreateProtocol) HasEthereum ¶ added in v1.7.0
func (o *TxCreateProtocol) HasEthereum() bool
HasEthereum returns a boolean if a field has been set.
func (*TxCreateProtocol) HasFantom ¶ added in v1.10.0
func (o *TxCreateProtocol) HasFantom() bool
HasFantom returns a boolean if a field has been set.
func (*TxCreateProtocol) HasPolygon ¶ added in v1.7.0
func (o *TxCreateProtocol) HasPolygon() bool
HasPolygon returns a boolean if a field has been set.
func (TxCreateProtocol) MarshalJSON ¶ added in v1.7.0
func (o TxCreateProtocol) MarshalJSON() ([]byte, error)
func (*TxCreateProtocol) SetAvalanche ¶ added in v1.10.0
func (o *TxCreateProtocol) SetAvalanche(v TxCreateEvm)
SetAvalanche gets a reference to the given TxCreateEvm and assigns it to the Avalanche field.
func (*TxCreateProtocol) SetEthereum ¶ added in v1.7.0
func (o *TxCreateProtocol) SetEthereum(v TxCreateEvm)
SetEthereum gets a reference to the given TxCreateEvm and assigns it to the Ethereum field.
func (*TxCreateProtocol) SetFantom ¶ added in v1.10.0
func (o *TxCreateProtocol) SetFantom(v TxCreateEvm)
SetFantom gets a reference to the given TxCreateEvm and assigns it to the Fantom field.
func (*TxCreateProtocol) SetPolygon ¶ added in v1.7.0
func (o *TxCreateProtocol) SetPolygon(v TxCreateEvm)
SetPolygon gets a reference to the given TxCreateEvm and assigns it to the Polygon field.
type TxDestination ¶ added in v1.3.0
type TxDestination struct { // The destination address. Destination string `json:"destination"` // The amount you wish to transfer. Amount string `json:"amount"` }
TxDestination A list of recipients.
func NewTxDestination ¶ added in v1.3.0
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 ¶ added in v1.3.0
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 ¶ added in v1.3.0
func (o *TxDestination) GetAmount() string
GetAmount returns the Amount field value
func (*TxDestination) GetAmountOk ¶ added in v1.3.0
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 ¶ added in v1.3.0
func (o *TxDestination) GetDestination() string
GetDestination returns the Destination field value
func (*TxDestination) GetDestinationOk ¶ added in v1.3.0
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 ¶ added in v1.3.0
func (o TxDestination) MarshalJSON() ([]byte, error)
func (*TxDestination) SetAmount ¶ added in v1.3.0
func (o *TxDestination) SetAmount(v string)
SetAmount sets field value
func (*TxDestination) SetDestination ¶ added in v1.3.0
func (o *TxDestination) SetDestination(v string)
SetDestination sets field value
type TxMinify ¶ added in v1.1.0
type TxMinify struct { // The output index within a given transaction. Index *int32 `json:"index,omitempty"` // The transaction identifier. TxId *string `json:"tx_id,omitempty"` // The Unix timestamp. Date *int64 `json:"date,omitempty"` // The ID of block. BlockId NullableString `json:"block_id,omitempty"` // The height of block. BlockNumber NullableInt64 `json:"block_number,omitempty"` // Total transaction confirmations. Confirmations *int64 `json:"confirmations,omitempty"` }
TxMinify Transaction
func NewTxMinify ¶ added in v1.1.0
func NewTxMinify() *TxMinify
NewTxMinify instantiates a new TxMinify 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 NewTxMinifyWithDefaults ¶ added in v1.1.0
func NewTxMinifyWithDefaults() *TxMinify
NewTxMinifyWithDefaults instantiates a new TxMinify 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 (*TxMinify) GetBlockId ¶ added in v1.1.0
GetBlockId returns the BlockId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TxMinify) GetBlockIdOk ¶ added in v1.1.0
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 (*TxMinify) GetBlockNumber ¶ added in v1.1.0
GetBlockNumber returns the BlockNumber field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TxMinify) GetBlockNumberOk ¶ added in v1.1.0
GetBlockNumberOk returns a tuple with the BlockNumber 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 (*TxMinify) GetConfirmations ¶ added in v1.1.0
GetConfirmations returns the Confirmations field value if set, zero value otherwise.
func (*TxMinify) GetConfirmationsOk ¶ added in v1.1.0
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 (*TxMinify) GetDate ¶ added in v1.1.0
GetDate returns the Date field value if set, zero value otherwise.
func (*TxMinify) GetDateOk ¶ added in v1.1.0
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 (*TxMinify) GetIndex ¶ added in v1.8.2
GetIndex returns the Index field value if set, zero value otherwise.
func (*TxMinify) GetIndexOk ¶ added in v1.8.2
GetIndexOk returns a tuple with the Index field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxMinify) GetTxId ¶ added in v1.8.2
GetTxId returns the TxId field value if set, zero value otherwise.
func (*TxMinify) GetTxIdOk ¶ added in v1.8.2
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 (*TxMinify) HasBlockId ¶ added in v1.1.0
HasBlockId returns a boolean if a field has been set.
func (*TxMinify) HasBlockNumber ¶ added in v1.1.0
HasBlockNumber returns a boolean if a field has been set.
func (*TxMinify) HasConfirmations ¶ added in v1.1.0
HasConfirmations returns a boolean if a field has been set.
func (TxMinify) MarshalJSON ¶ added in v1.1.0
func (*TxMinify) SetBlockId ¶ added in v1.1.0
SetBlockId gets a reference to the given NullableString and assigns it to the BlockId field.
func (*TxMinify) SetBlockIdNil ¶ added in v1.1.0
func (o *TxMinify) SetBlockIdNil()
SetBlockIdNil sets the value for BlockId to be an explicit nil
func (*TxMinify) SetBlockNumber ¶ added in v1.1.0
SetBlockNumber gets a reference to the given NullableInt64 and assigns it to the BlockNumber field.
func (*TxMinify) SetBlockNumberNil ¶ added in v1.1.0
func (o *TxMinify) SetBlockNumberNil()
SetBlockNumberNil sets the value for BlockNumber to be an explicit nil
func (*TxMinify) SetConfirmations ¶ added in v1.1.0
SetConfirmations gets a reference to the given int64 and assigns it to the Confirmations field.
func (*TxMinify) SetDate ¶ added in v1.1.0
SetDate gets a reference to the given int64 and assigns it to the Date field.
func (*TxMinify) SetIndex ¶ added in v1.8.2
SetIndex gets a reference to the given int32 and assigns it to the Index field.
func (*TxMinify) SetTxId ¶ added in v1.8.2
SetTxId gets a reference to the given string and assigns it to the TxId field.
func (*TxMinify) UnsetBlockId ¶ added in v1.1.0
func (o *TxMinify) UnsetBlockId()
UnsetBlockId ensures that no value is present for BlockId, not even an explicit nil
func (*TxMinify) UnsetBlockNumber ¶ added in v1.1.0
func (o *TxMinify) UnsetBlockNumber()
UnsetBlockNumber ensures that no value is present for BlockNumber, not even an explicit nil
type TxOutput ¶ added in v1.1.0
type TxOutput struct { // The result status of the transaction output. Status *string `json:"status,omitempty"` // If the transaction output was spent or not, if the value is true the `spent` transaction object will be presented. IsSpent *bool `json:"is_spent,omitempty"` Spent NullableTxMinify `json:"spent,omitempty"` // The amount of transaction output. Value NullableInt64 `json:"value,omitempty"` Mined NullableTxMinify `json:"mined,omitempty"` }
TxOutput struct for TxOutput
func NewTxOutput ¶ added in v1.1.0
func NewTxOutput() *TxOutput
NewTxOutput instantiates a new TxOutput 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 NewTxOutputWithDefaults ¶ added in v1.1.0
func NewTxOutputWithDefaults() *TxOutput
NewTxOutputWithDefaults instantiates a new TxOutput 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 (*TxOutput) GetIsSpent ¶ added in v1.1.0
GetIsSpent returns the IsSpent field value if set, zero value otherwise.
func (*TxOutput) GetIsSpentOk ¶ added in v1.1.0
GetIsSpentOk returns a tuple with the IsSpent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxOutput) GetMined ¶ added in v1.1.0
GetMined returns the Mined field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TxOutput) GetMinedOk ¶ added in v1.1.0
GetMinedOk returns a tuple with the Mined 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 (*TxOutput) GetSpent ¶ added in v1.1.0
GetSpent returns the Spent field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TxOutput) GetSpentOk ¶ added in v1.1.0
GetSpentOk returns a tuple with the Spent 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 (*TxOutput) GetStatus ¶ added in v1.1.0
GetStatus returns the Status field value if set, zero value otherwise.
func (*TxOutput) GetStatusOk ¶ added in v1.1.0
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 (*TxOutput) GetValue ¶ added in v1.1.0
GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TxOutput) GetValueOk ¶ added in v1.1.0
GetValueOk returns a tuple with the Value 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 (*TxOutput) HasIsSpent ¶ added in v1.1.0
HasIsSpent returns a boolean if a field has been set.
func (TxOutput) MarshalJSON ¶ added in v1.1.0
func (*TxOutput) SetIsSpent ¶ added in v1.1.0
SetIsSpent gets a reference to the given bool and assigns it to the IsSpent field.
func (*TxOutput) SetMined ¶ added in v1.1.0
SetMined gets a reference to the given NullableTxMinify and assigns it to the Mined field.
func (*TxOutput) SetMinedNil ¶ added in v1.1.0
func (o *TxOutput) SetMinedNil()
SetMinedNil sets the value for Mined to be an explicit nil
func (*TxOutput) SetSpent ¶ added in v1.1.0
SetSpent gets a reference to the given NullableTxMinify and assigns it to the Spent field.
func (*TxOutput) SetSpentNil ¶ added in v1.1.0
func (o *TxOutput) SetSpentNil()
SetSpentNil sets the value for Spent to be an explicit nil
func (*TxOutput) SetStatus ¶ added in v1.1.0
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*TxOutput) SetValue ¶ added in v1.1.0
SetValue gets a reference to the given NullableInt64 and assigns it to the Value field.
func (*TxOutput) SetValueNil ¶ added in v1.1.0
func (o *TxOutput) SetValueNil()
SetValueNil sets the value for Value to be an explicit nil
func (*TxOutput) UnsetMined ¶ added in v1.1.0
func (o *TxOutput) UnsetMined()
UnsetMined ensures that no value is present for Mined, not even an explicit nil
func (*TxOutput) UnsetSpent ¶ added in v1.1.0
func (o *TxOutput) UnsetSpent()
UnsetSpent ensures that no value is present for Spent, not even an explicit nil
func (*TxOutput) UnsetValue ¶ added in v1.1.0
func (o *TxOutput) UnsetValue()
UnsetValue ensures that no value is present for Value, not even an explicit nil
type TxOutputResponse ¶ added in v1.2.0
type TxOutputResponse struct { // The output index within a given transaction. Index *int32 `json:"index,omitempty"` // The transaction identifier. TxId *string `json:"tx_id,omitempty"` // The transaction creation unix timestamp. Date *int64 `json:"date,omitempty"` // The hash identifier of the block which the transaction was mined. BlockId *string `json:"block_id,omitempty"` // The number of the block which the transaction was mined. BlockNumber *int32 `json:"block_number,omitempty"` // The number of confirmations the transaction took in order to be mined. Confirmations *int32 `json:"confirmations,omitempty"` Meta *TxOutputResponseMeta `json:"meta,omitempty"` }
TxOutputResponse struct for TxOutputResponse
func NewTxOutputResponse ¶ added in v1.2.0
func NewTxOutputResponse() *TxOutputResponse
NewTxOutputResponse instantiates a new TxOutputResponse 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 NewTxOutputResponseWithDefaults ¶ added in v1.2.0
func NewTxOutputResponseWithDefaults() *TxOutputResponse
NewTxOutputResponseWithDefaults instantiates a new TxOutputResponse 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 (*TxOutputResponse) GetBlockId ¶ added in v1.2.0
func (o *TxOutputResponse) GetBlockId() string
GetBlockId returns the BlockId field value if set, zero value otherwise.
func (*TxOutputResponse) GetBlockIdOk ¶ added in v1.2.0
func (o *TxOutputResponse) GetBlockIdOk() (*string, bool)
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 (*TxOutputResponse) GetBlockNumber ¶ added in v1.2.0
func (o *TxOutputResponse) GetBlockNumber() int32
GetBlockNumber returns the BlockNumber field value if set, zero value otherwise.
func (*TxOutputResponse) GetBlockNumberOk ¶ added in v1.2.0
func (o *TxOutputResponse) GetBlockNumberOk() (*int32, bool)
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 (*TxOutputResponse) GetConfirmations ¶ added in v1.2.0
func (o *TxOutputResponse) GetConfirmations() int32
GetConfirmations returns the Confirmations field value if set, zero value otherwise.
func (*TxOutputResponse) GetConfirmationsOk ¶ added in v1.2.0
func (o *TxOutputResponse) GetConfirmationsOk() (*int32, 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 (*TxOutputResponse) GetDate ¶ added in v1.2.0
func (o *TxOutputResponse) GetDate() int64
GetDate returns the Date field value if set, zero value otherwise.
func (*TxOutputResponse) GetDateOk ¶ added in v1.2.0
func (o *TxOutputResponse) GetDateOk() (*int64, bool)
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 (*TxOutputResponse) GetIndex ¶ added in v1.2.0
func (o *TxOutputResponse) GetIndex() int32
GetIndex returns the Index field value if set, zero value otherwise.
func (*TxOutputResponse) GetIndexOk ¶ added in v1.2.0
func (o *TxOutputResponse) GetIndexOk() (*int32, bool)
GetIndexOk returns a tuple with the Index field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxOutputResponse) GetMeta ¶ added in v1.5.0
func (o *TxOutputResponse) GetMeta() TxOutputResponseMeta
GetMeta returns the Meta field value if set, zero value otherwise.
func (*TxOutputResponse) GetMetaOk ¶ added in v1.5.0
func (o *TxOutputResponse) GetMetaOk() (*TxOutputResponseMeta, 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.
func (*TxOutputResponse) GetTxId ¶ added in v1.2.0
func (o *TxOutputResponse) GetTxId() string
GetTxId returns the TxId field value if set, zero value otherwise.
func (*TxOutputResponse) GetTxIdOk ¶ added in v1.2.0
func (o *TxOutputResponse) 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 (*TxOutputResponse) HasBlockId ¶ added in v1.2.0
func (o *TxOutputResponse) HasBlockId() bool
HasBlockId returns a boolean if a field has been set.
func (*TxOutputResponse) HasBlockNumber ¶ added in v1.2.0
func (o *TxOutputResponse) HasBlockNumber() bool
HasBlockNumber returns a boolean if a field has been set.
func (*TxOutputResponse) HasConfirmations ¶ added in v1.2.0
func (o *TxOutputResponse) HasConfirmations() bool
HasConfirmations returns a boolean if a field has been set.
func (*TxOutputResponse) HasDate ¶ added in v1.2.0
func (o *TxOutputResponse) HasDate() bool
HasDate returns a boolean if a field has been set.
func (*TxOutputResponse) HasIndex ¶ added in v1.2.0
func (o *TxOutputResponse) HasIndex() bool
HasIndex returns a boolean if a field has been set.
func (*TxOutputResponse) HasMeta ¶ added in v1.5.0
func (o *TxOutputResponse) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (*TxOutputResponse) HasTxId ¶ added in v1.2.0
func (o *TxOutputResponse) HasTxId() bool
HasTxId returns a boolean if a field has been set.
func (TxOutputResponse) MarshalJSON ¶ added in v1.2.0
func (o TxOutputResponse) MarshalJSON() ([]byte, error)
func (*TxOutputResponse) SetBlockId ¶ added in v1.2.0
func (o *TxOutputResponse) SetBlockId(v string)
SetBlockId gets a reference to the given string and assigns it to the BlockId field.
func (*TxOutputResponse) SetBlockNumber ¶ added in v1.2.0
func (o *TxOutputResponse) SetBlockNumber(v int32)
SetBlockNumber gets a reference to the given int32 and assigns it to the BlockNumber field.
func (*TxOutputResponse) SetConfirmations ¶ added in v1.2.0
func (o *TxOutputResponse) SetConfirmations(v int32)
SetConfirmations gets a reference to the given int32 and assigns it to the Confirmations field.
func (*TxOutputResponse) SetDate ¶ added in v1.2.0
func (o *TxOutputResponse) SetDate(v int64)
SetDate gets a reference to the given int64 and assigns it to the Date field.
func (*TxOutputResponse) SetIndex ¶ added in v1.2.0
func (o *TxOutputResponse) SetIndex(v int32)
SetIndex gets a reference to the given int32 and assigns it to the Index field.
func (*TxOutputResponse) SetMeta ¶ added in v1.5.0
func (o *TxOutputResponse) SetMeta(v TxOutputResponseMeta)
SetMeta gets a reference to the given TxOutputResponseMeta and assigns it to the Meta field.
func (*TxOutputResponse) SetTxId ¶ added in v1.2.0
func (o *TxOutputResponse) SetTxId(v string)
SetTxId gets a reference to the given string and assigns it to the TxId field.
type TxOutputResponseMeta ¶ added in v1.8.2
type TxOutputResponseMeta struct { // A list of addresses. Addresses *[]string `json:"addresses,omitempty"` // The index number. Index *int32 `json:"index,omitempty"` // The script. Script *string `json:"script,omitempty"` // The script type. ScriptType *string `json:"script_type,omitempty"` }
TxOutputResponseMeta The meta details of the transaction.
func NewTxOutputResponseMeta ¶ added in v1.8.2
func NewTxOutputResponseMeta() *TxOutputResponseMeta
NewTxOutputResponseMeta instantiates a new TxOutputResponseMeta 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 NewTxOutputResponseMetaWithDefaults ¶ added in v1.8.2
func NewTxOutputResponseMetaWithDefaults() *TxOutputResponseMeta
NewTxOutputResponseMetaWithDefaults instantiates a new TxOutputResponseMeta 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 (*TxOutputResponseMeta) GetAddresses ¶ added in v1.8.2
func (o *TxOutputResponseMeta) GetAddresses() []string
GetAddresses returns the Addresses field value if set, zero value otherwise.
func (*TxOutputResponseMeta) GetAddressesOk ¶ added in v1.8.2
func (o *TxOutputResponseMeta) 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 (*TxOutputResponseMeta) GetIndex ¶ added in v1.8.2
func (o *TxOutputResponseMeta) GetIndex() int32
GetIndex returns the Index field value if set, zero value otherwise.
func (*TxOutputResponseMeta) GetIndexOk ¶ added in v1.8.2
func (o *TxOutputResponseMeta) GetIndexOk() (*int32, bool)
GetIndexOk returns a tuple with the Index field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxOutputResponseMeta) GetScript ¶ added in v1.8.2
func (o *TxOutputResponseMeta) GetScript() string
GetScript returns the Script field value if set, zero value otherwise.
func (*TxOutputResponseMeta) GetScriptOk ¶ added in v1.8.2
func (o *TxOutputResponseMeta) GetScriptOk() (*string, bool)
GetScriptOk returns a tuple with the Script field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxOutputResponseMeta) GetScriptType ¶ added in v1.8.2
func (o *TxOutputResponseMeta) GetScriptType() string
GetScriptType returns the ScriptType field value if set, zero value otherwise.
func (*TxOutputResponseMeta) GetScriptTypeOk ¶ added in v1.8.2
func (o *TxOutputResponseMeta) GetScriptTypeOk() (*string, bool)
GetScriptTypeOk returns a tuple with the ScriptType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxOutputResponseMeta) HasAddresses ¶ added in v1.8.2
func (o *TxOutputResponseMeta) HasAddresses() bool
HasAddresses returns a boolean if a field has been set.
func (*TxOutputResponseMeta) HasIndex ¶ added in v1.8.2
func (o *TxOutputResponseMeta) HasIndex() bool
HasIndex returns a boolean if a field has been set.
func (*TxOutputResponseMeta) HasScript ¶ added in v1.8.2
func (o *TxOutputResponseMeta) HasScript() bool
HasScript returns a boolean if a field has been set.
func (*TxOutputResponseMeta) HasScriptType ¶ added in v1.8.2
func (o *TxOutputResponseMeta) HasScriptType() bool
HasScriptType returns a boolean if a field has been set.
func (TxOutputResponseMeta) MarshalJSON ¶ added in v1.8.2
func (o TxOutputResponseMeta) MarshalJSON() ([]byte, error)
func (*TxOutputResponseMeta) SetAddresses ¶ added in v1.8.2
func (o *TxOutputResponseMeta) SetAddresses(v []string)
SetAddresses gets a reference to the given []string and assigns it to the Addresses field.
func (*TxOutputResponseMeta) SetIndex ¶ added in v1.8.2
func (o *TxOutputResponseMeta) SetIndex(v int32)
SetIndex gets a reference to the given int32 and assigns it to the Index field.
func (*TxOutputResponseMeta) SetScript ¶ added in v1.8.2
func (o *TxOutputResponseMeta) SetScript(v string)
SetScript gets a reference to the given string and assigns it to the Script field.
func (*TxOutputResponseMeta) SetScriptType ¶ added in v1.8.2
func (o *TxOutputResponseMeta) SetScriptType(v string)
SetScriptType gets a reference to the given string and assigns it to the ScriptType field.
type TxOutputs ¶ added in v1.2.0
type TxOutputs struct { // The number of total items. Total *int32 `json:"total,omitempty"` // A list of output items. Data *[]TxOutputsData `json:"data,omitempty"` Meta NullableMeta `json:"meta,omitempty"` }
TxOutputs A list of transaction outputs.
func NewTxOutputs ¶ added in v1.2.0
func NewTxOutputs() *TxOutputs
NewTxOutputs instantiates a new TxOutputs 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 NewTxOutputsWithDefaults ¶ added in v1.2.0
func NewTxOutputsWithDefaults() *TxOutputs
NewTxOutputsWithDefaults instantiates a new TxOutputs 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 (*TxOutputs) GetData ¶ added in v1.2.0
func (o *TxOutputs) GetData() []TxOutputsData
GetData returns the Data field value if set, zero value otherwise.
func (*TxOutputs) GetDataOk ¶ added in v1.2.0
func (o *TxOutputs) GetDataOk() (*[]TxOutputsData, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxOutputs) GetMeta ¶ added in v1.2.0
GetMeta returns the Meta field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TxOutputs) GetMetaOk ¶ added in v1.2.0
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 (*TxOutputs) GetTotal ¶ added in v1.2.0
GetTotal returns the Total field value if set, zero value otherwise.
func (*TxOutputs) GetTotalOk ¶ added in v1.2.0
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 (TxOutputs) MarshalJSON ¶ added in v1.2.0
func (*TxOutputs) SetData ¶ added in v1.2.0
func (o *TxOutputs) SetData(v []TxOutputsData)
SetData gets a reference to the given []TxOutputsData and assigns it to the Data field.
func (*TxOutputs) SetMeta ¶ added in v1.2.0
SetMeta gets a reference to the given NullableMeta and assigns it to the Meta field.
func (*TxOutputs) SetMetaNil ¶ added in v1.2.0
func (o *TxOutputs) SetMetaNil()
SetMetaNil sets the value for Meta to be an explicit nil
type TxOutputsData ¶ added in v1.2.0
type TxOutputsData struct { // The status of the given transaction output. Status *string `json:"status,omitempty"` // Whether the transaction output was spent or not. IsSpent *bool `json:"is_spent,omitempty"` // The amount of tokens within the given output. Value *int64 `json:"value,omitempty"` Spent *TxOutputResponse `json:"spent,omitempty"` Mined *TxOutputResponse `json:"mined,omitempty"` Pending *TxOutputResponse `json:"pending,omitempty"` }
TxOutputsData struct for TxOutputsData
func NewTxOutputsData ¶ added in v1.2.0
func NewTxOutputsData() *TxOutputsData
NewTxOutputsData instantiates a new TxOutputsData 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 NewTxOutputsDataWithDefaults ¶ added in v1.2.0
func NewTxOutputsDataWithDefaults() *TxOutputsData
NewTxOutputsDataWithDefaults instantiates a new TxOutputsData 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 (*TxOutputsData) GetIsSpent ¶ added in v1.2.0
func (o *TxOutputsData) GetIsSpent() bool
GetIsSpent returns the IsSpent field value if set, zero value otherwise.
func (*TxOutputsData) GetIsSpentOk ¶ added in v1.2.0
func (o *TxOutputsData) GetIsSpentOk() (*bool, bool)
GetIsSpentOk returns a tuple with the IsSpent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxOutputsData) GetMined ¶ added in v1.2.0
func (o *TxOutputsData) GetMined() TxOutputResponse
GetMined returns the Mined field value if set, zero value otherwise.
func (*TxOutputsData) GetMinedOk ¶ added in v1.2.0
func (o *TxOutputsData) GetMinedOk() (*TxOutputResponse, bool)
GetMinedOk returns a tuple with the Mined field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxOutputsData) GetPending ¶ added in v1.8.0
func (o *TxOutputsData) GetPending() TxOutputResponse
GetPending returns the Pending field value if set, zero value otherwise.
func (*TxOutputsData) GetPendingOk ¶ added in v1.8.0
func (o *TxOutputsData) GetPendingOk() (*TxOutputResponse, bool)
GetPendingOk returns a tuple with the Pending field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxOutputsData) GetSpent ¶ added in v1.2.0
func (o *TxOutputsData) GetSpent() TxOutputResponse
GetSpent returns the Spent field value if set, zero value otherwise.
func (*TxOutputsData) GetSpentOk ¶ added in v1.2.0
func (o *TxOutputsData) GetSpentOk() (*TxOutputResponse, bool)
GetSpentOk returns a tuple with the Spent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxOutputsData) GetStatus ¶ added in v1.2.0
func (o *TxOutputsData) GetStatus() string
GetStatus returns the Status field value if set, zero value otherwise.
func (*TxOutputsData) GetStatusOk ¶ added in v1.2.0
func (o *TxOutputsData) GetStatusOk() (*string, 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 (*TxOutputsData) GetValue ¶ added in v1.2.0
func (o *TxOutputsData) GetValue() int64
GetValue returns the Value field value if set, zero value otherwise.
func (*TxOutputsData) GetValueOk ¶ added in v1.2.0
func (o *TxOutputsData) GetValueOk() (*int64, bool)
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 (*TxOutputsData) HasIsSpent ¶ added in v1.2.0
func (o *TxOutputsData) HasIsSpent() bool
HasIsSpent returns a boolean if a field has been set.
func (*TxOutputsData) HasMined ¶ added in v1.2.0
func (o *TxOutputsData) HasMined() bool
HasMined returns a boolean if a field has been set.
func (*TxOutputsData) HasPending ¶ added in v1.8.0
func (o *TxOutputsData) HasPending() bool
HasPending returns a boolean if a field has been set.
func (*TxOutputsData) HasSpent ¶ added in v1.2.0
func (o *TxOutputsData) HasSpent() bool
HasSpent returns a boolean if a field has been set.
func (*TxOutputsData) HasStatus ¶ added in v1.2.0
func (o *TxOutputsData) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (*TxOutputsData) HasValue ¶ added in v1.2.0
func (o *TxOutputsData) HasValue() bool
HasValue returns a boolean if a field has been set.
func (TxOutputsData) MarshalJSON ¶ added in v1.2.0
func (o TxOutputsData) MarshalJSON() ([]byte, error)
func (*TxOutputsData) SetIsSpent ¶ added in v1.2.0
func (o *TxOutputsData) SetIsSpent(v bool)
SetIsSpent gets a reference to the given bool and assigns it to the IsSpent field.
func (*TxOutputsData) SetMined ¶ added in v1.2.0
func (o *TxOutputsData) SetMined(v TxOutputResponse)
SetMined gets a reference to the given TxOutputResponse and assigns it to the Mined field.
func (*TxOutputsData) SetPending ¶ added in v1.8.0
func (o *TxOutputsData) SetPending(v TxOutputResponse)
SetPending gets a reference to the given TxOutputResponse and assigns it to the Pending field.
func (*TxOutputsData) SetSpent ¶ added in v1.2.0
func (o *TxOutputsData) SetSpent(v TxOutputResponse)
SetSpent gets a reference to the given TxOutputResponse and assigns it to the Spent field.
func (*TxOutputsData) SetStatus ¶ added in v1.2.0
func (o *TxOutputsData) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*TxOutputsData) SetValue ¶ added in v1.2.0
func (o *TxOutputsData) SetValue(v int64)
SetValue gets a reference to the given int64 and assigns it to the Value field.
type TxPage ¶
type TxPage struct { // The number of items in txs. Total *int32 `json:"total,omitempty"` Data *[]Tx `json:"data,omitempty"` Meta NullableMeta `json:"meta,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) GetData ¶ added in v1.2.0
GetData returns the Data field value if set, zero value otherwise.
func (*TxPage) GetDataOk ¶ added in v1.2.0
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TxPage) GetMeta ¶ added in v1.2.0
GetMeta returns the Meta field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TxPage) GetMetaOk ¶ added in v1.2.0
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 (*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) MarshalJSON ¶
func (*TxPage) SetData ¶ added in v1.2.0
SetData gets a reference to the given []Tx and assigns it to the Data field.
func (*TxPage) SetMeta ¶ added in v1.2.0
SetMeta gets a reference to the given NullableMeta and assigns it to the Meta field.
func (*TxPage) SetMetaNil ¶ added in v1.2.0
func (o *TxPage) SetMetaNil()
SetMetaNil sets the value for Meta to be 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 UnsignedTx ¶ added in v1.3.0
type UnsignedTx struct { // The transaction ID. Id *string `json:"id,omitempty"` // The transaction data needed to sign. UnsignedTx string `json:"unsigned_tx"` Meta *UnsignedTxMeta `json:"meta,omitempty"` }
UnsignedTx struct for UnsignedTx
func NewUnsignedTx ¶ added in v1.3.0
func NewUnsignedTx(unsignedTx string) *UnsignedTx
NewUnsignedTx instantiates a new UnsignedTx 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 NewUnsignedTxWithDefaults ¶ added in v1.3.0
func NewUnsignedTxWithDefaults() *UnsignedTx
NewUnsignedTxWithDefaults instantiates a new UnsignedTx 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 (*UnsignedTx) GetId ¶ added in v1.3.0
func (o *UnsignedTx) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*UnsignedTx) GetIdOk ¶ added in v1.3.0
func (o *UnsignedTx) 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 (*UnsignedTx) GetMeta ¶ added in v1.3.0
func (o *UnsignedTx) GetMeta() UnsignedTxMeta
GetMeta returns the Meta field value if set, zero value otherwise.
func (*UnsignedTx) GetMetaOk ¶ added in v1.3.0
func (o *UnsignedTx) GetMetaOk() (*UnsignedTxMeta, 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.
func (*UnsignedTx) GetUnsignedTx ¶ added in v1.3.0
func (o *UnsignedTx) GetUnsignedTx() string
GetUnsignedTx returns the UnsignedTx field value
func (*UnsignedTx) GetUnsignedTxOk ¶ added in v1.3.0
func (o *UnsignedTx) GetUnsignedTxOk() (*string, bool)
GetUnsignedTxOk returns a tuple with the UnsignedTx field value and a boolean to check if the value has been set.
func (*UnsignedTx) HasId ¶ added in v1.3.0
func (o *UnsignedTx) HasId() bool
HasId returns a boolean if a field has been set.
func (*UnsignedTx) HasMeta ¶ added in v1.3.0
func (o *UnsignedTx) HasMeta() bool
HasMeta returns a boolean if a field has been set.
func (UnsignedTx) MarshalJSON ¶ added in v1.3.0
func (o UnsignedTx) MarshalJSON() ([]byte, error)
func (*UnsignedTx) SetId ¶ added in v1.3.0
func (o *UnsignedTx) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*UnsignedTx) SetMeta ¶ added in v1.3.0
func (o *UnsignedTx) SetMeta(v UnsignedTxMeta)
SetMeta gets a reference to the given UnsignedTxMeta and assigns it to the Meta field.
func (*UnsignedTx) SetUnsignedTx ¶ added in v1.3.0
func (o *UnsignedTx) SetUnsignedTx(v string)
SetUnsignedTx sets field value
type UnsignedTxMeta ¶ added in v1.8.2
type UnsignedTxMeta struct { // The transaction fee. Fee *string `json:"fee,omitempty"` // The signing payload of the transaction. SigningPayload *string `json:"signing_payload,omitempty"` }
UnsignedTxMeta Any extra information relevant regarding the created transaction.
func NewUnsignedTxMeta ¶ added in v1.8.2
func NewUnsignedTxMeta() *UnsignedTxMeta
NewUnsignedTxMeta instantiates a new UnsignedTxMeta 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 NewUnsignedTxMetaWithDefaults ¶ added in v1.8.2
func NewUnsignedTxMetaWithDefaults() *UnsignedTxMeta
NewUnsignedTxMetaWithDefaults instantiates a new UnsignedTxMeta 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 (*UnsignedTxMeta) GetFee ¶ added in v1.8.2
func (o *UnsignedTxMeta) GetFee() string
GetFee returns the Fee field value if set, zero value otherwise.
func (*UnsignedTxMeta) GetFeeOk ¶ added in v1.8.2
func (o *UnsignedTxMeta) GetFeeOk() (*string, bool)
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 (*UnsignedTxMeta) GetSigningPayload ¶ added in v1.8.2
func (o *UnsignedTxMeta) GetSigningPayload() string
GetSigningPayload returns the SigningPayload field value if set, zero value otherwise.
func (*UnsignedTxMeta) GetSigningPayloadOk ¶ added in v1.8.2
func (o *UnsignedTxMeta) GetSigningPayloadOk() (*string, bool)
GetSigningPayloadOk returns a tuple with the SigningPayload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnsignedTxMeta) HasFee ¶ added in v1.8.2
func (o *UnsignedTxMeta) HasFee() bool
HasFee returns a boolean if a field has been set.
func (*UnsignedTxMeta) HasSigningPayload ¶ added in v1.8.2
func (o *UnsignedTxMeta) HasSigningPayload() bool
HasSigningPayload returns a boolean if a field has been set.
func (UnsignedTxMeta) MarshalJSON ¶ added in v1.8.2
func (o UnsignedTxMeta) MarshalJSON() ([]byte, error)
func (*UnsignedTxMeta) SetFee ¶ added in v1.8.2
func (o *UnsignedTxMeta) SetFee(v string)
SetFee gets a reference to the given string and assigns it to the Fee field.
func (*UnsignedTxMeta) SetSigningPayload ¶ added in v1.8.2
func (o *UnsignedTxMeta) SetSigningPayload(v string)
SetSigningPayload gets a reference to the given string and assigns it to the SigningPayload field.
Source Files ¶
- api_balances_utxo.go
- api_blocks.go
- api_fee_estimator.go
- api_protocol_and_endpoint_support.go
- api_transactions.go
- client.go
- configuration.go
- model_accounts_obj.go
- model_algorand_meta.go
- model_balance.go
- model_block.go
- model_block_identifier.go
- model_block_identifiers.go
- model_currency.go
- model_error.go
- model_event.go
- model_event_meta.go
- model_evm_fee.go
- model_evm_fee_estimate.go
- model_fee_estimate.go
- model_fee_estimate_response.go
- model_inline_response_200.go
- model_meta.go
- model_native_currency.go
- model_paging.go
- model_protocol_detail.go
- model_protocols_overview.go
- model_protocols_overview_protocols.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_token.go
- model_token_currency.go
- model_tx.go
- model_tx_confirmation.go
- model_tx_create.go
- model_tx_create_contract.go
- model_tx_create_evm.go
- model_tx_create_protocol.go
- model_tx_destination.go
- model_tx_minify.go
- model_tx_output.go
- model_tx_output_response.go
- model_tx_output_response_meta.go
- model_tx_outputs.go
- model_tx_outputs_data.go
- model_tx_page.go
- model_tx_receipt.go
- model_unsigned_tx.go
- model_unsigned_tx_meta.go
- response.go
- utils.go