Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type Address
- func (o *Address) GetAddressId() string
- func (o *Address) GetAddressIdOk() (*string, bool)
- func (o *Address) GetIndex() int32
- func (o *Address) GetIndexOk() (*int32, bool)
- func (o *Address) GetNetworkId() string
- func (o *Address) GetNetworkIdOk() (*string, bool)
- func (o *Address) GetPublicKey() string
- func (o *Address) GetPublicKeyOk() (*string, bool)
- func (o *Address) GetWalletId() string
- func (o *Address) GetWalletIdOk() (*string, bool)
- func (o Address) MarshalJSON() ([]byte, error)
- func (o *Address) SetAddressId(v string)
- func (o *Address) SetIndex(v int32)
- func (o *Address) SetNetworkId(v string)
- func (o *Address) SetPublicKey(v string)
- func (o *Address) SetWalletId(v string)
- func (o Address) ToMap() (map[string]interface{}, error)
- func (o *Address) UnmarshalJSON(data []byte) (err error)
- type AddressBalanceList
- func (o *AddressBalanceList) GetData() []Balance
- func (o *AddressBalanceList) GetDataOk() ([]Balance, bool)
- func (o *AddressBalanceList) GetHasMore() bool
- func (o *AddressBalanceList) GetHasMoreOk() (*bool, bool)
- func (o *AddressBalanceList) GetNextPage() string
- func (o *AddressBalanceList) GetNextPageOk() (*string, bool)
- func (o *AddressBalanceList) GetTotalCount() int32
- func (o *AddressBalanceList) GetTotalCountOk() (*int32, bool)
- func (o AddressBalanceList) MarshalJSON() ([]byte, error)
- func (o *AddressBalanceList) SetData(v []Balance)
- func (o *AddressBalanceList) SetHasMore(v bool)
- func (o *AddressBalanceList) SetNextPage(v string)
- func (o *AddressBalanceList) SetTotalCount(v int32)
- func (o AddressBalanceList) ToMap() (map[string]interface{}, error)
- func (o *AddressBalanceList) UnmarshalJSON(data []byte) (err error)
- type AddressHistoricalBalanceList
- func (o *AddressHistoricalBalanceList) GetData() []HistoricalBalance
- func (o *AddressHistoricalBalanceList) GetDataOk() ([]HistoricalBalance, bool)
- func (o *AddressHistoricalBalanceList) GetHasMore() bool
- func (o *AddressHistoricalBalanceList) GetHasMoreOk() (*bool, bool)
- func (o *AddressHistoricalBalanceList) GetNextPage() string
- func (o *AddressHistoricalBalanceList) GetNextPageOk() (*string, bool)
- func (o AddressHistoricalBalanceList) MarshalJSON() ([]byte, error)
- func (o *AddressHistoricalBalanceList) SetData(v []HistoricalBalance)
- func (o *AddressHistoricalBalanceList) SetHasMore(v bool)
- func (o *AddressHistoricalBalanceList) SetNextPage(v string)
- func (o AddressHistoricalBalanceList) ToMap() (map[string]interface{}, error)
- func (o *AddressHistoricalBalanceList) UnmarshalJSON(data []byte) (err error)
- type AddressList
- func (o *AddressList) GetData() []Address
- func (o *AddressList) GetDataOk() ([]Address, bool)
- func (o *AddressList) GetHasMore() bool
- func (o *AddressList) GetHasMoreOk() (*bool, bool)
- func (o *AddressList) GetNextPage() string
- func (o *AddressList) GetNextPageOk() (*string, bool)
- func (o *AddressList) GetTotalCount() int32
- func (o *AddressList) GetTotalCountOk() (*int32, bool)
- func (o AddressList) MarshalJSON() ([]byte, error)
- func (o *AddressList) SetData(v []Address)
- func (o *AddressList) SetHasMore(v bool)
- func (o *AddressList) SetNextPage(v string)
- func (o *AddressList) SetTotalCount(v int32)
- func (o AddressList) ToMap() (map[string]interface{}, error)
- func (o *AddressList) UnmarshalJSON(data []byte) (err error)
- type AddressesAPI
- type AddressesAPIService
- func (a *AddressesAPIService) CreateAddress(ctx context.Context, walletId string) ApiCreateAddressRequest
- func (a *AddressesAPIService) CreateAddressExecute(r ApiCreateAddressRequest) (*Address, *http.Response, error)
- func (a *AddressesAPIService) GetAddress(ctx context.Context, walletId string, addressId string) ApiGetAddressRequest
- func (a *AddressesAPIService) GetAddressBalance(ctx context.Context, walletId string, addressId string, assetId string) ApiGetAddressBalanceRequest
- func (a *AddressesAPIService) GetAddressBalanceExecute(r ApiGetAddressBalanceRequest) (*Balance, *http.Response, error)
- func (a *AddressesAPIService) GetAddressExecute(r ApiGetAddressRequest) (*Address, *http.Response, error)
- func (a *AddressesAPIService) ListAddressBalances(ctx context.Context, walletId string, addressId string) ApiListAddressBalancesRequest
- func (a *AddressesAPIService) ListAddressBalancesExecute(r ApiListAddressBalancesRequest) (*AddressBalanceList, *http.Response, error)
- func (a *AddressesAPIService) ListAddresses(ctx context.Context, walletId string) ApiListAddressesRequest
- func (a *AddressesAPIService) ListAddressesExecute(r ApiListAddressesRequest) (*AddressList, *http.Response, error)
- func (a *AddressesAPIService) RequestFaucetFunds(ctx context.Context, walletId string, addressId string) ApiRequestFaucetFundsRequest
- func (a *AddressesAPIService) RequestFaucetFundsExecute(r ApiRequestFaucetFundsRequest) (*FaucetTransaction, *http.Response, error)
- type ApiBroadcastStakingOperationRequest
- type ApiBroadcastTradeRequest
- type ApiBroadcastTransferRequest
- type ApiBuildStakingOperationRequest
- type ApiCreateAddressRequest
- type ApiCreateServerSignerRequest
- type ApiCreateStakingOperationRequest
- type ApiCreateTradeRequest
- type ApiCreateTransferRequest
- type ApiCreateWalletRequest
- type ApiCreateWebhookRequest
- type ApiDeleteWebhookRequest
- type ApiFetchHistoricalStakingBalancesRequest
- func (r ApiFetchHistoricalStakingBalancesRequest) AssetId(assetId string) ApiFetchHistoricalStakingBalancesRequest
- func (r ApiFetchHistoricalStakingBalancesRequest) EndTime(endTime time.Time) ApiFetchHistoricalStakingBalancesRequest
- func (r ApiFetchHistoricalStakingBalancesRequest) Execute() (*FetchHistoricalStakingBalances200Response, *http.Response, error)
- func (r ApiFetchHistoricalStakingBalancesRequest) Limit(limit int32) ApiFetchHistoricalStakingBalancesRequest
- func (r ApiFetchHistoricalStakingBalancesRequest) Page(page string) ApiFetchHistoricalStakingBalancesRequest
- func (r ApiFetchHistoricalStakingBalancesRequest) StartTime(startTime time.Time) ApiFetchHistoricalStakingBalancesRequest
- type ApiFetchStakingRewardsRequest
- func (r ApiFetchStakingRewardsRequest) Execute() (*FetchStakingRewards200Response, *http.Response, error)
- func (r ApiFetchStakingRewardsRequest) FetchStakingRewardsRequest(fetchStakingRewardsRequest FetchStakingRewardsRequest) ApiFetchStakingRewardsRequest
- func (r ApiFetchStakingRewardsRequest) Limit(limit int32) ApiFetchStakingRewardsRequest
- func (r ApiFetchStakingRewardsRequest) Page(page string) ApiFetchStakingRewardsRequest
- type ApiGetAddressBalanceRequest
- type ApiGetAddressRequest
- type ApiGetAssetRequest
- type ApiGetCurrentUserRequest
- type ApiGetExternalAddressBalanceRequest
- type ApiGetExternalStakingOperationRequest
- type ApiGetNetworkRequest
- type ApiGetServerSignerRequest
- type ApiGetStakingContextRequest
- type ApiGetStakingOperationRequest
- type ApiGetTradeRequest
- type ApiGetTransferRequest
- type ApiGetValidatorRequest
- type ApiGetWalletBalanceRequest
- type ApiGetWalletRequest
- type ApiListAddressBalancesRequest
- type ApiListAddressHistoricalBalanceRequest
- func (r ApiListAddressHistoricalBalanceRequest) Execute() (*AddressHistoricalBalanceList, *http.Response, error)
- func (r ApiListAddressHistoricalBalanceRequest) Limit(limit int32) ApiListAddressHistoricalBalanceRequest
- func (r ApiListAddressHistoricalBalanceRequest) Page(page string) ApiListAddressHistoricalBalanceRequest
- type ApiListAddressesRequest
- type ApiListContractEventsRequest
- func (r ApiListContractEventsRequest) ContractName(contractName string) ApiListContractEventsRequest
- func (r ApiListContractEventsRequest) EventName(eventName string) ApiListContractEventsRequest
- func (r ApiListContractEventsRequest) Execute() (*ContractEventList, *http.Response, error)
- func (r ApiListContractEventsRequest) FromBlockHeight(fromBlockHeight int32) ApiListContractEventsRequest
- func (r ApiListContractEventsRequest) NextPage(nextPage string) ApiListContractEventsRequest
- func (r ApiListContractEventsRequest) ProtocolName(protocolName string) ApiListContractEventsRequest
- func (r ApiListContractEventsRequest) ToBlockHeight(toBlockHeight int32) ApiListContractEventsRequest
- type ApiListExternalAddressBalancesRequest
- type ApiListServerSignerEventsRequest
- type ApiListServerSignersRequest
- type ApiListTradesRequest
- type ApiListTransfersRequest
- type ApiListValidatorsRequest
- func (r ApiListValidatorsRequest) Execute() (*ValidatorList, *http.Response, error)
- func (r ApiListValidatorsRequest) Limit(limit int32) ApiListValidatorsRequest
- func (r ApiListValidatorsRequest) Page(page string) ApiListValidatorsRequest
- func (r ApiListValidatorsRequest) Status(status ValidatorStatus) ApiListValidatorsRequest
- type ApiListWalletBalancesRequest
- type ApiListWalletsRequest
- type ApiListWebhooksRequest
- type ApiRequestExternalFaucetFundsRequest
- type ApiRequestFaucetFundsRequest
- type ApiSubmitServerSignerSeedEventResultRequest
- type ApiSubmitServerSignerSignatureEventResultRequest
- func (r ApiSubmitServerSignerSignatureEventResultRequest) Execute() (*SignatureCreationEventResult, *http.Response, error)
- func (r ApiSubmitServerSignerSignatureEventResultRequest) SignatureCreationEventResult(signatureCreationEventResult SignatureCreationEventResult) ApiSubmitServerSignerSignatureEventResultRequest
- type ApiUpdateWebhookRequest
- type Asset
- func (o *Asset) GetAssetId() string
- func (o *Asset) GetAssetIdOk() (*string, bool)
- func (o *Asset) GetContractAddress() string
- func (o *Asset) GetContractAddressOk() (*string, bool)
- func (o *Asset) GetDecimals() int32
- func (o *Asset) GetDecimalsOk() (*int32, bool)
- func (o *Asset) GetNetworkId() string
- func (o *Asset) GetNetworkIdOk() (*string, bool)
- func (o *Asset) HasContractAddress() bool
- func (o *Asset) HasDecimals() bool
- func (o Asset) MarshalJSON() ([]byte, error)
- func (o *Asset) SetAssetId(v string)
- func (o *Asset) SetContractAddress(v string)
- func (o *Asset) SetDecimals(v int32)
- func (o *Asset) SetNetworkId(v string)
- func (o Asset) ToMap() (map[string]interface{}, error)
- func (o *Asset) UnmarshalJSON(data []byte) (err error)
- type AssetsAPI
- type AssetsAPIService
- type Balance
- func (o *Balance) GetAmount() string
- func (o *Balance) GetAmountOk() (*string, bool)
- func (o *Balance) GetAsset() Asset
- func (o *Balance) GetAssetOk() (*Asset, bool)
- func (o Balance) MarshalJSON() ([]byte, error)
- func (o *Balance) SetAmount(v string)
- func (o *Balance) SetAsset(v Asset)
- func (o Balance) ToMap() (map[string]interface{}, error)
- func (o *Balance) UnmarshalJSON(data []byte) (err error)
- type BasicAuth
- type BroadcastStakingOperationRequest
- func (o *BroadcastStakingOperationRequest) GetSignedPayload() string
- func (o *BroadcastStakingOperationRequest) GetSignedPayloadOk() (*string, bool)
- func (o *BroadcastStakingOperationRequest) GetTransactionIndex() int32
- func (o *BroadcastStakingOperationRequest) GetTransactionIndexOk() (*int32, bool)
- func (o BroadcastStakingOperationRequest) MarshalJSON() ([]byte, error)
- func (o *BroadcastStakingOperationRequest) SetSignedPayload(v string)
- func (o *BroadcastStakingOperationRequest) SetTransactionIndex(v int32)
- func (o BroadcastStakingOperationRequest) ToMap() (map[string]interface{}, error)
- func (o *BroadcastStakingOperationRequest) UnmarshalJSON(data []byte) (err error)
- type BroadcastTradeRequest
- func (o *BroadcastTradeRequest) GetApproveTransactionSignedPayload() string
- func (o *BroadcastTradeRequest) GetApproveTransactionSignedPayloadOk() (*string, bool)
- func (o *BroadcastTradeRequest) GetSignedPayload() string
- func (o *BroadcastTradeRequest) GetSignedPayloadOk() (*string, bool)
- func (o *BroadcastTradeRequest) HasApproveTransactionSignedPayload() bool
- func (o BroadcastTradeRequest) MarshalJSON() ([]byte, error)
- func (o *BroadcastTradeRequest) SetApproveTransactionSignedPayload(v string)
- func (o *BroadcastTradeRequest) SetSignedPayload(v string)
- func (o BroadcastTradeRequest) ToMap() (map[string]interface{}, error)
- func (o *BroadcastTradeRequest) UnmarshalJSON(data []byte) (err error)
- type BroadcastTransferRequest
- func (o *BroadcastTransferRequest) GetSignedPayload() string
- func (o *BroadcastTransferRequest) GetSignedPayloadOk() (*string, bool)
- func (o BroadcastTransferRequest) MarshalJSON() ([]byte, error)
- func (o *BroadcastTransferRequest) SetSignedPayload(v string)
- func (o BroadcastTransferRequest) ToMap() (map[string]interface{}, error)
- func (o *BroadcastTransferRequest) UnmarshalJSON(data []byte) (err error)
- type BuildStakingOperationRequest
- func (o *BuildStakingOperationRequest) GetAction() string
- func (o *BuildStakingOperationRequest) GetActionOk() (*string, bool)
- func (o *BuildStakingOperationRequest) GetAddressId() string
- func (o *BuildStakingOperationRequest) GetAddressIdOk() (*string, bool)
- func (o *BuildStakingOperationRequest) GetAssetId() string
- func (o *BuildStakingOperationRequest) GetAssetIdOk() (*string, bool)
- func (o *BuildStakingOperationRequest) GetNetworkId() string
- func (o *BuildStakingOperationRequest) GetNetworkIdOk() (*string, bool)
- func (o *BuildStakingOperationRequest) GetOptions() map[string]string
- func (o *BuildStakingOperationRequest) GetOptionsOk() (*map[string]string, bool)
- func (o BuildStakingOperationRequest) MarshalJSON() ([]byte, error)
- func (o *BuildStakingOperationRequest) SetAction(v string)
- func (o *BuildStakingOperationRequest) SetAddressId(v string)
- func (o *BuildStakingOperationRequest) SetAssetId(v string)
- func (o *BuildStakingOperationRequest) SetNetworkId(v string)
- func (o *BuildStakingOperationRequest) SetOptions(v map[string]string)
- func (o BuildStakingOperationRequest) ToMap() (map[string]interface{}, error)
- func (o *BuildStakingOperationRequest) UnmarshalJSON(data []byte) (err error)
- type Configuration
- type ContractEvent
- func (o *ContractEvent) GetBlockHeight() int32
- func (o *ContractEvent) GetBlockHeightOk() (*int32, bool)
- func (o *ContractEvent) GetBlockTime() time.Time
- func (o *ContractEvent) GetBlockTimeOk() (*time.Time, bool)
- func (o *ContractEvent) GetContractAddress() string
- func (o *ContractEvent) GetContractAddressOk() (*string, bool)
- func (o *ContractEvent) GetContractName() string
- func (o *ContractEvent) GetContractNameOk() (*string, bool)
- func (o *ContractEvent) GetData() string
- func (o *ContractEvent) GetDataOk() (*string, bool)
- func (o *ContractEvent) GetEventIndex() int32
- func (o *ContractEvent) GetEventIndexOk() (*int32, bool)
- func (o *ContractEvent) GetEventName() string
- func (o *ContractEvent) GetEventNameOk() (*string, bool)
- func (o *ContractEvent) GetFourBytes() string
- func (o *ContractEvent) GetFourBytesOk() (*string, bool)
- func (o *ContractEvent) GetNetworkId() string
- func (o *ContractEvent) GetNetworkIdOk() (*string, bool)
- func (o *ContractEvent) GetProtocolName() string
- func (o *ContractEvent) GetProtocolNameOk() (*string, bool)
- func (o *ContractEvent) GetSig() string
- func (o *ContractEvent) GetSigOk() (*string, bool)
- func (o *ContractEvent) GetTxHash() string
- func (o *ContractEvent) GetTxHashOk() (*string, bool)
- func (o *ContractEvent) GetTxIndex() int32
- func (o *ContractEvent) GetTxIndexOk() (*int32, bool)
- func (o ContractEvent) MarshalJSON() ([]byte, error)
- func (o *ContractEvent) SetBlockHeight(v int32)
- func (o *ContractEvent) SetBlockTime(v time.Time)
- func (o *ContractEvent) SetContractAddress(v string)
- func (o *ContractEvent) SetContractName(v string)
- func (o *ContractEvent) SetData(v string)
- func (o *ContractEvent) SetEventIndex(v int32)
- func (o *ContractEvent) SetEventName(v string)
- func (o *ContractEvent) SetFourBytes(v string)
- func (o *ContractEvent) SetNetworkId(v string)
- func (o *ContractEvent) SetProtocolName(v string)
- func (o *ContractEvent) SetSig(v string)
- func (o *ContractEvent) SetTxHash(v string)
- func (o *ContractEvent) SetTxIndex(v int32)
- func (o ContractEvent) ToMap() (map[string]interface{}, error)
- func (o *ContractEvent) UnmarshalJSON(data []byte) (err error)
- type ContractEventList
- func (o *ContractEventList) GetData() []ContractEvent
- func (o *ContractEventList) GetDataOk() ([]ContractEvent, bool)
- func (o *ContractEventList) GetHasMore() bool
- func (o *ContractEventList) GetHasMoreOk() (*bool, bool)
- func (o *ContractEventList) GetNextPage() string
- func (o *ContractEventList) GetNextPageOk() (*string, bool)
- func (o ContractEventList) MarshalJSON() ([]byte, error)
- func (o *ContractEventList) SetData(v []ContractEvent)
- func (o *ContractEventList) SetHasMore(v bool)
- func (o *ContractEventList) SetNextPage(v string)
- func (o ContractEventList) ToMap() (map[string]interface{}, error)
- func (o *ContractEventList) UnmarshalJSON(data []byte) (err error)
- type ContractEventsAPI
- type ContractEventsAPIService
- type CreateAddressRequest
- func (o *CreateAddressRequest) GetAddressIndex() int32
- func (o *CreateAddressRequest) GetAddressIndexOk() (*int32, bool)
- func (o *CreateAddressRequest) GetAttestation() string
- func (o *CreateAddressRequest) GetAttestationOk() (*string, bool)
- func (o *CreateAddressRequest) GetPublicKey() string
- func (o *CreateAddressRequest) GetPublicKeyOk() (*string, bool)
- func (o *CreateAddressRequest) HasAddressIndex() bool
- func (o *CreateAddressRequest) HasAttestation() bool
- func (o *CreateAddressRequest) HasPublicKey() bool
- func (o CreateAddressRequest) MarshalJSON() ([]byte, error)
- func (o *CreateAddressRequest) SetAddressIndex(v int32)
- func (o *CreateAddressRequest) SetAttestation(v string)
- func (o *CreateAddressRequest) SetPublicKey(v string)
- func (o CreateAddressRequest) ToMap() (map[string]interface{}, error)
- type CreateServerSignerRequest
- func (o *CreateServerSignerRequest) GetEnrollmentData() string
- func (o *CreateServerSignerRequest) GetEnrollmentDataOk() (*string, bool)
- func (o *CreateServerSignerRequest) GetIsMpc() bool
- func (o *CreateServerSignerRequest) GetIsMpcOk() (*bool, bool)
- func (o *CreateServerSignerRequest) GetServerSignerId() string
- func (o *CreateServerSignerRequest) GetServerSignerIdOk() (*string, bool)
- func (o *CreateServerSignerRequest) HasServerSignerId() bool
- func (o CreateServerSignerRequest) MarshalJSON() ([]byte, error)
- func (o *CreateServerSignerRequest) SetEnrollmentData(v string)
- func (o *CreateServerSignerRequest) SetIsMpc(v bool)
- func (o *CreateServerSignerRequest) SetServerSignerId(v string)
- func (o CreateServerSignerRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateServerSignerRequest) UnmarshalJSON(data []byte) (err error)
- type CreateStakingOperationRequest
- func (o *CreateStakingOperationRequest) GetAction() string
- func (o *CreateStakingOperationRequest) GetActionOk() (*string, bool)
- func (o *CreateStakingOperationRequest) GetAssetId() string
- func (o *CreateStakingOperationRequest) GetAssetIdOk() (*string, bool)
- func (o *CreateStakingOperationRequest) GetNetworkId() string
- func (o *CreateStakingOperationRequest) GetNetworkIdOk() (*string, bool)
- func (o *CreateStakingOperationRequest) GetOptions() map[string]string
- func (o *CreateStakingOperationRequest) GetOptionsOk() (*map[string]string, bool)
- func (o CreateStakingOperationRequest) MarshalJSON() ([]byte, error)
- func (o *CreateStakingOperationRequest) SetAction(v string)
- func (o *CreateStakingOperationRequest) SetAssetId(v string)
- func (o *CreateStakingOperationRequest) SetNetworkId(v string)
- func (o *CreateStakingOperationRequest) SetOptions(v map[string]string)
- func (o CreateStakingOperationRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateStakingOperationRequest) UnmarshalJSON(data []byte) (err error)
- type CreateTradeRequest
- func (o *CreateTradeRequest) GetAmount() string
- func (o *CreateTradeRequest) GetAmountOk() (*string, bool)
- func (o *CreateTradeRequest) GetFromAssetId() string
- func (o *CreateTradeRequest) GetFromAssetIdOk() (*string, bool)
- func (o *CreateTradeRequest) GetToAssetId() string
- func (o *CreateTradeRequest) GetToAssetIdOk() (*string, bool)
- func (o CreateTradeRequest) MarshalJSON() ([]byte, error)
- func (o *CreateTradeRequest) SetAmount(v string)
- func (o *CreateTradeRequest) SetFromAssetId(v string)
- func (o *CreateTradeRequest) SetToAssetId(v string)
- func (o CreateTradeRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateTradeRequest) UnmarshalJSON(data []byte) (err error)
- type CreateTransferRequest
- func (o *CreateTransferRequest) GetAmount() string
- func (o *CreateTransferRequest) GetAmountOk() (*string, bool)
- func (o *CreateTransferRequest) GetAssetId() string
- func (o *CreateTransferRequest) GetAssetIdOk() (*string, bool)
- func (o *CreateTransferRequest) GetDestination() string
- func (o *CreateTransferRequest) GetDestinationOk() (*string, bool)
- func (o *CreateTransferRequest) GetGasless() bool
- func (o *CreateTransferRequest) GetGaslessOk() (*bool, bool)
- func (o *CreateTransferRequest) GetNetworkId() string
- func (o *CreateTransferRequest) GetNetworkIdOk() (*string, bool)
- func (o *CreateTransferRequest) HasGasless() bool
- func (o CreateTransferRequest) MarshalJSON() ([]byte, error)
- func (o *CreateTransferRequest) SetAmount(v string)
- func (o *CreateTransferRequest) SetAssetId(v string)
- func (o *CreateTransferRequest) SetDestination(v string)
- func (o *CreateTransferRequest) SetGasless(v bool)
- func (o *CreateTransferRequest) SetNetworkId(v string)
- func (o CreateTransferRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateTransferRequest) UnmarshalJSON(data []byte) (err error)
- type CreateWalletRequest
- func (o *CreateWalletRequest) GetWallet() CreateWalletRequestWallet
- func (o *CreateWalletRequest) GetWalletOk() (*CreateWalletRequestWallet, bool)
- func (o CreateWalletRequest) MarshalJSON() ([]byte, error)
- func (o *CreateWalletRequest) SetWallet(v CreateWalletRequestWallet)
- func (o CreateWalletRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateWalletRequest) UnmarshalJSON(data []byte) (err error)
- type CreateWalletRequestWallet
- func (o *CreateWalletRequestWallet) GetNetworkId() string
- func (o *CreateWalletRequestWallet) GetNetworkIdOk() (*string, bool)
- func (o *CreateWalletRequestWallet) GetUseServerSigner() bool
- func (o *CreateWalletRequestWallet) GetUseServerSignerOk() (*bool, bool)
- func (o *CreateWalletRequestWallet) HasUseServerSigner() bool
- func (o CreateWalletRequestWallet) MarshalJSON() ([]byte, error)
- func (o *CreateWalletRequestWallet) SetNetworkId(v string)
- func (o *CreateWalletRequestWallet) SetUseServerSigner(v bool)
- func (o CreateWalletRequestWallet) ToMap() (map[string]interface{}, error)
- func (o *CreateWalletRequestWallet) UnmarshalJSON(data []byte) (err error)
- type CreateWebhookRequest
- func (o *CreateWebhookRequest) GetEventFilters() []WebhookEventFilter
- func (o *CreateWebhookRequest) GetEventFiltersOk() ([]WebhookEventFilter, bool)
- func (o *CreateWebhookRequest) GetEventType() WebhookEventType
- func (o *CreateWebhookRequest) GetEventTypeOk() (*WebhookEventType, bool)
- func (o *CreateWebhookRequest) GetNetworkId() string
- func (o *CreateWebhookRequest) GetNetworkIdOk() (*string, bool)
- func (o *CreateWebhookRequest) GetNotificationUri() string
- func (o *CreateWebhookRequest) GetNotificationUriOk() (*string, bool)
- func (o *CreateWebhookRequest) HasEventFilters() bool
- func (o *CreateWebhookRequest) HasEventType() bool
- func (o CreateWebhookRequest) MarshalJSON() ([]byte, error)
- func (o *CreateWebhookRequest) SetEventFilters(v []WebhookEventFilter)
- func (o *CreateWebhookRequest) SetEventType(v WebhookEventType)
- func (o *CreateWebhookRequest) SetNetworkId(v string)
- func (o *CreateWebhookRequest) SetNotificationUri(v string)
- func (o CreateWebhookRequest) ToMap() (map[string]interface{}, error)
- func (o *CreateWebhookRequest) UnmarshalJSON(data []byte) (err error)
- type Error
- func (o *Error) GetCode() string
- func (o *Error) GetCodeOk() (*string, bool)
- func (o *Error) GetMessage() string
- func (o *Error) GetMessageOk() (*string, bool)
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetCode(v string)
- func (o *Error) SetMessage(v string)
- func (o Error) ToMap() (map[string]interface{}, error)
- func (o *Error) UnmarshalJSON(data []byte) (err error)
- type EthereumValidatorMetadata
- func (o *EthereumValidatorMetadata) GetActivationEpoch() string
- func (o *EthereumValidatorMetadata) GetActivationEpochOk() (*string, bool)
- func (o *EthereumValidatorMetadata) GetBalance() Balance
- func (o *EthereumValidatorMetadata) GetBalanceOk() (*Balance, bool)
- func (o *EthereumValidatorMetadata) GetEffectiveBalance() Balance
- func (o *EthereumValidatorMetadata) GetEffectiveBalanceOk() (*Balance, bool)
- func (o *EthereumValidatorMetadata) GetExitEpoch() string
- func (o *EthereumValidatorMetadata) GetExitEpochOk() (*string, bool)
- func (o *EthereumValidatorMetadata) GetIndex() string
- func (o *EthereumValidatorMetadata) GetIndexOk() (*string, bool)
- func (o *EthereumValidatorMetadata) GetPublicKey() string
- func (o *EthereumValidatorMetadata) GetPublicKeyOk() (*string, bool)
- func (o *EthereumValidatorMetadata) GetSlashed() bool
- func (o *EthereumValidatorMetadata) GetSlashedOk() (*bool, bool)
- func (o *EthereumValidatorMetadata) GetWithdrawableEpoch() string
- func (o *EthereumValidatorMetadata) GetWithdrawableEpochOk() (*string, bool)
- func (o *EthereumValidatorMetadata) GetWithdrawalAddress() string
- func (o *EthereumValidatorMetadata) GetWithdrawalAddressOk() (*string, bool)
- func (o EthereumValidatorMetadata) MarshalJSON() ([]byte, error)
- func (o *EthereumValidatorMetadata) SetActivationEpoch(v string)
- func (o *EthereumValidatorMetadata) SetBalance(v Balance)
- func (o *EthereumValidatorMetadata) SetEffectiveBalance(v Balance)
- func (o *EthereumValidatorMetadata) SetExitEpoch(v string)
- func (o *EthereumValidatorMetadata) SetIndex(v string)
- func (o *EthereumValidatorMetadata) SetPublicKey(v string)
- func (o *EthereumValidatorMetadata) SetSlashed(v bool)
- func (o *EthereumValidatorMetadata) SetWithdrawableEpoch(v string)
- func (o *EthereumValidatorMetadata) SetWithdrawalAddress(v string)
- func (o EthereumValidatorMetadata) ToMap() (map[string]interface{}, error)
- func (o *EthereumValidatorMetadata) UnmarshalJSON(data []byte) (err error)
- type ExternalAddressesAPI
- type ExternalAddressesAPIService
- func (a *ExternalAddressesAPIService) GetExternalAddressBalance(ctx context.Context, networkId string, addressId string, assetId string) ApiGetExternalAddressBalanceRequest
- func (a *ExternalAddressesAPIService) GetExternalAddressBalanceExecute(r ApiGetExternalAddressBalanceRequest) (*Balance, *http.Response, error)
- func (a *ExternalAddressesAPIService) ListAddressHistoricalBalance(ctx context.Context, networkId string, addressId string, assetId string) ApiListAddressHistoricalBalanceRequest
- func (a *ExternalAddressesAPIService) ListAddressHistoricalBalanceExecute(r ApiListAddressHistoricalBalanceRequest) (*AddressHistoricalBalanceList, *http.Response, error)
- func (a *ExternalAddressesAPIService) ListExternalAddressBalances(ctx context.Context, networkId string, addressId string) ApiListExternalAddressBalancesRequest
- func (a *ExternalAddressesAPIService) ListExternalAddressBalancesExecute(r ApiListExternalAddressBalancesRequest) (*AddressBalanceList, *http.Response, error)
- func (a *ExternalAddressesAPIService) RequestExternalFaucetFunds(ctx context.Context, networkId string, addressId string) ApiRequestExternalFaucetFundsRequest
- func (a *ExternalAddressesAPIService) RequestExternalFaucetFundsExecute(r ApiRequestExternalFaucetFundsRequest) (*FaucetTransaction, *http.Response, error)
- type FaucetTransaction
- func (o *FaucetTransaction) GetTransactionHash() string
- func (o *FaucetTransaction) GetTransactionHashOk() (*string, bool)
- func (o *FaucetTransaction) GetTransactionLink() string
- func (o *FaucetTransaction) GetTransactionLinkOk() (*string, bool)
- func (o FaucetTransaction) MarshalJSON() ([]byte, error)
- func (o *FaucetTransaction) SetTransactionHash(v string)
- func (o *FaucetTransaction) SetTransactionLink(v string)
- func (o FaucetTransaction) ToMap() (map[string]interface{}, error)
- func (o *FaucetTransaction) UnmarshalJSON(data []byte) (err error)
- type Feature
- type FeatureSet
- func (o *FeatureSet) GetFaucet() bool
- func (o *FeatureSet) GetFaucetOk() (*bool, bool)
- func (o *FeatureSet) GetGaslessSend() bool
- func (o *FeatureSet) GetGaslessSendOk() (*bool, bool)
- func (o *FeatureSet) GetServerSigner() bool
- func (o *FeatureSet) GetServerSignerOk() (*bool, bool)
- func (o *FeatureSet) GetStake() bool
- func (o *FeatureSet) GetStakeOk() (*bool, bool)
- func (o *FeatureSet) GetTrade() bool
- func (o *FeatureSet) GetTradeOk() (*bool, bool)
- func (o *FeatureSet) GetTransfer() bool
- func (o *FeatureSet) GetTransferOk() (*bool, bool)
- func (o FeatureSet) MarshalJSON() ([]byte, error)
- func (o *FeatureSet) SetFaucet(v bool)
- func (o *FeatureSet) SetGaslessSend(v bool)
- func (o *FeatureSet) SetServerSigner(v bool)
- func (o *FeatureSet) SetStake(v bool)
- func (o *FeatureSet) SetTrade(v bool)
- func (o *FeatureSet) SetTransfer(v bool)
- func (o FeatureSet) ToMap() (map[string]interface{}, error)
- func (o *FeatureSet) UnmarshalJSON(data []byte) (err error)
- type FetchHistoricalStakingBalances200Response
- func (o *FetchHistoricalStakingBalances200Response) GetData() []StakingBalance
- func (o *FetchHistoricalStakingBalances200Response) GetDataOk() ([]StakingBalance, bool)
- func (o *FetchHistoricalStakingBalances200Response) GetHasMore() bool
- func (o *FetchHistoricalStakingBalances200Response) GetHasMoreOk() (*bool, bool)
- func (o *FetchHistoricalStakingBalances200Response) GetNextPage() string
- func (o *FetchHistoricalStakingBalances200Response) GetNextPageOk() (*string, bool)
- func (o FetchHistoricalStakingBalances200Response) MarshalJSON() ([]byte, error)
- func (o *FetchHistoricalStakingBalances200Response) SetData(v []StakingBalance)
- func (o *FetchHistoricalStakingBalances200Response) SetHasMore(v bool)
- func (o *FetchHistoricalStakingBalances200Response) SetNextPage(v string)
- func (o FetchHistoricalStakingBalances200Response) ToMap() (map[string]interface{}, error)
- func (o *FetchHistoricalStakingBalances200Response) UnmarshalJSON(data []byte) (err error)
- type FetchStakingRewards200Response
- func (o *FetchStakingRewards200Response) GetData() []StakingReward
- func (o *FetchStakingRewards200Response) GetDataOk() ([]StakingReward, bool)
- func (o *FetchStakingRewards200Response) GetHasMore() bool
- func (o *FetchStakingRewards200Response) GetHasMoreOk() (*bool, bool)
- func (o *FetchStakingRewards200Response) GetNextPage() string
- func (o *FetchStakingRewards200Response) GetNextPageOk() (*string, bool)
- func (o FetchStakingRewards200Response) MarshalJSON() ([]byte, error)
- func (o *FetchStakingRewards200Response) SetData(v []StakingReward)
- func (o *FetchStakingRewards200Response) SetHasMore(v bool)
- func (o *FetchStakingRewards200Response) SetNextPage(v string)
- func (o FetchStakingRewards200Response) ToMap() (map[string]interface{}, error)
- func (o *FetchStakingRewards200Response) UnmarshalJSON(data []byte) (err error)
- type FetchStakingRewardsRequest
- func (o *FetchStakingRewardsRequest) GetAddressIds() []string
- func (o *FetchStakingRewardsRequest) GetAddressIdsOk() ([]string, bool)
- func (o *FetchStakingRewardsRequest) GetAssetId() string
- func (o *FetchStakingRewardsRequest) GetAssetIdOk() (*string, bool)
- func (o *FetchStakingRewardsRequest) GetEndTime() time.Time
- func (o *FetchStakingRewardsRequest) GetEndTimeOk() (*time.Time, bool)
- func (o *FetchStakingRewardsRequest) GetFormat() StakingRewardFormat
- func (o *FetchStakingRewardsRequest) GetFormatOk() (*StakingRewardFormat, bool)
- func (o *FetchStakingRewardsRequest) GetNetworkId() string
- func (o *FetchStakingRewardsRequest) GetNetworkIdOk() (*string, bool)
- func (o *FetchStakingRewardsRequest) GetStartTime() time.Time
- func (o *FetchStakingRewardsRequest) GetStartTimeOk() (*time.Time, bool)
- func (o FetchStakingRewardsRequest) MarshalJSON() ([]byte, error)
- func (o *FetchStakingRewardsRequest) SetAddressIds(v []string)
- func (o *FetchStakingRewardsRequest) SetAssetId(v string)
- func (o *FetchStakingRewardsRequest) SetEndTime(v time.Time)
- func (o *FetchStakingRewardsRequest) SetFormat(v StakingRewardFormat)
- func (o *FetchStakingRewardsRequest) SetNetworkId(v string)
- func (o *FetchStakingRewardsRequest) SetStartTime(v time.Time)
- func (o FetchStakingRewardsRequest) ToMap() (map[string]interface{}, error)
- func (o *FetchStakingRewardsRequest) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type GetStakingContextRequest
- func (o *GetStakingContextRequest) GetAddressId() string
- func (o *GetStakingContextRequest) GetAddressIdOk() (*string, bool)
- func (o *GetStakingContextRequest) GetAssetId() string
- func (o *GetStakingContextRequest) GetAssetIdOk() (*string, bool)
- func (o *GetStakingContextRequest) GetNetworkId() string
- func (o *GetStakingContextRequest) GetNetworkIdOk() (*string, bool)
- func (o *GetStakingContextRequest) GetOptions() map[string]string
- func (o *GetStakingContextRequest) GetOptionsOk() (*map[string]string, bool)
- func (o GetStakingContextRequest) MarshalJSON() ([]byte, error)
- func (o *GetStakingContextRequest) SetAddressId(v string)
- func (o *GetStakingContextRequest) SetAssetId(v string)
- func (o *GetStakingContextRequest) SetNetworkId(v string)
- func (o *GetStakingContextRequest) SetOptions(v map[string]string)
- func (o GetStakingContextRequest) ToMap() (map[string]interface{}, error)
- func (o *GetStakingContextRequest) UnmarshalJSON(data []byte) (err error)
- type HistoricalBalance
- func (o *HistoricalBalance) GetAmount() string
- func (o *HistoricalBalance) GetAmountOk() (*string, bool)
- func (o *HistoricalBalance) GetAsset() Asset
- func (o *HistoricalBalance) GetAssetOk() (*Asset, bool)
- func (o *HistoricalBalance) GetBlockHash() string
- func (o *HistoricalBalance) GetBlockHashOk() (*string, bool)
- func (o *HistoricalBalance) GetBlockHeight() string
- func (o *HistoricalBalance) GetBlockHeightOk() (*string, bool)
- func (o HistoricalBalance) MarshalJSON() ([]byte, error)
- func (o *HistoricalBalance) SetAmount(v string)
- func (o *HistoricalBalance) SetAsset(v Asset)
- func (o *HistoricalBalance) SetBlockHash(v string)
- func (o *HistoricalBalance) SetBlockHeight(v string)
- func (o HistoricalBalance) ToMap() (map[string]interface{}, error)
- func (o *HistoricalBalance) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type Network
- func (o *Network) GetAddressPathPrefix() string
- func (o *Network) GetAddressPathPrefixOk() (*string, bool)
- func (o *Network) GetChainId() int32
- func (o *Network) GetChainIdOk() (*int32, bool)
- func (o *Network) GetDisplayName() string
- func (o *Network) GetDisplayNameOk() (*string, bool)
- func (o *Network) GetFeatureSet() FeatureSet
- func (o *Network) GetFeatureSetOk() (*FeatureSet, bool)
- func (o *Network) GetId() NetworkIdentifier
- func (o *Network) GetIdOk() (*NetworkIdentifier, bool)
- func (o *Network) GetIsTestnet() bool
- func (o *Network) GetIsTestnetOk() (*bool, bool)
- func (o *Network) GetNativeAsset() Asset
- func (o *Network) GetNativeAssetOk() (*Asset, bool)
- func (o *Network) GetProtocolFamily() string
- func (o *Network) GetProtocolFamilyOk() (*string, bool)
- func (o *Network) HasAddressPathPrefix() bool
- func (o Network) MarshalJSON() ([]byte, error)
- func (o *Network) SetAddressPathPrefix(v string)
- func (o *Network) SetChainId(v int32)
- func (o *Network) SetDisplayName(v string)
- func (o *Network) SetFeatureSet(v FeatureSet)
- func (o *Network) SetId(v NetworkIdentifier)
- func (o *Network) SetIsTestnet(v bool)
- func (o *Network) SetNativeAsset(v Asset)
- func (o *Network) SetProtocolFamily(v string)
- func (o Network) ToMap() (map[string]interface{}, error)
- func (o *Network) UnmarshalJSON(data []byte) (err error)
- type NetworkIdentifier
- type NetworksAPI
- type NetworksAPIService
- type NullableAddress
- type NullableAddressBalanceList
- func (v NullableAddressBalanceList) Get() *AddressBalanceList
- func (v NullableAddressBalanceList) IsSet() bool
- func (v NullableAddressBalanceList) MarshalJSON() ([]byte, error)
- func (v *NullableAddressBalanceList) Set(val *AddressBalanceList)
- func (v *NullableAddressBalanceList) UnmarshalJSON(src []byte) error
- func (v *NullableAddressBalanceList) Unset()
- type NullableAddressHistoricalBalanceList
- func (v NullableAddressHistoricalBalanceList) Get() *AddressHistoricalBalanceList
- func (v NullableAddressHistoricalBalanceList) IsSet() bool
- func (v NullableAddressHistoricalBalanceList) MarshalJSON() ([]byte, error)
- func (v *NullableAddressHistoricalBalanceList) Set(val *AddressHistoricalBalanceList)
- func (v *NullableAddressHistoricalBalanceList) UnmarshalJSON(src []byte) error
- func (v *NullableAddressHistoricalBalanceList) Unset()
- type NullableAddressList
- func (v NullableAddressList) Get() *AddressList
- func (v NullableAddressList) IsSet() bool
- func (v NullableAddressList) MarshalJSON() ([]byte, error)
- func (v *NullableAddressList) Set(val *AddressList)
- func (v *NullableAddressList) UnmarshalJSON(src []byte) error
- func (v *NullableAddressList) Unset()
- type NullableAsset
- type NullableBalance
- type NullableBool
- type NullableBroadcastStakingOperationRequest
- func (v NullableBroadcastStakingOperationRequest) Get() *BroadcastStakingOperationRequest
- func (v NullableBroadcastStakingOperationRequest) IsSet() bool
- func (v NullableBroadcastStakingOperationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableBroadcastStakingOperationRequest) Set(val *BroadcastStakingOperationRequest)
- func (v *NullableBroadcastStakingOperationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableBroadcastStakingOperationRequest) Unset()
- type NullableBroadcastTradeRequest
- func (v NullableBroadcastTradeRequest) Get() *BroadcastTradeRequest
- func (v NullableBroadcastTradeRequest) IsSet() bool
- func (v NullableBroadcastTradeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableBroadcastTradeRequest) Set(val *BroadcastTradeRequest)
- func (v *NullableBroadcastTradeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableBroadcastTradeRequest) Unset()
- type NullableBroadcastTransferRequest
- func (v NullableBroadcastTransferRequest) Get() *BroadcastTransferRequest
- func (v NullableBroadcastTransferRequest) IsSet() bool
- func (v NullableBroadcastTransferRequest) MarshalJSON() ([]byte, error)
- func (v *NullableBroadcastTransferRequest) Set(val *BroadcastTransferRequest)
- func (v *NullableBroadcastTransferRequest) UnmarshalJSON(src []byte) error
- func (v *NullableBroadcastTransferRequest) Unset()
- type NullableBuildStakingOperationRequest
- func (v NullableBuildStakingOperationRequest) Get() *BuildStakingOperationRequest
- func (v NullableBuildStakingOperationRequest) IsSet() bool
- func (v NullableBuildStakingOperationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableBuildStakingOperationRequest) Set(val *BuildStakingOperationRequest)
- func (v *NullableBuildStakingOperationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableBuildStakingOperationRequest) Unset()
- type NullableContractEvent
- func (v NullableContractEvent) Get() *ContractEvent
- func (v NullableContractEvent) IsSet() bool
- func (v NullableContractEvent) MarshalJSON() ([]byte, error)
- func (v *NullableContractEvent) Set(val *ContractEvent)
- func (v *NullableContractEvent) UnmarshalJSON(src []byte) error
- func (v *NullableContractEvent) Unset()
- type NullableContractEventList
- func (v NullableContractEventList) Get() *ContractEventList
- func (v NullableContractEventList) IsSet() bool
- func (v NullableContractEventList) MarshalJSON() ([]byte, error)
- func (v *NullableContractEventList) Set(val *ContractEventList)
- func (v *NullableContractEventList) UnmarshalJSON(src []byte) error
- func (v *NullableContractEventList) Unset()
- type NullableCreateAddressRequest
- func (v NullableCreateAddressRequest) Get() *CreateAddressRequest
- func (v NullableCreateAddressRequest) IsSet() bool
- func (v NullableCreateAddressRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateAddressRequest) Set(val *CreateAddressRequest)
- func (v *NullableCreateAddressRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateAddressRequest) Unset()
- type NullableCreateServerSignerRequest
- func (v NullableCreateServerSignerRequest) Get() *CreateServerSignerRequest
- func (v NullableCreateServerSignerRequest) IsSet() bool
- func (v NullableCreateServerSignerRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateServerSignerRequest) Set(val *CreateServerSignerRequest)
- func (v *NullableCreateServerSignerRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateServerSignerRequest) Unset()
- type NullableCreateStakingOperationRequest
- func (v NullableCreateStakingOperationRequest) Get() *CreateStakingOperationRequest
- func (v NullableCreateStakingOperationRequest) IsSet() bool
- func (v NullableCreateStakingOperationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateStakingOperationRequest) Set(val *CreateStakingOperationRequest)
- func (v *NullableCreateStakingOperationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateStakingOperationRequest) Unset()
- type NullableCreateTradeRequest
- func (v NullableCreateTradeRequest) Get() *CreateTradeRequest
- func (v NullableCreateTradeRequest) IsSet() bool
- func (v NullableCreateTradeRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateTradeRequest) Set(val *CreateTradeRequest)
- func (v *NullableCreateTradeRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateTradeRequest) Unset()
- type NullableCreateTransferRequest
- func (v NullableCreateTransferRequest) Get() *CreateTransferRequest
- func (v NullableCreateTransferRequest) IsSet() bool
- func (v NullableCreateTransferRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateTransferRequest) Set(val *CreateTransferRequest)
- func (v *NullableCreateTransferRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateTransferRequest) Unset()
- type NullableCreateWalletRequest
- func (v NullableCreateWalletRequest) Get() *CreateWalletRequest
- func (v NullableCreateWalletRequest) IsSet() bool
- func (v NullableCreateWalletRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateWalletRequest) Set(val *CreateWalletRequest)
- func (v *NullableCreateWalletRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateWalletRequest) Unset()
- type NullableCreateWalletRequestWallet
- func (v NullableCreateWalletRequestWallet) Get() *CreateWalletRequestWallet
- func (v NullableCreateWalletRequestWallet) IsSet() bool
- func (v NullableCreateWalletRequestWallet) MarshalJSON() ([]byte, error)
- func (v *NullableCreateWalletRequestWallet) Set(val *CreateWalletRequestWallet)
- func (v *NullableCreateWalletRequestWallet) UnmarshalJSON(src []byte) error
- func (v *NullableCreateWalletRequestWallet) Unset()
- type NullableCreateWebhookRequest
- func (v NullableCreateWebhookRequest) Get() *CreateWebhookRequest
- func (v NullableCreateWebhookRequest) IsSet() bool
- func (v NullableCreateWebhookRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateWebhookRequest) Set(val *CreateWebhookRequest)
- func (v *NullableCreateWebhookRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateWebhookRequest) Unset()
- type NullableError
- type NullableEthereumValidatorMetadata
- func (v NullableEthereumValidatorMetadata) Get() *EthereumValidatorMetadata
- func (v NullableEthereumValidatorMetadata) IsSet() bool
- func (v NullableEthereumValidatorMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableEthereumValidatorMetadata) Set(val *EthereumValidatorMetadata)
- func (v *NullableEthereumValidatorMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableEthereumValidatorMetadata) Unset()
- type NullableFaucetTransaction
- func (v NullableFaucetTransaction) Get() *FaucetTransaction
- func (v NullableFaucetTransaction) IsSet() bool
- func (v NullableFaucetTransaction) MarshalJSON() ([]byte, error)
- func (v *NullableFaucetTransaction) Set(val *FaucetTransaction)
- func (v *NullableFaucetTransaction) UnmarshalJSON(src []byte) error
- func (v *NullableFaucetTransaction) Unset()
- type NullableFeature
- type NullableFeatureSet
- type NullableFetchHistoricalStakingBalances200Response
- func (v NullableFetchHistoricalStakingBalances200Response) Get() *FetchHistoricalStakingBalances200Response
- func (v NullableFetchHistoricalStakingBalances200Response) IsSet() bool
- func (v NullableFetchHistoricalStakingBalances200Response) MarshalJSON() ([]byte, error)
- func (v *NullableFetchHistoricalStakingBalances200Response) Set(val *FetchHistoricalStakingBalances200Response)
- func (v *NullableFetchHistoricalStakingBalances200Response) UnmarshalJSON(src []byte) error
- func (v *NullableFetchHistoricalStakingBalances200Response) Unset()
- type NullableFetchStakingRewards200Response
- func (v NullableFetchStakingRewards200Response) Get() *FetchStakingRewards200Response
- func (v NullableFetchStakingRewards200Response) IsSet() bool
- func (v NullableFetchStakingRewards200Response) MarshalJSON() ([]byte, error)
- func (v *NullableFetchStakingRewards200Response) Set(val *FetchStakingRewards200Response)
- func (v *NullableFetchStakingRewards200Response) UnmarshalJSON(src []byte) error
- func (v *NullableFetchStakingRewards200Response) Unset()
- type NullableFetchStakingRewardsRequest
- func (v NullableFetchStakingRewardsRequest) Get() *FetchStakingRewardsRequest
- func (v NullableFetchStakingRewardsRequest) IsSet() bool
- func (v NullableFetchStakingRewardsRequest) MarshalJSON() ([]byte, error)
- func (v *NullableFetchStakingRewardsRequest) Set(val *FetchStakingRewardsRequest)
- func (v *NullableFetchStakingRewardsRequest) UnmarshalJSON(src []byte) error
- func (v *NullableFetchStakingRewardsRequest) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGetStakingContextRequest
- func (v NullableGetStakingContextRequest) Get() *GetStakingContextRequest
- func (v NullableGetStakingContextRequest) IsSet() bool
- func (v NullableGetStakingContextRequest) MarshalJSON() ([]byte, error)
- func (v *NullableGetStakingContextRequest) Set(val *GetStakingContextRequest)
- func (v *NullableGetStakingContextRequest) UnmarshalJSON(src []byte) error
- func (v *NullableGetStakingContextRequest) Unset()
- type NullableHistoricalBalance
- func (v NullableHistoricalBalance) Get() *HistoricalBalance
- func (v NullableHistoricalBalance) IsSet() bool
- func (v NullableHistoricalBalance) MarshalJSON() ([]byte, error)
- func (v *NullableHistoricalBalance) Set(val *HistoricalBalance)
- func (v *NullableHistoricalBalance) UnmarshalJSON(src []byte) error
- func (v *NullableHistoricalBalance) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableNetwork
- type NullableNetworkIdentifier
- func (v NullableNetworkIdentifier) Get() *NetworkIdentifier
- func (v NullableNetworkIdentifier) IsSet() bool
- func (v NullableNetworkIdentifier) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkIdentifier) Set(val *NetworkIdentifier)
- func (v *NullableNetworkIdentifier) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkIdentifier) Unset()
- type NullableSeedCreationEvent
- func (v NullableSeedCreationEvent) Get() *SeedCreationEvent
- func (v NullableSeedCreationEvent) IsSet() bool
- func (v NullableSeedCreationEvent) MarshalJSON() ([]byte, error)
- func (v *NullableSeedCreationEvent) Set(val *SeedCreationEvent)
- func (v *NullableSeedCreationEvent) UnmarshalJSON(src []byte) error
- func (v *NullableSeedCreationEvent) Unset()
- type NullableSeedCreationEventResult
- func (v NullableSeedCreationEventResult) Get() *SeedCreationEventResult
- func (v NullableSeedCreationEventResult) IsSet() bool
- func (v NullableSeedCreationEventResult) MarshalJSON() ([]byte, error)
- func (v *NullableSeedCreationEventResult) Set(val *SeedCreationEventResult)
- func (v *NullableSeedCreationEventResult) UnmarshalJSON(src []byte) error
- func (v *NullableSeedCreationEventResult) Unset()
- type NullableServerSigner
- func (v NullableServerSigner) Get() *ServerSigner
- func (v NullableServerSigner) IsSet() bool
- func (v NullableServerSigner) MarshalJSON() ([]byte, error)
- func (v *NullableServerSigner) Set(val *ServerSigner)
- func (v *NullableServerSigner) UnmarshalJSON(src []byte) error
- func (v *NullableServerSigner) Unset()
- type NullableServerSignerEvent
- func (v NullableServerSignerEvent) Get() *ServerSignerEvent
- func (v NullableServerSignerEvent) IsSet() bool
- func (v NullableServerSignerEvent) MarshalJSON() ([]byte, error)
- func (v *NullableServerSignerEvent) Set(val *ServerSignerEvent)
- func (v *NullableServerSignerEvent) UnmarshalJSON(src []byte) error
- func (v *NullableServerSignerEvent) Unset()
- type NullableServerSignerEventEvent
- func (v NullableServerSignerEventEvent) Get() *ServerSignerEventEvent
- func (v NullableServerSignerEventEvent) IsSet() bool
- func (v NullableServerSignerEventEvent) MarshalJSON() ([]byte, error)
- func (v *NullableServerSignerEventEvent) Set(val *ServerSignerEventEvent)
- func (v *NullableServerSignerEventEvent) UnmarshalJSON(src []byte) error
- func (v *NullableServerSignerEventEvent) Unset()
- type NullableServerSignerEventList
- func (v NullableServerSignerEventList) Get() *ServerSignerEventList
- func (v NullableServerSignerEventList) IsSet() bool
- func (v NullableServerSignerEventList) MarshalJSON() ([]byte, error)
- func (v *NullableServerSignerEventList) Set(val *ServerSignerEventList)
- func (v *NullableServerSignerEventList) UnmarshalJSON(src []byte) error
- func (v *NullableServerSignerEventList) Unset()
- type NullableServerSignerList
- func (v NullableServerSignerList) Get() *ServerSignerList
- func (v NullableServerSignerList) IsSet() bool
- func (v NullableServerSignerList) MarshalJSON() ([]byte, error)
- func (v *NullableServerSignerList) Set(val *ServerSignerList)
- func (v *NullableServerSignerList) UnmarshalJSON(src []byte) error
- func (v *NullableServerSignerList) Unset()
- type NullableSignatureCreationEvent
- func (v NullableSignatureCreationEvent) Get() *SignatureCreationEvent
- func (v NullableSignatureCreationEvent) IsSet() bool
- func (v NullableSignatureCreationEvent) MarshalJSON() ([]byte, error)
- func (v *NullableSignatureCreationEvent) Set(val *SignatureCreationEvent)
- func (v *NullableSignatureCreationEvent) UnmarshalJSON(src []byte) error
- func (v *NullableSignatureCreationEvent) Unset()
- type NullableSignatureCreationEventResult
- func (v NullableSignatureCreationEventResult) Get() *SignatureCreationEventResult
- func (v NullableSignatureCreationEventResult) IsSet() bool
- func (v NullableSignatureCreationEventResult) MarshalJSON() ([]byte, error)
- func (v *NullableSignatureCreationEventResult) Set(val *SignatureCreationEventResult)
- func (v *NullableSignatureCreationEventResult) UnmarshalJSON(src []byte) error
- func (v *NullableSignatureCreationEventResult) Unset()
- type NullableSignedVoluntaryExitMessageMetadata
- func (v NullableSignedVoluntaryExitMessageMetadata) Get() *SignedVoluntaryExitMessageMetadata
- func (v NullableSignedVoluntaryExitMessageMetadata) IsSet() bool
- func (v NullableSignedVoluntaryExitMessageMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableSignedVoluntaryExitMessageMetadata) Set(val *SignedVoluntaryExitMessageMetadata)
- func (v *NullableSignedVoluntaryExitMessageMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableSignedVoluntaryExitMessageMetadata) Unset()
- type NullableSponsoredSend
- func (v NullableSponsoredSend) Get() *SponsoredSend
- func (v NullableSponsoredSend) IsSet() bool
- func (v NullableSponsoredSend) MarshalJSON() ([]byte, error)
- func (v *NullableSponsoredSend) Set(val *SponsoredSend)
- func (v *NullableSponsoredSend) UnmarshalJSON(src []byte) error
- func (v *NullableSponsoredSend) Unset()
- type NullableStakingBalance
- func (v NullableStakingBalance) Get() *StakingBalance
- func (v NullableStakingBalance) IsSet() bool
- func (v NullableStakingBalance) MarshalJSON() ([]byte, error)
- func (v *NullableStakingBalance) Set(val *StakingBalance)
- func (v *NullableStakingBalance) UnmarshalJSON(src []byte) error
- func (v *NullableStakingBalance) Unset()
- type NullableStakingContext
- func (v NullableStakingContext) Get() *StakingContext
- func (v NullableStakingContext) IsSet() bool
- func (v NullableStakingContext) MarshalJSON() ([]byte, error)
- func (v *NullableStakingContext) Set(val *StakingContext)
- func (v *NullableStakingContext) UnmarshalJSON(src []byte) error
- func (v *NullableStakingContext) Unset()
- type NullableStakingContextContext
- func (v NullableStakingContextContext) Get() *StakingContextContext
- func (v NullableStakingContextContext) IsSet() bool
- func (v NullableStakingContextContext) MarshalJSON() ([]byte, error)
- func (v *NullableStakingContextContext) Set(val *StakingContextContext)
- func (v *NullableStakingContextContext) UnmarshalJSON(src []byte) error
- func (v *NullableStakingContextContext) Unset()
- type NullableStakingOperation
- func (v NullableStakingOperation) Get() *StakingOperation
- func (v NullableStakingOperation) IsSet() bool
- func (v NullableStakingOperation) MarshalJSON() ([]byte, error)
- func (v *NullableStakingOperation) Set(val *StakingOperation)
- func (v *NullableStakingOperation) UnmarshalJSON(src []byte) error
- func (v *NullableStakingOperation) Unset()
- type NullableStakingOperationMetadata
- func (v NullableStakingOperationMetadata) Get() *StakingOperationMetadata
- func (v NullableStakingOperationMetadata) IsSet() bool
- func (v NullableStakingOperationMetadata) MarshalJSON() ([]byte, error)
- func (v *NullableStakingOperationMetadata) Set(val *StakingOperationMetadata)
- func (v *NullableStakingOperationMetadata) UnmarshalJSON(src []byte) error
- func (v *NullableStakingOperationMetadata) Unset()
- type NullableStakingReward
- func (v NullableStakingReward) Get() *StakingReward
- func (v NullableStakingReward) IsSet() bool
- func (v NullableStakingReward) MarshalJSON() ([]byte, error)
- func (v *NullableStakingReward) Set(val *StakingReward)
- func (v *NullableStakingReward) UnmarshalJSON(src []byte) error
- func (v *NullableStakingReward) Unset()
- type NullableStakingRewardFormat
- func (v NullableStakingRewardFormat) Get() *StakingRewardFormat
- func (v NullableStakingRewardFormat) IsSet() bool
- func (v NullableStakingRewardFormat) MarshalJSON() ([]byte, error)
- func (v *NullableStakingRewardFormat) Set(val *StakingRewardFormat)
- func (v *NullableStakingRewardFormat) UnmarshalJSON(src []byte) error
- func (v *NullableStakingRewardFormat) Unset()
- type NullableStakingRewardUSDValue
- func (v NullableStakingRewardUSDValue) Get() *StakingRewardUSDValue
- func (v NullableStakingRewardUSDValue) IsSet() bool
- func (v NullableStakingRewardUSDValue) MarshalJSON() ([]byte, error)
- func (v *NullableStakingRewardUSDValue) Set(val *StakingRewardUSDValue)
- func (v *NullableStakingRewardUSDValue) UnmarshalJSON(src []byte) error
- func (v *NullableStakingRewardUSDValue) Unset()
- type NullableString
- type NullableTime
- type NullableTrade
- type NullableTradeList
- type NullableTransaction
- func (v NullableTransaction) Get() *Transaction
- func (v NullableTransaction) IsSet() bool
- func (v NullableTransaction) MarshalJSON() ([]byte, error)
- func (v *NullableTransaction) Set(val *Transaction)
- func (v *NullableTransaction) UnmarshalJSON(src []byte) error
- func (v *NullableTransaction) Unset()
- type NullableTransactionType
- func (v NullableTransactionType) Get() *TransactionType
- func (v NullableTransactionType) IsSet() bool
- func (v NullableTransactionType) MarshalJSON() ([]byte, error)
- func (v *NullableTransactionType) Set(val *TransactionType)
- func (v *NullableTransactionType) UnmarshalJSON(src []byte) error
- func (v *NullableTransactionType) Unset()
- type NullableTransfer
- type NullableTransferList
- func (v NullableTransferList) Get() *TransferList
- func (v NullableTransferList) IsSet() bool
- func (v NullableTransferList) MarshalJSON() ([]byte, error)
- func (v *NullableTransferList) Set(val *TransferList)
- func (v *NullableTransferList) UnmarshalJSON(src []byte) error
- func (v *NullableTransferList) Unset()
- type NullableUpdateWebhookRequest
- func (v NullableUpdateWebhookRequest) Get() *UpdateWebhookRequest
- func (v NullableUpdateWebhookRequest) IsSet() bool
- func (v NullableUpdateWebhookRequest) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateWebhookRequest) Set(val *UpdateWebhookRequest)
- func (v *NullableUpdateWebhookRequest) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateWebhookRequest) Unset()
- type NullableUser
- type NullableValidator
- type NullableValidatorDetails
- func (v NullableValidatorDetails) Get() *ValidatorDetails
- func (v NullableValidatorDetails) IsSet() bool
- func (v NullableValidatorDetails) MarshalJSON() ([]byte, error)
- func (v *NullableValidatorDetails) Set(val *ValidatorDetails)
- func (v *NullableValidatorDetails) UnmarshalJSON(src []byte) error
- func (v *NullableValidatorDetails) Unset()
- type NullableValidatorList
- func (v NullableValidatorList) Get() *ValidatorList
- func (v NullableValidatorList) IsSet() bool
- func (v NullableValidatorList) MarshalJSON() ([]byte, error)
- func (v *NullableValidatorList) Set(val *ValidatorList)
- func (v *NullableValidatorList) UnmarshalJSON(src []byte) error
- func (v *NullableValidatorList) Unset()
- type NullableValidatorStatus
- func (v NullableValidatorStatus) Get() *ValidatorStatus
- func (v NullableValidatorStatus) IsSet() bool
- func (v NullableValidatorStatus) MarshalJSON() ([]byte, error)
- func (v *NullableValidatorStatus) Set(val *ValidatorStatus)
- func (v *NullableValidatorStatus) UnmarshalJSON(src []byte) error
- func (v *NullableValidatorStatus) Unset()
- type NullableWallet
- type NullableWalletList
- type NullableWebhook
- type NullableWebhookEventFilter
- func (v NullableWebhookEventFilter) Get() *WebhookEventFilter
- func (v NullableWebhookEventFilter) IsSet() bool
- func (v NullableWebhookEventFilter) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookEventFilter) Set(val *WebhookEventFilter)
- func (v *NullableWebhookEventFilter) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookEventFilter) Unset()
- type NullableWebhookEventType
- func (v NullableWebhookEventType) Get() *WebhookEventType
- func (v NullableWebhookEventType) IsSet() bool
- func (v NullableWebhookEventType) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookEventType) Set(val *WebhookEventType)
- func (v *NullableWebhookEventType) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookEventType) Unset()
- type NullableWebhookList
- func (v NullableWebhookList) Get() *WebhookList
- func (v NullableWebhookList) IsSet() bool
- func (v NullableWebhookList) MarshalJSON() ([]byte, error)
- func (v *NullableWebhookList) Set(val *WebhookList)
- func (v *NullableWebhookList) UnmarshalJSON(src []byte) error
- func (v *NullableWebhookList) Unset()
- type SeedCreationEvent
- func (o *SeedCreationEvent) GetWalletId() string
- func (o *SeedCreationEvent) GetWalletIdOk() (*string, bool)
- func (o *SeedCreationEvent) GetWalletUserId() string
- func (o *SeedCreationEvent) GetWalletUserIdOk() (*string, bool)
- func (o SeedCreationEvent) MarshalJSON() ([]byte, error)
- func (o *SeedCreationEvent) SetWalletId(v string)
- func (o *SeedCreationEvent) SetWalletUserId(v string)
- func (o SeedCreationEvent) ToMap() (map[string]interface{}, error)
- func (o *SeedCreationEvent) UnmarshalJSON(data []byte) (err error)
- type SeedCreationEventResult
- func (o *SeedCreationEventResult) GetExtendedPublicKey() string
- func (o *SeedCreationEventResult) GetExtendedPublicKeyOk() (*string, bool)
- func (o *SeedCreationEventResult) GetSeedId() string
- func (o *SeedCreationEventResult) GetSeedIdOk() (*string, bool)
- func (o *SeedCreationEventResult) GetWalletId() string
- func (o *SeedCreationEventResult) GetWalletIdOk() (*string, bool)
- func (o *SeedCreationEventResult) GetWalletUserId() string
- func (o *SeedCreationEventResult) GetWalletUserIdOk() (*string, bool)
- func (o SeedCreationEventResult) MarshalJSON() ([]byte, error)
- func (o *SeedCreationEventResult) SetExtendedPublicKey(v string)
- func (o *SeedCreationEventResult) SetSeedId(v string)
- func (o *SeedCreationEventResult) SetWalletId(v string)
- func (o *SeedCreationEventResult) SetWalletUserId(v string)
- func (o SeedCreationEventResult) ToMap() (map[string]interface{}, error)
- func (o *SeedCreationEventResult) UnmarshalJSON(data []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerSigner
- func (o *ServerSigner) GetIsMpc() bool
- func (o *ServerSigner) GetIsMpcOk() (*bool, bool)
- func (o *ServerSigner) GetServerSignerId() string
- func (o *ServerSigner) GetServerSignerIdOk() (*string, bool)
- func (o *ServerSigner) GetWallets() []string
- func (o *ServerSigner) GetWalletsOk() ([]string, bool)
- func (o *ServerSigner) HasWallets() bool
- func (o ServerSigner) MarshalJSON() ([]byte, error)
- func (o *ServerSigner) SetIsMpc(v bool)
- func (o *ServerSigner) SetServerSignerId(v string)
- func (o *ServerSigner) SetWallets(v []string)
- func (o ServerSigner) ToMap() (map[string]interface{}, error)
- func (o *ServerSigner) UnmarshalJSON(data []byte) (err error)
- type ServerSignerEvent
- func (o *ServerSignerEvent) GetEvent() ServerSignerEventEvent
- func (o *ServerSignerEvent) GetEventOk() (*ServerSignerEventEvent, bool)
- func (o *ServerSignerEvent) GetServerSignerId() string
- func (o *ServerSignerEvent) GetServerSignerIdOk() (*string, bool)
- func (o ServerSignerEvent) MarshalJSON() ([]byte, error)
- func (o *ServerSignerEvent) SetEvent(v ServerSignerEventEvent)
- func (o *ServerSignerEvent) SetServerSignerId(v string)
- func (o ServerSignerEvent) ToMap() (map[string]interface{}, error)
- func (o *ServerSignerEvent) UnmarshalJSON(data []byte) (err error)
- type ServerSignerEventEvent
- type ServerSignerEventList
- func (o *ServerSignerEventList) GetData() []ServerSignerEvent
- func (o *ServerSignerEventList) GetDataOk() ([]ServerSignerEvent, bool)
- func (o *ServerSignerEventList) GetHasMore() bool
- func (o *ServerSignerEventList) GetHasMoreOk() (*bool, bool)
- func (o *ServerSignerEventList) GetNextPage() string
- func (o *ServerSignerEventList) GetNextPageOk() (*string, bool)
- func (o *ServerSignerEventList) GetTotalCount() int32
- func (o *ServerSignerEventList) GetTotalCountOk() (*int32, bool)
- func (o ServerSignerEventList) MarshalJSON() ([]byte, error)
- func (o *ServerSignerEventList) SetData(v []ServerSignerEvent)
- func (o *ServerSignerEventList) SetHasMore(v bool)
- func (o *ServerSignerEventList) SetNextPage(v string)
- func (o *ServerSignerEventList) SetTotalCount(v int32)
- func (o ServerSignerEventList) ToMap() (map[string]interface{}, error)
- func (o *ServerSignerEventList) UnmarshalJSON(data []byte) (err error)
- type ServerSignerList
- func (o *ServerSignerList) GetData() []ServerSigner
- func (o *ServerSignerList) GetDataOk() ([]ServerSigner, bool)
- func (o *ServerSignerList) GetHasMore() bool
- func (o *ServerSignerList) GetHasMoreOk() (*bool, bool)
- func (o *ServerSignerList) GetNextPage() string
- func (o *ServerSignerList) GetNextPageOk() (*string, bool)
- func (o *ServerSignerList) GetTotalCount() int32
- func (o *ServerSignerList) GetTotalCountOk() (*int32, bool)
- func (o ServerSignerList) MarshalJSON() ([]byte, error)
- func (o *ServerSignerList) SetData(v []ServerSigner)
- func (o *ServerSignerList) SetHasMore(v bool)
- func (o *ServerSignerList) SetNextPage(v string)
- func (o *ServerSignerList) SetTotalCount(v int32)
- func (o ServerSignerList) ToMap() (map[string]interface{}, error)
- func (o *ServerSignerList) UnmarshalJSON(data []byte) (err error)
- type ServerSignersAPI
- type ServerSignersAPIService
- func (a *ServerSignersAPIService) CreateServerSigner(ctx context.Context) ApiCreateServerSignerRequest
- func (a *ServerSignersAPIService) CreateServerSignerExecute(r ApiCreateServerSignerRequest) (*ServerSigner, *http.Response, error)
- func (a *ServerSignersAPIService) GetServerSigner(ctx context.Context, serverSignerId string) ApiGetServerSignerRequest
- func (a *ServerSignersAPIService) GetServerSignerExecute(r ApiGetServerSignerRequest) (*ServerSigner, *http.Response, error)
- func (a *ServerSignersAPIService) ListServerSignerEvents(ctx context.Context, serverSignerId string) ApiListServerSignerEventsRequest
- func (a *ServerSignersAPIService) ListServerSignerEventsExecute(r ApiListServerSignerEventsRequest) (*ServerSignerEventList, *http.Response, error)
- func (a *ServerSignersAPIService) ListServerSigners(ctx context.Context) ApiListServerSignersRequest
- func (a *ServerSignersAPIService) ListServerSignersExecute(r ApiListServerSignersRequest) (*ServerSignerList, *http.Response, error)
- func (a *ServerSignersAPIService) SubmitServerSignerSeedEventResult(ctx context.Context, serverSignerId string) ApiSubmitServerSignerSeedEventResultRequest
- func (a *ServerSignersAPIService) SubmitServerSignerSeedEventResultExecute(r ApiSubmitServerSignerSeedEventResultRequest) (*SeedCreationEventResult, *http.Response, error)
- func (a *ServerSignersAPIService) SubmitServerSignerSignatureEventResult(ctx context.Context, serverSignerId string) ApiSubmitServerSignerSignatureEventResultRequest
- func (a *ServerSignersAPIService) SubmitServerSignerSignatureEventResultExecute(r ApiSubmitServerSignerSignatureEventResultRequest) (*SignatureCreationEventResult, *http.Response, error)
- type ServerVariable
- type SignatureCreationEvent
- func (o *SignatureCreationEvent) GetAddressId() string
- func (o *SignatureCreationEvent) GetAddressIdOk() (*string, bool)
- func (o *SignatureCreationEvent) GetAddressIndex() int32
- func (o *SignatureCreationEvent) GetAddressIndexOk() (*int32, bool)
- func (o *SignatureCreationEvent) GetSeedId() string
- func (o *SignatureCreationEvent) GetSeedIdOk() (*string, bool)
- func (o *SignatureCreationEvent) GetSigningPayload() string
- func (o *SignatureCreationEvent) GetSigningPayloadOk() (*string, bool)
- func (o *SignatureCreationEvent) GetTransactionId() string
- func (o *SignatureCreationEvent) GetTransactionIdOk() (*string, bool)
- func (o *SignatureCreationEvent) GetTransactionType() TransactionType
- func (o *SignatureCreationEvent) GetTransactionTypeOk() (*TransactionType, bool)
- func (o *SignatureCreationEvent) GetWalletId() string
- func (o *SignatureCreationEvent) GetWalletIdOk() (*string, bool)
- func (o *SignatureCreationEvent) GetWalletUserId() string
- func (o *SignatureCreationEvent) GetWalletUserIdOk() (*string, bool)
- func (o SignatureCreationEvent) MarshalJSON() ([]byte, error)
- func (o *SignatureCreationEvent) SetAddressId(v string)
- func (o *SignatureCreationEvent) SetAddressIndex(v int32)
- func (o *SignatureCreationEvent) SetSeedId(v string)
- func (o *SignatureCreationEvent) SetSigningPayload(v string)
- func (o *SignatureCreationEvent) SetTransactionId(v string)
- func (o *SignatureCreationEvent) SetTransactionType(v TransactionType)
- func (o *SignatureCreationEvent) SetWalletId(v string)
- func (o *SignatureCreationEvent) SetWalletUserId(v string)
- func (o SignatureCreationEvent) ToMap() (map[string]interface{}, error)
- func (o *SignatureCreationEvent) UnmarshalJSON(data []byte) (err error)
- type SignatureCreationEventResult
- func (o *SignatureCreationEventResult) GetAddressId() string
- func (o *SignatureCreationEventResult) GetAddressIdOk() (*string, bool)
- func (o *SignatureCreationEventResult) GetSignature() string
- func (o *SignatureCreationEventResult) GetSignatureOk() (*string, bool)
- func (o *SignatureCreationEventResult) GetTransactionId() string
- func (o *SignatureCreationEventResult) GetTransactionIdOk() (*string, bool)
- func (o *SignatureCreationEventResult) GetTransactionType() TransactionType
- func (o *SignatureCreationEventResult) GetTransactionTypeOk() (*TransactionType, bool)
- func (o *SignatureCreationEventResult) GetWalletId() string
- func (o *SignatureCreationEventResult) GetWalletIdOk() (*string, bool)
- func (o *SignatureCreationEventResult) GetWalletUserId() string
- func (o *SignatureCreationEventResult) GetWalletUserIdOk() (*string, bool)
- func (o SignatureCreationEventResult) MarshalJSON() ([]byte, error)
- func (o *SignatureCreationEventResult) SetAddressId(v string)
- func (o *SignatureCreationEventResult) SetSignature(v string)
- func (o *SignatureCreationEventResult) SetTransactionId(v string)
- func (o *SignatureCreationEventResult) SetTransactionType(v TransactionType)
- func (o *SignatureCreationEventResult) SetWalletId(v string)
- func (o *SignatureCreationEventResult) SetWalletUserId(v string)
- func (o SignatureCreationEventResult) ToMap() (map[string]interface{}, error)
- func (o *SignatureCreationEventResult) UnmarshalJSON(data []byte) (err error)
- type SignedVoluntaryExitMessageMetadata
- func (o *SignedVoluntaryExitMessageMetadata) GetFork() string
- func (o *SignedVoluntaryExitMessageMetadata) GetForkOk() (*string, bool)
- func (o *SignedVoluntaryExitMessageMetadata) GetSignedVoluntaryExit() string
- func (o *SignedVoluntaryExitMessageMetadata) GetSignedVoluntaryExitOk() (*string, bool)
- func (o *SignedVoluntaryExitMessageMetadata) GetValidatorPubKey() string
- func (o *SignedVoluntaryExitMessageMetadata) GetValidatorPubKeyOk() (*string, bool)
- func (o SignedVoluntaryExitMessageMetadata) MarshalJSON() ([]byte, error)
- func (o *SignedVoluntaryExitMessageMetadata) SetFork(v string)
- func (o *SignedVoluntaryExitMessageMetadata) SetSignedVoluntaryExit(v string)
- func (o *SignedVoluntaryExitMessageMetadata) SetValidatorPubKey(v string)
- func (o SignedVoluntaryExitMessageMetadata) ToMap() (map[string]interface{}, error)
- func (o *SignedVoluntaryExitMessageMetadata) UnmarshalJSON(data []byte) (err error)
- type SponsoredSend
- func (o *SponsoredSend) GetRawTypedData() string
- func (o *SponsoredSend) GetRawTypedDataOk() (*string, bool)
- func (o *SponsoredSend) GetSignature() string
- func (o *SponsoredSend) GetSignatureOk() (*string, bool)
- func (o *SponsoredSend) GetStatus() string
- func (o *SponsoredSend) GetStatusOk() (*string, bool)
- func (o *SponsoredSend) GetToAddressId() string
- func (o *SponsoredSend) GetToAddressIdOk() (*string, bool)
- func (o *SponsoredSend) GetTransactionHash() string
- func (o *SponsoredSend) GetTransactionHashOk() (*string, bool)
- func (o *SponsoredSend) GetTransactionLink() string
- func (o *SponsoredSend) GetTransactionLinkOk() (*string, bool)
- func (o *SponsoredSend) GetTypedDataHash() string
- func (o *SponsoredSend) GetTypedDataHashOk() (*string, bool)
- func (o *SponsoredSend) HasSignature() bool
- func (o *SponsoredSend) HasTransactionHash() bool
- func (o *SponsoredSend) HasTransactionLink() bool
- func (o SponsoredSend) MarshalJSON() ([]byte, error)
- func (o *SponsoredSend) SetRawTypedData(v string)
- func (o *SponsoredSend) SetSignature(v string)
- func (o *SponsoredSend) SetStatus(v string)
- func (o *SponsoredSend) SetToAddressId(v string)
- func (o *SponsoredSend) SetTransactionHash(v string)
- func (o *SponsoredSend) SetTransactionLink(v string)
- func (o *SponsoredSend) SetTypedDataHash(v string)
- func (o SponsoredSend) ToMap() (map[string]interface{}, error)
- func (o *SponsoredSend) UnmarshalJSON(data []byte) (err error)
- type StakeAPI
- type StakeAPIService
- func (a *StakeAPIService) BuildStakingOperation(ctx context.Context) ApiBuildStakingOperationRequest
- func (a *StakeAPIService) BuildStakingOperationExecute(r ApiBuildStakingOperationRequest) (*StakingOperation, *http.Response, error)
- func (a *StakeAPIService) FetchHistoricalStakingBalances(ctx context.Context, networkId string, addressId string) ApiFetchHistoricalStakingBalancesRequest
- func (a *StakeAPIService) FetchHistoricalStakingBalancesExecute(r ApiFetchHistoricalStakingBalancesRequest) (*FetchHistoricalStakingBalances200Response, *http.Response, error)
- func (a *StakeAPIService) FetchStakingRewards(ctx context.Context) ApiFetchStakingRewardsRequest
- func (a *StakeAPIService) FetchStakingRewardsExecute(r ApiFetchStakingRewardsRequest) (*FetchStakingRewards200Response, *http.Response, error)
- func (a *StakeAPIService) GetExternalStakingOperation(ctx context.Context, networkId string, addressId string, ...) ApiGetExternalStakingOperationRequest
- func (a *StakeAPIService) GetExternalStakingOperationExecute(r ApiGetExternalStakingOperationRequest) (*StakingOperation, *http.Response, error)
- func (a *StakeAPIService) GetStakingContext(ctx context.Context) ApiGetStakingContextRequest
- func (a *StakeAPIService) GetStakingContextExecute(r ApiGetStakingContextRequest) (*StakingContext, *http.Response, error)
- type StakingBalance
- func (o *StakingBalance) GetAddress() string
- func (o *StakingBalance) GetAddressOk() (*string, bool)
- func (o *StakingBalance) GetBondedStake() Balance
- func (o *StakingBalance) GetBondedStakeOk() (*Balance, bool)
- func (o *StakingBalance) GetDate() string
- func (o *StakingBalance) GetDateOk() (*string, bool)
- func (o *StakingBalance) GetParticipantType() string
- func (o *StakingBalance) GetParticipantTypeOk() (*string, bool)
- func (o *StakingBalance) GetUnbondedBalance() Balance
- func (o *StakingBalance) GetUnbondedBalanceOk() (*Balance, bool)
- func (o StakingBalance) MarshalJSON() ([]byte, error)
- func (o *StakingBalance) SetAddress(v string)
- func (o *StakingBalance) SetBondedStake(v Balance)
- func (o *StakingBalance) SetDate(v string)
- func (o *StakingBalance) SetParticipantType(v string)
- func (o *StakingBalance) SetUnbondedBalance(v Balance)
- func (o StakingBalance) ToMap() (map[string]interface{}, error)
- func (o *StakingBalance) UnmarshalJSON(data []byte) (err error)
- type StakingContext
- func (o *StakingContext) GetContext() StakingContextContext
- func (o *StakingContext) GetContextOk() (*StakingContextContext, bool)
- func (o StakingContext) MarshalJSON() ([]byte, error)
- func (o *StakingContext) SetContext(v StakingContextContext)
- func (o StakingContext) ToMap() (map[string]interface{}, error)
- func (o *StakingContext) UnmarshalJSON(data []byte) (err error)
- type StakingContextContext
- func (o *StakingContextContext) GetClaimableBalance() Balance
- func (o *StakingContextContext) GetClaimableBalanceOk() (*Balance, bool)
- func (o *StakingContextContext) GetStakeableBalance() Balance
- func (o *StakingContextContext) GetStakeableBalanceOk() (*Balance, bool)
- func (o *StakingContextContext) GetUnstakeableBalance() Balance
- func (o *StakingContextContext) GetUnstakeableBalanceOk() (*Balance, bool)
- func (o StakingContextContext) MarshalJSON() ([]byte, error)
- func (o *StakingContextContext) SetClaimableBalance(v Balance)
- func (o *StakingContextContext) SetStakeableBalance(v Balance)
- func (o *StakingContextContext) SetUnstakeableBalance(v Balance)
- func (o StakingContextContext) ToMap() (map[string]interface{}, error)
- func (o *StakingContextContext) UnmarshalJSON(data []byte) (err error)
- type StakingOperation
- func (o *StakingOperation) GetAddressId() string
- func (o *StakingOperation) GetAddressIdOk() (*string, bool)
- func (o *StakingOperation) GetId() string
- func (o *StakingOperation) GetIdOk() (*string, bool)
- func (o *StakingOperation) GetMetadata() StakingOperationMetadata
- func (o *StakingOperation) GetMetadataOk() (*StakingOperationMetadata, bool)
- func (o *StakingOperation) GetNetworkId() string
- func (o *StakingOperation) GetNetworkIdOk() (*string, bool)
- func (o *StakingOperation) GetStatus() string
- func (o *StakingOperation) GetStatusOk() (*string, bool)
- func (o *StakingOperation) GetTransactions() []Transaction
- func (o *StakingOperation) GetTransactionsOk() ([]Transaction, bool)
- func (o *StakingOperation) GetWalletId() string
- func (o *StakingOperation) GetWalletIdOk() (*string, bool)
- func (o *StakingOperation) HasMetadata() bool
- func (o *StakingOperation) HasWalletId() bool
- func (o StakingOperation) MarshalJSON() ([]byte, error)
- func (o *StakingOperation) SetAddressId(v string)
- func (o *StakingOperation) SetId(v string)
- func (o *StakingOperation) SetMetadata(v StakingOperationMetadata)
- func (o *StakingOperation) SetNetworkId(v string)
- func (o *StakingOperation) SetStatus(v string)
- func (o *StakingOperation) SetTransactions(v []Transaction)
- func (o *StakingOperation) SetWalletId(v string)
- func (o StakingOperation) ToMap() (map[string]interface{}, error)
- func (o *StakingOperation) UnmarshalJSON(data []byte) (err error)
- type StakingOperationMetadata
- type StakingReward
- func (o *StakingReward) GetAddressId() string
- func (o *StakingReward) GetAddressIdOk() (*string, bool)
- func (o *StakingReward) GetAmount() string
- func (o *StakingReward) GetAmountOk() (*string, bool)
- func (o *StakingReward) GetDate() string
- func (o *StakingReward) GetDateOk() (*string, bool)
- func (o *StakingReward) GetFormat() StakingRewardFormat
- func (o *StakingReward) GetFormatOk() (*StakingRewardFormat, bool)
- func (o *StakingReward) GetState() string
- func (o *StakingReward) GetStateOk() (*string, bool)
- func (o *StakingReward) GetUsdValue() StakingRewardUSDValue
- func (o *StakingReward) GetUsdValueOk() (*StakingRewardUSDValue, bool)
- func (o StakingReward) MarshalJSON() ([]byte, error)
- func (o *StakingReward) SetAddressId(v string)
- func (o *StakingReward) SetAmount(v string)
- func (o *StakingReward) SetDate(v string)
- func (o *StakingReward) SetFormat(v StakingRewardFormat)
- func (o *StakingReward) SetState(v string)
- func (o *StakingReward) SetUsdValue(v StakingRewardUSDValue)
- func (o StakingReward) ToMap() (map[string]interface{}, error)
- func (o *StakingReward) UnmarshalJSON(data []byte) (err error)
- type StakingRewardFormat
- type StakingRewardUSDValue
- func (o *StakingRewardUSDValue) GetAmount() string
- func (o *StakingRewardUSDValue) GetAmountOk() (*string, bool)
- func (o *StakingRewardUSDValue) GetConversionPrice() string
- func (o *StakingRewardUSDValue) GetConversionPriceOk() (*string, bool)
- func (o *StakingRewardUSDValue) GetConversionTime() time.Time
- func (o *StakingRewardUSDValue) GetConversionTimeOk() (*time.Time, bool)
- func (o StakingRewardUSDValue) MarshalJSON() ([]byte, error)
- func (o *StakingRewardUSDValue) SetAmount(v string)
- func (o *StakingRewardUSDValue) SetConversionPrice(v string)
- func (o *StakingRewardUSDValue) SetConversionTime(v time.Time)
- func (o StakingRewardUSDValue) ToMap() (map[string]interface{}, error)
- func (o *StakingRewardUSDValue) UnmarshalJSON(data []byte) (err error)
- type Trade
- func (o *Trade) GetAddressId() string
- func (o *Trade) GetAddressIdOk() (*string, bool)
- func (o *Trade) GetApproveTransaction() Transaction
- func (o *Trade) GetApproveTransactionOk() (*Transaction, bool)
- func (o *Trade) GetFromAmount() string
- func (o *Trade) GetFromAmountOk() (*string, bool)
- func (o *Trade) GetFromAsset() Asset
- func (o *Trade) GetFromAssetOk() (*Asset, bool)
- func (o *Trade) GetNetworkId() string
- func (o *Trade) GetNetworkIdOk() (*string, bool)
- func (o *Trade) GetToAmount() string
- func (o *Trade) GetToAmountOk() (*string, bool)
- func (o *Trade) GetToAsset() Asset
- func (o *Trade) GetToAssetOk() (*Asset, bool)
- func (o *Trade) GetTradeId() string
- func (o *Trade) GetTradeIdOk() (*string, bool)
- func (o *Trade) GetTransaction() Transaction
- func (o *Trade) GetTransactionOk() (*Transaction, bool)
- func (o *Trade) GetWalletId() string
- func (o *Trade) GetWalletIdOk() (*string, bool)
- func (o *Trade) HasApproveTransaction() bool
- func (o Trade) MarshalJSON() ([]byte, error)
- func (o *Trade) SetAddressId(v string)
- func (o *Trade) SetApproveTransaction(v Transaction)
- func (o *Trade) SetFromAmount(v string)
- func (o *Trade) SetFromAsset(v Asset)
- func (o *Trade) SetNetworkId(v string)
- func (o *Trade) SetToAmount(v string)
- func (o *Trade) SetToAsset(v Asset)
- func (o *Trade) SetTradeId(v string)
- func (o *Trade) SetTransaction(v Transaction)
- func (o *Trade) SetWalletId(v string)
- func (o Trade) ToMap() (map[string]interface{}, error)
- func (o *Trade) UnmarshalJSON(data []byte) (err error)
- type TradeList
- func (o *TradeList) GetData() []Trade
- func (o *TradeList) GetDataOk() ([]Trade, bool)
- func (o *TradeList) GetHasMore() bool
- func (o *TradeList) GetHasMoreOk() (*bool, bool)
- func (o *TradeList) GetNextPage() string
- func (o *TradeList) GetNextPageOk() (*string, bool)
- func (o *TradeList) GetTotalCount() int32
- func (o *TradeList) GetTotalCountOk() (*int32, bool)
- func (o TradeList) MarshalJSON() ([]byte, error)
- func (o *TradeList) SetData(v []Trade)
- func (o *TradeList) SetHasMore(v bool)
- func (o *TradeList) SetNextPage(v string)
- func (o *TradeList) SetTotalCount(v int32)
- func (o TradeList) ToMap() (map[string]interface{}, error)
- func (o *TradeList) UnmarshalJSON(data []byte) (err error)
- type TradesAPI
- type TradesAPIService
- func (a *TradesAPIService) BroadcastTrade(ctx context.Context, walletId string, addressId string, tradeId string) ApiBroadcastTradeRequest
- func (a *TradesAPIService) BroadcastTradeExecute(r ApiBroadcastTradeRequest) (*Trade, *http.Response, error)
- func (a *TradesAPIService) CreateTrade(ctx context.Context, walletId string, addressId string) ApiCreateTradeRequest
- func (a *TradesAPIService) CreateTradeExecute(r ApiCreateTradeRequest) (*Trade, *http.Response, error)
- func (a *TradesAPIService) GetTrade(ctx context.Context, walletId string, addressId string, tradeId string) ApiGetTradeRequest
- func (a *TradesAPIService) GetTradeExecute(r ApiGetTradeRequest) (*Trade, *http.Response, error)
- func (a *TradesAPIService) ListTrades(ctx context.Context, walletId string, addressId string) ApiListTradesRequest
- func (a *TradesAPIService) ListTradesExecute(r ApiListTradesRequest) (*TradeList, *http.Response, error)
- type Transaction
- func (o *Transaction) GetFromAddressId() string
- func (o *Transaction) GetFromAddressIdOk() (*string, bool)
- func (o *Transaction) GetNetworkId() string
- func (o *Transaction) GetNetworkIdOk() (*string, bool)
- func (o *Transaction) GetSignedPayload() string
- func (o *Transaction) GetSignedPayloadOk() (*string, bool)
- func (o *Transaction) GetStatus() string
- func (o *Transaction) GetStatusOk() (*string, bool)
- func (o *Transaction) GetToAddressId() string
- func (o *Transaction) GetToAddressIdOk() (*string, bool)
- func (o *Transaction) GetTransactionHash() string
- func (o *Transaction) GetTransactionHashOk() (*string, bool)
- func (o *Transaction) GetTransactionLink() string
- func (o *Transaction) GetTransactionLinkOk() (*string, bool)
- func (o *Transaction) GetUnsignedPayload() string
- func (o *Transaction) GetUnsignedPayloadOk() (*string, bool)
- func (o *Transaction) HasSignedPayload() bool
- func (o *Transaction) HasToAddressId() bool
- func (o *Transaction) HasTransactionHash() bool
- func (o *Transaction) HasTransactionLink() bool
- func (o Transaction) MarshalJSON() ([]byte, error)
- func (o *Transaction) SetFromAddressId(v string)
- func (o *Transaction) SetNetworkId(v string)
- func (o *Transaction) SetSignedPayload(v string)
- func (o *Transaction) SetStatus(v string)
- func (o *Transaction) SetToAddressId(v string)
- func (o *Transaction) SetTransactionHash(v string)
- func (o *Transaction) SetTransactionLink(v string)
- func (o *Transaction) SetUnsignedPayload(v string)
- func (o Transaction) ToMap() (map[string]interface{}, error)
- func (o *Transaction) UnmarshalJSON(data []byte) (err error)
- type TransactionType
- type Transfer
- func (o *Transfer) GetAddressId() string
- func (o *Transfer) GetAddressIdOk() (*string, bool)
- func (o *Transfer) GetAmount() string
- func (o *Transfer) GetAmountOk() (*string, bool)
- func (o *Transfer) GetAsset() Asset
- func (o *Transfer) GetAssetId() string
- func (o *Transfer) GetAssetIdOk() (*string, bool)
- func (o *Transfer) GetAssetOk() (*Asset, bool)
- func (o *Transfer) GetDestination() string
- func (o *Transfer) GetDestinationOk() (*string, bool)
- func (o *Transfer) GetGasless() bool
- func (o *Transfer) GetGaslessOk() (*bool, bool)
- func (o *Transfer) GetNetworkId() string
- func (o *Transfer) GetNetworkIdOk() (*string, bool)
- func (o *Transfer) GetSignedPayload() string
- func (o *Transfer) GetSignedPayloadOk() (*string, bool)
- func (o *Transfer) GetSponsoredSend() SponsoredSend
- func (o *Transfer) GetSponsoredSendOk() (*SponsoredSend, bool)
- func (o *Transfer) GetStatus() string
- func (o *Transfer) GetStatusOk() (*string, bool)
- func (o *Transfer) GetTransaction() Transaction
- func (o *Transfer) GetTransactionHash() string
- func (o *Transfer) GetTransactionHashOk() (*string, bool)
- func (o *Transfer) GetTransactionOk() (*Transaction, bool)
- func (o *Transfer) GetTransferId() string
- func (o *Transfer) GetTransferIdOk() (*string, bool)
- func (o *Transfer) GetUnsignedPayload() string
- func (o *Transfer) GetUnsignedPayloadOk() (*string, bool)
- func (o *Transfer) GetWalletId() string
- func (o *Transfer) GetWalletIdOk() (*string, bool)
- func (o *Transfer) HasSignedPayload() bool
- func (o *Transfer) HasSponsoredSend() bool
- func (o *Transfer) HasStatus() bool
- func (o *Transfer) HasTransaction() bool
- func (o *Transfer) HasTransactionHash() bool
- func (o *Transfer) HasUnsignedPayload() bool
- func (o Transfer) MarshalJSON() ([]byte, error)
- func (o *Transfer) SetAddressId(v string)
- func (o *Transfer) SetAmount(v string)
- func (o *Transfer) SetAsset(v Asset)
- func (o *Transfer) SetAssetId(v string)
- func (o *Transfer) SetDestination(v string)
- func (o *Transfer) SetGasless(v bool)
- func (o *Transfer) SetNetworkId(v string)
- func (o *Transfer) SetSignedPayload(v string)
- func (o *Transfer) SetSponsoredSend(v SponsoredSend)
- func (o *Transfer) SetStatus(v string)
- func (o *Transfer) SetTransaction(v Transaction)
- func (o *Transfer) SetTransactionHash(v string)
- func (o *Transfer) SetTransferId(v string)
- func (o *Transfer) SetUnsignedPayload(v string)
- func (o *Transfer) SetWalletId(v string)
- func (o Transfer) ToMap() (map[string]interface{}, error)
- func (o *Transfer) UnmarshalJSON(data []byte) (err error)
- type TransferList
- func (o *TransferList) GetData() []Transfer
- func (o *TransferList) GetDataOk() ([]Transfer, bool)
- func (o *TransferList) GetHasMore() bool
- func (o *TransferList) GetHasMoreOk() (*bool, bool)
- func (o *TransferList) GetNextPage() string
- func (o *TransferList) GetNextPageOk() (*string, bool)
- func (o *TransferList) GetTotalCount() int32
- func (o *TransferList) GetTotalCountOk() (*int32, bool)
- func (o TransferList) MarshalJSON() ([]byte, error)
- func (o *TransferList) SetData(v []Transfer)
- func (o *TransferList) SetHasMore(v bool)
- func (o *TransferList) SetNextPage(v string)
- func (o *TransferList) SetTotalCount(v int32)
- func (o TransferList) ToMap() (map[string]interface{}, error)
- func (o *TransferList) UnmarshalJSON(data []byte) (err error)
- type TransfersAPI
- type TransfersAPIService
- func (a *TransfersAPIService) BroadcastTransfer(ctx context.Context, walletId string, addressId string, transferId string) ApiBroadcastTransferRequest
- func (a *TransfersAPIService) BroadcastTransferExecute(r ApiBroadcastTransferRequest) (*Transfer, *http.Response, error)
- func (a *TransfersAPIService) CreateTransfer(ctx context.Context, walletId string, addressId string) ApiCreateTransferRequest
- func (a *TransfersAPIService) CreateTransferExecute(r ApiCreateTransferRequest) (*Transfer, *http.Response, error)
- func (a *TransfersAPIService) GetTransfer(ctx context.Context, walletId string, addressId string, transferId string) ApiGetTransferRequest
- func (a *TransfersAPIService) GetTransferExecute(r ApiGetTransferRequest) (*Transfer, *http.Response, error)
- func (a *TransfersAPIService) ListTransfers(ctx context.Context, walletId string, addressId string) ApiListTransfersRequest
- func (a *TransfersAPIService) ListTransfersExecute(r ApiListTransfersRequest) (*TransferList, *http.Response, error)
- type UpdateWebhookRequest
- func (o *UpdateWebhookRequest) GetEventFilters() []WebhookEventFilter
- func (o *UpdateWebhookRequest) GetEventFiltersOk() ([]WebhookEventFilter, bool)
- func (o *UpdateWebhookRequest) GetEventType() WebhookEventType
- func (o *UpdateWebhookRequest) GetEventTypeOk() (*WebhookEventType, bool)
- func (o *UpdateWebhookRequest) GetNetworkId() string
- func (o *UpdateWebhookRequest) GetNetworkIdOk() (*string, bool)
- func (o *UpdateWebhookRequest) GetNotificationUri() string
- func (o *UpdateWebhookRequest) GetNotificationUriOk() (*string, bool)
- func (o *UpdateWebhookRequest) HasNetworkId() bool
- func (o UpdateWebhookRequest) MarshalJSON() ([]byte, error)
- func (o *UpdateWebhookRequest) SetEventFilters(v []WebhookEventFilter)
- func (o *UpdateWebhookRequest) SetEventType(v WebhookEventType)
- func (o *UpdateWebhookRequest) SetNetworkId(v string)
- func (o *UpdateWebhookRequest) SetNotificationUri(v string)
- func (o UpdateWebhookRequest) ToMap() (map[string]interface{}, error)
- func (o *UpdateWebhookRequest) UnmarshalJSON(data []byte) (err error)
- type User
- func (o *User) GetDisplayName() string
- func (o *User) GetDisplayNameOk() (*string, bool)
- func (o *User) GetId() string
- func (o *User) GetIdOk() (*string, bool)
- func (o *User) HasDisplayName() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetDisplayName(v string)
- func (o *User) SetId(v string)
- func (o User) ToMap() (map[string]interface{}, error)
- func (o *User) UnmarshalJSON(data []byte) (err error)
- type UsersAPI
- type UsersAPIService
- type Validator
- func (o *Validator) GetAssetId() string
- func (o *Validator) GetAssetIdOk() (*string, bool)
- func (o *Validator) GetDetails() ValidatorDetails
- func (o *Validator) GetDetailsOk() (*ValidatorDetails, bool)
- func (o *Validator) GetNetworkId() string
- func (o *Validator) GetNetworkIdOk() (*string, bool)
- func (o *Validator) GetStatus() ValidatorStatus
- func (o *Validator) GetStatusOk() (*ValidatorStatus, bool)
- func (o *Validator) GetValidatorId() string
- func (o *Validator) GetValidatorIdOk() (*string, bool)
- func (o *Validator) HasDetails() bool
- func (o Validator) MarshalJSON() ([]byte, error)
- func (o *Validator) SetAssetId(v string)
- func (o *Validator) SetDetails(v ValidatorDetails)
- func (o *Validator) SetNetworkId(v string)
- func (o *Validator) SetStatus(v ValidatorStatus)
- func (o *Validator) SetValidatorId(v string)
- func (o Validator) ToMap() (map[string]interface{}, error)
- func (o *Validator) UnmarshalJSON(data []byte) (err error)
- type ValidatorDetails
- type ValidatorList
- func (o *ValidatorList) GetData() []Validator
- func (o *ValidatorList) GetDataOk() ([]Validator, bool)
- func (o *ValidatorList) GetHasMore() bool
- func (o *ValidatorList) GetHasMoreOk() (*bool, bool)
- func (o *ValidatorList) GetNextPage() string
- func (o *ValidatorList) GetNextPageOk() (*string, bool)
- func (o ValidatorList) MarshalJSON() ([]byte, error)
- func (o *ValidatorList) SetData(v []Validator)
- func (o *ValidatorList) SetHasMore(v bool)
- func (o *ValidatorList) SetNextPage(v string)
- func (o ValidatorList) ToMap() (map[string]interface{}, error)
- func (o *ValidatorList) UnmarshalJSON(data []byte) (err error)
- type ValidatorStatus
- type ValidatorsAPI
- type ValidatorsAPIService
- func (a *ValidatorsAPIService) GetValidator(ctx context.Context, networkId string, assetId string, validatorId string) ApiGetValidatorRequest
- func (a *ValidatorsAPIService) GetValidatorExecute(r ApiGetValidatorRequest) (*Validator, *http.Response, error)
- func (a *ValidatorsAPIService) ListValidators(ctx context.Context, networkId string, assetId string) ApiListValidatorsRequest
- func (a *ValidatorsAPIService) ListValidatorsExecute(r ApiListValidatorsRequest) (*ValidatorList, *http.Response, error)
- type Wallet
- func (o *Wallet) GetDefaultAddress() Address
- func (o *Wallet) GetDefaultAddressOk() (*Address, bool)
- func (o *Wallet) GetFeatureSet() FeatureSet
- func (o *Wallet) GetFeatureSetOk() (*FeatureSet, bool)
- func (o *Wallet) GetId() string
- func (o *Wallet) GetIdOk() (*string, bool)
- func (o *Wallet) GetNetworkId() string
- func (o *Wallet) GetNetworkIdOk() (*string, bool)
- func (o *Wallet) GetServerSignerStatus() string
- func (o *Wallet) GetServerSignerStatusOk() (*string, bool)
- func (o *Wallet) HasDefaultAddress() bool
- func (o *Wallet) HasServerSignerStatus() bool
- func (o Wallet) MarshalJSON() ([]byte, error)
- func (o *Wallet) SetDefaultAddress(v Address)
- func (o *Wallet) SetFeatureSet(v FeatureSet)
- func (o *Wallet) SetId(v string)
- func (o *Wallet) SetNetworkId(v string)
- func (o *Wallet) SetServerSignerStatus(v string)
- func (o Wallet) ToMap() (map[string]interface{}, error)
- func (o *Wallet) UnmarshalJSON(data []byte) (err error)
- type WalletList
- func (o *WalletList) GetData() []Wallet
- func (o *WalletList) GetDataOk() ([]Wallet, bool)
- func (o *WalletList) GetHasMore() bool
- func (o *WalletList) GetHasMoreOk() (*bool, bool)
- func (o *WalletList) GetNextPage() string
- func (o *WalletList) GetNextPageOk() (*string, bool)
- func (o *WalletList) GetTotalCount() int32
- func (o *WalletList) GetTotalCountOk() (*int32, bool)
- func (o WalletList) MarshalJSON() ([]byte, error)
- func (o *WalletList) SetData(v []Wallet)
- func (o *WalletList) SetHasMore(v bool)
- func (o *WalletList) SetNextPage(v string)
- func (o *WalletList) SetTotalCount(v int32)
- func (o WalletList) ToMap() (map[string]interface{}, error)
- func (o *WalletList) UnmarshalJSON(data []byte) (err error)
- type WalletStakeAPI
- type WalletStakeAPIService
- func (a *WalletStakeAPIService) BroadcastStakingOperation(ctx context.Context, walletId string, addressId string, ...) ApiBroadcastStakingOperationRequest
- func (a *WalletStakeAPIService) BroadcastStakingOperationExecute(r ApiBroadcastStakingOperationRequest) (*StakingOperation, *http.Response, error)
- func (a *WalletStakeAPIService) CreateStakingOperation(ctx context.Context, walletId string, addressId string) ApiCreateStakingOperationRequest
- func (a *WalletStakeAPIService) CreateStakingOperationExecute(r ApiCreateStakingOperationRequest) (*StakingOperation, *http.Response, error)
- func (a *WalletStakeAPIService) GetStakingOperation(ctx context.Context, walletId string, addressId string, ...) ApiGetStakingOperationRequest
- func (a *WalletStakeAPIService) GetStakingOperationExecute(r ApiGetStakingOperationRequest) (*StakingOperation, *http.Response, error)
- type WalletsAPI
- type WalletsAPIService
- func (a *WalletsAPIService) CreateWallet(ctx context.Context) ApiCreateWalletRequest
- func (a *WalletsAPIService) CreateWalletExecute(r ApiCreateWalletRequest) (*Wallet, *http.Response, error)
- func (a *WalletsAPIService) GetWallet(ctx context.Context, walletId string) ApiGetWalletRequest
- func (a *WalletsAPIService) GetWalletBalance(ctx context.Context, walletId string, assetId string) ApiGetWalletBalanceRequest
- func (a *WalletsAPIService) GetWalletBalanceExecute(r ApiGetWalletBalanceRequest) (*Balance, *http.Response, error)
- func (a *WalletsAPIService) GetWalletExecute(r ApiGetWalletRequest) (*Wallet, *http.Response, error)
- func (a *WalletsAPIService) ListWalletBalances(ctx context.Context, walletId string) ApiListWalletBalancesRequest
- func (a *WalletsAPIService) ListWalletBalancesExecute(r ApiListWalletBalancesRequest) (*AddressBalanceList, *http.Response, error)
- func (a *WalletsAPIService) ListWallets(ctx context.Context) ApiListWalletsRequest
- func (a *WalletsAPIService) ListWalletsExecute(r ApiListWalletsRequest) (*WalletList, *http.Response, error)
- type Webhook
- func (o *Webhook) GetCreatedAt() time.Time
- func (o *Webhook) GetCreatedAtOk() (*time.Time, bool)
- func (o *Webhook) GetEventFilters() []WebhookEventFilter
- func (o *Webhook) GetEventFiltersOk() ([]WebhookEventFilter, bool)
- func (o *Webhook) GetEventType() WebhookEventType
- func (o *Webhook) GetEventTypeOk() (*WebhookEventType, bool)
- func (o *Webhook) GetId() string
- func (o *Webhook) GetIdOk() (*string, bool)
- func (o *Webhook) GetNetworkId() string
- func (o *Webhook) GetNetworkIdOk() (*string, bool)
- func (o *Webhook) GetNotificationUri() string
- func (o *Webhook) GetNotificationUriOk() (*string, bool)
- func (o *Webhook) GetUpdatedAt() time.Time
- func (o *Webhook) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Webhook) HasCreatedAt() bool
- func (o *Webhook) HasEventFilters() bool
- func (o *Webhook) HasEventType() bool
- func (o *Webhook) HasId() bool
- func (o *Webhook) HasNetworkId() bool
- func (o *Webhook) HasNotificationUri() bool
- func (o *Webhook) HasUpdatedAt() bool
- func (o Webhook) MarshalJSON() ([]byte, error)
- func (o *Webhook) SetCreatedAt(v time.Time)
- func (o *Webhook) SetEventFilters(v []WebhookEventFilter)
- func (o *Webhook) SetEventType(v WebhookEventType)
- func (o *Webhook) SetId(v string)
- func (o *Webhook) SetNetworkId(v string)
- func (o *Webhook) SetNotificationUri(v string)
- func (o *Webhook) SetUpdatedAt(v time.Time)
- func (o Webhook) ToMap() (map[string]interface{}, error)
- type WebhookEventFilter
- func (o *WebhookEventFilter) GetContractAddress() string
- func (o *WebhookEventFilter) GetContractAddressOk() (*string, bool)
- func (o *WebhookEventFilter) GetFromAddress() string
- func (o *WebhookEventFilter) GetFromAddressOk() (*string, bool)
- func (o *WebhookEventFilter) GetToAddress() string
- func (o *WebhookEventFilter) GetToAddressOk() (*string, bool)
- func (o *WebhookEventFilter) HasContractAddress() bool
- func (o *WebhookEventFilter) HasFromAddress() bool
- func (o *WebhookEventFilter) HasToAddress() bool
- func (o WebhookEventFilter) MarshalJSON() ([]byte, error)
- func (o *WebhookEventFilter) SetContractAddress(v string)
- func (o *WebhookEventFilter) SetFromAddress(v string)
- func (o *WebhookEventFilter) SetToAddress(v string)
- func (o WebhookEventFilter) ToMap() (map[string]interface{}, error)
- type WebhookEventType
- type WebhookList
- func (o *WebhookList) GetData() []Webhook
- func (o *WebhookList) GetDataOk() ([]Webhook, bool)
- func (o *WebhookList) GetHasMore() bool
- func (o *WebhookList) GetHasMoreOk() (*bool, bool)
- func (o *WebhookList) GetNextPage() string
- func (o *WebhookList) GetNextPageOk() (*string, bool)
- func (o *WebhookList) HasHasMore() bool
- func (o *WebhookList) HasNextPage() bool
- func (o WebhookList) MarshalJSON() ([]byte, error)
- func (o *WebhookList) SetData(v []Webhook)
- func (o *WebhookList) SetHasMore(v bool)
- func (o *WebhookList) SetNextPage(v string)
- func (o WebhookList) ToMap() (map[string]interface{}, error)
- func (o *WebhookList) UnmarshalJSON(data []byte) (err error)
- type WebhooksAPI
- type WebhooksAPIService
- func (a *WebhooksAPIService) CreateWebhook(ctx context.Context) ApiCreateWebhookRequest
- func (a *WebhooksAPIService) CreateWebhookExecute(r ApiCreateWebhookRequest) (*Webhook, *http.Response, error)
- func (a *WebhooksAPIService) DeleteWebhook(ctx context.Context, webhookId string) ApiDeleteWebhookRequest
- func (a *WebhooksAPIService) DeleteWebhookExecute(r ApiDeleteWebhookRequest) (*http.Response, error)
- func (a *WebhooksAPIService) ListWebhooks(ctx context.Context) ApiListWebhooksRequest
- func (a *WebhooksAPIService) ListWebhooksExecute(r ApiListWebhooksRequest) (*WebhookList, *http.Response, error)
- func (a *WebhooksAPIService) UpdateWebhook(ctx context.Context, webhookId string) ApiUpdateWebhookRequest
- func (a *WebhooksAPIService) UpdateWebhookExecute(r ApiUpdateWebhookRequest) (*Webhook, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedFeatureEnumValues = []Feature{
"transfer",
"trade",
"faucet",
"server_signer",
}
All allowed values of Feature enum
var AllowedNetworkIdentifierEnumValues = []NetworkIdentifier{
"base-sepolia",
"base-mainnet",
"ethereum-holesky",
"ethereum-mainnet",
"polygon-mainnet",
}
All allowed values of NetworkIdentifier enum
var AllowedStakingRewardFormatEnumValues = []StakingRewardFormat{
"usd",
"native",
}
All allowed values of StakingRewardFormat enum
var AllowedTransactionTypeEnumValues = []TransactionType{
"transfer",
}
All allowed values of TransactionType enum
var AllowedValidatorStatusEnumValues = []ValidatorStatus{
"unknown",
"provisioning",
"provisioned",
"deposited",
"pending_activation",
"active",
"exiting",
"exited",
"withdrawal_available",
"withdrawal_complete",
"active_slashed",
"exited_slashed",
"reaped",
}
All allowed values of ValidatorStatus enum
var AllowedWebhookEventTypeEnumValues = []WebhookEventType{
"unspecified",
"erc20_transfer",
"erc721_transfer",
}
All allowed values of WebhookEventType enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { AddressesAPI AddressesAPI AssetsAPI AssetsAPI ContractEventsAPI ContractEventsAPI ExternalAddressesAPI ExternalAddressesAPI NetworksAPI NetworksAPI ServerSignersAPI ServerSignersAPI StakeAPI StakeAPI TradesAPI TradesAPI TransfersAPI TransfersAPI UsersAPI UsersAPI ValidatorsAPI ValidatorsAPI WalletStakeAPI WalletStakeAPI WalletsAPI WalletsAPI WebhooksAPI WebhooksAPI // contains filtered or unexported fields }
APIClient manages communication with the Coinbase Platform API API v0.0.1-alpha 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 Address ¶
type Address struct { // The ID of the wallet that owns the address WalletId string `json:"wallet_id"` // The ID of the blockchain network NetworkId string `json:"network_id"` // The public key from which the address is derived. PublicKey string `json:"public_key"` // The onchain address derived on the server-side. AddressId string `json:"address_id"` // The index of the address in the wallet. Index int32 `json:"index"` }
Address struct for Address
func NewAddress ¶
func NewAddress(walletId string, networkId string, publicKey string, addressId string, index int32) *Address
NewAddress instantiates a new Address 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 NewAddressWithDefaults ¶
func NewAddressWithDefaults() *Address
NewAddressWithDefaults instantiates a new Address 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 (*Address) GetAddressId ¶
GetAddressId returns the AddressId field value
func (*Address) GetAddressIdOk ¶
GetAddressIdOk returns a tuple with the AddressId field value and a boolean to check if the value has been set.
func (*Address) GetIndexOk ¶
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*Address) GetNetworkId ¶
GetNetworkId returns the NetworkId field value
func (*Address) GetNetworkIdOk ¶
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*Address) GetPublicKey ¶
GetPublicKey returns the PublicKey field value
func (*Address) GetPublicKeyOk ¶
GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.
func (*Address) GetWalletId ¶
GetWalletId returns the WalletId field value
func (*Address) GetWalletIdOk ¶
GetWalletIdOk returns a tuple with the WalletId field value and a boolean to check if the value has been set.
func (Address) MarshalJSON ¶
func (*Address) SetAddressId ¶
SetAddressId sets field value
func (*Address) SetNetworkId ¶
SetNetworkId sets field value
func (*Address) SetPublicKey ¶
SetPublicKey sets field value
func (*Address) UnmarshalJSON ¶
type AddressBalanceList ¶
type AddressBalanceList struct { Data []Balance `json:"data"` // True if this list has another page of items after this one that can be fetched. HasMore bool `json:"has_more"` // The page token to be used to fetch the next page. NextPage string `json:"next_page"` // The total number of balances for the wallet. TotalCount int32 `json:"total_count"` }
AddressBalanceList
func NewAddressBalanceList ¶
func NewAddressBalanceList(data []Balance, hasMore bool, nextPage string, totalCount int32) *AddressBalanceList
NewAddressBalanceList instantiates a new AddressBalanceList 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 NewAddressBalanceListWithDefaults ¶
func NewAddressBalanceListWithDefaults() *AddressBalanceList
NewAddressBalanceListWithDefaults instantiates a new AddressBalanceList 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 (*AddressBalanceList) GetData ¶
func (o *AddressBalanceList) GetData() []Balance
GetData returns the Data field value
func (*AddressBalanceList) GetDataOk ¶
func (o *AddressBalanceList) GetDataOk() ([]Balance, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*AddressBalanceList) GetHasMore ¶
func (o *AddressBalanceList) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*AddressBalanceList) GetHasMoreOk ¶
func (o *AddressBalanceList) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*AddressBalanceList) GetNextPage ¶
func (o *AddressBalanceList) GetNextPage() string
GetNextPage returns the NextPage field value
func (*AddressBalanceList) GetNextPageOk ¶
func (o *AddressBalanceList) GetNextPageOk() (*string, bool)
GetNextPageOk returns a tuple with the NextPage field value and a boolean to check if the value has been set.
func (*AddressBalanceList) GetTotalCount ¶
func (o *AddressBalanceList) GetTotalCount() int32
GetTotalCount returns the TotalCount field value
func (*AddressBalanceList) GetTotalCountOk ¶
func (o *AddressBalanceList) GetTotalCountOk() (*int32, bool)
GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.
func (AddressBalanceList) MarshalJSON ¶
func (o AddressBalanceList) MarshalJSON() ([]byte, error)
func (*AddressBalanceList) SetData ¶
func (o *AddressBalanceList) SetData(v []Balance)
SetData sets field value
func (*AddressBalanceList) SetHasMore ¶
func (o *AddressBalanceList) SetHasMore(v bool)
SetHasMore sets field value
func (*AddressBalanceList) SetNextPage ¶
func (o *AddressBalanceList) SetNextPage(v string)
SetNextPage sets field value
func (*AddressBalanceList) SetTotalCount ¶
func (o *AddressBalanceList) SetTotalCount(v int32)
SetTotalCount sets field value
func (AddressBalanceList) ToMap ¶
func (o AddressBalanceList) ToMap() (map[string]interface{}, error)
func (*AddressBalanceList) UnmarshalJSON ¶
func (o *AddressBalanceList) UnmarshalJSON(data []byte) (err error)
type AddressHistoricalBalanceList ¶
type AddressHistoricalBalanceList struct { Data []HistoricalBalance `json:"data"` // True if this list has another page of items after this one that can be fetched. HasMore bool `json:"has_more"` // The page token to be used to fetch the next page. NextPage string `json:"next_page"` }
AddressHistoricalBalanceList
func NewAddressHistoricalBalanceList ¶
func NewAddressHistoricalBalanceList(data []HistoricalBalance, hasMore bool, nextPage string) *AddressHistoricalBalanceList
NewAddressHistoricalBalanceList instantiates a new AddressHistoricalBalanceList 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 NewAddressHistoricalBalanceListWithDefaults ¶
func NewAddressHistoricalBalanceListWithDefaults() *AddressHistoricalBalanceList
NewAddressHistoricalBalanceListWithDefaults instantiates a new AddressHistoricalBalanceList 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 (*AddressHistoricalBalanceList) GetData ¶
func (o *AddressHistoricalBalanceList) GetData() []HistoricalBalance
GetData returns the Data field value
func (*AddressHistoricalBalanceList) GetDataOk ¶
func (o *AddressHistoricalBalanceList) GetDataOk() ([]HistoricalBalance, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*AddressHistoricalBalanceList) GetHasMore ¶
func (o *AddressHistoricalBalanceList) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*AddressHistoricalBalanceList) GetHasMoreOk ¶
func (o *AddressHistoricalBalanceList) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*AddressHistoricalBalanceList) GetNextPage ¶
func (o *AddressHistoricalBalanceList) GetNextPage() string
GetNextPage returns the NextPage field value
func (*AddressHistoricalBalanceList) GetNextPageOk ¶
func (o *AddressHistoricalBalanceList) GetNextPageOk() (*string, bool)
GetNextPageOk returns a tuple with the NextPage field value and a boolean to check if the value has been set.
func (AddressHistoricalBalanceList) MarshalJSON ¶
func (o AddressHistoricalBalanceList) MarshalJSON() ([]byte, error)
func (*AddressHistoricalBalanceList) SetData ¶
func (o *AddressHistoricalBalanceList) SetData(v []HistoricalBalance)
SetData sets field value
func (*AddressHistoricalBalanceList) SetHasMore ¶
func (o *AddressHistoricalBalanceList) SetHasMore(v bool)
SetHasMore sets field value
func (*AddressHistoricalBalanceList) SetNextPage ¶
func (o *AddressHistoricalBalanceList) SetNextPage(v string)
SetNextPage sets field value
func (AddressHistoricalBalanceList) ToMap ¶
func (o AddressHistoricalBalanceList) ToMap() (map[string]interface{}, error)
func (*AddressHistoricalBalanceList) UnmarshalJSON ¶
func (o *AddressHistoricalBalanceList) UnmarshalJSON(data []byte) (err error)
type AddressList ¶
type AddressList struct { Data []Address `json:"data"` // True if this list has another page of items after this one that can be fetched. HasMore bool `json:"has_more"` // The page token to be used to fetch the next page. NextPage string `json:"next_page"` // The total number of addresses for the wallet. TotalCount int32 `json:"total_count"` }
AddressList
func NewAddressList ¶
func NewAddressList(data []Address, hasMore bool, nextPage string, totalCount int32) *AddressList
NewAddressList instantiates a new AddressList 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 NewAddressListWithDefaults ¶
func NewAddressListWithDefaults() *AddressList
NewAddressListWithDefaults instantiates a new AddressList 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 (*AddressList) GetData ¶
func (o *AddressList) GetData() []Address
GetData returns the Data field value
func (*AddressList) GetDataOk ¶
func (o *AddressList) GetDataOk() ([]Address, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*AddressList) GetHasMore ¶
func (o *AddressList) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*AddressList) GetHasMoreOk ¶
func (o *AddressList) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*AddressList) GetNextPage ¶
func (o *AddressList) GetNextPage() string
GetNextPage returns the NextPage field value
func (*AddressList) GetNextPageOk ¶
func (o *AddressList) GetNextPageOk() (*string, bool)
GetNextPageOk returns a tuple with the NextPage field value and a boolean to check if the value has been set.
func (*AddressList) GetTotalCount ¶
func (o *AddressList) GetTotalCount() int32
GetTotalCount returns the TotalCount field value
func (*AddressList) GetTotalCountOk ¶
func (o *AddressList) GetTotalCountOk() (*int32, bool)
GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.
func (AddressList) MarshalJSON ¶
func (o AddressList) MarshalJSON() ([]byte, error)
func (*AddressList) SetHasMore ¶
func (o *AddressList) SetHasMore(v bool)
SetHasMore sets field value
func (*AddressList) SetNextPage ¶
func (o *AddressList) SetNextPage(v string)
SetNextPage sets field value
func (*AddressList) SetTotalCount ¶
func (o *AddressList) SetTotalCount(v int32)
SetTotalCount sets field value
func (AddressList) ToMap ¶
func (o AddressList) ToMap() (map[string]interface{}, error)
func (*AddressList) UnmarshalJSON ¶
func (o *AddressList) UnmarshalJSON(data []byte) (err error)
type AddressesAPI ¶
type AddressesAPI interface { /* CreateAddress Create a new address Create a new address scoped to the wallet. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet to create the address in. @return ApiCreateAddressRequest */ CreateAddress(ctx context.Context, walletId string) ApiCreateAddressRequest // CreateAddressExecute executes the request // @return Address CreateAddressExecute(r ApiCreateAddressRequest) (*Address, *http.Response, error) /* GetAddress Get address by onchain address Get address @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to. @param addressId The onchain address of the address that is being fetched. @return ApiGetAddressRequest */ GetAddress(ctx context.Context, walletId string, addressId string) ApiGetAddressRequest // GetAddressExecute executes the request // @return Address GetAddressExecute(r ApiGetAddressRequest) (*Address, *http.Response, error) /* GetAddressBalance Get address balance for asset Get address balance @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet to fetch the balance for @param addressId The onchain address of the address that is being fetched. @param assetId The symbol of the asset to fetch the balance for @return ApiGetAddressBalanceRequest */ GetAddressBalance(ctx context.Context, walletId string, addressId string, assetId string) ApiGetAddressBalanceRequest // GetAddressBalanceExecute executes the request // @return Balance GetAddressBalanceExecute(r ApiGetAddressBalanceRequest) (*Balance, *http.Response, error) /* ListAddressBalances Get all balances for address Get address balances @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet to fetch the balances for @param addressId The onchain address of the address that is being fetched. @return ApiListAddressBalancesRequest */ ListAddressBalances(ctx context.Context, walletId string, addressId string) ApiListAddressBalancesRequest // ListAddressBalancesExecute executes the request // @return AddressBalanceList ListAddressBalancesExecute(r ApiListAddressBalancesRequest) (*AddressBalanceList, *http.Response, error) /* ListAddresses List addresses in a wallet. List addresses in the wallet. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet whose addresses to fetch @return ApiListAddressesRequest */ ListAddresses(ctx context.Context, walletId string) ApiListAddressesRequest // ListAddressesExecute executes the request // @return AddressList ListAddressesExecute(r ApiListAddressesRequest) (*AddressList, *http.Response, error) /* RequestFaucetFunds Request faucet funds for onchain address. Request faucet funds to be sent to onchain address. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to. @param addressId The onchain address of the address that is being fetched. @return ApiRequestFaucetFundsRequest */ RequestFaucetFunds(ctx context.Context, walletId string, addressId string) ApiRequestFaucetFundsRequest // RequestFaucetFundsExecute executes the request // @return FaucetTransaction RequestFaucetFundsExecute(r ApiRequestFaucetFundsRequest) (*FaucetTransaction, *http.Response, error) }
type AddressesAPIService ¶
type AddressesAPIService service
AddressesAPIService AddressesAPI service
func (*AddressesAPIService) CreateAddress ¶
func (a *AddressesAPIService) CreateAddress(ctx context.Context, walletId string) ApiCreateAddressRequest
CreateAddress Create a new address
Create a new address scoped to the wallet.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet to create the address in. @return ApiCreateAddressRequest
func (*AddressesAPIService) CreateAddressExecute ¶
func (a *AddressesAPIService) CreateAddressExecute(r ApiCreateAddressRequest) (*Address, *http.Response, error)
Execute executes the request
@return Address
func (*AddressesAPIService) GetAddress ¶
func (a *AddressesAPIService) GetAddress(ctx context.Context, walletId string, addressId string) ApiGetAddressRequest
GetAddress Get address by onchain address
Get address
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to. @param addressId The onchain address of the address that is being fetched. @return ApiGetAddressRequest
func (*AddressesAPIService) GetAddressBalance ¶
func (a *AddressesAPIService) GetAddressBalance(ctx context.Context, walletId string, addressId string, assetId string) ApiGetAddressBalanceRequest
GetAddressBalance Get address balance for asset
Get address balance
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet to fetch the balance for @param addressId The onchain address of the address that is being fetched. @param assetId The symbol of the asset to fetch the balance for @return ApiGetAddressBalanceRequest
func (*AddressesAPIService) GetAddressBalanceExecute ¶
func (a *AddressesAPIService) GetAddressBalanceExecute(r ApiGetAddressBalanceRequest) (*Balance, *http.Response, error)
Execute executes the request
@return Balance
func (*AddressesAPIService) GetAddressExecute ¶
func (a *AddressesAPIService) GetAddressExecute(r ApiGetAddressRequest) (*Address, *http.Response, error)
Execute executes the request
@return Address
func (*AddressesAPIService) ListAddressBalances ¶
func (a *AddressesAPIService) ListAddressBalances(ctx context.Context, walletId string, addressId string) ApiListAddressBalancesRequest
ListAddressBalances Get all balances for address
Get address balances
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet to fetch the balances for @param addressId The onchain address of the address that is being fetched. @return ApiListAddressBalancesRequest
func (*AddressesAPIService) ListAddressBalancesExecute ¶
func (a *AddressesAPIService) ListAddressBalancesExecute(r ApiListAddressBalancesRequest) (*AddressBalanceList, *http.Response, error)
Execute executes the request
@return AddressBalanceList
func (*AddressesAPIService) ListAddresses ¶
func (a *AddressesAPIService) ListAddresses(ctx context.Context, walletId string) ApiListAddressesRequest
ListAddresses List addresses in a wallet.
List addresses in the wallet.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet whose addresses to fetch @return ApiListAddressesRequest
func (*AddressesAPIService) ListAddressesExecute ¶
func (a *AddressesAPIService) ListAddressesExecute(r ApiListAddressesRequest) (*AddressList, *http.Response, error)
Execute executes the request
@return AddressList
func (*AddressesAPIService) RequestFaucetFunds ¶
func (a *AddressesAPIService) RequestFaucetFunds(ctx context.Context, walletId string, addressId string) ApiRequestFaucetFundsRequest
RequestFaucetFunds Request faucet funds for onchain address.
Request faucet funds to be sent to onchain address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to. @param addressId The onchain address of the address that is being fetched. @return ApiRequestFaucetFundsRequest
func (*AddressesAPIService) RequestFaucetFundsExecute ¶
func (a *AddressesAPIService) RequestFaucetFundsExecute(r ApiRequestFaucetFundsRequest) (*FaucetTransaction, *http.Response, error)
Execute executes the request
@return FaucetTransaction
type ApiBroadcastStakingOperationRequest ¶
type ApiBroadcastStakingOperationRequest struct { ApiService WalletStakeAPI // contains filtered or unexported fields }
func (ApiBroadcastStakingOperationRequest) BroadcastStakingOperationRequest ¶
func (r ApiBroadcastStakingOperationRequest) BroadcastStakingOperationRequest(broadcastStakingOperationRequest BroadcastStakingOperationRequest) ApiBroadcastStakingOperationRequest
func (ApiBroadcastStakingOperationRequest) Execute ¶
func (r ApiBroadcastStakingOperationRequest) Execute() (*StakingOperation, *http.Response, error)
type ApiBroadcastTradeRequest ¶
type ApiBroadcastTradeRequest struct { ApiService TradesAPI // contains filtered or unexported fields }
func (ApiBroadcastTradeRequest) BroadcastTradeRequest ¶
func (r ApiBroadcastTradeRequest) BroadcastTradeRequest(broadcastTradeRequest BroadcastTradeRequest) ApiBroadcastTradeRequest
type ApiBroadcastTransferRequest ¶
type ApiBroadcastTransferRequest struct { ApiService TransfersAPI // contains filtered or unexported fields }
func (ApiBroadcastTransferRequest) BroadcastTransferRequest ¶
func (r ApiBroadcastTransferRequest) BroadcastTransferRequest(broadcastTransferRequest BroadcastTransferRequest) ApiBroadcastTransferRequest
type ApiBuildStakingOperationRequest ¶
type ApiBuildStakingOperationRequest struct { ApiService StakeAPI // contains filtered or unexported fields }
func (ApiBuildStakingOperationRequest) BuildStakingOperationRequest ¶
func (r ApiBuildStakingOperationRequest) BuildStakingOperationRequest(buildStakingOperationRequest BuildStakingOperationRequest) ApiBuildStakingOperationRequest
func (ApiBuildStakingOperationRequest) Execute ¶
func (r ApiBuildStakingOperationRequest) Execute() (*StakingOperation, *http.Response, error)
type ApiCreateAddressRequest ¶
type ApiCreateAddressRequest struct { ApiService AddressesAPI // contains filtered or unexported fields }
func (ApiCreateAddressRequest) CreateAddressRequest ¶
func (r ApiCreateAddressRequest) CreateAddressRequest(createAddressRequest CreateAddressRequest) ApiCreateAddressRequest
type ApiCreateServerSignerRequest ¶
type ApiCreateServerSignerRequest struct { ApiService ServerSignersAPI // contains filtered or unexported fields }
func (ApiCreateServerSignerRequest) CreateServerSignerRequest ¶
func (r ApiCreateServerSignerRequest) CreateServerSignerRequest(createServerSignerRequest CreateServerSignerRequest) ApiCreateServerSignerRequest
func (ApiCreateServerSignerRequest) Execute ¶
func (r ApiCreateServerSignerRequest) Execute() (*ServerSigner, *http.Response, error)
type ApiCreateStakingOperationRequest ¶
type ApiCreateStakingOperationRequest struct { ApiService WalletStakeAPI // contains filtered or unexported fields }
func (ApiCreateStakingOperationRequest) CreateStakingOperationRequest ¶
func (r ApiCreateStakingOperationRequest) CreateStakingOperationRequest(createStakingOperationRequest CreateStakingOperationRequest) ApiCreateStakingOperationRequest
func (ApiCreateStakingOperationRequest) Execute ¶
func (r ApiCreateStakingOperationRequest) Execute() (*StakingOperation, *http.Response, error)
type ApiCreateTradeRequest ¶
type ApiCreateTradeRequest struct { ApiService TradesAPI // contains filtered or unexported fields }
func (ApiCreateTradeRequest) CreateTradeRequest ¶
func (r ApiCreateTradeRequest) CreateTradeRequest(createTradeRequest CreateTradeRequest) ApiCreateTradeRequest
type ApiCreateTransferRequest ¶
type ApiCreateTransferRequest struct { ApiService TransfersAPI // contains filtered or unexported fields }
func (ApiCreateTransferRequest) CreateTransferRequest ¶
func (r ApiCreateTransferRequest) CreateTransferRequest(createTransferRequest CreateTransferRequest) ApiCreateTransferRequest
type ApiCreateWalletRequest ¶
type ApiCreateWalletRequest struct { ApiService WalletsAPI // contains filtered or unexported fields }
func (ApiCreateWalletRequest) CreateWalletRequest ¶
func (r ApiCreateWalletRequest) CreateWalletRequest(createWalletRequest CreateWalletRequest) ApiCreateWalletRequest
type ApiCreateWebhookRequest ¶
type ApiCreateWebhookRequest struct { ApiService WebhooksAPI // contains filtered or unexported fields }
func (ApiCreateWebhookRequest) CreateWebhookRequest ¶
func (r ApiCreateWebhookRequest) CreateWebhookRequest(createWebhookRequest CreateWebhookRequest) ApiCreateWebhookRequest
type ApiDeleteWebhookRequest ¶
type ApiDeleteWebhookRequest struct { ApiService WebhooksAPI // contains filtered or unexported fields }
type ApiFetchHistoricalStakingBalancesRequest ¶
type ApiFetchHistoricalStakingBalancesRequest struct { ApiService StakeAPI // contains filtered or unexported fields }
func (ApiFetchHistoricalStakingBalancesRequest) AssetId ¶
func (r ApiFetchHistoricalStakingBalancesRequest) AssetId(assetId string) ApiFetchHistoricalStakingBalancesRequest
The ID of the asset for which the historical staking balances are being fetched.
func (ApiFetchHistoricalStakingBalancesRequest) EndTime ¶
func (r ApiFetchHistoricalStakingBalancesRequest) EndTime(endTime time.Time) ApiFetchHistoricalStakingBalancesRequest
The end time of this historical staking balance period.
func (ApiFetchHistoricalStakingBalancesRequest) Execute ¶
func (r ApiFetchHistoricalStakingBalancesRequest) Execute() (*FetchHistoricalStakingBalances200Response, *http.Response, error)
func (ApiFetchHistoricalStakingBalancesRequest) Limit ¶
func (r ApiFetchHistoricalStakingBalancesRequest) Limit(limit int32) ApiFetchHistoricalStakingBalancesRequest
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 50.
func (ApiFetchHistoricalStakingBalancesRequest) Page ¶
func (r ApiFetchHistoricalStakingBalancesRequest) Page(page string) ApiFetchHistoricalStakingBalancesRequest
A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
func (ApiFetchHistoricalStakingBalancesRequest) StartTime ¶
func (r ApiFetchHistoricalStakingBalancesRequest) StartTime(startTime time.Time) ApiFetchHistoricalStakingBalancesRequest
The start time of this historical staking balance period.
type ApiFetchStakingRewardsRequest ¶
type ApiFetchStakingRewardsRequest struct { ApiService StakeAPI // contains filtered or unexported fields }
func (ApiFetchStakingRewardsRequest) Execute ¶
func (r ApiFetchStakingRewardsRequest) Execute() (*FetchStakingRewards200Response, *http.Response, error)
func (ApiFetchStakingRewardsRequest) FetchStakingRewardsRequest ¶
func (r ApiFetchStakingRewardsRequest) FetchStakingRewardsRequest(fetchStakingRewardsRequest FetchStakingRewardsRequest) ApiFetchStakingRewardsRequest
func (ApiFetchStakingRewardsRequest) Limit ¶
func (r ApiFetchStakingRewardsRequest) Limit(limit int32) ApiFetchStakingRewardsRequest
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 50.
func (ApiFetchStakingRewardsRequest) Page ¶
func (r ApiFetchStakingRewardsRequest) Page(page string) ApiFetchStakingRewardsRequest
A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
type ApiGetAddressBalanceRequest ¶
type ApiGetAddressBalanceRequest struct { ApiService AddressesAPI // contains filtered or unexported fields }
type ApiGetAddressRequest ¶
type ApiGetAddressRequest struct { ApiService AddressesAPI // contains filtered or unexported fields }
type ApiGetAssetRequest ¶
type ApiGetAssetRequest struct { ApiService AssetsAPI // contains filtered or unexported fields }
type ApiGetCurrentUserRequest ¶
type ApiGetCurrentUserRequest struct { ApiService UsersAPI // contains filtered or unexported fields }
type ApiGetExternalAddressBalanceRequest ¶
type ApiGetExternalAddressBalanceRequest struct { ApiService ExternalAddressesAPI // contains filtered or unexported fields }
type ApiGetExternalStakingOperationRequest ¶
type ApiGetExternalStakingOperationRequest struct { ApiService StakeAPI // contains filtered or unexported fields }
func (ApiGetExternalStakingOperationRequest) Execute ¶
func (r ApiGetExternalStakingOperationRequest) Execute() (*StakingOperation, *http.Response, error)
type ApiGetNetworkRequest ¶
type ApiGetNetworkRequest struct { ApiService NetworksAPI // contains filtered or unexported fields }
type ApiGetServerSignerRequest ¶
type ApiGetServerSignerRequest struct { ApiService ServerSignersAPI // contains filtered or unexported fields }
func (ApiGetServerSignerRequest) Execute ¶
func (r ApiGetServerSignerRequest) Execute() (*ServerSigner, *http.Response, error)
type ApiGetStakingContextRequest ¶
type ApiGetStakingContextRequest struct { ApiService StakeAPI // contains filtered or unexported fields }
func (ApiGetStakingContextRequest) Execute ¶
func (r ApiGetStakingContextRequest) Execute() (*StakingContext, *http.Response, error)
func (ApiGetStakingContextRequest) GetStakingContextRequest ¶
func (r ApiGetStakingContextRequest) GetStakingContextRequest(getStakingContextRequest GetStakingContextRequest) ApiGetStakingContextRequest
type ApiGetStakingOperationRequest ¶
type ApiGetStakingOperationRequest struct { ApiService WalletStakeAPI // contains filtered or unexported fields }
func (ApiGetStakingOperationRequest) Execute ¶
func (r ApiGetStakingOperationRequest) Execute() (*StakingOperation, *http.Response, error)
type ApiGetTradeRequest ¶
type ApiGetTradeRequest struct { ApiService TradesAPI // contains filtered or unexported fields }
type ApiGetTransferRequest ¶
type ApiGetTransferRequest struct { ApiService TransfersAPI // contains filtered or unexported fields }
type ApiGetValidatorRequest ¶
type ApiGetValidatorRequest struct { ApiService ValidatorsAPI // contains filtered or unexported fields }
type ApiGetWalletBalanceRequest ¶
type ApiGetWalletBalanceRequest struct { ApiService WalletsAPI // contains filtered or unexported fields }
type ApiGetWalletRequest ¶
type ApiGetWalletRequest struct { ApiService WalletsAPI // contains filtered or unexported fields }
type ApiListAddressBalancesRequest ¶
type ApiListAddressBalancesRequest struct { ApiService AddressesAPI // contains filtered or unexported fields }
func (ApiListAddressBalancesRequest) Execute ¶
func (r ApiListAddressBalancesRequest) Execute() (*AddressBalanceList, *http.Response, error)
func (ApiListAddressBalancesRequest) Page ¶
func (r ApiListAddressBalancesRequest) Page(page string) ApiListAddressBalancesRequest
A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
type ApiListAddressHistoricalBalanceRequest ¶
type ApiListAddressHistoricalBalanceRequest struct { ApiService ExternalAddressesAPI // contains filtered or unexported fields }
func (ApiListAddressHistoricalBalanceRequest) Execute ¶
func (r ApiListAddressHistoricalBalanceRequest) Execute() (*AddressHistoricalBalanceList, *http.Response, error)
func (ApiListAddressHistoricalBalanceRequest) Limit ¶
func (r ApiListAddressHistoricalBalanceRequest) Limit(limit int32) ApiListAddressHistoricalBalanceRequest
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
func (ApiListAddressHistoricalBalanceRequest) Page ¶
func (r ApiListAddressHistoricalBalanceRequest) Page(page string) ApiListAddressHistoricalBalanceRequest
A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
type ApiListAddressesRequest ¶
type ApiListAddressesRequest struct { ApiService AddressesAPI // contains filtered or unexported fields }
func (ApiListAddressesRequest) Execute ¶
func (r ApiListAddressesRequest) Execute() (*AddressList, *http.Response, error)
func (ApiListAddressesRequest) Limit ¶
func (r ApiListAddressesRequest) Limit(limit int32) ApiListAddressesRequest
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
func (ApiListAddressesRequest) Page ¶
func (r ApiListAddressesRequest) Page(page string) ApiListAddressesRequest
A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
type ApiListContractEventsRequest ¶
type ApiListContractEventsRequest struct { ApiService ContractEventsAPI // contains filtered or unexported fields }
func (ApiListContractEventsRequest) ContractName ¶
func (r ApiListContractEventsRequest) ContractName(contractName string) ApiListContractEventsRequest
Case-sensitive name of the specific contract within the project
func (ApiListContractEventsRequest) EventName ¶
func (r ApiListContractEventsRequest) EventName(eventName string) ApiListContractEventsRequest
Case-sensitive name of the event to filter for in the contract's logs
func (ApiListContractEventsRequest) Execute ¶
func (r ApiListContractEventsRequest) Execute() (*ContractEventList, *http.Response, error)
func (ApiListContractEventsRequest) FromBlockHeight ¶
func (r ApiListContractEventsRequest) FromBlockHeight(fromBlockHeight int32) ApiListContractEventsRequest
Lower bound of the block range to query (inclusive)
func (ApiListContractEventsRequest) NextPage ¶
func (r ApiListContractEventsRequest) NextPage(nextPage string) ApiListContractEventsRequest
Pagination token for retrieving the next set of results
func (ApiListContractEventsRequest) ProtocolName ¶
func (r ApiListContractEventsRequest) ProtocolName(protocolName string) ApiListContractEventsRequest
Case-sensitive name of the blockchain protocol
func (ApiListContractEventsRequest) ToBlockHeight ¶
func (r ApiListContractEventsRequest) ToBlockHeight(toBlockHeight int32) ApiListContractEventsRequest
Upper bound of the block range to query (inclusive)
type ApiListExternalAddressBalancesRequest ¶
type ApiListExternalAddressBalancesRequest struct { ApiService ExternalAddressesAPI // contains filtered or unexported fields }
func (ApiListExternalAddressBalancesRequest) Execute ¶
func (r ApiListExternalAddressBalancesRequest) Execute() (*AddressBalanceList, *http.Response, error)
func (ApiListExternalAddressBalancesRequest) Page ¶
func (r ApiListExternalAddressBalancesRequest) Page(page string) ApiListExternalAddressBalancesRequest
A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
type ApiListServerSignerEventsRequest ¶
type ApiListServerSignerEventsRequest struct { ApiService ServerSignersAPI // contains filtered or unexported fields }
func (ApiListServerSignerEventsRequest) Execute ¶
func (r ApiListServerSignerEventsRequest) Execute() (*ServerSignerEventList, *http.Response, error)
func (ApiListServerSignerEventsRequest) Limit ¶
func (r ApiListServerSignerEventsRequest) Limit(limit int32) ApiListServerSignerEventsRequest
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
func (ApiListServerSignerEventsRequest) Page ¶
func (r ApiListServerSignerEventsRequest) Page(page string) ApiListServerSignerEventsRequest
A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
type ApiListServerSignersRequest ¶
type ApiListServerSignersRequest struct { ApiService ServerSignersAPI // contains filtered or unexported fields }
func (ApiListServerSignersRequest) Execute ¶
func (r ApiListServerSignersRequest) Execute() (*ServerSignerList, *http.Response, error)
func (ApiListServerSignersRequest) Limit ¶
func (r ApiListServerSignersRequest) Limit(limit int32) ApiListServerSignersRequest
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
func (ApiListServerSignersRequest) Page ¶
func (r ApiListServerSignersRequest) Page(page string) ApiListServerSignersRequest
A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
type ApiListTradesRequest ¶
type ApiListTradesRequest struct { ApiService TradesAPI // contains filtered or unexported fields }
func (ApiListTradesRequest) Execute ¶
func (r ApiListTradesRequest) Execute() (*TradeList, *http.Response, error)
func (ApiListTradesRequest) Limit ¶
func (r ApiListTradesRequest) Limit(limit int32) ApiListTradesRequest
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
func (ApiListTradesRequest) Page ¶
func (r ApiListTradesRequest) Page(page string) ApiListTradesRequest
A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
type ApiListTransfersRequest ¶
type ApiListTransfersRequest struct { ApiService TransfersAPI // contains filtered or unexported fields }
func (ApiListTransfersRequest) Execute ¶
func (r ApiListTransfersRequest) Execute() (*TransferList, *http.Response, error)
func (ApiListTransfersRequest) Limit ¶
func (r ApiListTransfersRequest) Limit(limit int32) ApiListTransfersRequest
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
func (ApiListTransfersRequest) Page ¶
func (r ApiListTransfersRequest) Page(page string) ApiListTransfersRequest
A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
type ApiListValidatorsRequest ¶
type ApiListValidatorsRequest struct { ApiService ValidatorsAPI // contains filtered or unexported fields }
func (ApiListValidatorsRequest) Execute ¶
func (r ApiListValidatorsRequest) Execute() (*ValidatorList, *http.Response, error)
func (ApiListValidatorsRequest) Limit ¶
func (r ApiListValidatorsRequest) Limit(limit int32) ApiListValidatorsRequest
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 50.
func (ApiListValidatorsRequest) Page ¶
func (r ApiListValidatorsRequest) Page(page string) ApiListValidatorsRequest
A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
func (ApiListValidatorsRequest) Status ¶
func (r ApiListValidatorsRequest) Status(status ValidatorStatus) ApiListValidatorsRequest
A filter to list validators based on a status.
type ApiListWalletBalancesRequest ¶
type ApiListWalletBalancesRequest struct { ApiService WalletsAPI // contains filtered or unexported fields }
func (ApiListWalletBalancesRequest) Execute ¶
func (r ApiListWalletBalancesRequest) Execute() (*AddressBalanceList, *http.Response, error)
type ApiListWalletsRequest ¶
type ApiListWalletsRequest struct { ApiService WalletsAPI // contains filtered or unexported fields }
func (ApiListWalletsRequest) Execute ¶
func (r ApiListWalletsRequest) Execute() (*WalletList, *http.Response, error)
func (ApiListWalletsRequest) Limit ¶
func (r ApiListWalletsRequest) Limit(limit int32) ApiListWalletsRequest
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
func (ApiListWalletsRequest) Page ¶
func (r ApiListWalletsRequest) Page(page string) ApiListWalletsRequest
A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
type ApiListWebhooksRequest ¶
type ApiListWebhooksRequest struct { ApiService WebhooksAPI // contains filtered or unexported fields }
func (ApiListWebhooksRequest) Execute ¶
func (r ApiListWebhooksRequest) Execute() (*WebhookList, *http.Response, error)
func (ApiListWebhooksRequest) Limit ¶
func (r ApiListWebhooksRequest) Limit(limit int32) ApiListWebhooksRequest
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
func (ApiListWebhooksRequest) Page ¶
func (r ApiListWebhooksRequest) Page(page string) ApiListWebhooksRequest
A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
type ApiRequestExternalFaucetFundsRequest ¶
type ApiRequestExternalFaucetFundsRequest struct { ApiService ExternalAddressesAPI // contains filtered or unexported fields }
func (ApiRequestExternalFaucetFundsRequest) Execute ¶
func (r ApiRequestExternalFaucetFundsRequest) Execute() (*FaucetTransaction, *http.Response, error)
type ApiRequestFaucetFundsRequest ¶
type ApiRequestFaucetFundsRequest struct { ApiService AddressesAPI // contains filtered or unexported fields }
func (ApiRequestFaucetFundsRequest) Execute ¶
func (r ApiRequestFaucetFundsRequest) Execute() (*FaucetTransaction, *http.Response, error)
type ApiSubmitServerSignerSeedEventResultRequest ¶
type ApiSubmitServerSignerSeedEventResultRequest struct { ApiService ServerSignersAPI // contains filtered or unexported fields }
func (ApiSubmitServerSignerSeedEventResultRequest) Execute ¶
func (r ApiSubmitServerSignerSeedEventResultRequest) Execute() (*SeedCreationEventResult, *http.Response, error)
func (ApiSubmitServerSignerSeedEventResultRequest) SeedCreationEventResult ¶
func (r ApiSubmitServerSignerSeedEventResultRequest) SeedCreationEventResult(seedCreationEventResult SeedCreationEventResult) ApiSubmitServerSignerSeedEventResultRequest
type ApiSubmitServerSignerSignatureEventResultRequest ¶
type ApiSubmitServerSignerSignatureEventResultRequest struct { ApiService ServerSignersAPI // contains filtered or unexported fields }
func (ApiSubmitServerSignerSignatureEventResultRequest) Execute ¶
func (r ApiSubmitServerSignerSignatureEventResultRequest) Execute() (*SignatureCreationEventResult, *http.Response, error)
func (ApiSubmitServerSignerSignatureEventResultRequest) SignatureCreationEventResult ¶
func (r ApiSubmitServerSignerSignatureEventResultRequest) SignatureCreationEventResult(signatureCreationEventResult SignatureCreationEventResult) ApiSubmitServerSignerSignatureEventResultRequest
type ApiUpdateWebhookRequest ¶
type ApiUpdateWebhookRequest struct { ApiService WebhooksAPI // contains filtered or unexported fields }
func (ApiUpdateWebhookRequest) Execute ¶
func (r ApiUpdateWebhookRequest) Execute() (*Webhook, *http.Response, error)
func (ApiUpdateWebhookRequest) UpdateWebhookRequest ¶
func (r ApiUpdateWebhookRequest) UpdateWebhookRequest(updateWebhookRequest UpdateWebhookRequest) ApiUpdateWebhookRequest
type Asset ¶
type Asset struct { // The ID of the blockchain network NetworkId string `json:"network_id"` // The ID for the asset on the network AssetId string `json:"asset_id"` // The number of decimals the asset supports. This is used to convert from atomic units to base units. Decimals *int32 `json:"decimals,omitempty"` // The optional contract address for the asset. This will be specified for smart contract-based assets, for example ERC20s. ContractAddress *string `json:"contract_address,omitempty"` }
Asset An asset onchain scoped to a particular network, e.g. ETH on base-sepolia, or the USDC ERC20 Token on ethereum-mainnet.
func NewAsset ¶
NewAsset instantiates a new Asset object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAssetWithDefaults ¶
func NewAssetWithDefaults() *Asset
NewAssetWithDefaults instantiates a new Asset object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Asset) GetAssetId ¶
GetAssetId returns the AssetId field value
func (*Asset) GetAssetIdOk ¶
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*Asset) GetContractAddress ¶
GetContractAddress returns the ContractAddress field value if set, zero value otherwise.
func (*Asset) GetContractAddressOk ¶
GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Asset) GetDecimals ¶
GetDecimals returns the Decimals field value if set, zero value otherwise.
func (*Asset) 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.
func (*Asset) GetNetworkId ¶
GetNetworkId returns the NetworkId field value
func (*Asset) GetNetworkIdOk ¶
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*Asset) HasContractAddress ¶
HasContractAddress returns a boolean if a field has been set.
func (*Asset) HasDecimals ¶
HasDecimals returns a boolean if a field has been set.
func (Asset) MarshalJSON ¶
func (*Asset) SetContractAddress ¶
SetContractAddress gets a reference to the given string and assigns it to the ContractAddress field.
func (*Asset) SetDecimals ¶
SetDecimals gets a reference to the given int32 and assigns it to the Decimals field.
func (*Asset) UnmarshalJSON ¶
type AssetsAPI ¶
type AssetsAPI interface { /* GetAsset Get the asset for the specified asset ID. Get the asset for the specified asset ID. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network @param assetId The ID of the asset to fetch. This could be a symbol or an ERC20 contract address. @return ApiGetAssetRequest */ GetAsset(ctx context.Context, networkId string, assetId string) ApiGetAssetRequest // GetAssetExecute executes the request // @return Asset GetAssetExecute(r ApiGetAssetRequest) (*Asset, *http.Response, error) }
type AssetsAPIService ¶
type AssetsAPIService service
AssetsAPIService AssetsAPI service
func (*AssetsAPIService) GetAsset ¶
func (a *AssetsAPIService) GetAsset(ctx context.Context, networkId string, assetId string) ApiGetAssetRequest
GetAsset Get the asset for the specified asset ID.
Get the asset for the specified asset ID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network @param assetId The ID of the asset to fetch. This could be a symbol or an ERC20 contract address. @return ApiGetAssetRequest
func (*AssetsAPIService) GetAssetExecute ¶
func (a *AssetsAPIService) GetAssetExecute(r ApiGetAssetRequest) (*Asset, *http.Response, error)
Execute executes the request
@return Asset
type Balance ¶
type Balance struct { // The amount in the atomic units of the asset Amount string `json:"amount"` Asset Asset `json:"asset"` }
Balance The balance of an asset onchain
func NewBalance ¶
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) GetAmountOk ¶
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*Balance) GetAssetOk ¶
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (Balance) MarshalJSON ¶
func (*Balance) UnmarshalJSON ¶
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 BroadcastStakingOperationRequest ¶
type BroadcastStakingOperationRequest struct { // The hex-encoded signed payload of the staking operation. SignedPayload string `json:"signed_payload"` // The index in the transaction array of the staking operation. TransactionIndex int32 `json:"transaction_index"` }
BroadcastStakingOperationRequest struct for BroadcastStakingOperationRequest
func NewBroadcastStakingOperationRequest ¶
func NewBroadcastStakingOperationRequest(signedPayload string, transactionIndex int32) *BroadcastStakingOperationRequest
NewBroadcastStakingOperationRequest instantiates a new BroadcastStakingOperationRequest 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 NewBroadcastStakingOperationRequestWithDefaults ¶
func NewBroadcastStakingOperationRequestWithDefaults() *BroadcastStakingOperationRequest
NewBroadcastStakingOperationRequestWithDefaults instantiates a new BroadcastStakingOperationRequest 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 (*BroadcastStakingOperationRequest) GetSignedPayload ¶
func (o *BroadcastStakingOperationRequest) GetSignedPayload() string
GetSignedPayload returns the SignedPayload field value
func (*BroadcastStakingOperationRequest) GetSignedPayloadOk ¶
func (o *BroadcastStakingOperationRequest) GetSignedPayloadOk() (*string, bool)
GetSignedPayloadOk returns a tuple with the SignedPayload field value and a boolean to check if the value has been set.
func (*BroadcastStakingOperationRequest) GetTransactionIndex ¶
func (o *BroadcastStakingOperationRequest) GetTransactionIndex() int32
GetTransactionIndex returns the TransactionIndex field value
func (*BroadcastStakingOperationRequest) GetTransactionIndexOk ¶
func (o *BroadcastStakingOperationRequest) GetTransactionIndexOk() (*int32, bool)
GetTransactionIndexOk returns a tuple with the TransactionIndex field value and a boolean to check if the value has been set.
func (BroadcastStakingOperationRequest) MarshalJSON ¶
func (o BroadcastStakingOperationRequest) MarshalJSON() ([]byte, error)
func (*BroadcastStakingOperationRequest) SetSignedPayload ¶
func (o *BroadcastStakingOperationRequest) SetSignedPayload(v string)
SetSignedPayload sets field value
func (*BroadcastStakingOperationRequest) SetTransactionIndex ¶
func (o *BroadcastStakingOperationRequest) SetTransactionIndex(v int32)
SetTransactionIndex sets field value
func (BroadcastStakingOperationRequest) ToMap ¶
func (o BroadcastStakingOperationRequest) ToMap() (map[string]interface{}, error)
func (*BroadcastStakingOperationRequest) UnmarshalJSON ¶
func (o *BroadcastStakingOperationRequest) UnmarshalJSON(data []byte) (err error)
type BroadcastTradeRequest ¶
type BroadcastTradeRequest struct { // The hex-encoded signed payload of the trade SignedPayload string `json:"signed_payload"` // The hex-encoded signed payload of the approval transaction ApproveTransactionSignedPayload *string `json:"approve_transaction_signed_payload,omitempty"` }
BroadcastTradeRequest struct for BroadcastTradeRequest
func NewBroadcastTradeRequest ¶
func NewBroadcastTradeRequest(signedPayload string) *BroadcastTradeRequest
NewBroadcastTradeRequest instantiates a new BroadcastTradeRequest 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 NewBroadcastTradeRequestWithDefaults ¶
func NewBroadcastTradeRequestWithDefaults() *BroadcastTradeRequest
NewBroadcastTradeRequestWithDefaults instantiates a new BroadcastTradeRequest 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 (*BroadcastTradeRequest) GetApproveTransactionSignedPayload ¶
func (o *BroadcastTradeRequest) GetApproveTransactionSignedPayload() string
GetApproveTransactionSignedPayload returns the ApproveTransactionSignedPayload field value if set, zero value otherwise.
func (*BroadcastTradeRequest) GetApproveTransactionSignedPayloadOk ¶
func (o *BroadcastTradeRequest) GetApproveTransactionSignedPayloadOk() (*string, bool)
GetApproveTransactionSignedPayloadOk returns a tuple with the ApproveTransactionSignedPayload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BroadcastTradeRequest) GetSignedPayload ¶
func (o *BroadcastTradeRequest) GetSignedPayload() string
GetSignedPayload returns the SignedPayload field value
func (*BroadcastTradeRequest) GetSignedPayloadOk ¶
func (o *BroadcastTradeRequest) GetSignedPayloadOk() (*string, bool)
GetSignedPayloadOk returns a tuple with the SignedPayload field value and a boolean to check if the value has been set.
func (*BroadcastTradeRequest) HasApproveTransactionSignedPayload ¶
func (o *BroadcastTradeRequest) HasApproveTransactionSignedPayload() bool
HasApproveTransactionSignedPayload returns a boolean if a field has been set.
func (BroadcastTradeRequest) MarshalJSON ¶
func (o BroadcastTradeRequest) MarshalJSON() ([]byte, error)
func (*BroadcastTradeRequest) SetApproveTransactionSignedPayload ¶
func (o *BroadcastTradeRequest) SetApproveTransactionSignedPayload(v string)
SetApproveTransactionSignedPayload gets a reference to the given string and assigns it to the ApproveTransactionSignedPayload field.
func (*BroadcastTradeRequest) SetSignedPayload ¶
func (o *BroadcastTradeRequest) SetSignedPayload(v string)
SetSignedPayload sets field value
func (BroadcastTradeRequest) ToMap ¶
func (o BroadcastTradeRequest) ToMap() (map[string]interface{}, error)
func (*BroadcastTradeRequest) UnmarshalJSON ¶
func (o *BroadcastTradeRequest) UnmarshalJSON(data []byte) (err error)
type BroadcastTransferRequest ¶
type BroadcastTransferRequest struct { // The hex-encoded signed payload of the transfer SignedPayload string `json:"signed_payload"` }
BroadcastTransferRequest struct for BroadcastTransferRequest
func NewBroadcastTransferRequest ¶
func NewBroadcastTransferRequest(signedPayload string) *BroadcastTransferRequest
NewBroadcastTransferRequest instantiates a new BroadcastTransferRequest 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 NewBroadcastTransferRequestWithDefaults ¶
func NewBroadcastTransferRequestWithDefaults() *BroadcastTransferRequest
NewBroadcastTransferRequestWithDefaults instantiates a new BroadcastTransferRequest 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 (*BroadcastTransferRequest) GetSignedPayload ¶
func (o *BroadcastTransferRequest) GetSignedPayload() string
GetSignedPayload returns the SignedPayload field value
func (*BroadcastTransferRequest) GetSignedPayloadOk ¶
func (o *BroadcastTransferRequest) GetSignedPayloadOk() (*string, bool)
GetSignedPayloadOk returns a tuple with the SignedPayload field value and a boolean to check if the value has been set.
func (BroadcastTransferRequest) MarshalJSON ¶
func (o BroadcastTransferRequest) MarshalJSON() ([]byte, error)
func (*BroadcastTransferRequest) SetSignedPayload ¶
func (o *BroadcastTransferRequest) SetSignedPayload(v string)
SetSignedPayload sets field value
func (BroadcastTransferRequest) ToMap ¶
func (o BroadcastTransferRequest) ToMap() (map[string]interface{}, error)
func (*BroadcastTransferRequest) UnmarshalJSON ¶
func (o *BroadcastTransferRequest) UnmarshalJSON(data []byte) (err error)
type BuildStakingOperationRequest ¶
type BuildStakingOperationRequest struct { // The ID of the blockchain network NetworkId string `json:"network_id"` // The ID of the asset being staked AssetId string `json:"asset_id"` // The onchain address from which the staking transaction originates and is responsible for signing the transaction. AddressId string `json:"address_id"` // The type of staking operation Action string `json:"action"` Options map[string]string `json:"options"` }
BuildStakingOperationRequest struct for BuildStakingOperationRequest
func NewBuildStakingOperationRequest ¶
func NewBuildStakingOperationRequest(networkId string, assetId string, addressId string, action string, options map[string]string) *BuildStakingOperationRequest
NewBuildStakingOperationRequest instantiates a new BuildStakingOperationRequest 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 NewBuildStakingOperationRequestWithDefaults ¶
func NewBuildStakingOperationRequestWithDefaults() *BuildStakingOperationRequest
NewBuildStakingOperationRequestWithDefaults instantiates a new BuildStakingOperationRequest 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 (*BuildStakingOperationRequest) GetAction ¶
func (o *BuildStakingOperationRequest) GetAction() string
GetAction returns the Action field value
func (*BuildStakingOperationRequest) GetActionOk ¶
func (o *BuildStakingOperationRequest) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*BuildStakingOperationRequest) GetAddressId ¶
func (o *BuildStakingOperationRequest) GetAddressId() string
GetAddressId returns the AddressId field value
func (*BuildStakingOperationRequest) GetAddressIdOk ¶
func (o *BuildStakingOperationRequest) GetAddressIdOk() (*string, bool)
GetAddressIdOk returns a tuple with the AddressId field value and a boolean to check if the value has been set.
func (*BuildStakingOperationRequest) GetAssetId ¶
func (o *BuildStakingOperationRequest) GetAssetId() string
GetAssetId returns the AssetId field value
func (*BuildStakingOperationRequest) GetAssetIdOk ¶
func (o *BuildStakingOperationRequest) GetAssetIdOk() (*string, bool)
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*BuildStakingOperationRequest) GetNetworkId ¶
func (o *BuildStakingOperationRequest) GetNetworkId() string
GetNetworkId returns the NetworkId field value
func (*BuildStakingOperationRequest) GetNetworkIdOk ¶
func (o *BuildStakingOperationRequest) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*BuildStakingOperationRequest) GetOptions ¶
func (o *BuildStakingOperationRequest) GetOptions() map[string]string
GetOptions returns the Options field value
func (*BuildStakingOperationRequest) GetOptionsOk ¶
func (o *BuildStakingOperationRequest) GetOptionsOk() (*map[string]string, bool)
GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.
func (BuildStakingOperationRequest) MarshalJSON ¶
func (o BuildStakingOperationRequest) MarshalJSON() ([]byte, error)
func (*BuildStakingOperationRequest) SetAction ¶
func (o *BuildStakingOperationRequest) SetAction(v string)
SetAction sets field value
func (*BuildStakingOperationRequest) SetAddressId ¶
func (o *BuildStakingOperationRequest) SetAddressId(v string)
SetAddressId sets field value
func (*BuildStakingOperationRequest) SetAssetId ¶
func (o *BuildStakingOperationRequest) SetAssetId(v string)
SetAssetId sets field value
func (*BuildStakingOperationRequest) SetNetworkId ¶
func (o *BuildStakingOperationRequest) SetNetworkId(v string)
SetNetworkId sets field value
func (*BuildStakingOperationRequest) SetOptions ¶
func (o *BuildStakingOperationRequest) SetOptions(v map[string]string)
SetOptions sets field value
func (BuildStakingOperationRequest) ToMap ¶
func (o BuildStakingOperationRequest) ToMap() (map[string]interface{}, error)
func (*BuildStakingOperationRequest) UnmarshalJSON ¶
func (o *BuildStakingOperationRequest) UnmarshalJSON(data []byte) (err error)
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ContractEvent ¶
type ContractEvent struct { // The name of the blockchain network NetworkId string `json:"network_id"` // The name of the blockchain project or protocol ProtocolName string `json:"protocol_name"` // The name of the specific contract within the project ContractName string `json:"contract_name"` // The name of the event emitted by the contract EventName string `json:"event_name"` // The signature of the event, including parameter types Sig string `json:"sig"` // The first four bytes of the Keccak hash of the event signature FourBytes string `json:"four_bytes"` // The EVM address of the smart contract ContractAddress string `json:"contract_address"` // The timestamp of the block in which the event was emitted BlockTime time.Time `json:"block_time"` // The block number in which the event was emitted BlockHeight int32 `json:"block_height"` // The transaction hash in which the event was emitted TxHash string `json:"tx_hash"` // The index of the transaction within the block TxIndex int32 `json:"tx_index"` // The index of the event within the transaction EventIndex int32 `json:"event_index"` // The event data in a stringified format Data string `json:"data"` }
ContractEvent Represents a single decoded event emitted by a smart contract
func NewContractEvent ¶
func NewContractEvent(networkId string, protocolName string, contractName string, eventName string, sig string, fourBytes string, contractAddress string, blockTime time.Time, blockHeight int32, txHash string, txIndex int32, eventIndex int32, data string) *ContractEvent
NewContractEvent instantiates a new ContractEvent 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 NewContractEventWithDefaults ¶
func NewContractEventWithDefaults() *ContractEvent
NewContractEventWithDefaults instantiates a new ContractEvent 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 (*ContractEvent) GetBlockHeight ¶
func (o *ContractEvent) GetBlockHeight() int32
GetBlockHeight returns the BlockHeight field value
func (*ContractEvent) GetBlockHeightOk ¶
func (o *ContractEvent) GetBlockHeightOk() (*int32, bool)
GetBlockHeightOk returns a tuple with the BlockHeight field value and a boolean to check if the value has been set.
func (*ContractEvent) GetBlockTime ¶
func (o *ContractEvent) GetBlockTime() time.Time
GetBlockTime returns the BlockTime field value
func (*ContractEvent) GetBlockTimeOk ¶
func (o *ContractEvent) GetBlockTimeOk() (*time.Time, bool)
GetBlockTimeOk returns a tuple with the BlockTime field value and a boolean to check if the value has been set.
func (*ContractEvent) GetContractAddress ¶
func (o *ContractEvent) GetContractAddress() string
GetContractAddress returns the ContractAddress field value
func (*ContractEvent) GetContractAddressOk ¶
func (o *ContractEvent) GetContractAddressOk() (*string, bool)
GetContractAddressOk returns a tuple with the ContractAddress field value and a boolean to check if the value has been set.
func (*ContractEvent) GetContractName ¶
func (o *ContractEvent) GetContractName() string
GetContractName returns the ContractName field value
func (*ContractEvent) GetContractNameOk ¶
func (o *ContractEvent) GetContractNameOk() (*string, bool)
GetContractNameOk returns a tuple with the ContractName field value and a boolean to check if the value has been set.
func (*ContractEvent) GetData ¶
func (o *ContractEvent) GetData() string
GetData returns the Data field value
func (*ContractEvent) GetDataOk ¶
func (o *ContractEvent) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ContractEvent) GetEventIndex ¶
func (o *ContractEvent) GetEventIndex() int32
GetEventIndex returns the EventIndex field value
func (*ContractEvent) GetEventIndexOk ¶
func (o *ContractEvent) GetEventIndexOk() (*int32, bool)
GetEventIndexOk returns a tuple with the EventIndex field value and a boolean to check if the value has been set.
func (*ContractEvent) GetEventName ¶
func (o *ContractEvent) GetEventName() string
GetEventName returns the EventName field value
func (*ContractEvent) GetEventNameOk ¶
func (o *ContractEvent) GetEventNameOk() (*string, bool)
GetEventNameOk returns a tuple with the EventName field value and a boolean to check if the value has been set.
func (*ContractEvent) GetFourBytes ¶
func (o *ContractEvent) GetFourBytes() string
GetFourBytes returns the FourBytes field value
func (*ContractEvent) GetFourBytesOk ¶
func (o *ContractEvent) GetFourBytesOk() (*string, bool)
GetFourBytesOk returns a tuple with the FourBytes field value and a boolean to check if the value has been set.
func (*ContractEvent) GetNetworkId ¶
func (o *ContractEvent) GetNetworkId() string
GetNetworkId returns the NetworkId field value
func (*ContractEvent) GetNetworkIdOk ¶
func (o *ContractEvent) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*ContractEvent) GetProtocolName ¶
func (o *ContractEvent) GetProtocolName() string
GetProtocolName returns the ProtocolName field value
func (*ContractEvent) GetProtocolNameOk ¶
func (o *ContractEvent) GetProtocolNameOk() (*string, bool)
GetProtocolNameOk returns a tuple with the ProtocolName field value and a boolean to check if the value has been set.
func (*ContractEvent) GetSig ¶
func (o *ContractEvent) GetSig() string
GetSig returns the Sig field value
func (*ContractEvent) GetSigOk ¶
func (o *ContractEvent) GetSigOk() (*string, bool)
GetSigOk returns a tuple with the Sig field value and a boolean to check if the value has been set.
func (*ContractEvent) GetTxHash ¶
func (o *ContractEvent) GetTxHash() string
GetTxHash returns the TxHash field value
func (*ContractEvent) GetTxHashOk ¶
func (o *ContractEvent) GetTxHashOk() (*string, bool)
GetTxHashOk returns a tuple with the TxHash field value and a boolean to check if the value has been set.
func (*ContractEvent) GetTxIndex ¶
func (o *ContractEvent) GetTxIndex() int32
GetTxIndex returns the TxIndex field value
func (*ContractEvent) GetTxIndexOk ¶
func (o *ContractEvent) GetTxIndexOk() (*int32, bool)
GetTxIndexOk returns a tuple with the TxIndex field value and a boolean to check if the value has been set.
func (ContractEvent) MarshalJSON ¶
func (o ContractEvent) MarshalJSON() ([]byte, error)
func (*ContractEvent) SetBlockHeight ¶
func (o *ContractEvent) SetBlockHeight(v int32)
SetBlockHeight sets field value
func (*ContractEvent) SetBlockTime ¶
func (o *ContractEvent) SetBlockTime(v time.Time)
SetBlockTime sets field value
func (*ContractEvent) SetContractAddress ¶
func (o *ContractEvent) SetContractAddress(v string)
SetContractAddress sets field value
func (*ContractEvent) SetContractName ¶
func (o *ContractEvent) SetContractName(v string)
SetContractName sets field value
func (*ContractEvent) SetEventIndex ¶
func (o *ContractEvent) SetEventIndex(v int32)
SetEventIndex sets field value
func (*ContractEvent) SetEventName ¶
func (o *ContractEvent) SetEventName(v string)
SetEventName sets field value
func (*ContractEvent) SetFourBytes ¶
func (o *ContractEvent) SetFourBytes(v string)
SetFourBytes sets field value
func (*ContractEvent) SetNetworkId ¶
func (o *ContractEvent) SetNetworkId(v string)
SetNetworkId sets field value
func (*ContractEvent) SetProtocolName ¶
func (o *ContractEvent) SetProtocolName(v string)
SetProtocolName sets field value
func (*ContractEvent) SetTxHash ¶
func (o *ContractEvent) SetTxHash(v string)
SetTxHash sets field value
func (*ContractEvent) SetTxIndex ¶
func (o *ContractEvent) SetTxIndex(v int32)
SetTxIndex sets field value
func (ContractEvent) ToMap ¶
func (o ContractEvent) ToMap() (map[string]interface{}, error)
func (*ContractEvent) UnmarshalJSON ¶
func (o *ContractEvent) UnmarshalJSON(data []byte) (err error)
type ContractEventList ¶
type ContractEventList struct { // An array of ContractEvent objects Data []ContractEvent `json:"data"` // The page token to be used to fetch the next page NextPage string `json:"next_page"` // True if this list has another page of items after this one that can be fetched HasMore bool `json:"has_more"` }
ContractEventList A list of contract events with pagination information
func NewContractEventList ¶
func NewContractEventList(data []ContractEvent, nextPage string, hasMore bool) *ContractEventList
NewContractEventList instantiates a new ContractEventList 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 NewContractEventListWithDefaults ¶
func NewContractEventListWithDefaults() *ContractEventList
NewContractEventListWithDefaults instantiates a new ContractEventList 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 (*ContractEventList) GetData ¶
func (o *ContractEventList) GetData() []ContractEvent
GetData returns the Data field value
func (*ContractEventList) GetDataOk ¶
func (o *ContractEventList) GetDataOk() ([]ContractEvent, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ContractEventList) GetHasMore ¶
func (o *ContractEventList) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*ContractEventList) GetHasMoreOk ¶
func (o *ContractEventList) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*ContractEventList) GetNextPage ¶
func (o *ContractEventList) GetNextPage() string
GetNextPage returns the NextPage field value
func (*ContractEventList) GetNextPageOk ¶
func (o *ContractEventList) GetNextPageOk() (*string, bool)
GetNextPageOk returns a tuple with the NextPage field value and a boolean to check if the value has been set.
func (ContractEventList) MarshalJSON ¶
func (o ContractEventList) MarshalJSON() ([]byte, error)
func (*ContractEventList) SetData ¶
func (o *ContractEventList) SetData(v []ContractEvent)
SetData sets field value
func (*ContractEventList) SetHasMore ¶
func (o *ContractEventList) SetHasMore(v bool)
SetHasMore sets field value
func (*ContractEventList) SetNextPage ¶
func (o *ContractEventList) SetNextPage(v string)
SetNextPage sets field value
func (ContractEventList) ToMap ¶
func (o ContractEventList) ToMap() (map[string]interface{}, error)
func (*ContractEventList) UnmarshalJSON ¶
func (o *ContractEventList) UnmarshalJSON(data []byte) (err error)
type ContractEventsAPI ¶
type ContractEventsAPI interface { /* ListContractEvents Get contract events Retrieve events for a specific contract @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId Unique identifier for the blockchain network @param contractAddress EVM address of the smart contract (42 characters, including '0x', in lowercase) @return ApiListContractEventsRequest */ ListContractEvents(ctx context.Context, networkId string, contractAddress string) ApiListContractEventsRequest // ListContractEventsExecute executes the request // @return ContractEventList ListContractEventsExecute(r ApiListContractEventsRequest) (*ContractEventList, *http.Response, error) }
type ContractEventsAPIService ¶
type ContractEventsAPIService service
ContractEventsAPIService ContractEventsAPI service
func (*ContractEventsAPIService) ListContractEvents ¶
func (a *ContractEventsAPIService) ListContractEvents(ctx context.Context, networkId string, contractAddress string) ApiListContractEventsRequest
ListContractEvents Get contract events
Retrieve events for a specific contract
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId Unique identifier for the blockchain network @param contractAddress EVM address of the smart contract (42 characters, including '0x', in lowercase) @return ApiListContractEventsRequest
func (*ContractEventsAPIService) ListContractEventsExecute ¶
func (a *ContractEventsAPIService) ListContractEventsExecute(r ApiListContractEventsRequest) (*ContractEventList, *http.Response, error)
Execute executes the request
@return ContractEventList
type CreateAddressRequest ¶
type CreateAddressRequest struct { // The public key from which the address will be derived. PublicKey *string `json:"public_key,omitempty"` // An attestation signed by the private key that is associated with the wallet. The attestation will be a hex-encoded signature of a json payload with fields `wallet_id` and `public_key`, signed by the private key associated with the public_key set in the request. Attestation *string `json:"attestation,omitempty"` // The index of the address within the wallet. AddressIndex *int32 `json:"address_index,omitempty"` }
CreateAddressRequest struct for CreateAddressRequest
func NewCreateAddressRequest ¶
func NewCreateAddressRequest() *CreateAddressRequest
NewCreateAddressRequest instantiates a new CreateAddressRequest 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 NewCreateAddressRequestWithDefaults ¶
func NewCreateAddressRequestWithDefaults() *CreateAddressRequest
NewCreateAddressRequestWithDefaults instantiates a new CreateAddressRequest 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 (*CreateAddressRequest) GetAddressIndex ¶
func (o *CreateAddressRequest) GetAddressIndex() int32
GetAddressIndex returns the AddressIndex field value if set, zero value otherwise.
func (*CreateAddressRequest) GetAddressIndexOk ¶
func (o *CreateAddressRequest) GetAddressIndexOk() (*int32, bool)
GetAddressIndexOk returns a tuple with the AddressIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAddressRequest) GetAttestation ¶
func (o *CreateAddressRequest) GetAttestation() string
GetAttestation returns the Attestation field value if set, zero value otherwise.
func (*CreateAddressRequest) GetAttestationOk ¶
func (o *CreateAddressRequest) GetAttestationOk() (*string, bool)
GetAttestationOk returns a tuple with the Attestation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAddressRequest) GetPublicKey ¶
func (o *CreateAddressRequest) GetPublicKey() string
GetPublicKey returns the PublicKey field value if set, zero value otherwise.
func (*CreateAddressRequest) GetPublicKeyOk ¶
func (o *CreateAddressRequest) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateAddressRequest) HasAddressIndex ¶
func (o *CreateAddressRequest) HasAddressIndex() bool
HasAddressIndex returns a boolean if a field has been set.
func (*CreateAddressRequest) HasAttestation ¶
func (o *CreateAddressRequest) HasAttestation() bool
HasAttestation returns a boolean if a field has been set.
func (*CreateAddressRequest) HasPublicKey ¶
func (o *CreateAddressRequest) HasPublicKey() bool
HasPublicKey returns a boolean if a field has been set.
func (CreateAddressRequest) MarshalJSON ¶
func (o CreateAddressRequest) MarshalJSON() ([]byte, error)
func (*CreateAddressRequest) SetAddressIndex ¶
func (o *CreateAddressRequest) SetAddressIndex(v int32)
SetAddressIndex gets a reference to the given int32 and assigns it to the AddressIndex field.
func (*CreateAddressRequest) SetAttestation ¶
func (o *CreateAddressRequest) SetAttestation(v string)
SetAttestation gets a reference to the given string and assigns it to the Attestation field.
func (*CreateAddressRequest) SetPublicKey ¶
func (o *CreateAddressRequest) SetPublicKey(v string)
SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.
func (CreateAddressRequest) ToMap ¶
func (o CreateAddressRequest) ToMap() (map[string]interface{}, error)
type CreateServerSignerRequest ¶
type CreateServerSignerRequest struct { // The ID of the server signer for the 1 of 1 server signer. ServerSignerId *string `json:"server_signer_id,omitempty"` // The enrollment data of the server signer. This will be the base64 encoded server-signer-id for the 1 of 1 server signer. EnrollmentData string `json:"enrollment_data"` // Whether the Server-Signer uses MPC. IsMpc bool `json:"is_mpc"` }
CreateServerSignerRequest struct for CreateServerSignerRequest
func NewCreateServerSignerRequest ¶
func NewCreateServerSignerRequest(enrollmentData string, isMpc bool) *CreateServerSignerRequest
NewCreateServerSignerRequest instantiates a new CreateServerSignerRequest 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 NewCreateServerSignerRequestWithDefaults ¶
func NewCreateServerSignerRequestWithDefaults() *CreateServerSignerRequest
NewCreateServerSignerRequestWithDefaults instantiates a new CreateServerSignerRequest 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 (*CreateServerSignerRequest) GetEnrollmentData ¶
func (o *CreateServerSignerRequest) GetEnrollmentData() string
GetEnrollmentData returns the EnrollmentData field value
func (*CreateServerSignerRequest) GetEnrollmentDataOk ¶
func (o *CreateServerSignerRequest) GetEnrollmentDataOk() (*string, bool)
GetEnrollmentDataOk returns a tuple with the EnrollmentData field value and a boolean to check if the value has been set.
func (*CreateServerSignerRequest) GetIsMpc ¶
func (o *CreateServerSignerRequest) GetIsMpc() bool
GetIsMpc returns the IsMpc field value
func (*CreateServerSignerRequest) GetIsMpcOk ¶
func (o *CreateServerSignerRequest) GetIsMpcOk() (*bool, bool)
GetIsMpcOk returns a tuple with the IsMpc field value and a boolean to check if the value has been set.
func (*CreateServerSignerRequest) GetServerSignerId ¶
func (o *CreateServerSignerRequest) GetServerSignerId() string
GetServerSignerId returns the ServerSignerId field value if set, zero value otherwise.
func (*CreateServerSignerRequest) GetServerSignerIdOk ¶
func (o *CreateServerSignerRequest) GetServerSignerIdOk() (*string, bool)
GetServerSignerIdOk returns a tuple with the ServerSignerId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateServerSignerRequest) HasServerSignerId ¶
func (o *CreateServerSignerRequest) HasServerSignerId() bool
HasServerSignerId returns a boolean if a field has been set.
func (CreateServerSignerRequest) MarshalJSON ¶
func (o CreateServerSignerRequest) MarshalJSON() ([]byte, error)
func (*CreateServerSignerRequest) SetEnrollmentData ¶
func (o *CreateServerSignerRequest) SetEnrollmentData(v string)
SetEnrollmentData sets field value
func (*CreateServerSignerRequest) SetIsMpc ¶
func (o *CreateServerSignerRequest) SetIsMpc(v bool)
SetIsMpc sets field value
func (*CreateServerSignerRequest) SetServerSignerId ¶
func (o *CreateServerSignerRequest) SetServerSignerId(v string)
SetServerSignerId gets a reference to the given string and assigns it to the ServerSignerId field.
func (CreateServerSignerRequest) ToMap ¶
func (o CreateServerSignerRequest) ToMap() (map[string]interface{}, error)
func (*CreateServerSignerRequest) UnmarshalJSON ¶
func (o *CreateServerSignerRequest) UnmarshalJSON(data []byte) (err error)
type CreateStakingOperationRequest ¶
type CreateStakingOperationRequest struct { // The ID of the blockchain network. NetworkId string `json:"network_id"` // The ID of the asset being staked. AssetId string `json:"asset_id"` // The type of staking operation. Action string `json:"action"` Options map[string]string `json:"options"` }
CreateStakingOperationRequest struct for CreateStakingOperationRequest
func NewCreateStakingOperationRequest ¶
func NewCreateStakingOperationRequest(networkId string, assetId string, action string, options map[string]string) *CreateStakingOperationRequest
NewCreateStakingOperationRequest instantiates a new CreateStakingOperationRequest 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 NewCreateStakingOperationRequestWithDefaults ¶
func NewCreateStakingOperationRequestWithDefaults() *CreateStakingOperationRequest
NewCreateStakingOperationRequestWithDefaults instantiates a new CreateStakingOperationRequest 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 (*CreateStakingOperationRequest) GetAction ¶
func (o *CreateStakingOperationRequest) GetAction() string
GetAction returns the Action field value
func (*CreateStakingOperationRequest) GetActionOk ¶
func (o *CreateStakingOperationRequest) GetActionOk() (*string, bool)
GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.
func (*CreateStakingOperationRequest) GetAssetId ¶
func (o *CreateStakingOperationRequest) GetAssetId() string
GetAssetId returns the AssetId field value
func (*CreateStakingOperationRequest) GetAssetIdOk ¶
func (o *CreateStakingOperationRequest) GetAssetIdOk() (*string, bool)
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*CreateStakingOperationRequest) GetNetworkId ¶
func (o *CreateStakingOperationRequest) GetNetworkId() string
GetNetworkId returns the NetworkId field value
func (*CreateStakingOperationRequest) GetNetworkIdOk ¶
func (o *CreateStakingOperationRequest) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*CreateStakingOperationRequest) GetOptions ¶
func (o *CreateStakingOperationRequest) GetOptions() map[string]string
GetOptions returns the Options field value
func (*CreateStakingOperationRequest) GetOptionsOk ¶
func (o *CreateStakingOperationRequest) GetOptionsOk() (*map[string]string, bool)
GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.
func (CreateStakingOperationRequest) MarshalJSON ¶
func (o CreateStakingOperationRequest) MarshalJSON() ([]byte, error)
func (*CreateStakingOperationRequest) SetAction ¶
func (o *CreateStakingOperationRequest) SetAction(v string)
SetAction sets field value
func (*CreateStakingOperationRequest) SetAssetId ¶
func (o *CreateStakingOperationRequest) SetAssetId(v string)
SetAssetId sets field value
func (*CreateStakingOperationRequest) SetNetworkId ¶
func (o *CreateStakingOperationRequest) SetNetworkId(v string)
SetNetworkId sets field value
func (*CreateStakingOperationRequest) SetOptions ¶
func (o *CreateStakingOperationRequest) SetOptions(v map[string]string)
SetOptions sets field value
func (CreateStakingOperationRequest) ToMap ¶
func (o CreateStakingOperationRequest) ToMap() (map[string]interface{}, error)
func (*CreateStakingOperationRequest) UnmarshalJSON ¶
func (o *CreateStakingOperationRequest) UnmarshalJSON(data []byte) (err error)
type CreateTradeRequest ¶
type CreateTradeRequest struct { // The amount to trade Amount string `json:"amount"` // The ID of the asset to trade FromAssetId string `json:"from_asset_id"` // The ID of the asset to receive from the trade ToAssetId string `json:"to_asset_id"` }
CreateTradeRequest struct for CreateTradeRequest
func NewCreateTradeRequest ¶
func NewCreateTradeRequest(amount string, fromAssetId string, toAssetId string) *CreateTradeRequest
NewCreateTradeRequest instantiates a new CreateTradeRequest 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 NewCreateTradeRequestWithDefaults ¶
func NewCreateTradeRequestWithDefaults() *CreateTradeRequest
NewCreateTradeRequestWithDefaults instantiates a new CreateTradeRequest 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 (*CreateTradeRequest) GetAmount ¶
func (o *CreateTradeRequest) GetAmount() string
GetAmount returns the Amount field value
func (*CreateTradeRequest) GetAmountOk ¶
func (o *CreateTradeRequest) GetAmountOk() (*string, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*CreateTradeRequest) GetFromAssetId ¶
func (o *CreateTradeRequest) GetFromAssetId() string
GetFromAssetId returns the FromAssetId field value
func (*CreateTradeRequest) GetFromAssetIdOk ¶
func (o *CreateTradeRequest) GetFromAssetIdOk() (*string, bool)
GetFromAssetIdOk returns a tuple with the FromAssetId field value and a boolean to check if the value has been set.
func (*CreateTradeRequest) GetToAssetId ¶
func (o *CreateTradeRequest) GetToAssetId() string
GetToAssetId returns the ToAssetId field value
func (*CreateTradeRequest) GetToAssetIdOk ¶
func (o *CreateTradeRequest) GetToAssetIdOk() (*string, bool)
GetToAssetIdOk returns a tuple with the ToAssetId field value and a boolean to check if the value has been set.
func (CreateTradeRequest) MarshalJSON ¶
func (o CreateTradeRequest) MarshalJSON() ([]byte, error)
func (*CreateTradeRequest) SetAmount ¶
func (o *CreateTradeRequest) SetAmount(v string)
SetAmount sets field value
func (*CreateTradeRequest) SetFromAssetId ¶
func (o *CreateTradeRequest) SetFromAssetId(v string)
SetFromAssetId sets field value
func (*CreateTradeRequest) SetToAssetId ¶
func (o *CreateTradeRequest) SetToAssetId(v string)
SetToAssetId sets field value
func (CreateTradeRequest) ToMap ¶
func (o CreateTradeRequest) ToMap() (map[string]interface{}, error)
func (*CreateTradeRequest) UnmarshalJSON ¶
func (o *CreateTradeRequest) UnmarshalJSON(data []byte) (err error)
type CreateTransferRequest ¶
type CreateTransferRequest struct { // The amount to transfer Amount string `json:"amount"` // The ID of the blockchain network NetworkId string `json:"network_id"` // The ID of the asset to transfer AssetId string `json:"asset_id"` // The destination address Destination string `json:"destination"` // Whether the transfer uses sponsored gas Gasless *bool `json:"gasless,omitempty"` }
CreateTransferRequest struct for CreateTransferRequest
func NewCreateTransferRequest ¶
func NewCreateTransferRequest(amount string, networkId string, assetId string, destination string) *CreateTransferRequest
NewCreateTransferRequest instantiates a new CreateTransferRequest 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 NewCreateTransferRequestWithDefaults ¶
func NewCreateTransferRequestWithDefaults() *CreateTransferRequest
NewCreateTransferRequestWithDefaults instantiates a new CreateTransferRequest 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 (*CreateTransferRequest) GetAmount ¶
func (o *CreateTransferRequest) GetAmount() string
GetAmount returns the Amount field value
func (*CreateTransferRequest) GetAmountOk ¶
func (o *CreateTransferRequest) GetAmountOk() (*string, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*CreateTransferRequest) GetAssetId ¶
func (o *CreateTransferRequest) GetAssetId() string
GetAssetId returns the AssetId field value
func (*CreateTransferRequest) GetAssetIdOk ¶
func (o *CreateTransferRequest) GetAssetIdOk() (*string, bool)
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*CreateTransferRequest) GetDestination ¶
func (o *CreateTransferRequest) GetDestination() string
GetDestination returns the Destination field value
func (*CreateTransferRequest) GetDestinationOk ¶
func (o *CreateTransferRequest) GetDestinationOk() (*string, bool)
GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set.
func (*CreateTransferRequest) GetGasless ¶
func (o *CreateTransferRequest) GetGasless() bool
GetGasless returns the Gasless field value if set, zero value otherwise.
func (*CreateTransferRequest) GetGaslessOk ¶
func (o *CreateTransferRequest) GetGaslessOk() (*bool, bool)
GetGaslessOk returns a tuple with the Gasless field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateTransferRequest) GetNetworkId ¶
func (o *CreateTransferRequest) GetNetworkId() string
GetNetworkId returns the NetworkId field value
func (*CreateTransferRequest) GetNetworkIdOk ¶
func (o *CreateTransferRequest) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*CreateTransferRequest) HasGasless ¶
func (o *CreateTransferRequest) HasGasless() bool
HasGasless returns a boolean if a field has been set.
func (CreateTransferRequest) MarshalJSON ¶
func (o CreateTransferRequest) MarshalJSON() ([]byte, error)
func (*CreateTransferRequest) SetAmount ¶
func (o *CreateTransferRequest) SetAmount(v string)
SetAmount sets field value
func (*CreateTransferRequest) SetAssetId ¶
func (o *CreateTransferRequest) SetAssetId(v string)
SetAssetId sets field value
func (*CreateTransferRequest) SetDestination ¶
func (o *CreateTransferRequest) SetDestination(v string)
SetDestination sets field value
func (*CreateTransferRequest) SetGasless ¶
func (o *CreateTransferRequest) SetGasless(v bool)
SetGasless gets a reference to the given bool and assigns it to the Gasless field.
func (*CreateTransferRequest) SetNetworkId ¶
func (o *CreateTransferRequest) SetNetworkId(v string)
SetNetworkId sets field value
func (CreateTransferRequest) ToMap ¶
func (o CreateTransferRequest) ToMap() (map[string]interface{}, error)
func (*CreateTransferRequest) UnmarshalJSON ¶
func (o *CreateTransferRequest) UnmarshalJSON(data []byte) (err error)
type CreateWalletRequest ¶
type CreateWalletRequest struct {
Wallet CreateWalletRequestWallet `json:"wallet"`
}
CreateWalletRequest struct for CreateWalletRequest
func NewCreateWalletRequest ¶
func NewCreateWalletRequest(wallet CreateWalletRequestWallet) *CreateWalletRequest
NewCreateWalletRequest instantiates a new CreateWalletRequest 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 NewCreateWalletRequestWithDefaults ¶
func NewCreateWalletRequestWithDefaults() *CreateWalletRequest
NewCreateWalletRequestWithDefaults instantiates a new CreateWalletRequest 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 (*CreateWalletRequest) GetWallet ¶
func (o *CreateWalletRequest) GetWallet() CreateWalletRequestWallet
GetWallet returns the Wallet field value
func (*CreateWalletRequest) GetWalletOk ¶
func (o *CreateWalletRequest) GetWalletOk() (*CreateWalletRequestWallet, bool)
GetWalletOk returns a tuple with the Wallet field value and a boolean to check if the value has been set.
func (CreateWalletRequest) MarshalJSON ¶
func (o CreateWalletRequest) MarshalJSON() ([]byte, error)
func (*CreateWalletRequest) SetWallet ¶
func (o *CreateWalletRequest) SetWallet(v CreateWalletRequestWallet)
SetWallet sets field value
func (CreateWalletRequest) ToMap ¶
func (o CreateWalletRequest) ToMap() (map[string]interface{}, error)
func (*CreateWalletRequest) UnmarshalJSON ¶
func (o *CreateWalletRequest) UnmarshalJSON(data []byte) (err error)
type CreateWalletRequestWallet ¶
type CreateWalletRequestWallet struct { // The ID of the blockchain network NetworkId string `json:"network_id"` // Whether the wallet should use the project's server signer or if the addresses in the wallets will belong to a private key the developer manages. Defaults to false. UseServerSigner *bool `json:"use_server_signer,omitempty"` }
CreateWalletRequestWallet Parameters for configuring a wallet
func NewCreateWalletRequestWallet ¶
func NewCreateWalletRequestWallet(networkId string) *CreateWalletRequestWallet
NewCreateWalletRequestWallet instantiates a new CreateWalletRequestWallet 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 NewCreateWalletRequestWalletWithDefaults ¶
func NewCreateWalletRequestWalletWithDefaults() *CreateWalletRequestWallet
NewCreateWalletRequestWalletWithDefaults instantiates a new CreateWalletRequestWallet 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 (*CreateWalletRequestWallet) GetNetworkId ¶
func (o *CreateWalletRequestWallet) GetNetworkId() string
GetNetworkId returns the NetworkId field value
func (*CreateWalletRequestWallet) GetNetworkIdOk ¶
func (o *CreateWalletRequestWallet) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*CreateWalletRequestWallet) GetUseServerSigner ¶
func (o *CreateWalletRequestWallet) GetUseServerSigner() bool
GetUseServerSigner returns the UseServerSigner field value if set, zero value otherwise.
func (*CreateWalletRequestWallet) GetUseServerSignerOk ¶
func (o *CreateWalletRequestWallet) GetUseServerSignerOk() (*bool, bool)
GetUseServerSignerOk returns a tuple with the UseServerSigner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWalletRequestWallet) HasUseServerSigner ¶
func (o *CreateWalletRequestWallet) HasUseServerSigner() bool
HasUseServerSigner returns a boolean if a field has been set.
func (CreateWalletRequestWallet) MarshalJSON ¶
func (o CreateWalletRequestWallet) MarshalJSON() ([]byte, error)
func (*CreateWalletRequestWallet) SetNetworkId ¶
func (o *CreateWalletRequestWallet) SetNetworkId(v string)
SetNetworkId sets field value
func (*CreateWalletRequestWallet) SetUseServerSigner ¶
func (o *CreateWalletRequestWallet) SetUseServerSigner(v bool)
SetUseServerSigner gets a reference to the given bool and assigns it to the UseServerSigner field.
func (CreateWalletRequestWallet) ToMap ¶
func (o CreateWalletRequestWallet) ToMap() (map[string]interface{}, error)
func (*CreateWalletRequestWallet) UnmarshalJSON ¶
func (o *CreateWalletRequestWallet) UnmarshalJSON(data []byte) (err error)
type CreateWebhookRequest ¶
type CreateWebhookRequest struct { // The ID of the blockchain network NetworkId string `json:"network_id"` EventType *WebhookEventType `json:"event_type,omitempty"` // Webhook will monitor all events that matches any one of the event filters. EventFilters []WebhookEventFilter `json:"event_filters,omitempty"` // The URL to which the notifications will be sent NotificationUri string `json:"notification_uri"` }
CreateWebhookRequest struct for CreateWebhookRequest
func NewCreateWebhookRequest ¶
func NewCreateWebhookRequest(networkId string, notificationUri string) *CreateWebhookRequest
NewCreateWebhookRequest instantiates a new CreateWebhookRequest 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 NewCreateWebhookRequestWithDefaults ¶
func NewCreateWebhookRequestWithDefaults() *CreateWebhookRequest
NewCreateWebhookRequestWithDefaults instantiates a new CreateWebhookRequest 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 (*CreateWebhookRequest) GetEventFilters ¶
func (o *CreateWebhookRequest) GetEventFilters() []WebhookEventFilter
GetEventFilters returns the EventFilters field value if set, zero value otherwise.
func (*CreateWebhookRequest) GetEventFiltersOk ¶
func (o *CreateWebhookRequest) GetEventFiltersOk() ([]WebhookEventFilter, bool)
GetEventFiltersOk returns a tuple with the EventFilters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWebhookRequest) GetEventType ¶
func (o *CreateWebhookRequest) GetEventType() WebhookEventType
GetEventType returns the EventType field value if set, zero value otherwise.
func (*CreateWebhookRequest) GetEventTypeOk ¶
func (o *CreateWebhookRequest) GetEventTypeOk() (*WebhookEventType, bool)
GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateWebhookRequest) GetNetworkId ¶
func (o *CreateWebhookRequest) GetNetworkId() string
GetNetworkId returns the NetworkId field value
func (*CreateWebhookRequest) GetNetworkIdOk ¶
func (o *CreateWebhookRequest) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*CreateWebhookRequest) GetNotificationUri ¶
func (o *CreateWebhookRequest) GetNotificationUri() string
GetNotificationUri returns the NotificationUri field value
func (*CreateWebhookRequest) GetNotificationUriOk ¶
func (o *CreateWebhookRequest) GetNotificationUriOk() (*string, bool)
GetNotificationUriOk returns a tuple with the NotificationUri field value and a boolean to check if the value has been set.
func (*CreateWebhookRequest) HasEventFilters ¶
func (o *CreateWebhookRequest) HasEventFilters() bool
HasEventFilters returns a boolean if a field has been set.
func (*CreateWebhookRequest) HasEventType ¶
func (o *CreateWebhookRequest) HasEventType() bool
HasEventType returns a boolean if a field has been set.
func (CreateWebhookRequest) MarshalJSON ¶
func (o CreateWebhookRequest) MarshalJSON() ([]byte, error)
func (*CreateWebhookRequest) SetEventFilters ¶
func (o *CreateWebhookRequest) SetEventFilters(v []WebhookEventFilter)
SetEventFilters gets a reference to the given []WebhookEventFilter and assigns it to the EventFilters field.
func (*CreateWebhookRequest) SetEventType ¶
func (o *CreateWebhookRequest) SetEventType(v WebhookEventType)
SetEventType gets a reference to the given WebhookEventType and assigns it to the EventType field.
func (*CreateWebhookRequest) SetNetworkId ¶
func (o *CreateWebhookRequest) SetNetworkId(v string)
SetNetworkId sets field value
func (*CreateWebhookRequest) SetNotificationUri ¶
func (o *CreateWebhookRequest) SetNotificationUri(v string)
SetNotificationUri sets field value
func (CreateWebhookRequest) ToMap ¶
func (o CreateWebhookRequest) ToMap() (map[string]interface{}, error)
func (*CreateWebhookRequest) UnmarshalJSON ¶
func (o *CreateWebhookRequest) UnmarshalJSON(data []byte) (err error)
type Error ¶
type Error struct { // A short string representing the reported error. Can be use to handle errors programmatically. Code string `json:"code"` // A human-readable message providing more details about the error. Message string `json:"message"` }
Error An error response from the Coinbase Developer Platform API
func NewError ¶
NewError instantiates a new Error 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 NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error 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 (*Error) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*Error) GetMessage ¶
GetMessage returns the Message field value
func (*Error) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (Error) MarshalJSON ¶
func (*Error) UnmarshalJSON ¶
type EthereumValidatorMetadata ¶
type EthereumValidatorMetadata struct { // The index of the validator in the validator set. Index string `json:"index"` // The public key of the validator. PublicKey string `json:"public_key"` // The address to which the validator's rewards are sent. WithdrawalAddress string `json:"withdrawal_address"` // Whether the validator has been slashed. Slashed bool `json:"slashed"` // The epoch at which the validator was activated. ActivationEpoch string `json:"activationEpoch"` // The epoch at which the validator exited. ExitEpoch string `json:"exitEpoch"` // The epoch at which the validator can withdraw. WithdrawableEpoch string `json:"withdrawableEpoch"` Balance Balance `json:"balance"` EffectiveBalance Balance `json:"effective_balance"` }
EthereumValidatorMetadata An Ethereum validator.
func NewEthereumValidatorMetadata ¶
func NewEthereumValidatorMetadata(index string, publicKey string, withdrawalAddress string, slashed bool, activationEpoch string, exitEpoch string, withdrawableEpoch string, balance Balance, effectiveBalance Balance) *EthereumValidatorMetadata
NewEthereumValidatorMetadata instantiates a new EthereumValidatorMetadata 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 NewEthereumValidatorMetadataWithDefaults ¶
func NewEthereumValidatorMetadataWithDefaults() *EthereumValidatorMetadata
NewEthereumValidatorMetadataWithDefaults instantiates a new EthereumValidatorMetadata 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 (*EthereumValidatorMetadata) GetActivationEpoch ¶
func (o *EthereumValidatorMetadata) GetActivationEpoch() string
GetActivationEpoch returns the ActivationEpoch field value
func (*EthereumValidatorMetadata) GetActivationEpochOk ¶
func (o *EthereumValidatorMetadata) GetActivationEpochOk() (*string, bool)
GetActivationEpochOk returns a tuple with the ActivationEpoch field value and a boolean to check if the value has been set.
func (*EthereumValidatorMetadata) GetBalance ¶
func (o *EthereumValidatorMetadata) GetBalance() Balance
GetBalance returns the Balance field value
func (*EthereumValidatorMetadata) GetBalanceOk ¶
func (o *EthereumValidatorMetadata) GetBalanceOk() (*Balance, bool)
GetBalanceOk returns a tuple with the Balance field value and a boolean to check if the value has been set.
func (*EthereumValidatorMetadata) GetEffectiveBalance ¶
func (o *EthereumValidatorMetadata) GetEffectiveBalance() Balance
GetEffectiveBalance returns the EffectiveBalance field value
func (*EthereumValidatorMetadata) GetEffectiveBalanceOk ¶
func (o *EthereumValidatorMetadata) GetEffectiveBalanceOk() (*Balance, bool)
GetEffectiveBalanceOk returns a tuple with the EffectiveBalance field value and a boolean to check if the value has been set.
func (*EthereumValidatorMetadata) GetExitEpoch ¶
func (o *EthereumValidatorMetadata) GetExitEpoch() string
GetExitEpoch returns the ExitEpoch field value
func (*EthereumValidatorMetadata) GetExitEpochOk ¶
func (o *EthereumValidatorMetadata) GetExitEpochOk() (*string, bool)
GetExitEpochOk returns a tuple with the ExitEpoch field value and a boolean to check if the value has been set.
func (*EthereumValidatorMetadata) GetIndex ¶
func (o *EthereumValidatorMetadata) GetIndex() string
GetIndex returns the Index field value
func (*EthereumValidatorMetadata) GetIndexOk ¶
func (o *EthereumValidatorMetadata) GetIndexOk() (*string, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*EthereumValidatorMetadata) GetPublicKey ¶
func (o *EthereumValidatorMetadata) GetPublicKey() string
GetPublicKey returns the PublicKey field value
func (*EthereumValidatorMetadata) GetPublicKeyOk ¶
func (o *EthereumValidatorMetadata) GetPublicKeyOk() (*string, bool)
GetPublicKeyOk returns a tuple with the PublicKey field value and a boolean to check if the value has been set.
func (*EthereumValidatorMetadata) GetSlashed ¶
func (o *EthereumValidatorMetadata) GetSlashed() bool
GetSlashed returns the Slashed field value
func (*EthereumValidatorMetadata) GetSlashedOk ¶
func (o *EthereumValidatorMetadata) GetSlashedOk() (*bool, bool)
GetSlashedOk returns a tuple with the Slashed field value and a boolean to check if the value has been set.
func (*EthereumValidatorMetadata) GetWithdrawableEpoch ¶
func (o *EthereumValidatorMetadata) GetWithdrawableEpoch() string
GetWithdrawableEpoch returns the WithdrawableEpoch field value
func (*EthereumValidatorMetadata) GetWithdrawableEpochOk ¶
func (o *EthereumValidatorMetadata) GetWithdrawableEpochOk() (*string, bool)
GetWithdrawableEpochOk returns a tuple with the WithdrawableEpoch field value and a boolean to check if the value has been set.
func (*EthereumValidatorMetadata) GetWithdrawalAddress ¶
func (o *EthereumValidatorMetadata) GetWithdrawalAddress() string
GetWithdrawalAddress returns the WithdrawalAddress field value
func (*EthereumValidatorMetadata) GetWithdrawalAddressOk ¶
func (o *EthereumValidatorMetadata) GetWithdrawalAddressOk() (*string, bool)
GetWithdrawalAddressOk returns a tuple with the WithdrawalAddress field value and a boolean to check if the value has been set.
func (EthereumValidatorMetadata) MarshalJSON ¶
func (o EthereumValidatorMetadata) MarshalJSON() ([]byte, error)
func (*EthereumValidatorMetadata) SetActivationEpoch ¶
func (o *EthereumValidatorMetadata) SetActivationEpoch(v string)
SetActivationEpoch sets field value
func (*EthereumValidatorMetadata) SetBalance ¶
func (o *EthereumValidatorMetadata) SetBalance(v Balance)
SetBalance sets field value
func (*EthereumValidatorMetadata) SetEffectiveBalance ¶
func (o *EthereumValidatorMetadata) SetEffectiveBalance(v Balance)
SetEffectiveBalance sets field value
func (*EthereumValidatorMetadata) SetExitEpoch ¶
func (o *EthereumValidatorMetadata) SetExitEpoch(v string)
SetExitEpoch sets field value
func (*EthereumValidatorMetadata) SetIndex ¶
func (o *EthereumValidatorMetadata) SetIndex(v string)
SetIndex sets field value
func (*EthereumValidatorMetadata) SetPublicKey ¶
func (o *EthereumValidatorMetadata) SetPublicKey(v string)
SetPublicKey sets field value
func (*EthereumValidatorMetadata) SetSlashed ¶
func (o *EthereumValidatorMetadata) SetSlashed(v bool)
SetSlashed sets field value
func (*EthereumValidatorMetadata) SetWithdrawableEpoch ¶
func (o *EthereumValidatorMetadata) SetWithdrawableEpoch(v string)
SetWithdrawableEpoch sets field value
func (*EthereumValidatorMetadata) SetWithdrawalAddress ¶
func (o *EthereumValidatorMetadata) SetWithdrawalAddress(v string)
SetWithdrawalAddress sets field value
func (EthereumValidatorMetadata) ToMap ¶
func (o EthereumValidatorMetadata) ToMap() (map[string]interface{}, error)
func (*EthereumValidatorMetadata) UnmarshalJSON ¶
func (o *EthereumValidatorMetadata) UnmarshalJSON(data []byte) (err error)
type ExternalAddressesAPI ¶
type ExternalAddressesAPI interface { /* GetExternalAddressBalance Get the balance of an asset in an external address Get the balance of an asset in an external address @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network @param addressId The ID of the address to fetch the balance for @param assetId The ID of the asset to fetch the balance for @return ApiGetExternalAddressBalanceRequest */ GetExternalAddressBalance(ctx context.Context, networkId string, addressId string, assetId string) ApiGetExternalAddressBalanceRequest // GetExternalAddressBalanceExecute executes the request // @return Balance GetExternalAddressBalanceExecute(r ApiGetExternalAddressBalanceRequest) (*Balance, *http.Response, error) /* ListAddressHistoricalBalance Get address balance history for asset List the historical balance of an asset in a specific address. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network @param addressId The ID of the address to fetch the historical balance for. @param assetId The symbol of the asset to fetch the historical balance for. @return ApiListAddressHistoricalBalanceRequest */ ListAddressHistoricalBalance(ctx context.Context, networkId string, addressId string, assetId string) ApiListAddressHistoricalBalanceRequest // ListAddressHistoricalBalanceExecute executes the request // @return AddressHistoricalBalanceList ListAddressHistoricalBalanceExecute(r ApiListAddressHistoricalBalanceRequest) (*AddressHistoricalBalanceList, *http.Response, error) /* ListExternalAddressBalances Get the balances of an external address List all of the balances of an external address @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network @param addressId The ID of the address to fetch the balance for @return ApiListExternalAddressBalancesRequest */ ListExternalAddressBalances(ctx context.Context, networkId string, addressId string) ApiListExternalAddressBalancesRequest // ListExternalAddressBalancesExecute executes the request // @return AddressBalanceList ListExternalAddressBalancesExecute(r ApiListExternalAddressBalancesRequest) (*AddressBalanceList, *http.Response, error) /* RequestExternalFaucetFunds Request faucet funds for external address. Request faucet funds to be sent to external address. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the wallet the address belongs to. @param addressId The onchain address of the address that is being fetched. @return ApiRequestExternalFaucetFundsRequest */ RequestExternalFaucetFunds(ctx context.Context, networkId string, addressId string) ApiRequestExternalFaucetFundsRequest // RequestExternalFaucetFundsExecute executes the request // @return FaucetTransaction RequestExternalFaucetFundsExecute(r ApiRequestExternalFaucetFundsRequest) (*FaucetTransaction, *http.Response, error) }
type ExternalAddressesAPIService ¶
type ExternalAddressesAPIService service
ExternalAddressesAPIService ExternalAddressesAPI service
func (*ExternalAddressesAPIService) GetExternalAddressBalance ¶
func (a *ExternalAddressesAPIService) GetExternalAddressBalance(ctx context.Context, networkId string, addressId string, assetId string) ApiGetExternalAddressBalanceRequest
GetExternalAddressBalance Get the balance of an asset in an external address
Get the balance of an asset in an external address
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network @param addressId The ID of the address to fetch the balance for @param assetId The ID of the asset to fetch the balance for @return ApiGetExternalAddressBalanceRequest
func (*ExternalAddressesAPIService) GetExternalAddressBalanceExecute ¶
func (a *ExternalAddressesAPIService) GetExternalAddressBalanceExecute(r ApiGetExternalAddressBalanceRequest) (*Balance, *http.Response, error)
Execute executes the request
@return Balance
func (*ExternalAddressesAPIService) ListAddressHistoricalBalance ¶
func (a *ExternalAddressesAPIService) ListAddressHistoricalBalance(ctx context.Context, networkId string, addressId string, assetId string) ApiListAddressHistoricalBalanceRequest
ListAddressHistoricalBalance Get address balance history for asset
List the historical balance of an asset in a specific address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network @param addressId The ID of the address to fetch the historical balance for. @param assetId The symbol of the asset to fetch the historical balance for. @return ApiListAddressHistoricalBalanceRequest
func (*ExternalAddressesAPIService) ListAddressHistoricalBalanceExecute ¶
func (a *ExternalAddressesAPIService) ListAddressHistoricalBalanceExecute(r ApiListAddressHistoricalBalanceRequest) (*AddressHistoricalBalanceList, *http.Response, error)
Execute executes the request
@return AddressHistoricalBalanceList
func (*ExternalAddressesAPIService) ListExternalAddressBalances ¶
func (a *ExternalAddressesAPIService) ListExternalAddressBalances(ctx context.Context, networkId string, addressId string) ApiListExternalAddressBalancesRequest
ListExternalAddressBalances Get the balances of an external address
List all of the balances of an external address
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network @param addressId The ID of the address to fetch the balance for @return ApiListExternalAddressBalancesRequest
func (*ExternalAddressesAPIService) ListExternalAddressBalancesExecute ¶
func (a *ExternalAddressesAPIService) ListExternalAddressBalancesExecute(r ApiListExternalAddressBalancesRequest) (*AddressBalanceList, *http.Response, error)
Execute executes the request
@return AddressBalanceList
func (*ExternalAddressesAPIService) RequestExternalFaucetFunds ¶
func (a *ExternalAddressesAPIService) RequestExternalFaucetFunds(ctx context.Context, networkId string, addressId string) ApiRequestExternalFaucetFundsRequest
RequestExternalFaucetFunds Request faucet funds for external address.
Request faucet funds to be sent to external address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the wallet the address belongs to. @param addressId The onchain address of the address that is being fetched. @return ApiRequestExternalFaucetFundsRequest
func (*ExternalAddressesAPIService) RequestExternalFaucetFundsExecute ¶
func (a *ExternalAddressesAPIService) RequestExternalFaucetFundsExecute(r ApiRequestExternalFaucetFundsRequest) (*FaucetTransaction, *http.Response, error)
Execute executes the request
@return FaucetTransaction
type FaucetTransaction ¶
type FaucetTransaction struct { // The transaction hash of the transaction the faucet created. TransactionHash string `json:"transaction_hash"` // Link to the transaction on the blockchain explorer. TransactionLink string `json:"transaction_link"` }
FaucetTransaction The faucet transaction
func NewFaucetTransaction ¶
func NewFaucetTransaction(transactionHash string, transactionLink string) *FaucetTransaction
NewFaucetTransaction instantiates a new FaucetTransaction 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 NewFaucetTransactionWithDefaults ¶
func NewFaucetTransactionWithDefaults() *FaucetTransaction
NewFaucetTransactionWithDefaults instantiates a new FaucetTransaction 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 (*FaucetTransaction) GetTransactionHash ¶
func (o *FaucetTransaction) GetTransactionHash() string
GetTransactionHash returns the TransactionHash field value
func (*FaucetTransaction) GetTransactionHashOk ¶
func (o *FaucetTransaction) GetTransactionHashOk() (*string, bool)
GetTransactionHashOk returns a tuple with the TransactionHash field value and a boolean to check if the value has been set.
func (*FaucetTransaction) GetTransactionLink ¶
func (o *FaucetTransaction) GetTransactionLink() string
GetTransactionLink returns the TransactionLink field value
func (*FaucetTransaction) GetTransactionLinkOk ¶
func (o *FaucetTransaction) GetTransactionLinkOk() (*string, bool)
GetTransactionLinkOk returns a tuple with the TransactionLink field value and a boolean to check if the value has been set.
func (FaucetTransaction) MarshalJSON ¶
func (o FaucetTransaction) MarshalJSON() ([]byte, error)
func (*FaucetTransaction) SetTransactionHash ¶
func (o *FaucetTransaction) SetTransactionHash(v string)
SetTransactionHash sets field value
func (*FaucetTransaction) SetTransactionLink ¶
func (o *FaucetTransaction) SetTransactionLink(v string)
SetTransactionLink sets field value
func (FaucetTransaction) ToMap ¶
func (o FaucetTransaction) ToMap() (map[string]interface{}, error)
func (*FaucetTransaction) UnmarshalJSON ¶
func (o *FaucetTransaction) UnmarshalJSON(data []byte) (err error)
type Feature ¶
type Feature string
Feature Features that can be enabled for a wallet
const ( FEATURE_TRANSFER Feature = "transfer" FEATURE_TRADE Feature = "trade" FEATURE_FAUCET Feature = "faucet" FEATURE_SERVER_SIGNER Feature = "server_signer" )
List of Feature
func NewFeatureFromValue ¶
NewFeatureFromValue returns a pointer to a valid Feature for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Feature) UnmarshalJSON ¶
type FeatureSet ¶
type FeatureSet struct { // Whether the network supports a faucet Faucet bool `json:"faucet"` // Whether the network supports Server-Signers ServerSigner bool `json:"server_signer"` // Whether the network supports transfers Transfer bool `json:"transfer"` // Whether the network supports trading Trade bool `json:"trade"` // Whether the network supports staking Stake bool `json:"stake"` // Whether the network supports gasless sends GaslessSend bool `json:"gasless_send"` }
FeatureSet struct for FeatureSet
func NewFeatureSet ¶
func NewFeatureSet(faucet bool, serverSigner bool, transfer bool, trade bool, stake bool, gaslessSend bool) *FeatureSet
NewFeatureSet instantiates a new FeatureSet 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 NewFeatureSetWithDefaults ¶
func NewFeatureSetWithDefaults() *FeatureSet
NewFeatureSetWithDefaults instantiates a new FeatureSet 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 (*FeatureSet) GetFaucet ¶
func (o *FeatureSet) GetFaucet() bool
GetFaucet returns the Faucet field value
func (*FeatureSet) GetFaucetOk ¶
func (o *FeatureSet) GetFaucetOk() (*bool, bool)
GetFaucetOk returns a tuple with the Faucet field value and a boolean to check if the value has been set.
func (*FeatureSet) GetGaslessSend ¶
func (o *FeatureSet) GetGaslessSend() bool
GetGaslessSend returns the GaslessSend field value
func (*FeatureSet) GetGaslessSendOk ¶
func (o *FeatureSet) GetGaslessSendOk() (*bool, bool)
GetGaslessSendOk returns a tuple with the GaslessSend field value and a boolean to check if the value has been set.
func (*FeatureSet) GetServerSigner ¶
func (o *FeatureSet) GetServerSigner() bool
GetServerSigner returns the ServerSigner field value
func (*FeatureSet) GetServerSignerOk ¶
func (o *FeatureSet) GetServerSignerOk() (*bool, bool)
GetServerSignerOk returns a tuple with the ServerSigner field value and a boolean to check if the value has been set.
func (*FeatureSet) GetStake ¶
func (o *FeatureSet) GetStake() bool
GetStake returns the Stake field value
func (*FeatureSet) GetStakeOk ¶
func (o *FeatureSet) GetStakeOk() (*bool, bool)
GetStakeOk returns a tuple with the Stake field value and a boolean to check if the value has been set.
func (*FeatureSet) GetTrade ¶
func (o *FeatureSet) GetTrade() bool
GetTrade returns the Trade field value
func (*FeatureSet) GetTradeOk ¶
func (o *FeatureSet) GetTradeOk() (*bool, bool)
GetTradeOk returns a tuple with the Trade field value and a boolean to check if the value has been set.
func (*FeatureSet) GetTransfer ¶
func (o *FeatureSet) GetTransfer() bool
GetTransfer returns the Transfer field value
func (*FeatureSet) GetTransferOk ¶
func (o *FeatureSet) GetTransferOk() (*bool, bool)
GetTransferOk returns a tuple with the Transfer field value and a boolean to check if the value has been set.
func (FeatureSet) MarshalJSON ¶
func (o FeatureSet) MarshalJSON() ([]byte, error)
func (*FeatureSet) SetGaslessSend ¶
func (o *FeatureSet) SetGaslessSend(v bool)
SetGaslessSend sets field value
func (*FeatureSet) SetServerSigner ¶
func (o *FeatureSet) SetServerSigner(v bool)
SetServerSigner sets field value
func (*FeatureSet) SetTransfer ¶
func (o *FeatureSet) SetTransfer(v bool)
SetTransfer sets field value
func (FeatureSet) ToMap ¶
func (o FeatureSet) ToMap() (map[string]interface{}, error)
func (*FeatureSet) UnmarshalJSON ¶
func (o *FeatureSet) UnmarshalJSON(data []byte) (err error)
type FetchHistoricalStakingBalances200Response ¶
type FetchHistoricalStakingBalances200Response struct { Data []StakingBalance `json:"data"` // True if this list has another page of items after this one that can be fetched. HasMore bool `json:"has_more"` // The page token to be used to fetch the next page. NextPage string `json:"next_page"` }
FetchHistoricalStakingBalances200Response
func NewFetchHistoricalStakingBalances200Response ¶
func NewFetchHistoricalStakingBalances200Response(data []StakingBalance, hasMore bool, nextPage string) *FetchHistoricalStakingBalances200Response
NewFetchHistoricalStakingBalances200Response instantiates a new FetchHistoricalStakingBalances200Response 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 NewFetchHistoricalStakingBalances200ResponseWithDefaults ¶
func NewFetchHistoricalStakingBalances200ResponseWithDefaults() *FetchHistoricalStakingBalances200Response
NewFetchHistoricalStakingBalances200ResponseWithDefaults instantiates a new FetchHistoricalStakingBalances200Response 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 (*FetchHistoricalStakingBalances200Response) GetData ¶
func (o *FetchHistoricalStakingBalances200Response) GetData() []StakingBalance
GetData returns the Data field value
func (*FetchHistoricalStakingBalances200Response) GetDataOk ¶
func (o *FetchHistoricalStakingBalances200Response) GetDataOk() ([]StakingBalance, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*FetchHistoricalStakingBalances200Response) GetHasMore ¶
func (o *FetchHistoricalStakingBalances200Response) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*FetchHistoricalStakingBalances200Response) GetHasMoreOk ¶
func (o *FetchHistoricalStakingBalances200Response) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*FetchHistoricalStakingBalances200Response) GetNextPage ¶
func (o *FetchHistoricalStakingBalances200Response) GetNextPage() string
GetNextPage returns the NextPage field value
func (*FetchHistoricalStakingBalances200Response) GetNextPageOk ¶
func (o *FetchHistoricalStakingBalances200Response) GetNextPageOk() (*string, bool)
GetNextPageOk returns a tuple with the NextPage field value and a boolean to check if the value has been set.
func (FetchHistoricalStakingBalances200Response) MarshalJSON ¶
func (o FetchHistoricalStakingBalances200Response) MarshalJSON() ([]byte, error)
func (*FetchHistoricalStakingBalances200Response) SetData ¶
func (o *FetchHistoricalStakingBalances200Response) SetData(v []StakingBalance)
SetData sets field value
func (*FetchHistoricalStakingBalances200Response) SetHasMore ¶
func (o *FetchHistoricalStakingBalances200Response) SetHasMore(v bool)
SetHasMore sets field value
func (*FetchHistoricalStakingBalances200Response) SetNextPage ¶
func (o *FetchHistoricalStakingBalances200Response) SetNextPage(v string)
SetNextPage sets field value
func (FetchHistoricalStakingBalances200Response) ToMap ¶
func (o FetchHistoricalStakingBalances200Response) ToMap() (map[string]interface{}, error)
func (*FetchHistoricalStakingBalances200Response) UnmarshalJSON ¶
func (o *FetchHistoricalStakingBalances200Response) UnmarshalJSON(data []byte) (err error)
type FetchStakingRewards200Response ¶
type FetchStakingRewards200Response struct { Data []StakingReward `json:"data"` // True if this list has another page of items after this one that can be fetched. HasMore bool `json:"has_more"` // The page token to be used to fetch the next page. NextPage string `json:"next_page"` }
FetchStakingRewards200Response
func NewFetchStakingRewards200Response ¶
func NewFetchStakingRewards200Response(data []StakingReward, hasMore bool, nextPage string) *FetchStakingRewards200Response
NewFetchStakingRewards200Response instantiates a new FetchStakingRewards200Response 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 NewFetchStakingRewards200ResponseWithDefaults ¶
func NewFetchStakingRewards200ResponseWithDefaults() *FetchStakingRewards200Response
NewFetchStakingRewards200ResponseWithDefaults instantiates a new FetchStakingRewards200Response 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 (*FetchStakingRewards200Response) GetData ¶
func (o *FetchStakingRewards200Response) GetData() []StakingReward
GetData returns the Data field value
func (*FetchStakingRewards200Response) GetDataOk ¶
func (o *FetchStakingRewards200Response) GetDataOk() ([]StakingReward, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*FetchStakingRewards200Response) GetHasMore ¶
func (o *FetchStakingRewards200Response) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*FetchStakingRewards200Response) GetHasMoreOk ¶
func (o *FetchStakingRewards200Response) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*FetchStakingRewards200Response) GetNextPage ¶
func (o *FetchStakingRewards200Response) GetNextPage() string
GetNextPage returns the NextPage field value
func (*FetchStakingRewards200Response) GetNextPageOk ¶
func (o *FetchStakingRewards200Response) GetNextPageOk() (*string, bool)
GetNextPageOk returns a tuple with the NextPage field value and a boolean to check if the value has been set.
func (FetchStakingRewards200Response) MarshalJSON ¶
func (o FetchStakingRewards200Response) MarshalJSON() ([]byte, error)
func (*FetchStakingRewards200Response) SetData ¶
func (o *FetchStakingRewards200Response) SetData(v []StakingReward)
SetData sets field value
func (*FetchStakingRewards200Response) SetHasMore ¶
func (o *FetchStakingRewards200Response) SetHasMore(v bool)
SetHasMore sets field value
func (*FetchStakingRewards200Response) SetNextPage ¶
func (o *FetchStakingRewards200Response) SetNextPage(v string)
SetNextPage sets field value
func (FetchStakingRewards200Response) ToMap ¶
func (o FetchStakingRewards200Response) ToMap() (map[string]interface{}, error)
func (*FetchStakingRewards200Response) UnmarshalJSON ¶
func (o *FetchStakingRewards200Response) UnmarshalJSON(data []byte) (err error)
type FetchStakingRewardsRequest ¶
type FetchStakingRewardsRequest struct { // The ID of the blockchain network NetworkId string `json:"network_id"` // The ID of the asset for which the staking rewards are being fetched AssetId string `json:"asset_id"` // The onchain addresses for which the staking rewards are being fetched AddressIds []string `json:"address_ids"` // The start time of this reward period StartTime time.Time `json:"start_time"` // The end time of this reward period EndTime time.Time `json:"end_time"` Format StakingRewardFormat `json:"format"` }
FetchStakingRewardsRequest struct for FetchStakingRewardsRequest
func NewFetchStakingRewardsRequest ¶
func NewFetchStakingRewardsRequest(networkId string, assetId string, addressIds []string, startTime time.Time, endTime time.Time, format StakingRewardFormat) *FetchStakingRewardsRequest
NewFetchStakingRewardsRequest instantiates a new FetchStakingRewardsRequest 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 NewFetchStakingRewardsRequestWithDefaults ¶
func NewFetchStakingRewardsRequestWithDefaults() *FetchStakingRewardsRequest
NewFetchStakingRewardsRequestWithDefaults instantiates a new FetchStakingRewardsRequest 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 (*FetchStakingRewardsRequest) GetAddressIds ¶
func (o *FetchStakingRewardsRequest) GetAddressIds() []string
GetAddressIds returns the AddressIds field value
func (*FetchStakingRewardsRequest) GetAddressIdsOk ¶
func (o *FetchStakingRewardsRequest) GetAddressIdsOk() ([]string, bool)
GetAddressIdsOk returns a tuple with the AddressIds field value and a boolean to check if the value has been set.
func (*FetchStakingRewardsRequest) GetAssetId ¶
func (o *FetchStakingRewardsRequest) GetAssetId() string
GetAssetId returns the AssetId field value
func (*FetchStakingRewardsRequest) GetAssetIdOk ¶
func (o *FetchStakingRewardsRequest) GetAssetIdOk() (*string, bool)
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*FetchStakingRewardsRequest) GetEndTime ¶
func (o *FetchStakingRewardsRequest) GetEndTime() time.Time
GetEndTime returns the EndTime field value
func (*FetchStakingRewardsRequest) GetEndTimeOk ¶
func (o *FetchStakingRewardsRequest) GetEndTimeOk() (*time.Time, bool)
GetEndTimeOk returns a tuple with the EndTime field value and a boolean to check if the value has been set.
func (*FetchStakingRewardsRequest) GetFormat ¶
func (o *FetchStakingRewardsRequest) GetFormat() StakingRewardFormat
GetFormat returns the Format field value
func (*FetchStakingRewardsRequest) GetFormatOk ¶
func (o *FetchStakingRewardsRequest) GetFormatOk() (*StakingRewardFormat, bool)
GetFormatOk returns a tuple with the Format field value and a boolean to check if the value has been set.
func (*FetchStakingRewardsRequest) GetNetworkId ¶
func (o *FetchStakingRewardsRequest) GetNetworkId() string
GetNetworkId returns the NetworkId field value
func (*FetchStakingRewardsRequest) GetNetworkIdOk ¶
func (o *FetchStakingRewardsRequest) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*FetchStakingRewardsRequest) GetStartTime ¶
func (o *FetchStakingRewardsRequest) GetStartTime() time.Time
GetStartTime returns the StartTime field value
func (*FetchStakingRewardsRequest) GetStartTimeOk ¶
func (o *FetchStakingRewardsRequest) GetStartTimeOk() (*time.Time, bool)
GetStartTimeOk returns a tuple with the StartTime field value and a boolean to check if the value has been set.
func (FetchStakingRewardsRequest) MarshalJSON ¶
func (o FetchStakingRewardsRequest) MarshalJSON() ([]byte, error)
func (*FetchStakingRewardsRequest) SetAddressIds ¶
func (o *FetchStakingRewardsRequest) SetAddressIds(v []string)
SetAddressIds sets field value
func (*FetchStakingRewardsRequest) SetAssetId ¶
func (o *FetchStakingRewardsRequest) SetAssetId(v string)
SetAssetId sets field value
func (*FetchStakingRewardsRequest) SetEndTime ¶
func (o *FetchStakingRewardsRequest) SetEndTime(v time.Time)
SetEndTime sets field value
func (*FetchStakingRewardsRequest) SetFormat ¶
func (o *FetchStakingRewardsRequest) SetFormat(v StakingRewardFormat)
SetFormat sets field value
func (*FetchStakingRewardsRequest) SetNetworkId ¶
func (o *FetchStakingRewardsRequest) SetNetworkId(v string)
SetNetworkId sets field value
func (*FetchStakingRewardsRequest) SetStartTime ¶
func (o *FetchStakingRewardsRequest) SetStartTime(v time.Time)
SetStartTime sets field value
func (FetchStakingRewardsRequest) ToMap ¶
func (o FetchStakingRewardsRequest) ToMap() (map[string]interface{}, error)
func (*FetchStakingRewardsRequest) UnmarshalJSON ¶
func (o *FetchStakingRewardsRequest) UnmarshalJSON(data []byte) (err error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetStakingContextRequest ¶
type GetStakingContextRequest struct { // The ID of the blockchain network NetworkId string `json:"network_id"` // The ID of the asset being staked AssetId string `json:"asset_id"` // The onchain address for which the staking context is being fetched AddressId string `json:"address_id"` Options map[string]string `json:"options"` }
GetStakingContextRequest struct for GetStakingContextRequest
func NewGetStakingContextRequest ¶
func NewGetStakingContextRequest(networkId string, assetId string, addressId string, options map[string]string) *GetStakingContextRequest
NewGetStakingContextRequest instantiates a new GetStakingContextRequest 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 NewGetStakingContextRequestWithDefaults ¶
func NewGetStakingContextRequestWithDefaults() *GetStakingContextRequest
NewGetStakingContextRequestWithDefaults instantiates a new GetStakingContextRequest 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 (*GetStakingContextRequest) GetAddressId ¶
func (o *GetStakingContextRequest) GetAddressId() string
GetAddressId returns the AddressId field value
func (*GetStakingContextRequest) GetAddressIdOk ¶
func (o *GetStakingContextRequest) GetAddressIdOk() (*string, bool)
GetAddressIdOk returns a tuple with the AddressId field value and a boolean to check if the value has been set.
func (*GetStakingContextRequest) GetAssetId ¶
func (o *GetStakingContextRequest) GetAssetId() string
GetAssetId returns the AssetId field value
func (*GetStakingContextRequest) GetAssetIdOk ¶
func (o *GetStakingContextRequest) GetAssetIdOk() (*string, bool)
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*GetStakingContextRequest) GetNetworkId ¶
func (o *GetStakingContextRequest) GetNetworkId() string
GetNetworkId returns the NetworkId field value
func (*GetStakingContextRequest) GetNetworkIdOk ¶
func (o *GetStakingContextRequest) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*GetStakingContextRequest) GetOptions ¶
func (o *GetStakingContextRequest) GetOptions() map[string]string
GetOptions returns the Options field value
func (*GetStakingContextRequest) GetOptionsOk ¶
func (o *GetStakingContextRequest) GetOptionsOk() (*map[string]string, bool)
GetOptionsOk returns a tuple with the Options field value and a boolean to check if the value has been set.
func (GetStakingContextRequest) MarshalJSON ¶
func (o GetStakingContextRequest) MarshalJSON() ([]byte, error)
func (*GetStakingContextRequest) SetAddressId ¶
func (o *GetStakingContextRequest) SetAddressId(v string)
SetAddressId sets field value
func (*GetStakingContextRequest) SetAssetId ¶
func (o *GetStakingContextRequest) SetAssetId(v string)
SetAssetId sets field value
func (*GetStakingContextRequest) SetNetworkId ¶
func (o *GetStakingContextRequest) SetNetworkId(v string)
SetNetworkId sets field value
func (*GetStakingContextRequest) SetOptions ¶
func (o *GetStakingContextRequest) SetOptions(v map[string]string)
SetOptions sets field value
func (GetStakingContextRequest) ToMap ¶
func (o GetStakingContextRequest) ToMap() (map[string]interface{}, error)
func (*GetStakingContextRequest) UnmarshalJSON ¶
func (o *GetStakingContextRequest) UnmarshalJSON(data []byte) (err error)
type HistoricalBalance ¶
type HistoricalBalance struct { // The amount in the atomic units of the asset Amount string `json:"amount"` // The hash of the block at which the balance was recorded BlockHash string `json:"block_hash"` // The block height at which the balance was recorded BlockHeight string `json:"block_height"` Asset Asset `json:"asset"` }
HistoricalBalance The balance of an asset onchain at a particular block
func NewHistoricalBalance ¶
func NewHistoricalBalance(amount string, blockHash string, blockHeight string, asset Asset) *HistoricalBalance
NewHistoricalBalance instantiates a new HistoricalBalance 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 NewHistoricalBalanceWithDefaults ¶
func NewHistoricalBalanceWithDefaults() *HistoricalBalance
NewHistoricalBalanceWithDefaults instantiates a new HistoricalBalance 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 (*HistoricalBalance) GetAmount ¶
func (o *HistoricalBalance) GetAmount() string
GetAmount returns the Amount field value
func (*HistoricalBalance) GetAmountOk ¶
func (o *HistoricalBalance) GetAmountOk() (*string, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*HistoricalBalance) GetAsset ¶
func (o *HistoricalBalance) GetAsset() Asset
GetAsset returns the Asset field value
func (*HistoricalBalance) GetAssetOk ¶
func (o *HistoricalBalance) GetAssetOk() (*Asset, bool)
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*HistoricalBalance) GetBlockHash ¶
func (o *HistoricalBalance) GetBlockHash() string
GetBlockHash returns the BlockHash field value
func (*HistoricalBalance) GetBlockHashOk ¶
func (o *HistoricalBalance) GetBlockHashOk() (*string, bool)
GetBlockHashOk returns a tuple with the BlockHash field value and a boolean to check if the value has been set.
func (*HistoricalBalance) GetBlockHeight ¶
func (o *HistoricalBalance) GetBlockHeight() string
GetBlockHeight returns the BlockHeight field value
func (*HistoricalBalance) GetBlockHeightOk ¶
func (o *HistoricalBalance) GetBlockHeightOk() (*string, bool)
GetBlockHeightOk returns a tuple with the BlockHeight field value and a boolean to check if the value has been set.
func (HistoricalBalance) MarshalJSON ¶
func (o HistoricalBalance) MarshalJSON() ([]byte, error)
func (*HistoricalBalance) SetAmount ¶
func (o *HistoricalBalance) SetAmount(v string)
SetAmount sets field value
func (*HistoricalBalance) SetAsset ¶
func (o *HistoricalBalance) SetAsset(v Asset)
SetAsset sets field value
func (*HistoricalBalance) SetBlockHash ¶
func (o *HistoricalBalance) SetBlockHash(v string)
SetBlockHash sets field value
func (*HistoricalBalance) SetBlockHeight ¶
func (o *HistoricalBalance) SetBlockHeight(v string)
SetBlockHeight sets field value
func (HistoricalBalance) ToMap ¶
func (o HistoricalBalance) ToMap() (map[string]interface{}, error)
func (*HistoricalBalance) UnmarshalJSON ¶
func (o *HistoricalBalance) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type Network ¶
type Network struct { Id NetworkIdentifier `json:"id"` // The human-readable name of the blockchain network DisplayName string `json:"display_name"` // The chain ID of the blockchain network ChainId int32 `json:"chain_id"` // The protocol family of the blockchain network ProtocolFamily string `json:"protocol_family"` // Whether the network is a testnet or not IsTestnet bool `json:"is_testnet"` NativeAsset Asset `json:"native_asset"` FeatureSet FeatureSet `json:"feature_set"` // The BIP44 path prefix for the network AddressPathPrefix *string `json:"address_path_prefix,omitempty"` }
Network struct for Network
func NewNetwork ¶
func NewNetwork(id NetworkIdentifier, displayName string, chainId int32, protocolFamily string, isTestnet bool, nativeAsset Asset, featureSet FeatureSet) *Network
NewNetwork instantiates a new Network 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 NewNetworkWithDefaults ¶
func NewNetworkWithDefaults() *Network
NewNetworkWithDefaults instantiates a new Network 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 (*Network) GetAddressPathPrefix ¶
GetAddressPathPrefix returns the AddressPathPrefix field value if set, zero value otherwise.
func (*Network) GetAddressPathPrefixOk ¶
GetAddressPathPrefixOk returns a tuple with the AddressPathPrefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Network) GetChainId ¶
GetChainId returns the ChainId field value
func (*Network) GetChainIdOk ¶
GetChainIdOk returns a tuple with the ChainId field value and a boolean to check if the value has been set.
func (*Network) GetDisplayName ¶
GetDisplayName returns the DisplayName field value
func (*Network) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.
func (*Network) GetFeatureSet ¶
func (o *Network) GetFeatureSet() FeatureSet
GetFeatureSet returns the FeatureSet field value
func (*Network) GetFeatureSetOk ¶
func (o *Network) GetFeatureSetOk() (*FeatureSet, bool)
GetFeatureSetOk returns a tuple with the FeatureSet field value and a boolean to check if the value has been set.
func (*Network) GetId ¶
func (o *Network) GetId() NetworkIdentifier
GetId returns the Id field value
func (*Network) GetIdOk ¶
func (o *Network) GetIdOk() (*NetworkIdentifier, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Network) GetIsTestnet ¶
GetIsTestnet returns the IsTestnet field value
func (*Network) GetIsTestnetOk ¶
GetIsTestnetOk returns a tuple with the IsTestnet field value and a boolean to check if the value has been set.
func (*Network) GetNativeAsset ¶
GetNativeAsset returns the NativeAsset field value
func (*Network) GetNativeAssetOk ¶
GetNativeAssetOk returns a tuple with the NativeAsset field value and a boolean to check if the value has been set.
func (*Network) GetProtocolFamily ¶
GetProtocolFamily returns the ProtocolFamily field value
func (*Network) GetProtocolFamilyOk ¶
GetProtocolFamilyOk returns a tuple with the ProtocolFamily field value and a boolean to check if the value has been set.
func (*Network) HasAddressPathPrefix ¶
HasAddressPathPrefix returns a boolean if a field has been set.
func (Network) MarshalJSON ¶
func (*Network) SetAddressPathPrefix ¶
SetAddressPathPrefix gets a reference to the given string and assigns it to the AddressPathPrefix field.
func (*Network) SetDisplayName ¶
SetDisplayName sets field value
func (*Network) SetFeatureSet ¶
func (o *Network) SetFeatureSet(v FeatureSet)
SetFeatureSet sets field value
func (*Network) SetNativeAsset ¶
SetNativeAsset sets field value
func (*Network) SetProtocolFamily ¶
SetProtocolFamily sets field value
func (*Network) UnmarshalJSON ¶
type NetworkIdentifier ¶
type NetworkIdentifier string
NetworkIdentifier The ID of the blockchain network. This is unique across all networks, and takes the form of `<blockchain>-<network>`.
const ( NETWORKIDENTIFIER_BASE_SEPOLIA NetworkIdentifier = "base-sepolia" NETWORKIDENTIFIER_BASE_MAINNET NetworkIdentifier = "base-mainnet" NETWORKIDENTIFIER_ETHEREUM_HOLESKY NetworkIdentifier = "ethereum-holesky" NETWORKIDENTIFIER_ETHEREUM_MAINNET NetworkIdentifier = "ethereum-mainnet" NETWORKIDENTIFIER_POLYGON_MAINNET NetworkIdentifier = "polygon-mainnet" )
List of NetworkIdentifier
func NewNetworkIdentifierFromValue ¶
func NewNetworkIdentifierFromValue(v string) (*NetworkIdentifier, error)
NewNetworkIdentifierFromValue returns a pointer to a valid NetworkIdentifier for the value passed as argument, or an error if the value passed is not allowed by the enum
func (NetworkIdentifier) IsValid ¶
func (v NetworkIdentifier) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (NetworkIdentifier) Ptr ¶
func (v NetworkIdentifier) Ptr() *NetworkIdentifier
Ptr returns reference to NetworkIdentifier value
func (*NetworkIdentifier) UnmarshalJSON ¶
func (v *NetworkIdentifier) UnmarshalJSON(src []byte) error
type NetworksAPI ¶
type NetworksAPI interface { /* GetNetwork Get network by ID Get network @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the network to fetch. @return ApiGetNetworkRequest */ GetNetwork(ctx context.Context, networkId string) ApiGetNetworkRequest // GetNetworkExecute executes the request // @return Network GetNetworkExecute(r ApiGetNetworkRequest) (*Network, *http.Response, error) }
type NetworksAPIService ¶
type NetworksAPIService service
NetworksAPIService NetworksAPI service
func (*NetworksAPIService) GetNetwork ¶
func (a *NetworksAPIService) GetNetwork(ctx context.Context, networkId string) ApiGetNetworkRequest
GetNetwork Get network by ID
Get network
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the network to fetch. @return ApiGetNetworkRequest
func (*NetworksAPIService) GetNetworkExecute ¶
func (a *NetworksAPIService) GetNetworkExecute(r ApiGetNetworkRequest) (*Network, *http.Response, error)
Execute executes the request
@return Network
type NullableAddress ¶
type NullableAddress struct {
// contains filtered or unexported fields
}
func NewNullableAddress ¶
func NewNullableAddress(val *Address) *NullableAddress
func (NullableAddress) Get ¶
func (v NullableAddress) Get() *Address
func (NullableAddress) IsSet ¶
func (v NullableAddress) IsSet() bool
func (NullableAddress) MarshalJSON ¶
func (v NullableAddress) MarshalJSON() ([]byte, error)
func (*NullableAddress) Set ¶
func (v *NullableAddress) Set(val *Address)
func (*NullableAddress) UnmarshalJSON ¶
func (v *NullableAddress) UnmarshalJSON(src []byte) error
func (*NullableAddress) Unset ¶
func (v *NullableAddress) Unset()
type NullableAddressBalanceList ¶
type NullableAddressBalanceList struct {
// contains filtered or unexported fields
}
func NewNullableAddressBalanceList ¶
func NewNullableAddressBalanceList(val *AddressBalanceList) *NullableAddressBalanceList
func (NullableAddressBalanceList) Get ¶
func (v NullableAddressBalanceList) Get() *AddressBalanceList
func (NullableAddressBalanceList) IsSet ¶
func (v NullableAddressBalanceList) IsSet() bool
func (NullableAddressBalanceList) MarshalJSON ¶
func (v NullableAddressBalanceList) MarshalJSON() ([]byte, error)
func (*NullableAddressBalanceList) Set ¶
func (v *NullableAddressBalanceList) Set(val *AddressBalanceList)
func (*NullableAddressBalanceList) UnmarshalJSON ¶
func (v *NullableAddressBalanceList) UnmarshalJSON(src []byte) error
func (*NullableAddressBalanceList) Unset ¶
func (v *NullableAddressBalanceList) Unset()
type NullableAddressHistoricalBalanceList ¶
type NullableAddressHistoricalBalanceList struct {
// contains filtered or unexported fields
}
func NewNullableAddressHistoricalBalanceList ¶
func NewNullableAddressHistoricalBalanceList(val *AddressHistoricalBalanceList) *NullableAddressHistoricalBalanceList
func (NullableAddressHistoricalBalanceList) Get ¶
func (v NullableAddressHistoricalBalanceList) Get() *AddressHistoricalBalanceList
func (NullableAddressHistoricalBalanceList) IsSet ¶
func (v NullableAddressHistoricalBalanceList) IsSet() bool
func (NullableAddressHistoricalBalanceList) MarshalJSON ¶
func (v NullableAddressHistoricalBalanceList) MarshalJSON() ([]byte, error)
func (*NullableAddressHistoricalBalanceList) Set ¶
func (v *NullableAddressHistoricalBalanceList) Set(val *AddressHistoricalBalanceList)
func (*NullableAddressHistoricalBalanceList) UnmarshalJSON ¶
func (v *NullableAddressHistoricalBalanceList) UnmarshalJSON(src []byte) error
func (*NullableAddressHistoricalBalanceList) Unset ¶
func (v *NullableAddressHistoricalBalanceList) Unset()
type NullableAddressList ¶
type NullableAddressList struct {
// contains filtered or unexported fields
}
func NewNullableAddressList ¶
func NewNullableAddressList(val *AddressList) *NullableAddressList
func (NullableAddressList) Get ¶
func (v NullableAddressList) Get() *AddressList
func (NullableAddressList) IsSet ¶
func (v NullableAddressList) IsSet() bool
func (NullableAddressList) MarshalJSON ¶
func (v NullableAddressList) MarshalJSON() ([]byte, error)
func (*NullableAddressList) Set ¶
func (v *NullableAddressList) Set(val *AddressList)
func (*NullableAddressList) UnmarshalJSON ¶
func (v *NullableAddressList) UnmarshalJSON(src []byte) error
func (*NullableAddressList) Unset ¶
func (v *NullableAddressList) Unset()
type NullableAsset ¶
type NullableAsset struct {
// contains filtered or unexported fields
}
func NewNullableAsset ¶
func NewNullableAsset(val *Asset) *NullableAsset
func (NullableAsset) Get ¶
func (v NullableAsset) Get() *Asset
func (NullableAsset) IsSet ¶
func (v NullableAsset) IsSet() bool
func (NullableAsset) MarshalJSON ¶
func (v NullableAsset) MarshalJSON() ([]byte, error)
func (*NullableAsset) Set ¶
func (v *NullableAsset) Set(val *Asset)
func (*NullableAsset) UnmarshalJSON ¶
func (v *NullableAsset) UnmarshalJSON(src []byte) error
func (*NullableAsset) Unset ¶
func (v *NullableAsset) Unset()
type 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 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 NullableBroadcastStakingOperationRequest ¶
type NullableBroadcastStakingOperationRequest struct {
// contains filtered or unexported fields
}
func NewNullableBroadcastStakingOperationRequest ¶
func NewNullableBroadcastStakingOperationRequest(val *BroadcastStakingOperationRequest) *NullableBroadcastStakingOperationRequest
func (NullableBroadcastStakingOperationRequest) IsSet ¶
func (v NullableBroadcastStakingOperationRequest) IsSet() bool
func (NullableBroadcastStakingOperationRequest) MarshalJSON ¶
func (v NullableBroadcastStakingOperationRequest) MarshalJSON() ([]byte, error)
func (*NullableBroadcastStakingOperationRequest) Set ¶
func (v *NullableBroadcastStakingOperationRequest) Set(val *BroadcastStakingOperationRequest)
func (*NullableBroadcastStakingOperationRequest) UnmarshalJSON ¶
func (v *NullableBroadcastStakingOperationRequest) UnmarshalJSON(src []byte) error
func (*NullableBroadcastStakingOperationRequest) Unset ¶
func (v *NullableBroadcastStakingOperationRequest) Unset()
type NullableBroadcastTradeRequest ¶
type NullableBroadcastTradeRequest struct {
// contains filtered or unexported fields
}
func NewNullableBroadcastTradeRequest ¶
func NewNullableBroadcastTradeRequest(val *BroadcastTradeRequest) *NullableBroadcastTradeRequest
func (NullableBroadcastTradeRequest) Get ¶
func (v NullableBroadcastTradeRequest) Get() *BroadcastTradeRequest
func (NullableBroadcastTradeRequest) IsSet ¶
func (v NullableBroadcastTradeRequest) IsSet() bool
func (NullableBroadcastTradeRequest) MarshalJSON ¶
func (v NullableBroadcastTradeRequest) MarshalJSON() ([]byte, error)
func (*NullableBroadcastTradeRequest) Set ¶
func (v *NullableBroadcastTradeRequest) Set(val *BroadcastTradeRequest)
func (*NullableBroadcastTradeRequest) UnmarshalJSON ¶
func (v *NullableBroadcastTradeRequest) UnmarshalJSON(src []byte) error
func (*NullableBroadcastTradeRequest) Unset ¶
func (v *NullableBroadcastTradeRequest) Unset()
type NullableBroadcastTransferRequest ¶
type NullableBroadcastTransferRequest struct {
// contains filtered or unexported fields
}
func NewNullableBroadcastTransferRequest ¶
func NewNullableBroadcastTransferRequest(val *BroadcastTransferRequest) *NullableBroadcastTransferRequest
func (NullableBroadcastTransferRequest) Get ¶
func (v NullableBroadcastTransferRequest) Get() *BroadcastTransferRequest
func (NullableBroadcastTransferRequest) IsSet ¶
func (v NullableBroadcastTransferRequest) IsSet() bool
func (NullableBroadcastTransferRequest) MarshalJSON ¶
func (v NullableBroadcastTransferRequest) MarshalJSON() ([]byte, error)
func (*NullableBroadcastTransferRequest) Set ¶
func (v *NullableBroadcastTransferRequest) Set(val *BroadcastTransferRequest)
func (*NullableBroadcastTransferRequest) UnmarshalJSON ¶
func (v *NullableBroadcastTransferRequest) UnmarshalJSON(src []byte) error
func (*NullableBroadcastTransferRequest) Unset ¶
func (v *NullableBroadcastTransferRequest) Unset()
type NullableBuildStakingOperationRequest ¶
type NullableBuildStakingOperationRequest struct {
// contains filtered or unexported fields
}
func NewNullableBuildStakingOperationRequest ¶
func NewNullableBuildStakingOperationRequest(val *BuildStakingOperationRequest) *NullableBuildStakingOperationRequest
func (NullableBuildStakingOperationRequest) Get ¶
func (v NullableBuildStakingOperationRequest) Get() *BuildStakingOperationRequest
func (NullableBuildStakingOperationRequest) IsSet ¶
func (v NullableBuildStakingOperationRequest) IsSet() bool
func (NullableBuildStakingOperationRequest) MarshalJSON ¶
func (v NullableBuildStakingOperationRequest) MarshalJSON() ([]byte, error)
func (*NullableBuildStakingOperationRequest) Set ¶
func (v *NullableBuildStakingOperationRequest) Set(val *BuildStakingOperationRequest)
func (*NullableBuildStakingOperationRequest) UnmarshalJSON ¶
func (v *NullableBuildStakingOperationRequest) UnmarshalJSON(src []byte) error
func (*NullableBuildStakingOperationRequest) Unset ¶
func (v *NullableBuildStakingOperationRequest) Unset()
type NullableContractEvent ¶
type NullableContractEvent struct {
// contains filtered or unexported fields
}
func NewNullableContractEvent ¶
func NewNullableContractEvent(val *ContractEvent) *NullableContractEvent
func (NullableContractEvent) Get ¶
func (v NullableContractEvent) Get() *ContractEvent
func (NullableContractEvent) IsSet ¶
func (v NullableContractEvent) IsSet() bool
func (NullableContractEvent) MarshalJSON ¶
func (v NullableContractEvent) MarshalJSON() ([]byte, error)
func (*NullableContractEvent) Set ¶
func (v *NullableContractEvent) Set(val *ContractEvent)
func (*NullableContractEvent) UnmarshalJSON ¶
func (v *NullableContractEvent) UnmarshalJSON(src []byte) error
func (*NullableContractEvent) Unset ¶
func (v *NullableContractEvent) Unset()
type NullableContractEventList ¶
type NullableContractEventList struct {
// contains filtered or unexported fields
}
func NewNullableContractEventList ¶
func NewNullableContractEventList(val *ContractEventList) *NullableContractEventList
func (NullableContractEventList) Get ¶
func (v NullableContractEventList) Get() *ContractEventList
func (NullableContractEventList) IsSet ¶
func (v NullableContractEventList) IsSet() bool
func (NullableContractEventList) MarshalJSON ¶
func (v NullableContractEventList) MarshalJSON() ([]byte, error)
func (*NullableContractEventList) Set ¶
func (v *NullableContractEventList) Set(val *ContractEventList)
func (*NullableContractEventList) UnmarshalJSON ¶
func (v *NullableContractEventList) UnmarshalJSON(src []byte) error
func (*NullableContractEventList) Unset ¶
func (v *NullableContractEventList) Unset()
type NullableCreateAddressRequest ¶
type NullableCreateAddressRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateAddressRequest ¶
func NewNullableCreateAddressRequest(val *CreateAddressRequest) *NullableCreateAddressRequest
func (NullableCreateAddressRequest) Get ¶
func (v NullableCreateAddressRequest) Get() *CreateAddressRequest
func (NullableCreateAddressRequest) IsSet ¶
func (v NullableCreateAddressRequest) IsSet() bool
func (NullableCreateAddressRequest) MarshalJSON ¶
func (v NullableCreateAddressRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateAddressRequest) Set ¶
func (v *NullableCreateAddressRequest) Set(val *CreateAddressRequest)
func (*NullableCreateAddressRequest) UnmarshalJSON ¶
func (v *NullableCreateAddressRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateAddressRequest) Unset ¶
func (v *NullableCreateAddressRequest) Unset()
type NullableCreateServerSignerRequest ¶
type NullableCreateServerSignerRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateServerSignerRequest ¶
func NewNullableCreateServerSignerRequest(val *CreateServerSignerRequest) *NullableCreateServerSignerRequest
func (NullableCreateServerSignerRequest) Get ¶
func (v NullableCreateServerSignerRequest) Get() *CreateServerSignerRequest
func (NullableCreateServerSignerRequest) IsSet ¶
func (v NullableCreateServerSignerRequest) IsSet() bool
func (NullableCreateServerSignerRequest) MarshalJSON ¶
func (v NullableCreateServerSignerRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateServerSignerRequest) Set ¶
func (v *NullableCreateServerSignerRequest) Set(val *CreateServerSignerRequest)
func (*NullableCreateServerSignerRequest) UnmarshalJSON ¶
func (v *NullableCreateServerSignerRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateServerSignerRequest) Unset ¶
func (v *NullableCreateServerSignerRequest) Unset()
type NullableCreateStakingOperationRequest ¶
type NullableCreateStakingOperationRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateStakingOperationRequest ¶
func NewNullableCreateStakingOperationRequest(val *CreateStakingOperationRequest) *NullableCreateStakingOperationRequest
func (NullableCreateStakingOperationRequest) Get ¶
func (v NullableCreateStakingOperationRequest) Get() *CreateStakingOperationRequest
func (NullableCreateStakingOperationRequest) IsSet ¶
func (v NullableCreateStakingOperationRequest) IsSet() bool
func (NullableCreateStakingOperationRequest) MarshalJSON ¶
func (v NullableCreateStakingOperationRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateStakingOperationRequest) Set ¶
func (v *NullableCreateStakingOperationRequest) Set(val *CreateStakingOperationRequest)
func (*NullableCreateStakingOperationRequest) UnmarshalJSON ¶
func (v *NullableCreateStakingOperationRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateStakingOperationRequest) Unset ¶
func (v *NullableCreateStakingOperationRequest) Unset()
type NullableCreateTradeRequest ¶
type NullableCreateTradeRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateTradeRequest ¶
func NewNullableCreateTradeRequest(val *CreateTradeRequest) *NullableCreateTradeRequest
func (NullableCreateTradeRequest) Get ¶
func (v NullableCreateTradeRequest) Get() *CreateTradeRequest
func (NullableCreateTradeRequest) IsSet ¶
func (v NullableCreateTradeRequest) IsSet() bool
func (NullableCreateTradeRequest) MarshalJSON ¶
func (v NullableCreateTradeRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateTradeRequest) Set ¶
func (v *NullableCreateTradeRequest) Set(val *CreateTradeRequest)
func (*NullableCreateTradeRequest) UnmarshalJSON ¶
func (v *NullableCreateTradeRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateTradeRequest) Unset ¶
func (v *NullableCreateTradeRequest) Unset()
type NullableCreateTransferRequest ¶
type NullableCreateTransferRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateTransferRequest ¶
func NewNullableCreateTransferRequest(val *CreateTransferRequest) *NullableCreateTransferRequest
func (NullableCreateTransferRequest) Get ¶
func (v NullableCreateTransferRequest) Get() *CreateTransferRequest
func (NullableCreateTransferRequest) IsSet ¶
func (v NullableCreateTransferRequest) IsSet() bool
func (NullableCreateTransferRequest) MarshalJSON ¶
func (v NullableCreateTransferRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateTransferRequest) Set ¶
func (v *NullableCreateTransferRequest) Set(val *CreateTransferRequest)
func (*NullableCreateTransferRequest) UnmarshalJSON ¶
func (v *NullableCreateTransferRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateTransferRequest) Unset ¶
func (v *NullableCreateTransferRequest) Unset()
type NullableCreateWalletRequest ¶
type NullableCreateWalletRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateWalletRequest ¶
func NewNullableCreateWalletRequest(val *CreateWalletRequest) *NullableCreateWalletRequest
func (NullableCreateWalletRequest) Get ¶
func (v NullableCreateWalletRequest) Get() *CreateWalletRequest
func (NullableCreateWalletRequest) IsSet ¶
func (v NullableCreateWalletRequest) IsSet() bool
func (NullableCreateWalletRequest) MarshalJSON ¶
func (v NullableCreateWalletRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateWalletRequest) Set ¶
func (v *NullableCreateWalletRequest) Set(val *CreateWalletRequest)
func (*NullableCreateWalletRequest) UnmarshalJSON ¶
func (v *NullableCreateWalletRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateWalletRequest) Unset ¶
func (v *NullableCreateWalletRequest) Unset()
type NullableCreateWalletRequestWallet ¶
type NullableCreateWalletRequestWallet struct {
// contains filtered or unexported fields
}
func NewNullableCreateWalletRequestWallet ¶
func NewNullableCreateWalletRequestWallet(val *CreateWalletRequestWallet) *NullableCreateWalletRequestWallet
func (NullableCreateWalletRequestWallet) Get ¶
func (v NullableCreateWalletRequestWallet) Get() *CreateWalletRequestWallet
func (NullableCreateWalletRequestWallet) IsSet ¶
func (v NullableCreateWalletRequestWallet) IsSet() bool
func (NullableCreateWalletRequestWallet) MarshalJSON ¶
func (v NullableCreateWalletRequestWallet) MarshalJSON() ([]byte, error)
func (*NullableCreateWalletRequestWallet) Set ¶
func (v *NullableCreateWalletRequestWallet) Set(val *CreateWalletRequestWallet)
func (*NullableCreateWalletRequestWallet) UnmarshalJSON ¶
func (v *NullableCreateWalletRequestWallet) UnmarshalJSON(src []byte) error
func (*NullableCreateWalletRequestWallet) Unset ¶
func (v *NullableCreateWalletRequestWallet) Unset()
type NullableCreateWebhookRequest ¶
type NullableCreateWebhookRequest struct {
// contains filtered or unexported fields
}
func NewNullableCreateWebhookRequest ¶
func NewNullableCreateWebhookRequest(val *CreateWebhookRequest) *NullableCreateWebhookRequest
func (NullableCreateWebhookRequest) Get ¶
func (v NullableCreateWebhookRequest) Get() *CreateWebhookRequest
func (NullableCreateWebhookRequest) IsSet ¶
func (v NullableCreateWebhookRequest) IsSet() bool
func (NullableCreateWebhookRequest) MarshalJSON ¶
func (v NullableCreateWebhookRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateWebhookRequest) Set ¶
func (v *NullableCreateWebhookRequest) Set(val *CreateWebhookRequest)
func (*NullableCreateWebhookRequest) UnmarshalJSON ¶
func (v *NullableCreateWebhookRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateWebhookRequest) Unset ¶
func (v *NullableCreateWebhookRequest) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableEthereumValidatorMetadata ¶
type NullableEthereumValidatorMetadata struct {
// contains filtered or unexported fields
}
func NewNullableEthereumValidatorMetadata ¶
func NewNullableEthereumValidatorMetadata(val *EthereumValidatorMetadata) *NullableEthereumValidatorMetadata
func (NullableEthereumValidatorMetadata) Get ¶
func (v NullableEthereumValidatorMetadata) Get() *EthereumValidatorMetadata
func (NullableEthereumValidatorMetadata) IsSet ¶
func (v NullableEthereumValidatorMetadata) IsSet() bool
func (NullableEthereumValidatorMetadata) MarshalJSON ¶
func (v NullableEthereumValidatorMetadata) MarshalJSON() ([]byte, error)
func (*NullableEthereumValidatorMetadata) Set ¶
func (v *NullableEthereumValidatorMetadata) Set(val *EthereumValidatorMetadata)
func (*NullableEthereumValidatorMetadata) UnmarshalJSON ¶
func (v *NullableEthereumValidatorMetadata) UnmarshalJSON(src []byte) error
func (*NullableEthereumValidatorMetadata) Unset ¶
func (v *NullableEthereumValidatorMetadata) Unset()
type NullableFaucetTransaction ¶
type NullableFaucetTransaction struct {
// contains filtered or unexported fields
}
func NewNullableFaucetTransaction ¶
func NewNullableFaucetTransaction(val *FaucetTransaction) *NullableFaucetTransaction
func (NullableFaucetTransaction) Get ¶
func (v NullableFaucetTransaction) Get() *FaucetTransaction
func (NullableFaucetTransaction) IsSet ¶
func (v NullableFaucetTransaction) IsSet() bool
func (NullableFaucetTransaction) MarshalJSON ¶
func (v NullableFaucetTransaction) MarshalJSON() ([]byte, error)
func (*NullableFaucetTransaction) Set ¶
func (v *NullableFaucetTransaction) Set(val *FaucetTransaction)
func (*NullableFaucetTransaction) UnmarshalJSON ¶
func (v *NullableFaucetTransaction) UnmarshalJSON(src []byte) error
func (*NullableFaucetTransaction) Unset ¶
func (v *NullableFaucetTransaction) Unset()
type NullableFeature ¶
type NullableFeature struct {
// contains filtered or unexported fields
}
func NewNullableFeature ¶
func NewNullableFeature(val *Feature) *NullableFeature
func (NullableFeature) Get ¶
func (v NullableFeature) Get() *Feature
func (NullableFeature) IsSet ¶
func (v NullableFeature) IsSet() bool
func (NullableFeature) MarshalJSON ¶
func (v NullableFeature) MarshalJSON() ([]byte, error)
func (*NullableFeature) Set ¶
func (v *NullableFeature) Set(val *Feature)
func (*NullableFeature) UnmarshalJSON ¶
func (v *NullableFeature) UnmarshalJSON(src []byte) error
func (*NullableFeature) Unset ¶
func (v *NullableFeature) Unset()
type NullableFeatureSet ¶
type NullableFeatureSet struct {
// contains filtered or unexported fields
}
func NewNullableFeatureSet ¶
func NewNullableFeatureSet(val *FeatureSet) *NullableFeatureSet
func (NullableFeatureSet) Get ¶
func (v NullableFeatureSet) Get() *FeatureSet
func (NullableFeatureSet) IsSet ¶
func (v NullableFeatureSet) IsSet() bool
func (NullableFeatureSet) MarshalJSON ¶
func (v NullableFeatureSet) MarshalJSON() ([]byte, error)
func (*NullableFeatureSet) Set ¶
func (v *NullableFeatureSet) Set(val *FeatureSet)
func (*NullableFeatureSet) UnmarshalJSON ¶
func (v *NullableFeatureSet) UnmarshalJSON(src []byte) error
func (*NullableFeatureSet) Unset ¶
func (v *NullableFeatureSet) Unset()
type NullableFetchHistoricalStakingBalances200Response ¶
type NullableFetchHistoricalStakingBalances200Response struct {
// contains filtered or unexported fields
}
func NewNullableFetchHistoricalStakingBalances200Response ¶
func NewNullableFetchHistoricalStakingBalances200Response(val *FetchHistoricalStakingBalances200Response) *NullableFetchHistoricalStakingBalances200Response
func (NullableFetchHistoricalStakingBalances200Response) IsSet ¶
func (v NullableFetchHistoricalStakingBalances200Response) IsSet() bool
func (NullableFetchHistoricalStakingBalances200Response) MarshalJSON ¶
func (v NullableFetchHistoricalStakingBalances200Response) MarshalJSON() ([]byte, error)
func (*NullableFetchHistoricalStakingBalances200Response) UnmarshalJSON ¶
func (v *NullableFetchHistoricalStakingBalances200Response) UnmarshalJSON(src []byte) error
func (*NullableFetchHistoricalStakingBalances200Response) Unset ¶
func (v *NullableFetchHistoricalStakingBalances200Response) Unset()
type NullableFetchStakingRewards200Response ¶
type NullableFetchStakingRewards200Response struct {
// contains filtered or unexported fields
}
func NewNullableFetchStakingRewards200Response ¶
func NewNullableFetchStakingRewards200Response(val *FetchStakingRewards200Response) *NullableFetchStakingRewards200Response
func (NullableFetchStakingRewards200Response) Get ¶
func (v NullableFetchStakingRewards200Response) Get() *FetchStakingRewards200Response
func (NullableFetchStakingRewards200Response) IsSet ¶
func (v NullableFetchStakingRewards200Response) IsSet() bool
func (NullableFetchStakingRewards200Response) MarshalJSON ¶
func (v NullableFetchStakingRewards200Response) MarshalJSON() ([]byte, error)
func (*NullableFetchStakingRewards200Response) Set ¶
func (v *NullableFetchStakingRewards200Response) Set(val *FetchStakingRewards200Response)
func (*NullableFetchStakingRewards200Response) UnmarshalJSON ¶
func (v *NullableFetchStakingRewards200Response) UnmarshalJSON(src []byte) error
func (*NullableFetchStakingRewards200Response) Unset ¶
func (v *NullableFetchStakingRewards200Response) Unset()
type NullableFetchStakingRewardsRequest ¶
type NullableFetchStakingRewardsRequest struct {
// contains filtered or unexported fields
}
func NewNullableFetchStakingRewardsRequest ¶
func NewNullableFetchStakingRewardsRequest(val *FetchStakingRewardsRequest) *NullableFetchStakingRewardsRequest
func (NullableFetchStakingRewardsRequest) Get ¶
func (v NullableFetchStakingRewardsRequest) Get() *FetchStakingRewardsRequest
func (NullableFetchStakingRewardsRequest) IsSet ¶
func (v NullableFetchStakingRewardsRequest) IsSet() bool
func (NullableFetchStakingRewardsRequest) MarshalJSON ¶
func (v NullableFetchStakingRewardsRequest) MarshalJSON() ([]byte, error)
func (*NullableFetchStakingRewardsRequest) Set ¶
func (v *NullableFetchStakingRewardsRequest) Set(val *FetchStakingRewardsRequest)
func (*NullableFetchStakingRewardsRequest) UnmarshalJSON ¶
func (v *NullableFetchStakingRewardsRequest) UnmarshalJSON(src []byte) error
func (*NullableFetchStakingRewardsRequest) Unset ¶
func (v *NullableFetchStakingRewardsRequest) 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 NullableGetStakingContextRequest ¶
type NullableGetStakingContextRequest struct {
// contains filtered or unexported fields
}
func NewNullableGetStakingContextRequest ¶
func NewNullableGetStakingContextRequest(val *GetStakingContextRequest) *NullableGetStakingContextRequest
func (NullableGetStakingContextRequest) Get ¶
func (v NullableGetStakingContextRequest) Get() *GetStakingContextRequest
func (NullableGetStakingContextRequest) IsSet ¶
func (v NullableGetStakingContextRequest) IsSet() bool
func (NullableGetStakingContextRequest) MarshalJSON ¶
func (v NullableGetStakingContextRequest) MarshalJSON() ([]byte, error)
func (*NullableGetStakingContextRequest) Set ¶
func (v *NullableGetStakingContextRequest) Set(val *GetStakingContextRequest)
func (*NullableGetStakingContextRequest) UnmarshalJSON ¶
func (v *NullableGetStakingContextRequest) UnmarshalJSON(src []byte) error
func (*NullableGetStakingContextRequest) Unset ¶
func (v *NullableGetStakingContextRequest) Unset()
type NullableHistoricalBalance ¶
type NullableHistoricalBalance struct {
// contains filtered or unexported fields
}
func NewNullableHistoricalBalance ¶
func NewNullableHistoricalBalance(val *HistoricalBalance) *NullableHistoricalBalance
func (NullableHistoricalBalance) Get ¶
func (v NullableHistoricalBalance) Get() *HistoricalBalance
func (NullableHistoricalBalance) IsSet ¶
func (v NullableHistoricalBalance) IsSet() bool
func (NullableHistoricalBalance) MarshalJSON ¶
func (v NullableHistoricalBalance) MarshalJSON() ([]byte, error)
func (*NullableHistoricalBalance) Set ¶
func (v *NullableHistoricalBalance) Set(val *HistoricalBalance)
func (*NullableHistoricalBalance) UnmarshalJSON ¶
func (v *NullableHistoricalBalance) UnmarshalJSON(src []byte) error
func (*NullableHistoricalBalance) Unset ¶
func (v *NullableHistoricalBalance) 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 NullableNetwork ¶
type NullableNetwork struct {
// contains filtered or unexported fields
}
func NewNullableNetwork ¶
func NewNullableNetwork(val *Network) *NullableNetwork
func (NullableNetwork) Get ¶
func (v NullableNetwork) Get() *Network
func (NullableNetwork) IsSet ¶
func (v NullableNetwork) IsSet() bool
func (NullableNetwork) MarshalJSON ¶
func (v NullableNetwork) MarshalJSON() ([]byte, error)
func (*NullableNetwork) Set ¶
func (v *NullableNetwork) Set(val *Network)
func (*NullableNetwork) UnmarshalJSON ¶
func (v *NullableNetwork) UnmarshalJSON(src []byte) error
func (*NullableNetwork) Unset ¶
func (v *NullableNetwork) Unset()
type NullableNetworkIdentifier ¶
type NullableNetworkIdentifier struct {
// contains filtered or unexported fields
}
func NewNullableNetworkIdentifier ¶
func NewNullableNetworkIdentifier(val *NetworkIdentifier) *NullableNetworkIdentifier
func (NullableNetworkIdentifier) Get ¶
func (v NullableNetworkIdentifier) Get() *NetworkIdentifier
func (NullableNetworkIdentifier) IsSet ¶
func (v NullableNetworkIdentifier) IsSet() bool
func (NullableNetworkIdentifier) MarshalJSON ¶
func (v NullableNetworkIdentifier) MarshalJSON() ([]byte, error)
func (*NullableNetworkIdentifier) Set ¶
func (v *NullableNetworkIdentifier) Set(val *NetworkIdentifier)
func (*NullableNetworkIdentifier) UnmarshalJSON ¶
func (v *NullableNetworkIdentifier) UnmarshalJSON(src []byte) error
func (*NullableNetworkIdentifier) Unset ¶
func (v *NullableNetworkIdentifier) Unset()
type NullableSeedCreationEvent ¶
type NullableSeedCreationEvent struct {
// contains filtered or unexported fields
}
func NewNullableSeedCreationEvent ¶
func NewNullableSeedCreationEvent(val *SeedCreationEvent) *NullableSeedCreationEvent
func (NullableSeedCreationEvent) Get ¶
func (v NullableSeedCreationEvent) Get() *SeedCreationEvent
func (NullableSeedCreationEvent) IsSet ¶
func (v NullableSeedCreationEvent) IsSet() bool
func (NullableSeedCreationEvent) MarshalJSON ¶
func (v NullableSeedCreationEvent) MarshalJSON() ([]byte, error)
func (*NullableSeedCreationEvent) Set ¶
func (v *NullableSeedCreationEvent) Set(val *SeedCreationEvent)
func (*NullableSeedCreationEvent) UnmarshalJSON ¶
func (v *NullableSeedCreationEvent) UnmarshalJSON(src []byte) error
func (*NullableSeedCreationEvent) Unset ¶
func (v *NullableSeedCreationEvent) Unset()
type NullableSeedCreationEventResult ¶
type NullableSeedCreationEventResult struct {
// contains filtered or unexported fields
}
func NewNullableSeedCreationEventResult ¶
func NewNullableSeedCreationEventResult(val *SeedCreationEventResult) *NullableSeedCreationEventResult
func (NullableSeedCreationEventResult) Get ¶
func (v NullableSeedCreationEventResult) Get() *SeedCreationEventResult
func (NullableSeedCreationEventResult) IsSet ¶
func (v NullableSeedCreationEventResult) IsSet() bool
func (NullableSeedCreationEventResult) MarshalJSON ¶
func (v NullableSeedCreationEventResult) MarshalJSON() ([]byte, error)
func (*NullableSeedCreationEventResult) Set ¶
func (v *NullableSeedCreationEventResult) Set(val *SeedCreationEventResult)
func (*NullableSeedCreationEventResult) UnmarshalJSON ¶
func (v *NullableSeedCreationEventResult) UnmarshalJSON(src []byte) error
func (*NullableSeedCreationEventResult) Unset ¶
func (v *NullableSeedCreationEventResult) Unset()
type NullableServerSigner ¶
type NullableServerSigner struct {
// contains filtered or unexported fields
}
func NewNullableServerSigner ¶
func NewNullableServerSigner(val *ServerSigner) *NullableServerSigner
func (NullableServerSigner) Get ¶
func (v NullableServerSigner) Get() *ServerSigner
func (NullableServerSigner) IsSet ¶
func (v NullableServerSigner) IsSet() bool
func (NullableServerSigner) MarshalJSON ¶
func (v NullableServerSigner) MarshalJSON() ([]byte, error)
func (*NullableServerSigner) Set ¶
func (v *NullableServerSigner) Set(val *ServerSigner)
func (*NullableServerSigner) UnmarshalJSON ¶
func (v *NullableServerSigner) UnmarshalJSON(src []byte) error
func (*NullableServerSigner) Unset ¶
func (v *NullableServerSigner) Unset()
type NullableServerSignerEvent ¶
type NullableServerSignerEvent struct {
// contains filtered or unexported fields
}
func NewNullableServerSignerEvent ¶
func NewNullableServerSignerEvent(val *ServerSignerEvent) *NullableServerSignerEvent
func (NullableServerSignerEvent) Get ¶
func (v NullableServerSignerEvent) Get() *ServerSignerEvent
func (NullableServerSignerEvent) IsSet ¶
func (v NullableServerSignerEvent) IsSet() bool
func (NullableServerSignerEvent) MarshalJSON ¶
func (v NullableServerSignerEvent) MarshalJSON() ([]byte, error)
func (*NullableServerSignerEvent) Set ¶
func (v *NullableServerSignerEvent) Set(val *ServerSignerEvent)
func (*NullableServerSignerEvent) UnmarshalJSON ¶
func (v *NullableServerSignerEvent) UnmarshalJSON(src []byte) error
func (*NullableServerSignerEvent) Unset ¶
func (v *NullableServerSignerEvent) Unset()
type NullableServerSignerEventEvent ¶
type NullableServerSignerEventEvent struct {
// contains filtered or unexported fields
}
func NewNullableServerSignerEventEvent ¶
func NewNullableServerSignerEventEvent(val *ServerSignerEventEvent) *NullableServerSignerEventEvent
func (NullableServerSignerEventEvent) Get ¶
func (v NullableServerSignerEventEvent) Get() *ServerSignerEventEvent
func (NullableServerSignerEventEvent) IsSet ¶
func (v NullableServerSignerEventEvent) IsSet() bool
func (NullableServerSignerEventEvent) MarshalJSON ¶
func (v NullableServerSignerEventEvent) MarshalJSON() ([]byte, error)
func (*NullableServerSignerEventEvent) Set ¶
func (v *NullableServerSignerEventEvent) Set(val *ServerSignerEventEvent)
func (*NullableServerSignerEventEvent) UnmarshalJSON ¶
func (v *NullableServerSignerEventEvent) UnmarshalJSON(src []byte) error
func (*NullableServerSignerEventEvent) Unset ¶
func (v *NullableServerSignerEventEvent) Unset()
type NullableServerSignerEventList ¶
type NullableServerSignerEventList struct {
// contains filtered or unexported fields
}
func NewNullableServerSignerEventList ¶
func NewNullableServerSignerEventList(val *ServerSignerEventList) *NullableServerSignerEventList
func (NullableServerSignerEventList) Get ¶
func (v NullableServerSignerEventList) Get() *ServerSignerEventList
func (NullableServerSignerEventList) IsSet ¶
func (v NullableServerSignerEventList) IsSet() bool
func (NullableServerSignerEventList) MarshalJSON ¶
func (v NullableServerSignerEventList) MarshalJSON() ([]byte, error)
func (*NullableServerSignerEventList) Set ¶
func (v *NullableServerSignerEventList) Set(val *ServerSignerEventList)
func (*NullableServerSignerEventList) UnmarshalJSON ¶
func (v *NullableServerSignerEventList) UnmarshalJSON(src []byte) error
func (*NullableServerSignerEventList) Unset ¶
func (v *NullableServerSignerEventList) Unset()
type NullableServerSignerList ¶
type NullableServerSignerList struct {
// contains filtered or unexported fields
}
func NewNullableServerSignerList ¶
func NewNullableServerSignerList(val *ServerSignerList) *NullableServerSignerList
func (NullableServerSignerList) Get ¶
func (v NullableServerSignerList) Get() *ServerSignerList
func (NullableServerSignerList) IsSet ¶
func (v NullableServerSignerList) IsSet() bool
func (NullableServerSignerList) MarshalJSON ¶
func (v NullableServerSignerList) MarshalJSON() ([]byte, error)
func (*NullableServerSignerList) Set ¶
func (v *NullableServerSignerList) Set(val *ServerSignerList)
func (*NullableServerSignerList) UnmarshalJSON ¶
func (v *NullableServerSignerList) UnmarshalJSON(src []byte) error
func (*NullableServerSignerList) Unset ¶
func (v *NullableServerSignerList) Unset()
type NullableSignatureCreationEvent ¶
type NullableSignatureCreationEvent struct {
// contains filtered or unexported fields
}
func NewNullableSignatureCreationEvent ¶
func NewNullableSignatureCreationEvent(val *SignatureCreationEvent) *NullableSignatureCreationEvent
func (NullableSignatureCreationEvent) Get ¶
func (v NullableSignatureCreationEvent) Get() *SignatureCreationEvent
func (NullableSignatureCreationEvent) IsSet ¶
func (v NullableSignatureCreationEvent) IsSet() bool
func (NullableSignatureCreationEvent) MarshalJSON ¶
func (v NullableSignatureCreationEvent) MarshalJSON() ([]byte, error)
func (*NullableSignatureCreationEvent) Set ¶
func (v *NullableSignatureCreationEvent) Set(val *SignatureCreationEvent)
func (*NullableSignatureCreationEvent) UnmarshalJSON ¶
func (v *NullableSignatureCreationEvent) UnmarshalJSON(src []byte) error
func (*NullableSignatureCreationEvent) Unset ¶
func (v *NullableSignatureCreationEvent) Unset()
type NullableSignatureCreationEventResult ¶
type NullableSignatureCreationEventResult struct {
// contains filtered or unexported fields
}
func NewNullableSignatureCreationEventResult ¶
func NewNullableSignatureCreationEventResult(val *SignatureCreationEventResult) *NullableSignatureCreationEventResult
func (NullableSignatureCreationEventResult) Get ¶
func (v NullableSignatureCreationEventResult) Get() *SignatureCreationEventResult
func (NullableSignatureCreationEventResult) IsSet ¶
func (v NullableSignatureCreationEventResult) IsSet() bool
func (NullableSignatureCreationEventResult) MarshalJSON ¶
func (v NullableSignatureCreationEventResult) MarshalJSON() ([]byte, error)
func (*NullableSignatureCreationEventResult) Set ¶
func (v *NullableSignatureCreationEventResult) Set(val *SignatureCreationEventResult)
func (*NullableSignatureCreationEventResult) UnmarshalJSON ¶
func (v *NullableSignatureCreationEventResult) UnmarshalJSON(src []byte) error
func (*NullableSignatureCreationEventResult) Unset ¶
func (v *NullableSignatureCreationEventResult) Unset()
type NullableSignedVoluntaryExitMessageMetadata ¶
type NullableSignedVoluntaryExitMessageMetadata struct {
// contains filtered or unexported fields
}
func NewNullableSignedVoluntaryExitMessageMetadata ¶
func NewNullableSignedVoluntaryExitMessageMetadata(val *SignedVoluntaryExitMessageMetadata) *NullableSignedVoluntaryExitMessageMetadata
func (NullableSignedVoluntaryExitMessageMetadata) IsSet ¶
func (v NullableSignedVoluntaryExitMessageMetadata) IsSet() bool
func (NullableSignedVoluntaryExitMessageMetadata) MarshalJSON ¶
func (v NullableSignedVoluntaryExitMessageMetadata) MarshalJSON() ([]byte, error)
func (*NullableSignedVoluntaryExitMessageMetadata) Set ¶
func (v *NullableSignedVoluntaryExitMessageMetadata) Set(val *SignedVoluntaryExitMessageMetadata)
func (*NullableSignedVoluntaryExitMessageMetadata) UnmarshalJSON ¶
func (v *NullableSignedVoluntaryExitMessageMetadata) UnmarshalJSON(src []byte) error
func (*NullableSignedVoluntaryExitMessageMetadata) Unset ¶
func (v *NullableSignedVoluntaryExitMessageMetadata) Unset()
type NullableSponsoredSend ¶
type NullableSponsoredSend struct {
// contains filtered or unexported fields
}
func NewNullableSponsoredSend ¶
func NewNullableSponsoredSend(val *SponsoredSend) *NullableSponsoredSend
func (NullableSponsoredSend) Get ¶
func (v NullableSponsoredSend) Get() *SponsoredSend
func (NullableSponsoredSend) IsSet ¶
func (v NullableSponsoredSend) IsSet() bool
func (NullableSponsoredSend) MarshalJSON ¶
func (v NullableSponsoredSend) MarshalJSON() ([]byte, error)
func (*NullableSponsoredSend) Set ¶
func (v *NullableSponsoredSend) Set(val *SponsoredSend)
func (*NullableSponsoredSend) UnmarshalJSON ¶
func (v *NullableSponsoredSend) UnmarshalJSON(src []byte) error
func (*NullableSponsoredSend) Unset ¶
func (v *NullableSponsoredSend) Unset()
type NullableStakingBalance ¶
type NullableStakingBalance struct {
// contains filtered or unexported fields
}
func NewNullableStakingBalance ¶
func NewNullableStakingBalance(val *StakingBalance) *NullableStakingBalance
func (NullableStakingBalance) Get ¶
func (v NullableStakingBalance) Get() *StakingBalance
func (NullableStakingBalance) IsSet ¶
func (v NullableStakingBalance) IsSet() bool
func (NullableStakingBalance) MarshalJSON ¶
func (v NullableStakingBalance) MarshalJSON() ([]byte, error)
func (*NullableStakingBalance) Set ¶
func (v *NullableStakingBalance) Set(val *StakingBalance)
func (*NullableStakingBalance) UnmarshalJSON ¶
func (v *NullableStakingBalance) UnmarshalJSON(src []byte) error
func (*NullableStakingBalance) Unset ¶
func (v *NullableStakingBalance) Unset()
type NullableStakingContext ¶
type NullableStakingContext struct {
// contains filtered or unexported fields
}
func NewNullableStakingContext ¶
func NewNullableStakingContext(val *StakingContext) *NullableStakingContext
func (NullableStakingContext) Get ¶
func (v NullableStakingContext) Get() *StakingContext
func (NullableStakingContext) IsSet ¶
func (v NullableStakingContext) IsSet() bool
func (NullableStakingContext) MarshalJSON ¶
func (v NullableStakingContext) MarshalJSON() ([]byte, error)
func (*NullableStakingContext) Set ¶
func (v *NullableStakingContext) Set(val *StakingContext)
func (*NullableStakingContext) UnmarshalJSON ¶
func (v *NullableStakingContext) UnmarshalJSON(src []byte) error
func (*NullableStakingContext) Unset ¶
func (v *NullableStakingContext) Unset()
type NullableStakingContextContext ¶
type NullableStakingContextContext struct {
// contains filtered or unexported fields
}
func NewNullableStakingContextContext ¶
func NewNullableStakingContextContext(val *StakingContextContext) *NullableStakingContextContext
func (NullableStakingContextContext) Get ¶
func (v NullableStakingContextContext) Get() *StakingContextContext
func (NullableStakingContextContext) IsSet ¶
func (v NullableStakingContextContext) IsSet() bool
func (NullableStakingContextContext) MarshalJSON ¶
func (v NullableStakingContextContext) MarshalJSON() ([]byte, error)
func (*NullableStakingContextContext) Set ¶
func (v *NullableStakingContextContext) Set(val *StakingContextContext)
func (*NullableStakingContextContext) UnmarshalJSON ¶
func (v *NullableStakingContextContext) UnmarshalJSON(src []byte) error
func (*NullableStakingContextContext) Unset ¶
func (v *NullableStakingContextContext) Unset()
type NullableStakingOperation ¶
type NullableStakingOperation struct {
// contains filtered or unexported fields
}
func NewNullableStakingOperation ¶
func NewNullableStakingOperation(val *StakingOperation) *NullableStakingOperation
func (NullableStakingOperation) Get ¶
func (v NullableStakingOperation) Get() *StakingOperation
func (NullableStakingOperation) IsSet ¶
func (v NullableStakingOperation) IsSet() bool
func (NullableStakingOperation) MarshalJSON ¶
func (v NullableStakingOperation) MarshalJSON() ([]byte, error)
func (*NullableStakingOperation) Set ¶
func (v *NullableStakingOperation) Set(val *StakingOperation)
func (*NullableStakingOperation) UnmarshalJSON ¶
func (v *NullableStakingOperation) UnmarshalJSON(src []byte) error
func (*NullableStakingOperation) Unset ¶
func (v *NullableStakingOperation) Unset()
type NullableStakingOperationMetadata ¶
type NullableStakingOperationMetadata struct {
// contains filtered or unexported fields
}
func NewNullableStakingOperationMetadata ¶
func NewNullableStakingOperationMetadata(val *StakingOperationMetadata) *NullableStakingOperationMetadata
func (NullableStakingOperationMetadata) Get ¶
func (v NullableStakingOperationMetadata) Get() *StakingOperationMetadata
func (NullableStakingOperationMetadata) IsSet ¶
func (v NullableStakingOperationMetadata) IsSet() bool
func (NullableStakingOperationMetadata) MarshalJSON ¶
func (v NullableStakingOperationMetadata) MarshalJSON() ([]byte, error)
func (*NullableStakingOperationMetadata) Set ¶
func (v *NullableStakingOperationMetadata) Set(val *StakingOperationMetadata)
func (*NullableStakingOperationMetadata) UnmarshalJSON ¶
func (v *NullableStakingOperationMetadata) UnmarshalJSON(src []byte) error
func (*NullableStakingOperationMetadata) Unset ¶
func (v *NullableStakingOperationMetadata) Unset()
type NullableStakingReward ¶
type NullableStakingReward struct {
// contains filtered or unexported fields
}
func NewNullableStakingReward ¶
func NewNullableStakingReward(val *StakingReward) *NullableStakingReward
func (NullableStakingReward) Get ¶
func (v NullableStakingReward) Get() *StakingReward
func (NullableStakingReward) IsSet ¶
func (v NullableStakingReward) IsSet() bool
func (NullableStakingReward) MarshalJSON ¶
func (v NullableStakingReward) MarshalJSON() ([]byte, error)
func (*NullableStakingReward) Set ¶
func (v *NullableStakingReward) Set(val *StakingReward)
func (*NullableStakingReward) UnmarshalJSON ¶
func (v *NullableStakingReward) UnmarshalJSON(src []byte) error
func (*NullableStakingReward) Unset ¶
func (v *NullableStakingReward) Unset()
type NullableStakingRewardFormat ¶
type NullableStakingRewardFormat struct {
// contains filtered or unexported fields
}
func NewNullableStakingRewardFormat ¶
func NewNullableStakingRewardFormat(val *StakingRewardFormat) *NullableStakingRewardFormat
func (NullableStakingRewardFormat) Get ¶
func (v NullableStakingRewardFormat) Get() *StakingRewardFormat
func (NullableStakingRewardFormat) IsSet ¶
func (v NullableStakingRewardFormat) IsSet() bool
func (NullableStakingRewardFormat) MarshalJSON ¶
func (v NullableStakingRewardFormat) MarshalJSON() ([]byte, error)
func (*NullableStakingRewardFormat) Set ¶
func (v *NullableStakingRewardFormat) Set(val *StakingRewardFormat)
func (*NullableStakingRewardFormat) UnmarshalJSON ¶
func (v *NullableStakingRewardFormat) UnmarshalJSON(src []byte) error
func (*NullableStakingRewardFormat) Unset ¶
func (v *NullableStakingRewardFormat) Unset()
type NullableStakingRewardUSDValue ¶
type NullableStakingRewardUSDValue struct {
// contains filtered or unexported fields
}
func NewNullableStakingRewardUSDValue ¶
func NewNullableStakingRewardUSDValue(val *StakingRewardUSDValue) *NullableStakingRewardUSDValue
func (NullableStakingRewardUSDValue) Get ¶
func (v NullableStakingRewardUSDValue) Get() *StakingRewardUSDValue
func (NullableStakingRewardUSDValue) IsSet ¶
func (v NullableStakingRewardUSDValue) IsSet() bool
func (NullableStakingRewardUSDValue) MarshalJSON ¶
func (v NullableStakingRewardUSDValue) MarshalJSON() ([]byte, error)
func (*NullableStakingRewardUSDValue) Set ¶
func (v *NullableStakingRewardUSDValue) Set(val *StakingRewardUSDValue)
func (*NullableStakingRewardUSDValue) UnmarshalJSON ¶
func (v *NullableStakingRewardUSDValue) UnmarshalJSON(src []byte) error
func (*NullableStakingRewardUSDValue) Unset ¶
func (v *NullableStakingRewardUSDValue) 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 NullableTrade ¶
type NullableTrade struct {
// contains filtered or unexported fields
}
func NewNullableTrade ¶
func NewNullableTrade(val *Trade) *NullableTrade
func (NullableTrade) Get ¶
func (v NullableTrade) Get() *Trade
func (NullableTrade) IsSet ¶
func (v NullableTrade) IsSet() bool
func (NullableTrade) MarshalJSON ¶
func (v NullableTrade) MarshalJSON() ([]byte, error)
func (*NullableTrade) Set ¶
func (v *NullableTrade) Set(val *Trade)
func (*NullableTrade) UnmarshalJSON ¶
func (v *NullableTrade) UnmarshalJSON(src []byte) error
func (*NullableTrade) Unset ¶
func (v *NullableTrade) Unset()
type NullableTradeList ¶
type NullableTradeList struct {
// contains filtered or unexported fields
}
func NewNullableTradeList ¶
func NewNullableTradeList(val *TradeList) *NullableTradeList
func (NullableTradeList) Get ¶
func (v NullableTradeList) Get() *TradeList
func (NullableTradeList) IsSet ¶
func (v NullableTradeList) IsSet() bool
func (NullableTradeList) MarshalJSON ¶
func (v NullableTradeList) MarshalJSON() ([]byte, error)
func (*NullableTradeList) Set ¶
func (v *NullableTradeList) Set(val *TradeList)
func (*NullableTradeList) UnmarshalJSON ¶
func (v *NullableTradeList) UnmarshalJSON(src []byte) error
func (*NullableTradeList) Unset ¶
func (v *NullableTradeList) Unset()
type NullableTransaction ¶
type NullableTransaction struct {
// contains filtered or unexported fields
}
func NewNullableTransaction ¶
func NewNullableTransaction(val *Transaction) *NullableTransaction
func (NullableTransaction) Get ¶
func (v NullableTransaction) Get() *Transaction
func (NullableTransaction) IsSet ¶
func (v NullableTransaction) IsSet() bool
func (NullableTransaction) MarshalJSON ¶
func (v NullableTransaction) MarshalJSON() ([]byte, error)
func (*NullableTransaction) Set ¶
func (v *NullableTransaction) Set(val *Transaction)
func (*NullableTransaction) UnmarshalJSON ¶
func (v *NullableTransaction) UnmarshalJSON(src []byte) error
func (*NullableTransaction) Unset ¶
func (v *NullableTransaction) Unset()
type NullableTransactionType ¶
type NullableTransactionType struct {
// contains filtered or unexported fields
}
func NewNullableTransactionType ¶
func NewNullableTransactionType(val *TransactionType) *NullableTransactionType
func (NullableTransactionType) Get ¶
func (v NullableTransactionType) Get() *TransactionType
func (NullableTransactionType) IsSet ¶
func (v NullableTransactionType) IsSet() bool
func (NullableTransactionType) MarshalJSON ¶
func (v NullableTransactionType) MarshalJSON() ([]byte, error)
func (*NullableTransactionType) Set ¶
func (v *NullableTransactionType) Set(val *TransactionType)
func (*NullableTransactionType) UnmarshalJSON ¶
func (v *NullableTransactionType) UnmarshalJSON(src []byte) error
func (*NullableTransactionType) Unset ¶
func (v *NullableTransactionType) Unset()
type NullableTransfer ¶
type NullableTransfer struct {
// contains filtered or unexported fields
}
func NewNullableTransfer ¶
func NewNullableTransfer(val *Transfer) *NullableTransfer
func (NullableTransfer) Get ¶
func (v NullableTransfer) Get() *Transfer
func (NullableTransfer) IsSet ¶
func (v NullableTransfer) IsSet() bool
func (NullableTransfer) MarshalJSON ¶
func (v NullableTransfer) MarshalJSON() ([]byte, error)
func (*NullableTransfer) Set ¶
func (v *NullableTransfer) Set(val *Transfer)
func (*NullableTransfer) UnmarshalJSON ¶
func (v *NullableTransfer) UnmarshalJSON(src []byte) error
func (*NullableTransfer) Unset ¶
func (v *NullableTransfer) Unset()
type NullableTransferList ¶
type NullableTransferList struct {
// contains filtered or unexported fields
}
func NewNullableTransferList ¶
func NewNullableTransferList(val *TransferList) *NullableTransferList
func (NullableTransferList) Get ¶
func (v NullableTransferList) Get() *TransferList
func (NullableTransferList) IsSet ¶
func (v NullableTransferList) IsSet() bool
func (NullableTransferList) MarshalJSON ¶
func (v NullableTransferList) MarshalJSON() ([]byte, error)
func (*NullableTransferList) Set ¶
func (v *NullableTransferList) Set(val *TransferList)
func (*NullableTransferList) UnmarshalJSON ¶
func (v *NullableTransferList) UnmarshalJSON(src []byte) error
func (*NullableTransferList) Unset ¶
func (v *NullableTransferList) Unset()
type NullableUpdateWebhookRequest ¶
type NullableUpdateWebhookRequest struct {
// contains filtered or unexported fields
}
func NewNullableUpdateWebhookRequest ¶
func NewNullableUpdateWebhookRequest(val *UpdateWebhookRequest) *NullableUpdateWebhookRequest
func (NullableUpdateWebhookRequest) Get ¶
func (v NullableUpdateWebhookRequest) Get() *UpdateWebhookRequest
func (NullableUpdateWebhookRequest) IsSet ¶
func (v NullableUpdateWebhookRequest) IsSet() bool
func (NullableUpdateWebhookRequest) MarshalJSON ¶
func (v NullableUpdateWebhookRequest) MarshalJSON() ([]byte, error)
func (*NullableUpdateWebhookRequest) Set ¶
func (v *NullableUpdateWebhookRequest) Set(val *UpdateWebhookRequest)
func (*NullableUpdateWebhookRequest) UnmarshalJSON ¶
func (v *NullableUpdateWebhookRequest) UnmarshalJSON(src []byte) error
func (*NullableUpdateWebhookRequest) Unset ¶
func (v *NullableUpdateWebhookRequest) Unset()
type NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type NullableValidator ¶
type NullableValidator struct {
// contains filtered or unexported fields
}
func NewNullableValidator ¶
func NewNullableValidator(val *Validator) *NullableValidator
func (NullableValidator) Get ¶
func (v NullableValidator) Get() *Validator
func (NullableValidator) IsSet ¶
func (v NullableValidator) IsSet() bool
func (NullableValidator) MarshalJSON ¶
func (v NullableValidator) MarshalJSON() ([]byte, error)
func (*NullableValidator) Set ¶
func (v *NullableValidator) Set(val *Validator)
func (*NullableValidator) UnmarshalJSON ¶
func (v *NullableValidator) UnmarshalJSON(src []byte) error
func (*NullableValidator) Unset ¶
func (v *NullableValidator) Unset()
type NullableValidatorDetails ¶
type NullableValidatorDetails struct {
// contains filtered or unexported fields
}
func NewNullableValidatorDetails ¶
func NewNullableValidatorDetails(val *ValidatorDetails) *NullableValidatorDetails
func (NullableValidatorDetails) Get ¶
func (v NullableValidatorDetails) Get() *ValidatorDetails
func (NullableValidatorDetails) IsSet ¶
func (v NullableValidatorDetails) IsSet() bool
func (NullableValidatorDetails) MarshalJSON ¶
func (v NullableValidatorDetails) MarshalJSON() ([]byte, error)
func (*NullableValidatorDetails) Set ¶
func (v *NullableValidatorDetails) Set(val *ValidatorDetails)
func (*NullableValidatorDetails) UnmarshalJSON ¶
func (v *NullableValidatorDetails) UnmarshalJSON(src []byte) error
func (*NullableValidatorDetails) Unset ¶
func (v *NullableValidatorDetails) Unset()
type NullableValidatorList ¶
type NullableValidatorList struct {
// contains filtered or unexported fields
}
func NewNullableValidatorList ¶
func NewNullableValidatorList(val *ValidatorList) *NullableValidatorList
func (NullableValidatorList) Get ¶
func (v NullableValidatorList) Get() *ValidatorList
func (NullableValidatorList) IsSet ¶
func (v NullableValidatorList) IsSet() bool
func (NullableValidatorList) MarshalJSON ¶
func (v NullableValidatorList) MarshalJSON() ([]byte, error)
func (*NullableValidatorList) Set ¶
func (v *NullableValidatorList) Set(val *ValidatorList)
func (*NullableValidatorList) UnmarshalJSON ¶
func (v *NullableValidatorList) UnmarshalJSON(src []byte) error
func (*NullableValidatorList) Unset ¶
func (v *NullableValidatorList) Unset()
type NullableValidatorStatus ¶
type NullableValidatorStatus struct {
// contains filtered or unexported fields
}
func NewNullableValidatorStatus ¶
func NewNullableValidatorStatus(val *ValidatorStatus) *NullableValidatorStatus
func (NullableValidatorStatus) Get ¶
func (v NullableValidatorStatus) Get() *ValidatorStatus
func (NullableValidatorStatus) IsSet ¶
func (v NullableValidatorStatus) IsSet() bool
func (NullableValidatorStatus) MarshalJSON ¶
func (v NullableValidatorStatus) MarshalJSON() ([]byte, error)
func (*NullableValidatorStatus) Set ¶
func (v *NullableValidatorStatus) Set(val *ValidatorStatus)
func (*NullableValidatorStatus) UnmarshalJSON ¶
func (v *NullableValidatorStatus) UnmarshalJSON(src []byte) error
func (*NullableValidatorStatus) Unset ¶
func (v *NullableValidatorStatus) Unset()
type NullableWallet ¶
type NullableWallet struct {
// contains filtered or unexported fields
}
func NewNullableWallet ¶
func NewNullableWallet(val *Wallet) *NullableWallet
func (NullableWallet) Get ¶
func (v NullableWallet) Get() *Wallet
func (NullableWallet) IsSet ¶
func (v NullableWallet) IsSet() bool
func (NullableWallet) MarshalJSON ¶
func (v NullableWallet) MarshalJSON() ([]byte, error)
func (*NullableWallet) Set ¶
func (v *NullableWallet) Set(val *Wallet)
func (*NullableWallet) UnmarshalJSON ¶
func (v *NullableWallet) UnmarshalJSON(src []byte) error
func (*NullableWallet) Unset ¶
func (v *NullableWallet) Unset()
type NullableWalletList ¶
type NullableWalletList struct {
// contains filtered or unexported fields
}
func NewNullableWalletList ¶
func NewNullableWalletList(val *WalletList) *NullableWalletList
func (NullableWalletList) Get ¶
func (v NullableWalletList) Get() *WalletList
func (NullableWalletList) IsSet ¶
func (v NullableWalletList) IsSet() bool
func (NullableWalletList) MarshalJSON ¶
func (v NullableWalletList) MarshalJSON() ([]byte, error)
func (*NullableWalletList) Set ¶
func (v *NullableWalletList) Set(val *WalletList)
func (*NullableWalletList) UnmarshalJSON ¶
func (v *NullableWalletList) UnmarshalJSON(src []byte) error
func (*NullableWalletList) Unset ¶
func (v *NullableWalletList) Unset()
type NullableWebhook ¶
type NullableWebhook struct {
// contains filtered or unexported fields
}
func NewNullableWebhook ¶
func NewNullableWebhook(val *Webhook) *NullableWebhook
func (NullableWebhook) Get ¶
func (v NullableWebhook) Get() *Webhook
func (NullableWebhook) IsSet ¶
func (v NullableWebhook) IsSet() bool
func (NullableWebhook) MarshalJSON ¶
func (v NullableWebhook) MarshalJSON() ([]byte, error)
func (*NullableWebhook) Set ¶
func (v *NullableWebhook) Set(val *Webhook)
func (*NullableWebhook) UnmarshalJSON ¶
func (v *NullableWebhook) UnmarshalJSON(src []byte) error
func (*NullableWebhook) Unset ¶
func (v *NullableWebhook) Unset()
type NullableWebhookEventFilter ¶
type NullableWebhookEventFilter struct {
// contains filtered or unexported fields
}
func NewNullableWebhookEventFilter ¶
func NewNullableWebhookEventFilter(val *WebhookEventFilter) *NullableWebhookEventFilter
func (NullableWebhookEventFilter) Get ¶
func (v NullableWebhookEventFilter) Get() *WebhookEventFilter
func (NullableWebhookEventFilter) IsSet ¶
func (v NullableWebhookEventFilter) IsSet() bool
func (NullableWebhookEventFilter) MarshalJSON ¶
func (v NullableWebhookEventFilter) MarshalJSON() ([]byte, error)
func (*NullableWebhookEventFilter) Set ¶
func (v *NullableWebhookEventFilter) Set(val *WebhookEventFilter)
func (*NullableWebhookEventFilter) UnmarshalJSON ¶
func (v *NullableWebhookEventFilter) UnmarshalJSON(src []byte) error
func (*NullableWebhookEventFilter) Unset ¶
func (v *NullableWebhookEventFilter) Unset()
type NullableWebhookEventType ¶
type NullableWebhookEventType struct {
// contains filtered or unexported fields
}
func NewNullableWebhookEventType ¶
func NewNullableWebhookEventType(val *WebhookEventType) *NullableWebhookEventType
func (NullableWebhookEventType) Get ¶
func (v NullableWebhookEventType) Get() *WebhookEventType
func (NullableWebhookEventType) IsSet ¶
func (v NullableWebhookEventType) IsSet() bool
func (NullableWebhookEventType) MarshalJSON ¶
func (v NullableWebhookEventType) MarshalJSON() ([]byte, error)
func (*NullableWebhookEventType) Set ¶
func (v *NullableWebhookEventType) Set(val *WebhookEventType)
func (*NullableWebhookEventType) UnmarshalJSON ¶
func (v *NullableWebhookEventType) UnmarshalJSON(src []byte) error
func (*NullableWebhookEventType) Unset ¶
func (v *NullableWebhookEventType) Unset()
type NullableWebhookList ¶
type NullableWebhookList struct {
// contains filtered or unexported fields
}
func NewNullableWebhookList ¶
func NewNullableWebhookList(val *WebhookList) *NullableWebhookList
func (NullableWebhookList) Get ¶
func (v NullableWebhookList) Get() *WebhookList
func (NullableWebhookList) IsSet ¶
func (v NullableWebhookList) IsSet() bool
func (NullableWebhookList) MarshalJSON ¶
func (v NullableWebhookList) MarshalJSON() ([]byte, error)
func (*NullableWebhookList) Set ¶
func (v *NullableWebhookList) Set(val *WebhookList)
func (*NullableWebhookList) UnmarshalJSON ¶
func (v *NullableWebhookList) UnmarshalJSON(src []byte) error
func (*NullableWebhookList) Unset ¶
func (v *NullableWebhookList) Unset()
type SeedCreationEvent ¶
type SeedCreationEvent struct { // The ID of the wallet that the server-signer should create the seed for WalletId string `json:"wallet_id"` // The ID of the user that the wallet belongs to WalletUserId string `json:"wallet_user_id"` }
SeedCreationEvent An event representing a seed creation.
func NewSeedCreationEvent ¶
func NewSeedCreationEvent(walletId string, walletUserId string) *SeedCreationEvent
NewSeedCreationEvent instantiates a new SeedCreationEvent 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 NewSeedCreationEventWithDefaults ¶
func NewSeedCreationEventWithDefaults() *SeedCreationEvent
NewSeedCreationEventWithDefaults instantiates a new SeedCreationEvent 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 (*SeedCreationEvent) GetWalletId ¶
func (o *SeedCreationEvent) GetWalletId() string
GetWalletId returns the WalletId field value
func (*SeedCreationEvent) GetWalletIdOk ¶
func (o *SeedCreationEvent) GetWalletIdOk() (*string, bool)
GetWalletIdOk returns a tuple with the WalletId field value and a boolean to check if the value has been set.
func (*SeedCreationEvent) GetWalletUserId ¶
func (o *SeedCreationEvent) GetWalletUserId() string
GetWalletUserId returns the WalletUserId field value
func (*SeedCreationEvent) GetWalletUserIdOk ¶
func (o *SeedCreationEvent) GetWalletUserIdOk() (*string, bool)
GetWalletUserIdOk returns a tuple with the WalletUserId field value and a boolean to check if the value has been set.
func (SeedCreationEvent) MarshalJSON ¶
func (o SeedCreationEvent) MarshalJSON() ([]byte, error)
func (*SeedCreationEvent) SetWalletId ¶
func (o *SeedCreationEvent) SetWalletId(v string)
SetWalletId sets field value
func (*SeedCreationEvent) SetWalletUserId ¶
func (o *SeedCreationEvent) SetWalletUserId(v string)
SetWalletUserId sets field value
func (SeedCreationEvent) ToMap ¶
func (o SeedCreationEvent) ToMap() (map[string]interface{}, error)
func (*SeedCreationEvent) UnmarshalJSON ¶
func (o *SeedCreationEvent) UnmarshalJSON(data []byte) (err error)
type SeedCreationEventResult ¶
type SeedCreationEventResult struct { // The ID of the wallet that the seed was created for WalletId string `json:"wallet_id"` // The ID of the user that the wallet belongs to WalletUserId string `json:"wallet_user_id"` // The extended public key for the first master key derived from seed. ExtendedPublicKey string `json:"extended_public_key"` // The ID of the seed in Server-Signer used to generate the extended public key. SeedId string `json:"seed_id"` }
SeedCreationEventResult The result to a SeedCreationEvent.
func NewSeedCreationEventResult ¶
func NewSeedCreationEventResult(walletId string, walletUserId string, extendedPublicKey string, seedId string) *SeedCreationEventResult
NewSeedCreationEventResult instantiates a new SeedCreationEventResult 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 NewSeedCreationEventResultWithDefaults ¶
func NewSeedCreationEventResultWithDefaults() *SeedCreationEventResult
NewSeedCreationEventResultWithDefaults instantiates a new SeedCreationEventResult 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 (*SeedCreationEventResult) GetExtendedPublicKey ¶
func (o *SeedCreationEventResult) GetExtendedPublicKey() string
GetExtendedPublicKey returns the ExtendedPublicKey field value
func (*SeedCreationEventResult) GetExtendedPublicKeyOk ¶
func (o *SeedCreationEventResult) GetExtendedPublicKeyOk() (*string, bool)
GetExtendedPublicKeyOk returns a tuple with the ExtendedPublicKey field value and a boolean to check if the value has been set.
func (*SeedCreationEventResult) GetSeedId ¶
func (o *SeedCreationEventResult) GetSeedId() string
GetSeedId returns the SeedId field value
func (*SeedCreationEventResult) GetSeedIdOk ¶
func (o *SeedCreationEventResult) GetSeedIdOk() (*string, bool)
GetSeedIdOk returns a tuple with the SeedId field value and a boolean to check if the value has been set.
func (*SeedCreationEventResult) GetWalletId ¶
func (o *SeedCreationEventResult) GetWalletId() string
GetWalletId returns the WalletId field value
func (*SeedCreationEventResult) GetWalletIdOk ¶
func (o *SeedCreationEventResult) GetWalletIdOk() (*string, bool)
GetWalletIdOk returns a tuple with the WalletId field value and a boolean to check if the value has been set.
func (*SeedCreationEventResult) GetWalletUserId ¶
func (o *SeedCreationEventResult) GetWalletUserId() string
GetWalletUserId returns the WalletUserId field value
func (*SeedCreationEventResult) GetWalletUserIdOk ¶
func (o *SeedCreationEventResult) GetWalletUserIdOk() (*string, bool)
GetWalletUserIdOk returns a tuple with the WalletUserId field value and a boolean to check if the value has been set.
func (SeedCreationEventResult) MarshalJSON ¶
func (o SeedCreationEventResult) MarshalJSON() ([]byte, error)
func (*SeedCreationEventResult) SetExtendedPublicKey ¶
func (o *SeedCreationEventResult) SetExtendedPublicKey(v string)
SetExtendedPublicKey sets field value
func (*SeedCreationEventResult) SetSeedId ¶
func (o *SeedCreationEventResult) SetSeedId(v string)
SetSeedId sets field value
func (*SeedCreationEventResult) SetWalletId ¶
func (o *SeedCreationEventResult) SetWalletId(v string)
SetWalletId sets field value
func (*SeedCreationEventResult) SetWalletUserId ¶
func (o *SeedCreationEventResult) SetWalletUserId(v string)
SetWalletUserId sets field value
func (SeedCreationEventResult) ToMap ¶
func (o SeedCreationEventResult) ToMap() (map[string]interface{}, error)
func (*SeedCreationEventResult) UnmarshalJSON ¶
func (o *SeedCreationEventResult) UnmarshalJSON(data []byte) (err error)
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 ServerSigner ¶
type ServerSigner struct { // The ID of the server-signer ServerSignerId string `json:"server_signer_id"` // The IDs of the wallets that the server-signer can sign for Wallets []string `json:"wallets,omitempty"` // Whether the Server-Signer uses MPC. IsMpc bool `json:"is_mpc"` }
ServerSigner A Server-Signer assigned to sign transactions in a wallet.
func NewServerSigner ¶
func NewServerSigner(serverSignerId string, isMpc bool) *ServerSigner
NewServerSigner instantiates a new ServerSigner 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 NewServerSignerWithDefaults ¶
func NewServerSignerWithDefaults() *ServerSigner
NewServerSignerWithDefaults instantiates a new ServerSigner 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 (*ServerSigner) GetIsMpc ¶
func (o *ServerSigner) GetIsMpc() bool
GetIsMpc returns the IsMpc field value
func (*ServerSigner) GetIsMpcOk ¶
func (o *ServerSigner) GetIsMpcOk() (*bool, bool)
GetIsMpcOk returns a tuple with the IsMpc field value and a boolean to check if the value has been set.
func (*ServerSigner) GetServerSignerId ¶
func (o *ServerSigner) GetServerSignerId() string
GetServerSignerId returns the ServerSignerId field value
func (*ServerSigner) GetServerSignerIdOk ¶
func (o *ServerSigner) GetServerSignerIdOk() (*string, bool)
GetServerSignerIdOk returns a tuple with the ServerSignerId field value and a boolean to check if the value has been set.
func (*ServerSigner) GetWallets ¶
func (o *ServerSigner) GetWallets() []string
GetWallets returns the Wallets field value if set, zero value otherwise.
func (*ServerSigner) GetWalletsOk ¶
func (o *ServerSigner) GetWalletsOk() ([]string, bool)
GetWalletsOk returns a tuple with the Wallets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServerSigner) HasWallets ¶
func (o *ServerSigner) HasWallets() bool
HasWallets returns a boolean if a field has been set.
func (ServerSigner) MarshalJSON ¶
func (o ServerSigner) MarshalJSON() ([]byte, error)
func (*ServerSigner) SetServerSignerId ¶
func (o *ServerSigner) SetServerSignerId(v string)
SetServerSignerId sets field value
func (*ServerSigner) SetWallets ¶
func (o *ServerSigner) SetWallets(v []string)
SetWallets gets a reference to the given []string and assigns it to the Wallets field.
func (ServerSigner) ToMap ¶
func (o ServerSigner) ToMap() (map[string]interface{}, error)
func (*ServerSigner) UnmarshalJSON ¶
func (o *ServerSigner) UnmarshalJSON(data []byte) (err error)
type ServerSignerEvent ¶
type ServerSignerEvent struct { // The ID of the server-signer that the event is for ServerSignerId string `json:"server_signer_id"` Event ServerSignerEventEvent `json:"event"` }
ServerSignerEvent An event that is waiting to be processed by a Server-Signer.
func NewServerSignerEvent ¶
func NewServerSignerEvent(serverSignerId string, event ServerSignerEventEvent) *ServerSignerEvent
NewServerSignerEvent instantiates a new ServerSignerEvent 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 NewServerSignerEventWithDefaults ¶
func NewServerSignerEventWithDefaults() *ServerSignerEvent
NewServerSignerEventWithDefaults instantiates a new ServerSignerEvent 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 (*ServerSignerEvent) GetEvent ¶
func (o *ServerSignerEvent) GetEvent() ServerSignerEventEvent
GetEvent returns the Event field value
func (*ServerSignerEvent) GetEventOk ¶
func (o *ServerSignerEvent) GetEventOk() (*ServerSignerEventEvent, bool)
GetEventOk returns a tuple with the Event field value and a boolean to check if the value has been set.
func (*ServerSignerEvent) GetServerSignerId ¶
func (o *ServerSignerEvent) GetServerSignerId() string
GetServerSignerId returns the ServerSignerId field value
func (*ServerSignerEvent) GetServerSignerIdOk ¶
func (o *ServerSignerEvent) GetServerSignerIdOk() (*string, bool)
GetServerSignerIdOk returns a tuple with the ServerSignerId field value and a boolean to check if the value has been set.
func (ServerSignerEvent) MarshalJSON ¶
func (o ServerSignerEvent) MarshalJSON() ([]byte, error)
func (*ServerSignerEvent) SetEvent ¶
func (o *ServerSignerEvent) SetEvent(v ServerSignerEventEvent)
SetEvent sets field value
func (*ServerSignerEvent) SetServerSignerId ¶
func (o *ServerSignerEvent) SetServerSignerId(v string)
SetServerSignerId sets field value
func (ServerSignerEvent) ToMap ¶
func (o ServerSignerEvent) ToMap() (map[string]interface{}, error)
func (*ServerSignerEvent) UnmarshalJSON ¶
func (o *ServerSignerEvent) UnmarshalJSON(data []byte) (err error)
type ServerSignerEventEvent ¶
type ServerSignerEventEvent struct { SeedCreationEvent *SeedCreationEvent SignatureCreationEvent *SignatureCreationEvent }
ServerSignerEventEvent - struct for ServerSignerEventEvent
func SeedCreationEventAsServerSignerEventEvent ¶
func SeedCreationEventAsServerSignerEventEvent(v *SeedCreationEvent) ServerSignerEventEvent
SeedCreationEventAsServerSignerEventEvent is a convenience function that returns SeedCreationEvent wrapped in ServerSignerEventEvent
func SignatureCreationEventAsServerSignerEventEvent ¶
func SignatureCreationEventAsServerSignerEventEvent(v *SignatureCreationEvent) ServerSignerEventEvent
SignatureCreationEventAsServerSignerEventEvent is a convenience function that returns SignatureCreationEvent wrapped in ServerSignerEventEvent
func (*ServerSignerEventEvent) GetActualInstance ¶
func (obj *ServerSignerEventEvent) GetActualInstance() interface{}
Get the actual instance
func (ServerSignerEventEvent) MarshalJSON ¶
func (src ServerSignerEventEvent) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ServerSignerEventEvent) UnmarshalJSON ¶
func (dst *ServerSignerEventEvent) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type ServerSignerEventList ¶
type ServerSignerEventList struct { Data []ServerSignerEvent `json:"data"` // True if this list has another page of items after this one that can be fetched. HasMore bool `json:"has_more"` // The page token to be used to fetch the next page. NextPage string `json:"next_page"` // The total number of events for the server signer. TotalCount int32 `json:"total_count"` }
ServerSignerEventList
func NewServerSignerEventList ¶
func NewServerSignerEventList(data []ServerSignerEvent, hasMore bool, nextPage string, totalCount int32) *ServerSignerEventList
NewServerSignerEventList instantiates a new ServerSignerEventList 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 NewServerSignerEventListWithDefaults ¶
func NewServerSignerEventListWithDefaults() *ServerSignerEventList
NewServerSignerEventListWithDefaults instantiates a new ServerSignerEventList 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 (*ServerSignerEventList) GetData ¶
func (o *ServerSignerEventList) GetData() []ServerSignerEvent
GetData returns the Data field value
func (*ServerSignerEventList) GetDataOk ¶
func (o *ServerSignerEventList) GetDataOk() ([]ServerSignerEvent, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ServerSignerEventList) GetHasMore ¶
func (o *ServerSignerEventList) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*ServerSignerEventList) GetHasMoreOk ¶
func (o *ServerSignerEventList) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*ServerSignerEventList) GetNextPage ¶
func (o *ServerSignerEventList) GetNextPage() string
GetNextPage returns the NextPage field value
func (*ServerSignerEventList) GetNextPageOk ¶
func (o *ServerSignerEventList) GetNextPageOk() (*string, bool)
GetNextPageOk returns a tuple with the NextPage field value and a boolean to check if the value has been set.
func (*ServerSignerEventList) GetTotalCount ¶
func (o *ServerSignerEventList) GetTotalCount() int32
GetTotalCount returns the TotalCount field value
func (*ServerSignerEventList) GetTotalCountOk ¶
func (o *ServerSignerEventList) GetTotalCountOk() (*int32, bool)
GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.
func (ServerSignerEventList) MarshalJSON ¶
func (o ServerSignerEventList) MarshalJSON() ([]byte, error)
func (*ServerSignerEventList) SetData ¶
func (o *ServerSignerEventList) SetData(v []ServerSignerEvent)
SetData sets field value
func (*ServerSignerEventList) SetHasMore ¶
func (o *ServerSignerEventList) SetHasMore(v bool)
SetHasMore sets field value
func (*ServerSignerEventList) SetNextPage ¶
func (o *ServerSignerEventList) SetNextPage(v string)
SetNextPage sets field value
func (*ServerSignerEventList) SetTotalCount ¶
func (o *ServerSignerEventList) SetTotalCount(v int32)
SetTotalCount sets field value
func (ServerSignerEventList) ToMap ¶
func (o ServerSignerEventList) ToMap() (map[string]interface{}, error)
func (*ServerSignerEventList) UnmarshalJSON ¶
func (o *ServerSignerEventList) UnmarshalJSON(data []byte) (err error)
type ServerSignerList ¶
type ServerSignerList struct { Data []ServerSigner `json:"data"` // True if this list has another page of items after this one that can be fetched. HasMore bool `json:"has_more"` // The page token to be used to fetch the next page. NextPage string `json:"next_page"` // The total number of server-signers for the project. TotalCount int32 `json:"total_count"` }
ServerSignerList
func NewServerSignerList ¶
func NewServerSignerList(data []ServerSigner, hasMore bool, nextPage string, totalCount int32) *ServerSignerList
NewServerSignerList instantiates a new ServerSignerList 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 NewServerSignerListWithDefaults ¶
func NewServerSignerListWithDefaults() *ServerSignerList
NewServerSignerListWithDefaults instantiates a new ServerSignerList 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 (*ServerSignerList) GetData ¶
func (o *ServerSignerList) GetData() []ServerSigner
GetData returns the Data field value
func (*ServerSignerList) GetDataOk ¶
func (o *ServerSignerList) GetDataOk() ([]ServerSigner, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ServerSignerList) GetHasMore ¶
func (o *ServerSignerList) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*ServerSignerList) GetHasMoreOk ¶
func (o *ServerSignerList) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*ServerSignerList) GetNextPage ¶
func (o *ServerSignerList) GetNextPage() string
GetNextPage returns the NextPage field value
func (*ServerSignerList) GetNextPageOk ¶
func (o *ServerSignerList) GetNextPageOk() (*string, bool)
GetNextPageOk returns a tuple with the NextPage field value and a boolean to check if the value has been set.
func (*ServerSignerList) GetTotalCount ¶
func (o *ServerSignerList) GetTotalCount() int32
GetTotalCount returns the TotalCount field value
func (*ServerSignerList) GetTotalCountOk ¶
func (o *ServerSignerList) GetTotalCountOk() (*int32, bool)
GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.
func (ServerSignerList) MarshalJSON ¶
func (o ServerSignerList) MarshalJSON() ([]byte, error)
func (*ServerSignerList) SetData ¶
func (o *ServerSignerList) SetData(v []ServerSigner)
SetData sets field value
func (*ServerSignerList) SetHasMore ¶
func (o *ServerSignerList) SetHasMore(v bool)
SetHasMore sets field value
func (*ServerSignerList) SetNextPage ¶
func (o *ServerSignerList) SetNextPage(v string)
SetNextPage sets field value
func (*ServerSignerList) SetTotalCount ¶
func (o *ServerSignerList) SetTotalCount(v int32)
SetTotalCount sets field value
func (ServerSignerList) ToMap ¶
func (o ServerSignerList) ToMap() (map[string]interface{}, error)
func (*ServerSignerList) UnmarshalJSON ¶
func (o *ServerSignerList) UnmarshalJSON(data []byte) (err error)
type ServerSignersAPI ¶
type ServerSignersAPI interface { /* CreateServerSigner Create a new Server-Signer Create a new Server-Signer @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateServerSignerRequest */ CreateServerSigner(ctx context.Context) ApiCreateServerSignerRequest // CreateServerSignerExecute executes the request // @return ServerSigner CreateServerSignerExecute(r ApiCreateServerSignerRequest) (*ServerSigner, *http.Response, error) /* GetServerSigner Get a server signer by ID Get a server signer by ID @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverSignerId The ID of the server signer to fetch @return ApiGetServerSignerRequest */ GetServerSigner(ctx context.Context, serverSignerId string) ApiGetServerSignerRequest // GetServerSignerExecute executes the request // @return ServerSigner GetServerSignerExecute(r ApiGetServerSignerRequest) (*ServerSigner, *http.Response, error) /* ListServerSignerEvents List events for a server signer List events for a server signer @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverSignerId The ID of the server signer to fetch events for @return ApiListServerSignerEventsRequest */ ListServerSignerEvents(ctx context.Context, serverSignerId string) ApiListServerSignerEventsRequest // ListServerSignerEventsExecute executes the request // @return ServerSignerEventList ListServerSignerEventsExecute(r ApiListServerSignerEventsRequest) (*ServerSignerEventList, *http.Response, error) /* ListServerSigners List server signers for the current project List server signers for the current project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListServerSignersRequest */ ListServerSigners(ctx context.Context) ApiListServerSignersRequest // ListServerSignersExecute executes the request // @return ServerSignerList ListServerSignersExecute(r ApiListServerSignersRequest) (*ServerSignerList, *http.Response, error) /* SubmitServerSignerSeedEventResult Submit the result of a server signer event Submit the result of a server signer event @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverSignerId The ID of the server signer to submit the event result for @return ApiSubmitServerSignerSeedEventResultRequest */ SubmitServerSignerSeedEventResult(ctx context.Context, serverSignerId string) ApiSubmitServerSignerSeedEventResultRequest // SubmitServerSignerSeedEventResultExecute executes the request // @return SeedCreationEventResult SubmitServerSignerSeedEventResultExecute(r ApiSubmitServerSignerSeedEventResultRequest) (*SeedCreationEventResult, *http.Response, error) /* SubmitServerSignerSignatureEventResult Submit the result of a server signer event Submit the result of a server signer event @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverSignerId The ID of the server signer to submit the event result for @return ApiSubmitServerSignerSignatureEventResultRequest */ SubmitServerSignerSignatureEventResult(ctx context.Context, serverSignerId string) ApiSubmitServerSignerSignatureEventResultRequest // SubmitServerSignerSignatureEventResultExecute executes the request // @return SignatureCreationEventResult SubmitServerSignerSignatureEventResultExecute(r ApiSubmitServerSignerSignatureEventResultRequest) (*SignatureCreationEventResult, *http.Response, error) }
type ServerSignersAPIService ¶
type ServerSignersAPIService service
ServerSignersAPIService ServerSignersAPI service
func (*ServerSignersAPIService) CreateServerSigner ¶
func (a *ServerSignersAPIService) CreateServerSigner(ctx context.Context) ApiCreateServerSignerRequest
CreateServerSigner Create a new Server-Signer
Create a new Server-Signer
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateServerSignerRequest
func (*ServerSignersAPIService) CreateServerSignerExecute ¶
func (a *ServerSignersAPIService) CreateServerSignerExecute(r ApiCreateServerSignerRequest) (*ServerSigner, *http.Response, error)
Execute executes the request
@return ServerSigner
func (*ServerSignersAPIService) GetServerSigner ¶
func (a *ServerSignersAPIService) GetServerSigner(ctx context.Context, serverSignerId string) ApiGetServerSignerRequest
GetServerSigner Get a server signer by ID
Get a server signer by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverSignerId The ID of the server signer to fetch @return ApiGetServerSignerRequest
func (*ServerSignersAPIService) GetServerSignerExecute ¶
func (a *ServerSignersAPIService) GetServerSignerExecute(r ApiGetServerSignerRequest) (*ServerSigner, *http.Response, error)
Execute executes the request
@return ServerSigner
func (*ServerSignersAPIService) ListServerSignerEvents ¶
func (a *ServerSignersAPIService) ListServerSignerEvents(ctx context.Context, serverSignerId string) ApiListServerSignerEventsRequest
ListServerSignerEvents List events for a server signer
List events for a server signer
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverSignerId The ID of the server signer to fetch events for @return ApiListServerSignerEventsRequest
func (*ServerSignersAPIService) ListServerSignerEventsExecute ¶
func (a *ServerSignersAPIService) ListServerSignerEventsExecute(r ApiListServerSignerEventsRequest) (*ServerSignerEventList, *http.Response, error)
Execute executes the request
@return ServerSignerEventList
func (*ServerSignersAPIService) ListServerSigners ¶
func (a *ServerSignersAPIService) ListServerSigners(ctx context.Context) ApiListServerSignersRequest
ListServerSigners List server signers for the current project
List server signers for the current project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListServerSignersRequest
func (*ServerSignersAPIService) ListServerSignersExecute ¶
func (a *ServerSignersAPIService) ListServerSignersExecute(r ApiListServerSignersRequest) (*ServerSignerList, *http.Response, error)
Execute executes the request
@return ServerSignerList
func (*ServerSignersAPIService) SubmitServerSignerSeedEventResult ¶
func (a *ServerSignersAPIService) SubmitServerSignerSeedEventResult(ctx context.Context, serverSignerId string) ApiSubmitServerSignerSeedEventResultRequest
SubmitServerSignerSeedEventResult Submit the result of a server signer event
Submit the result of a server signer event
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverSignerId The ID of the server signer to submit the event result for @return ApiSubmitServerSignerSeedEventResultRequest
func (*ServerSignersAPIService) SubmitServerSignerSeedEventResultExecute ¶
func (a *ServerSignersAPIService) SubmitServerSignerSeedEventResultExecute(r ApiSubmitServerSignerSeedEventResultRequest) (*SeedCreationEventResult, *http.Response, error)
Execute executes the request
@return SeedCreationEventResult
func (*ServerSignersAPIService) SubmitServerSignerSignatureEventResult ¶
func (a *ServerSignersAPIService) SubmitServerSignerSignatureEventResult(ctx context.Context, serverSignerId string) ApiSubmitServerSignerSignatureEventResultRequest
SubmitServerSignerSignatureEventResult Submit the result of a server signer event
Submit the result of a server signer event
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param serverSignerId The ID of the server signer to submit the event result for @return ApiSubmitServerSignerSignatureEventResultRequest
func (*ServerSignersAPIService) SubmitServerSignerSignatureEventResultExecute ¶
func (a *ServerSignersAPIService) SubmitServerSignerSignatureEventResultExecute(r ApiSubmitServerSignerSignatureEventResultRequest) (*SignatureCreationEventResult, *http.Response, error)
Execute executes the request
@return SignatureCreationEventResult
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SignatureCreationEvent ¶
type SignatureCreationEvent struct { // The ID of the seed that the server-signer should create the signature for SeedId string `json:"seed_id"` // The ID of the wallet the signature is for WalletId string `json:"wallet_id"` // The ID of the user that the wallet belongs to WalletUserId string `json:"wallet_user_id"` // The ID of the address the transfer belongs to AddressId string `json:"address_id"` // The index of the address that the server-signer should sign with AddressIndex int32 `json:"address_index"` // The payload that the server-signer should sign SigningPayload string `json:"signing_payload"` TransactionType TransactionType `json:"transaction_type"` // The ID of the transaction that the server-signer should sign TransactionId string `json:"transaction_id"` }
SignatureCreationEvent An event representing a signature creation.
func NewSignatureCreationEvent ¶
func NewSignatureCreationEvent(seedId string, walletId string, walletUserId string, addressId string, addressIndex int32, signingPayload string, transactionType TransactionType, transactionId string) *SignatureCreationEvent
NewSignatureCreationEvent instantiates a new SignatureCreationEvent 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 NewSignatureCreationEventWithDefaults ¶
func NewSignatureCreationEventWithDefaults() *SignatureCreationEvent
NewSignatureCreationEventWithDefaults instantiates a new SignatureCreationEvent 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 (*SignatureCreationEvent) GetAddressId ¶
func (o *SignatureCreationEvent) GetAddressId() string
GetAddressId returns the AddressId field value
func (*SignatureCreationEvent) GetAddressIdOk ¶
func (o *SignatureCreationEvent) GetAddressIdOk() (*string, bool)
GetAddressIdOk returns a tuple with the AddressId field value and a boolean to check if the value has been set.
func (*SignatureCreationEvent) GetAddressIndex ¶
func (o *SignatureCreationEvent) GetAddressIndex() int32
GetAddressIndex returns the AddressIndex field value
func (*SignatureCreationEvent) GetAddressIndexOk ¶
func (o *SignatureCreationEvent) GetAddressIndexOk() (*int32, bool)
GetAddressIndexOk returns a tuple with the AddressIndex field value and a boolean to check if the value has been set.
func (*SignatureCreationEvent) GetSeedId ¶
func (o *SignatureCreationEvent) GetSeedId() string
GetSeedId returns the SeedId field value
func (*SignatureCreationEvent) GetSeedIdOk ¶
func (o *SignatureCreationEvent) GetSeedIdOk() (*string, bool)
GetSeedIdOk returns a tuple with the SeedId field value and a boolean to check if the value has been set.
func (*SignatureCreationEvent) GetSigningPayload ¶
func (o *SignatureCreationEvent) GetSigningPayload() string
GetSigningPayload returns the SigningPayload field value
func (*SignatureCreationEvent) GetSigningPayloadOk ¶
func (o *SignatureCreationEvent) GetSigningPayloadOk() (*string, bool)
GetSigningPayloadOk returns a tuple with the SigningPayload field value and a boolean to check if the value has been set.
func (*SignatureCreationEvent) GetTransactionId ¶
func (o *SignatureCreationEvent) GetTransactionId() string
GetTransactionId returns the TransactionId field value
func (*SignatureCreationEvent) GetTransactionIdOk ¶
func (o *SignatureCreationEvent) GetTransactionIdOk() (*string, bool)
GetTransactionIdOk returns a tuple with the TransactionId field value and a boolean to check if the value has been set.
func (*SignatureCreationEvent) GetTransactionType ¶
func (o *SignatureCreationEvent) GetTransactionType() TransactionType
GetTransactionType returns the TransactionType field value
func (*SignatureCreationEvent) GetTransactionTypeOk ¶
func (o *SignatureCreationEvent) GetTransactionTypeOk() (*TransactionType, bool)
GetTransactionTypeOk returns a tuple with the TransactionType field value and a boolean to check if the value has been set.
func (*SignatureCreationEvent) GetWalletId ¶
func (o *SignatureCreationEvent) GetWalletId() string
GetWalletId returns the WalletId field value
func (*SignatureCreationEvent) GetWalletIdOk ¶
func (o *SignatureCreationEvent) GetWalletIdOk() (*string, bool)
GetWalletIdOk returns a tuple with the WalletId field value and a boolean to check if the value has been set.
func (*SignatureCreationEvent) GetWalletUserId ¶
func (o *SignatureCreationEvent) GetWalletUserId() string
GetWalletUserId returns the WalletUserId field value
func (*SignatureCreationEvent) GetWalletUserIdOk ¶
func (o *SignatureCreationEvent) GetWalletUserIdOk() (*string, bool)
GetWalletUserIdOk returns a tuple with the WalletUserId field value and a boolean to check if the value has been set.
func (SignatureCreationEvent) MarshalJSON ¶
func (o SignatureCreationEvent) MarshalJSON() ([]byte, error)
func (*SignatureCreationEvent) SetAddressId ¶
func (o *SignatureCreationEvent) SetAddressId(v string)
SetAddressId sets field value
func (*SignatureCreationEvent) SetAddressIndex ¶
func (o *SignatureCreationEvent) SetAddressIndex(v int32)
SetAddressIndex sets field value
func (*SignatureCreationEvent) SetSeedId ¶
func (o *SignatureCreationEvent) SetSeedId(v string)
SetSeedId sets field value
func (*SignatureCreationEvent) SetSigningPayload ¶
func (o *SignatureCreationEvent) SetSigningPayload(v string)
SetSigningPayload sets field value
func (*SignatureCreationEvent) SetTransactionId ¶
func (o *SignatureCreationEvent) SetTransactionId(v string)
SetTransactionId sets field value
func (*SignatureCreationEvent) SetTransactionType ¶
func (o *SignatureCreationEvent) SetTransactionType(v TransactionType)
SetTransactionType sets field value
func (*SignatureCreationEvent) SetWalletId ¶
func (o *SignatureCreationEvent) SetWalletId(v string)
SetWalletId sets field value
func (*SignatureCreationEvent) SetWalletUserId ¶
func (o *SignatureCreationEvent) SetWalletUserId(v string)
SetWalletUserId sets field value
func (SignatureCreationEvent) ToMap ¶
func (o SignatureCreationEvent) ToMap() (map[string]interface{}, error)
func (*SignatureCreationEvent) UnmarshalJSON ¶
func (o *SignatureCreationEvent) UnmarshalJSON(data []byte) (err error)
type SignatureCreationEventResult ¶
type SignatureCreationEventResult struct { // The ID of the wallet that the event was created for. WalletId string `json:"wallet_id"` // The ID of the user that the wallet belongs to WalletUserId string `json:"wallet_user_id"` // The ID of the address the transfer belongs to AddressId string `json:"address_id"` TransactionType TransactionType `json:"transaction_type"` // The ID of the transaction that the Server-Signer has signed for TransactionId string `json:"transaction_id"` // The signature created by the server-signer. Signature string `json:"signature"` }
SignatureCreationEventResult The result to a SignatureCreationEvent.
func NewSignatureCreationEventResult ¶
func NewSignatureCreationEventResult(walletId string, walletUserId string, addressId string, transactionType TransactionType, transactionId string, signature string) *SignatureCreationEventResult
NewSignatureCreationEventResult instantiates a new SignatureCreationEventResult 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 NewSignatureCreationEventResultWithDefaults ¶
func NewSignatureCreationEventResultWithDefaults() *SignatureCreationEventResult
NewSignatureCreationEventResultWithDefaults instantiates a new SignatureCreationEventResult 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 (*SignatureCreationEventResult) GetAddressId ¶
func (o *SignatureCreationEventResult) GetAddressId() string
GetAddressId returns the AddressId field value
func (*SignatureCreationEventResult) GetAddressIdOk ¶
func (o *SignatureCreationEventResult) GetAddressIdOk() (*string, bool)
GetAddressIdOk returns a tuple with the AddressId field value and a boolean to check if the value has been set.
func (*SignatureCreationEventResult) GetSignature ¶
func (o *SignatureCreationEventResult) GetSignature() string
GetSignature returns the Signature field value
func (*SignatureCreationEventResult) GetSignatureOk ¶
func (o *SignatureCreationEventResult) GetSignatureOk() (*string, bool)
GetSignatureOk returns a tuple with the Signature field value and a boolean to check if the value has been set.
func (*SignatureCreationEventResult) GetTransactionId ¶
func (o *SignatureCreationEventResult) GetTransactionId() string
GetTransactionId returns the TransactionId field value
func (*SignatureCreationEventResult) GetTransactionIdOk ¶
func (o *SignatureCreationEventResult) GetTransactionIdOk() (*string, bool)
GetTransactionIdOk returns a tuple with the TransactionId field value and a boolean to check if the value has been set.
func (*SignatureCreationEventResult) GetTransactionType ¶
func (o *SignatureCreationEventResult) GetTransactionType() TransactionType
GetTransactionType returns the TransactionType field value
func (*SignatureCreationEventResult) GetTransactionTypeOk ¶
func (o *SignatureCreationEventResult) GetTransactionTypeOk() (*TransactionType, bool)
GetTransactionTypeOk returns a tuple with the TransactionType field value and a boolean to check if the value has been set.
func (*SignatureCreationEventResult) GetWalletId ¶
func (o *SignatureCreationEventResult) GetWalletId() string
GetWalletId returns the WalletId field value
func (*SignatureCreationEventResult) GetWalletIdOk ¶
func (o *SignatureCreationEventResult) GetWalletIdOk() (*string, bool)
GetWalletIdOk returns a tuple with the WalletId field value and a boolean to check if the value has been set.
func (*SignatureCreationEventResult) GetWalletUserId ¶
func (o *SignatureCreationEventResult) GetWalletUserId() string
GetWalletUserId returns the WalletUserId field value
func (*SignatureCreationEventResult) GetWalletUserIdOk ¶
func (o *SignatureCreationEventResult) GetWalletUserIdOk() (*string, bool)
GetWalletUserIdOk returns a tuple with the WalletUserId field value and a boolean to check if the value has been set.
func (SignatureCreationEventResult) MarshalJSON ¶
func (o SignatureCreationEventResult) MarshalJSON() ([]byte, error)
func (*SignatureCreationEventResult) SetAddressId ¶
func (o *SignatureCreationEventResult) SetAddressId(v string)
SetAddressId sets field value
func (*SignatureCreationEventResult) SetSignature ¶
func (o *SignatureCreationEventResult) SetSignature(v string)
SetSignature sets field value
func (*SignatureCreationEventResult) SetTransactionId ¶
func (o *SignatureCreationEventResult) SetTransactionId(v string)
SetTransactionId sets field value
func (*SignatureCreationEventResult) SetTransactionType ¶
func (o *SignatureCreationEventResult) SetTransactionType(v TransactionType)
SetTransactionType sets field value
func (*SignatureCreationEventResult) SetWalletId ¶
func (o *SignatureCreationEventResult) SetWalletId(v string)
SetWalletId sets field value
func (*SignatureCreationEventResult) SetWalletUserId ¶
func (o *SignatureCreationEventResult) SetWalletUserId(v string)
SetWalletUserId sets field value
func (SignatureCreationEventResult) ToMap ¶
func (o SignatureCreationEventResult) ToMap() (map[string]interface{}, error)
func (*SignatureCreationEventResult) UnmarshalJSON ¶
func (o *SignatureCreationEventResult) UnmarshalJSON(data []byte) (err error)
type SignedVoluntaryExitMessageMetadata ¶
type SignedVoluntaryExitMessageMetadata struct { // The public key of the validator associated with the exit message. ValidatorPubKey string `json:"validator_pub_key"` // The current fork version of the Ethereum beacon chain. Fork string `json:"fork"` // A base64 encoded version of a json string representing a voluntary exit message. SignedVoluntaryExit string `json:"signed_voluntary_exit"` }
SignedVoluntaryExitMessageMetadata Signed voluntary exit message metadata to be provided to beacon chain to exit a validator.
func NewSignedVoluntaryExitMessageMetadata ¶
func NewSignedVoluntaryExitMessageMetadata(validatorPubKey string, fork string, signedVoluntaryExit string) *SignedVoluntaryExitMessageMetadata
NewSignedVoluntaryExitMessageMetadata instantiates a new SignedVoluntaryExitMessageMetadata 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 NewSignedVoluntaryExitMessageMetadataWithDefaults ¶
func NewSignedVoluntaryExitMessageMetadataWithDefaults() *SignedVoluntaryExitMessageMetadata
NewSignedVoluntaryExitMessageMetadataWithDefaults instantiates a new SignedVoluntaryExitMessageMetadata 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 (*SignedVoluntaryExitMessageMetadata) GetFork ¶
func (o *SignedVoluntaryExitMessageMetadata) GetFork() string
GetFork returns the Fork field value
func (*SignedVoluntaryExitMessageMetadata) GetForkOk ¶
func (o *SignedVoluntaryExitMessageMetadata) GetForkOk() (*string, bool)
GetForkOk returns a tuple with the Fork field value and a boolean to check if the value has been set.
func (*SignedVoluntaryExitMessageMetadata) GetSignedVoluntaryExit ¶
func (o *SignedVoluntaryExitMessageMetadata) GetSignedVoluntaryExit() string
GetSignedVoluntaryExit returns the SignedVoluntaryExit field value
func (*SignedVoluntaryExitMessageMetadata) GetSignedVoluntaryExitOk ¶
func (o *SignedVoluntaryExitMessageMetadata) GetSignedVoluntaryExitOk() (*string, bool)
GetSignedVoluntaryExitOk returns a tuple with the SignedVoluntaryExit field value and a boolean to check if the value has been set.
func (*SignedVoluntaryExitMessageMetadata) GetValidatorPubKey ¶
func (o *SignedVoluntaryExitMessageMetadata) GetValidatorPubKey() string
GetValidatorPubKey returns the ValidatorPubKey field value
func (*SignedVoluntaryExitMessageMetadata) GetValidatorPubKeyOk ¶
func (o *SignedVoluntaryExitMessageMetadata) GetValidatorPubKeyOk() (*string, bool)
GetValidatorPubKeyOk returns a tuple with the ValidatorPubKey field value and a boolean to check if the value has been set.
func (SignedVoluntaryExitMessageMetadata) MarshalJSON ¶
func (o SignedVoluntaryExitMessageMetadata) MarshalJSON() ([]byte, error)
func (*SignedVoluntaryExitMessageMetadata) SetFork ¶
func (o *SignedVoluntaryExitMessageMetadata) SetFork(v string)
SetFork sets field value
func (*SignedVoluntaryExitMessageMetadata) SetSignedVoluntaryExit ¶
func (o *SignedVoluntaryExitMessageMetadata) SetSignedVoluntaryExit(v string)
SetSignedVoluntaryExit sets field value
func (*SignedVoluntaryExitMessageMetadata) SetValidatorPubKey ¶
func (o *SignedVoluntaryExitMessageMetadata) SetValidatorPubKey(v string)
SetValidatorPubKey sets field value
func (SignedVoluntaryExitMessageMetadata) ToMap ¶
func (o SignedVoluntaryExitMessageMetadata) ToMap() (map[string]interface{}, error)
func (*SignedVoluntaryExitMessageMetadata) UnmarshalJSON ¶
func (o *SignedVoluntaryExitMessageMetadata) UnmarshalJSON(data []byte) (err error)
type SponsoredSend ¶
type SponsoredSend struct { // The onchain address of the recipient ToAddressId string `json:"to_address_id"` // The raw typed data for the sponsored send RawTypedData string `json:"raw_typed_data"` // The typed data hash for the sponsored send. This is the typed data hash that needs to be signed by the sender. TypedDataHash string `json:"typed_data_hash"` // The signed hash of the sponsored send typed data. Signature *string `json:"signature,omitempty"` // The hash of the onchain sponsored send transaction TransactionHash *string `json:"transaction_hash,omitempty"` // The link to view the transaction on a block explorer. This is optional and may not be present for all transactions. TransactionLink *string `json:"transaction_link,omitempty"` // The status of the sponsored send Status string `json:"status"` }
SponsoredSend An onchain sponsored gasless send.
func NewSponsoredSend ¶
func NewSponsoredSend(toAddressId string, rawTypedData string, typedDataHash string, status string) *SponsoredSend
NewSponsoredSend instantiates a new SponsoredSend 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 NewSponsoredSendWithDefaults ¶
func NewSponsoredSendWithDefaults() *SponsoredSend
NewSponsoredSendWithDefaults instantiates a new SponsoredSend 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 (*SponsoredSend) GetRawTypedData ¶
func (o *SponsoredSend) GetRawTypedData() string
GetRawTypedData returns the RawTypedData field value
func (*SponsoredSend) GetRawTypedDataOk ¶
func (o *SponsoredSend) GetRawTypedDataOk() (*string, bool)
GetRawTypedDataOk returns a tuple with the RawTypedData field value and a boolean to check if the value has been set.
func (*SponsoredSend) GetSignature ¶
func (o *SponsoredSend) GetSignature() string
GetSignature returns the Signature field value if set, zero value otherwise.
func (*SponsoredSend) GetSignatureOk ¶
func (o *SponsoredSend) GetSignatureOk() (*string, bool)
GetSignatureOk returns a tuple with the Signature field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SponsoredSend) GetStatus ¶
func (o *SponsoredSend) GetStatus() string
GetStatus returns the Status field value
func (*SponsoredSend) GetStatusOk ¶
func (o *SponsoredSend) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*SponsoredSend) GetToAddressId ¶
func (o *SponsoredSend) GetToAddressId() string
GetToAddressId returns the ToAddressId field value
func (*SponsoredSend) GetToAddressIdOk ¶
func (o *SponsoredSend) GetToAddressIdOk() (*string, bool)
GetToAddressIdOk returns a tuple with the ToAddressId field value and a boolean to check if the value has been set.
func (*SponsoredSend) GetTransactionHash ¶
func (o *SponsoredSend) GetTransactionHash() string
GetTransactionHash returns the TransactionHash field value if set, zero value otherwise.
func (*SponsoredSend) GetTransactionHashOk ¶
func (o *SponsoredSend) GetTransactionHashOk() (*string, bool)
GetTransactionHashOk returns a tuple with the TransactionHash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SponsoredSend) GetTransactionLink ¶
func (o *SponsoredSend) GetTransactionLink() string
GetTransactionLink returns the TransactionLink field value if set, zero value otherwise.
func (*SponsoredSend) GetTransactionLinkOk ¶
func (o *SponsoredSend) GetTransactionLinkOk() (*string, bool)
GetTransactionLinkOk returns a tuple with the TransactionLink field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SponsoredSend) GetTypedDataHash ¶
func (o *SponsoredSend) GetTypedDataHash() string
GetTypedDataHash returns the TypedDataHash field value
func (*SponsoredSend) GetTypedDataHashOk ¶
func (o *SponsoredSend) GetTypedDataHashOk() (*string, bool)
GetTypedDataHashOk returns a tuple with the TypedDataHash field value and a boolean to check if the value has been set.
func (*SponsoredSend) HasSignature ¶
func (o *SponsoredSend) HasSignature() bool
HasSignature returns a boolean if a field has been set.
func (*SponsoredSend) HasTransactionHash ¶
func (o *SponsoredSend) HasTransactionHash() bool
HasTransactionHash returns a boolean if a field has been set.
func (*SponsoredSend) HasTransactionLink ¶
func (o *SponsoredSend) HasTransactionLink() bool
HasTransactionLink returns a boolean if a field has been set.
func (SponsoredSend) MarshalJSON ¶
func (o SponsoredSend) MarshalJSON() ([]byte, error)
func (*SponsoredSend) SetRawTypedData ¶
func (o *SponsoredSend) SetRawTypedData(v string)
SetRawTypedData sets field value
func (*SponsoredSend) SetSignature ¶
func (o *SponsoredSend) SetSignature(v string)
SetSignature gets a reference to the given string and assigns it to the Signature field.
func (*SponsoredSend) SetStatus ¶
func (o *SponsoredSend) SetStatus(v string)
SetStatus sets field value
func (*SponsoredSend) SetToAddressId ¶
func (o *SponsoredSend) SetToAddressId(v string)
SetToAddressId sets field value
func (*SponsoredSend) SetTransactionHash ¶
func (o *SponsoredSend) SetTransactionHash(v string)
SetTransactionHash gets a reference to the given string and assigns it to the TransactionHash field.
func (*SponsoredSend) SetTransactionLink ¶
func (o *SponsoredSend) SetTransactionLink(v string)
SetTransactionLink gets a reference to the given string and assigns it to the TransactionLink field.
func (*SponsoredSend) SetTypedDataHash ¶
func (o *SponsoredSend) SetTypedDataHash(v string)
SetTypedDataHash sets field value
func (SponsoredSend) ToMap ¶
func (o SponsoredSend) ToMap() (map[string]interface{}, error)
func (*SponsoredSend) UnmarshalJSON ¶
func (o *SponsoredSend) UnmarshalJSON(data []byte) (err error)
type StakeAPI ¶
type StakeAPI interface { /* BuildStakingOperation Build a new staking operation Build a new staking operation @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiBuildStakingOperationRequest */ BuildStakingOperation(ctx context.Context) ApiBuildStakingOperationRequest // BuildStakingOperationExecute executes the request // @return StakingOperation BuildStakingOperationExecute(r ApiBuildStakingOperationRequest) (*StakingOperation, *http.Response, error) /* FetchHistoricalStakingBalances Fetch historical staking balances Fetch historical staking balances for given address. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network. @param addressId The onchain address for which the historical staking balances are being fetched. @return ApiFetchHistoricalStakingBalancesRequest */ FetchHistoricalStakingBalances(ctx context.Context, networkId string, addressId string) ApiFetchHistoricalStakingBalancesRequest // FetchHistoricalStakingBalancesExecute executes the request // @return FetchHistoricalStakingBalances200Response FetchHistoricalStakingBalancesExecute(r ApiFetchHistoricalStakingBalancesRequest) (*FetchHistoricalStakingBalances200Response, *http.Response, error) /* FetchStakingRewards Fetch staking rewards Fetch staking rewards for a list of addresses @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiFetchStakingRewardsRequest */ FetchStakingRewards(ctx context.Context) ApiFetchStakingRewardsRequest // FetchStakingRewardsExecute executes the request // @return FetchStakingRewards200Response FetchStakingRewardsExecute(r ApiFetchStakingRewardsRequest) (*FetchStakingRewards200Response, *http.Response, error) /* GetExternalStakingOperation Get the latest state of a staking operation Get the latest state of a staking operation @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network @param addressId The ID of the address to fetch the staking operation for @param stakingOperationId The ID of the staking operation @return ApiGetExternalStakingOperationRequest */ GetExternalStakingOperation(ctx context.Context, networkId string, addressId string, stakingOperationId string) ApiGetExternalStakingOperationRequest // GetExternalStakingOperationExecute executes the request // @return StakingOperation GetExternalStakingOperationExecute(r ApiGetExternalStakingOperationRequest) (*StakingOperation, *http.Response, error) /* GetStakingContext Get staking context Get staking context for an address @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetStakingContextRequest */ GetStakingContext(ctx context.Context) ApiGetStakingContextRequest // GetStakingContextExecute executes the request // @return StakingContext GetStakingContextExecute(r ApiGetStakingContextRequest) (*StakingContext, *http.Response, error) }
type StakeAPIService ¶
type StakeAPIService service
StakeAPIService StakeAPI service
func (*StakeAPIService) BuildStakingOperation ¶
func (a *StakeAPIService) BuildStakingOperation(ctx context.Context) ApiBuildStakingOperationRequest
BuildStakingOperation Build a new staking operation
Build a new staking operation
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiBuildStakingOperationRequest
func (*StakeAPIService) BuildStakingOperationExecute ¶
func (a *StakeAPIService) BuildStakingOperationExecute(r ApiBuildStakingOperationRequest) (*StakingOperation, *http.Response, error)
Execute executes the request
@return StakingOperation
func (*StakeAPIService) FetchHistoricalStakingBalances ¶
func (a *StakeAPIService) FetchHistoricalStakingBalances(ctx context.Context, networkId string, addressId string) ApiFetchHistoricalStakingBalancesRequest
FetchHistoricalStakingBalances Fetch historical staking balances
Fetch historical staking balances for given address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network. @param addressId The onchain address for which the historical staking balances are being fetched. @return ApiFetchHistoricalStakingBalancesRequest
func (*StakeAPIService) FetchHistoricalStakingBalancesExecute ¶
func (a *StakeAPIService) FetchHistoricalStakingBalancesExecute(r ApiFetchHistoricalStakingBalancesRequest) (*FetchHistoricalStakingBalances200Response, *http.Response, error)
Execute executes the request
@return FetchHistoricalStakingBalances200Response
func (*StakeAPIService) FetchStakingRewards ¶
func (a *StakeAPIService) FetchStakingRewards(ctx context.Context) ApiFetchStakingRewardsRequest
FetchStakingRewards Fetch staking rewards
Fetch staking rewards for a list of addresses
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiFetchStakingRewardsRequest
func (*StakeAPIService) FetchStakingRewardsExecute ¶
func (a *StakeAPIService) FetchStakingRewardsExecute(r ApiFetchStakingRewardsRequest) (*FetchStakingRewards200Response, *http.Response, error)
Execute executes the request
@return FetchStakingRewards200Response
func (*StakeAPIService) GetExternalStakingOperation ¶
func (a *StakeAPIService) GetExternalStakingOperation(ctx context.Context, networkId string, addressId string, stakingOperationId string) ApiGetExternalStakingOperationRequest
GetExternalStakingOperation Get the latest state of a staking operation
Get the latest state of a staking operation
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network @param addressId The ID of the address to fetch the staking operation for @param stakingOperationId The ID of the staking operation @return ApiGetExternalStakingOperationRequest
func (*StakeAPIService) GetExternalStakingOperationExecute ¶
func (a *StakeAPIService) GetExternalStakingOperationExecute(r ApiGetExternalStakingOperationRequest) (*StakingOperation, *http.Response, error)
Execute executes the request
@return StakingOperation
func (*StakeAPIService) GetStakingContext ¶
func (a *StakeAPIService) GetStakingContext(ctx context.Context) ApiGetStakingContextRequest
GetStakingContext Get staking context
Get staking context for an address
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetStakingContextRequest
func (*StakeAPIService) GetStakingContextExecute ¶
func (a *StakeAPIService) GetStakingContextExecute(r ApiGetStakingContextRequest) (*StakingContext, *http.Response, error)
Execute executes the request
@return StakingContext
type StakingBalance ¶
type StakingBalance struct { // The onchain address for which the staking balances are being fetched. Address string `json:"address"` // The date of the staking balance in format 'YYYY-MM-DD' in UTC. Date string `json:"date"` BondedStake Balance `json:"bonded_stake"` UnbondedBalance Balance `json:"unbonded_balance"` // The type of staking participation. ParticipantType string `json:"participant_type"` }
StakingBalance The staking balances for an address.
func NewStakingBalance ¶
func NewStakingBalance(address string, date string, bondedStake Balance, unbondedBalance Balance, participantType string) *StakingBalance
NewStakingBalance instantiates a new StakingBalance 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 NewStakingBalanceWithDefaults ¶
func NewStakingBalanceWithDefaults() *StakingBalance
NewStakingBalanceWithDefaults instantiates a new StakingBalance 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 (*StakingBalance) GetAddress ¶
func (o *StakingBalance) GetAddress() string
GetAddress returns the Address field value
func (*StakingBalance) GetAddressOk ¶
func (o *StakingBalance) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*StakingBalance) GetBondedStake ¶
func (o *StakingBalance) GetBondedStake() Balance
GetBondedStake returns the BondedStake field value
func (*StakingBalance) GetBondedStakeOk ¶
func (o *StakingBalance) GetBondedStakeOk() (*Balance, bool)
GetBondedStakeOk returns a tuple with the BondedStake field value and a boolean to check if the value has been set.
func (*StakingBalance) GetDate ¶
func (o *StakingBalance) GetDate() string
GetDate returns the Date field value
func (*StakingBalance) GetDateOk ¶
func (o *StakingBalance) GetDateOk() (*string, bool)
GetDateOk returns a tuple with the Date field value and a boolean to check if the value has been set.
func (*StakingBalance) GetParticipantType ¶
func (o *StakingBalance) GetParticipantType() string
GetParticipantType returns the ParticipantType field value
func (*StakingBalance) GetParticipantTypeOk ¶
func (o *StakingBalance) GetParticipantTypeOk() (*string, bool)
GetParticipantTypeOk returns a tuple with the ParticipantType field value and a boolean to check if the value has been set.
func (*StakingBalance) GetUnbondedBalance ¶
func (o *StakingBalance) GetUnbondedBalance() Balance
GetUnbondedBalance returns the UnbondedBalance field value
func (*StakingBalance) GetUnbondedBalanceOk ¶
func (o *StakingBalance) GetUnbondedBalanceOk() (*Balance, bool)
GetUnbondedBalanceOk returns a tuple with the UnbondedBalance field value and a boolean to check if the value has been set.
func (StakingBalance) MarshalJSON ¶
func (o StakingBalance) MarshalJSON() ([]byte, error)
func (*StakingBalance) SetAddress ¶
func (o *StakingBalance) SetAddress(v string)
SetAddress sets field value
func (*StakingBalance) SetBondedStake ¶
func (o *StakingBalance) SetBondedStake(v Balance)
SetBondedStake sets field value
func (*StakingBalance) SetDate ¶
func (o *StakingBalance) SetDate(v string)
SetDate sets field value
func (*StakingBalance) SetParticipantType ¶
func (o *StakingBalance) SetParticipantType(v string)
SetParticipantType sets field value
func (*StakingBalance) SetUnbondedBalance ¶
func (o *StakingBalance) SetUnbondedBalance(v Balance)
SetUnbondedBalance sets field value
func (StakingBalance) ToMap ¶
func (o StakingBalance) ToMap() (map[string]interface{}, error)
func (*StakingBalance) UnmarshalJSON ¶
func (o *StakingBalance) UnmarshalJSON(data []byte) (err error)
type StakingContext ¶
type StakingContext struct {
Context StakingContextContext `json:"context"`
}
StakingContext Context needed to perform a staking operation
func NewStakingContext ¶
func NewStakingContext(context StakingContextContext) *StakingContext
NewStakingContext instantiates a new StakingContext 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 NewStakingContextWithDefaults ¶
func NewStakingContextWithDefaults() *StakingContext
NewStakingContextWithDefaults instantiates a new StakingContext 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 (*StakingContext) GetContext ¶
func (o *StakingContext) GetContext() StakingContextContext
GetContext returns the Context field value
func (*StakingContext) GetContextOk ¶
func (o *StakingContext) GetContextOk() (*StakingContextContext, bool)
GetContextOk returns a tuple with the Context field value and a boolean to check if the value has been set.
func (StakingContext) MarshalJSON ¶
func (o StakingContext) MarshalJSON() ([]byte, error)
func (*StakingContext) SetContext ¶
func (o *StakingContext) SetContext(v StakingContextContext)
SetContext sets field value
func (StakingContext) ToMap ¶
func (o StakingContext) ToMap() (map[string]interface{}, error)
func (*StakingContext) UnmarshalJSON ¶
func (o *StakingContext) UnmarshalJSON(data []byte) (err error)
type StakingContextContext ¶
type StakingContextContext struct { StakeableBalance Balance `json:"stakeable_balance"` UnstakeableBalance Balance `json:"unstakeable_balance"` ClaimableBalance Balance `json:"claimable_balance"` }
StakingContextContext struct for StakingContextContext
func NewStakingContextContext ¶
func NewStakingContextContext(stakeableBalance Balance, unstakeableBalance Balance, claimableBalance Balance) *StakingContextContext
NewStakingContextContext instantiates a new StakingContextContext 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 NewStakingContextContextWithDefaults ¶
func NewStakingContextContextWithDefaults() *StakingContextContext
NewStakingContextContextWithDefaults instantiates a new StakingContextContext 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 (*StakingContextContext) GetClaimableBalance ¶
func (o *StakingContextContext) GetClaimableBalance() Balance
GetClaimableBalance returns the ClaimableBalance field value
func (*StakingContextContext) GetClaimableBalanceOk ¶
func (o *StakingContextContext) GetClaimableBalanceOk() (*Balance, bool)
GetClaimableBalanceOk returns a tuple with the ClaimableBalance field value and a boolean to check if the value has been set.
func (*StakingContextContext) GetStakeableBalance ¶
func (o *StakingContextContext) GetStakeableBalance() Balance
GetStakeableBalance returns the StakeableBalance field value
func (*StakingContextContext) GetStakeableBalanceOk ¶
func (o *StakingContextContext) GetStakeableBalanceOk() (*Balance, bool)
GetStakeableBalanceOk returns a tuple with the StakeableBalance field value and a boolean to check if the value has been set.
func (*StakingContextContext) GetUnstakeableBalance ¶
func (o *StakingContextContext) GetUnstakeableBalance() Balance
GetUnstakeableBalance returns the UnstakeableBalance field value
func (*StakingContextContext) GetUnstakeableBalanceOk ¶
func (o *StakingContextContext) GetUnstakeableBalanceOk() (*Balance, bool)
GetUnstakeableBalanceOk returns a tuple with the UnstakeableBalance field value and a boolean to check if the value has been set.
func (StakingContextContext) MarshalJSON ¶
func (o StakingContextContext) MarshalJSON() ([]byte, error)
func (*StakingContextContext) SetClaimableBalance ¶
func (o *StakingContextContext) SetClaimableBalance(v Balance)
SetClaimableBalance sets field value
func (*StakingContextContext) SetStakeableBalance ¶
func (o *StakingContextContext) SetStakeableBalance(v Balance)
SetStakeableBalance sets field value
func (*StakingContextContext) SetUnstakeableBalance ¶
func (o *StakingContextContext) SetUnstakeableBalance(v Balance)
SetUnstakeableBalance sets field value
func (StakingContextContext) ToMap ¶
func (o StakingContextContext) ToMap() (map[string]interface{}, error)
func (*StakingContextContext) UnmarshalJSON ¶
func (o *StakingContextContext) UnmarshalJSON(data []byte) (err error)
type StakingOperation ¶
type StakingOperation struct { // The unique ID of the staking operation. Id string `json:"id"` // The ID of the wallet that owns the address. WalletId *string `json:"wallet_id,omitempty"` // The ID of the blockchain network. NetworkId string `json:"network_id"` // The onchain address orchestrating the staking operation. AddressId string `json:"address_id"` // The status of the staking operation. Status string `json:"status"` // The transaction(s) that will execute the staking operation onchain. Transactions []Transaction `json:"transactions"` Metadata *StakingOperationMetadata `json:"metadata,omitempty"` }
StakingOperation A list of onchain transactions to help realize a staking action.
func NewStakingOperation ¶
func NewStakingOperation(id string, networkId string, addressId string, status string, transactions []Transaction) *StakingOperation
NewStakingOperation instantiates a new StakingOperation 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 NewStakingOperationWithDefaults ¶
func NewStakingOperationWithDefaults() *StakingOperation
NewStakingOperationWithDefaults instantiates a new StakingOperation 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 (*StakingOperation) GetAddressId ¶
func (o *StakingOperation) GetAddressId() string
GetAddressId returns the AddressId field value
func (*StakingOperation) GetAddressIdOk ¶
func (o *StakingOperation) GetAddressIdOk() (*string, bool)
GetAddressIdOk returns a tuple with the AddressId field value and a boolean to check if the value has been set.
func (*StakingOperation) GetId ¶
func (o *StakingOperation) GetId() string
GetId returns the Id field value
func (*StakingOperation) GetIdOk ¶
func (o *StakingOperation) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*StakingOperation) GetMetadata ¶
func (o *StakingOperation) GetMetadata() StakingOperationMetadata
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*StakingOperation) GetMetadataOk ¶
func (o *StakingOperation) GetMetadataOk() (*StakingOperationMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StakingOperation) GetNetworkId ¶
func (o *StakingOperation) GetNetworkId() string
GetNetworkId returns the NetworkId field value
func (*StakingOperation) GetNetworkIdOk ¶
func (o *StakingOperation) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*StakingOperation) GetStatus ¶
func (o *StakingOperation) GetStatus() string
GetStatus returns the Status field value
func (*StakingOperation) GetStatusOk ¶
func (o *StakingOperation) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*StakingOperation) GetTransactions ¶
func (o *StakingOperation) GetTransactions() []Transaction
GetTransactions returns the Transactions field value
func (*StakingOperation) GetTransactionsOk ¶
func (o *StakingOperation) GetTransactionsOk() ([]Transaction, bool)
GetTransactionsOk returns a tuple with the Transactions field value and a boolean to check if the value has been set.
func (*StakingOperation) GetWalletId ¶
func (o *StakingOperation) GetWalletId() string
GetWalletId returns the WalletId field value if set, zero value otherwise.
func (*StakingOperation) GetWalletIdOk ¶
func (o *StakingOperation) GetWalletIdOk() (*string, bool)
GetWalletIdOk returns a tuple with the WalletId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StakingOperation) HasMetadata ¶
func (o *StakingOperation) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*StakingOperation) HasWalletId ¶
func (o *StakingOperation) HasWalletId() bool
HasWalletId returns a boolean if a field has been set.
func (StakingOperation) MarshalJSON ¶
func (o StakingOperation) MarshalJSON() ([]byte, error)
func (*StakingOperation) SetAddressId ¶
func (o *StakingOperation) SetAddressId(v string)
SetAddressId sets field value
func (*StakingOperation) SetMetadata ¶
func (o *StakingOperation) SetMetadata(v StakingOperationMetadata)
SetMetadata gets a reference to the given StakingOperationMetadata and assigns it to the Metadata field.
func (*StakingOperation) SetNetworkId ¶
func (o *StakingOperation) SetNetworkId(v string)
SetNetworkId sets field value
func (*StakingOperation) SetStatus ¶
func (o *StakingOperation) SetStatus(v string)
SetStatus sets field value
func (*StakingOperation) SetTransactions ¶
func (o *StakingOperation) SetTransactions(v []Transaction)
SetTransactions sets field value
func (*StakingOperation) SetWalletId ¶
func (o *StakingOperation) SetWalletId(v string)
SetWalletId gets a reference to the given string and assigns it to the WalletId field.
func (StakingOperation) ToMap ¶
func (o StakingOperation) ToMap() (map[string]interface{}, error)
func (*StakingOperation) UnmarshalJSON ¶
func (o *StakingOperation) UnmarshalJSON(data []byte) (err error)
type StakingOperationMetadata ¶
type StakingOperationMetadata struct {
ArrayOfSignedVoluntaryExitMessageMetadata *[]SignedVoluntaryExitMessageMetadata
}
StakingOperationMetadata - struct for StakingOperationMetadata
func ArrayOfSignedVoluntaryExitMessageMetadataAsStakingOperationMetadata ¶
func ArrayOfSignedVoluntaryExitMessageMetadataAsStakingOperationMetadata(v *[]SignedVoluntaryExitMessageMetadata) StakingOperationMetadata
[]SignedVoluntaryExitMessageMetadataAsStakingOperationMetadata is a convenience function that returns []SignedVoluntaryExitMessageMetadata wrapped in StakingOperationMetadata
func (*StakingOperationMetadata) GetActualInstance ¶
func (obj *StakingOperationMetadata) GetActualInstance() interface{}
Get the actual instance
func (StakingOperationMetadata) MarshalJSON ¶
func (src StakingOperationMetadata) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*StakingOperationMetadata) UnmarshalJSON ¶
func (dst *StakingOperationMetadata) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type StakingReward ¶
type StakingReward struct { // The onchain address for which the staking rewards are being fetched. AddressId string `json:"address_id"` // The date of the reward in format 'YYYY-MM-DD' in UTC. Date string `json:"date"` // The reward amount in requested \"format\". Default is USD. Amount string `json:"amount"` // The state of the reward. State string `json:"state"` Format StakingRewardFormat `json:"format"` UsdValue StakingRewardUSDValue `json:"usd_value"` }
StakingReward The staking rewards for an address.
func NewStakingReward ¶
func NewStakingReward(addressId string, date string, amount string, state string, format StakingRewardFormat, usdValue StakingRewardUSDValue) *StakingReward
NewStakingReward instantiates a new StakingReward 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 NewStakingRewardWithDefaults ¶
func NewStakingRewardWithDefaults() *StakingReward
NewStakingRewardWithDefaults instantiates a new StakingReward 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 (*StakingReward) GetAddressId ¶
func (o *StakingReward) GetAddressId() string
GetAddressId returns the AddressId field value
func (*StakingReward) GetAddressIdOk ¶
func (o *StakingReward) GetAddressIdOk() (*string, bool)
GetAddressIdOk returns a tuple with the AddressId field value and a boolean to check if the value has been set.
func (*StakingReward) GetAmount ¶
func (o *StakingReward) GetAmount() string
GetAmount returns the Amount field value
func (*StakingReward) GetAmountOk ¶
func (o *StakingReward) GetAmountOk() (*string, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*StakingReward) GetDate ¶
func (o *StakingReward) GetDate() string
GetDate returns the Date field value
func (*StakingReward) GetDateOk ¶
func (o *StakingReward) GetDateOk() (*string, bool)
GetDateOk returns a tuple with the Date field value and a boolean to check if the value has been set.
func (*StakingReward) GetFormat ¶
func (o *StakingReward) GetFormat() StakingRewardFormat
GetFormat returns the Format field value
func (*StakingReward) GetFormatOk ¶
func (o *StakingReward) GetFormatOk() (*StakingRewardFormat, bool)
GetFormatOk returns a tuple with the Format field value and a boolean to check if the value has been set.
func (*StakingReward) GetState ¶
func (o *StakingReward) GetState() string
GetState returns the State field value
func (*StakingReward) GetStateOk ¶
func (o *StakingReward) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*StakingReward) GetUsdValue ¶
func (o *StakingReward) GetUsdValue() StakingRewardUSDValue
GetUsdValue returns the UsdValue field value
func (*StakingReward) GetUsdValueOk ¶
func (o *StakingReward) GetUsdValueOk() (*StakingRewardUSDValue, bool)
GetUsdValueOk returns a tuple with the UsdValue field value and a boolean to check if the value has been set.
func (StakingReward) MarshalJSON ¶
func (o StakingReward) MarshalJSON() ([]byte, error)
func (*StakingReward) SetAddressId ¶
func (o *StakingReward) SetAddressId(v string)
SetAddressId sets field value
func (*StakingReward) SetAmount ¶
func (o *StakingReward) SetAmount(v string)
SetAmount sets field value
func (*StakingReward) SetFormat ¶
func (o *StakingReward) SetFormat(v StakingRewardFormat)
SetFormat sets field value
func (*StakingReward) SetState ¶
func (o *StakingReward) SetState(v string)
SetState sets field value
func (*StakingReward) SetUsdValue ¶
func (o *StakingReward) SetUsdValue(v StakingRewardUSDValue)
SetUsdValue sets field value
func (StakingReward) ToMap ¶
func (o StakingReward) ToMap() (map[string]interface{}, error)
func (*StakingReward) UnmarshalJSON ¶
func (o *StakingReward) UnmarshalJSON(data []byte) (err error)
type StakingRewardFormat ¶
type StakingRewardFormat string
StakingRewardFormat The format in which the rewards are to be fetched i.e native or in equivalent USD
const ( STAKINGREWARDFORMAT_USD StakingRewardFormat = "usd" STAKINGREWARDFORMAT_NATIVE StakingRewardFormat = "native" )
List of StakingRewardFormat
func NewStakingRewardFormatFromValue ¶
func NewStakingRewardFormatFromValue(v string) (*StakingRewardFormat, error)
NewStakingRewardFormatFromValue returns a pointer to a valid StakingRewardFormat for the value passed as argument, or an error if the value passed is not allowed by the enum
func (StakingRewardFormat) IsValid ¶
func (v StakingRewardFormat) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (StakingRewardFormat) Ptr ¶
func (v StakingRewardFormat) Ptr() *StakingRewardFormat
Ptr returns reference to StakingRewardFormat value
func (*StakingRewardFormat) UnmarshalJSON ¶
func (v *StakingRewardFormat) UnmarshalJSON(src []byte) error
type StakingRewardUSDValue ¶
type StakingRewardUSDValue struct { // The value of the reward in USD Amount string `json:"amount"` // The conversion price from native currency to USD ConversionPrice string `json:"conversion_price"` // The time of the conversion in UTC. ConversionTime time.Time `json:"conversion_time"` }
StakingRewardUSDValue The USD value of the reward
func NewStakingRewardUSDValue ¶
func NewStakingRewardUSDValue(amount string, conversionPrice string, conversionTime time.Time) *StakingRewardUSDValue
NewStakingRewardUSDValue instantiates a new StakingRewardUSDValue 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 NewStakingRewardUSDValueWithDefaults ¶
func NewStakingRewardUSDValueWithDefaults() *StakingRewardUSDValue
NewStakingRewardUSDValueWithDefaults instantiates a new StakingRewardUSDValue 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 (*StakingRewardUSDValue) GetAmount ¶
func (o *StakingRewardUSDValue) GetAmount() string
GetAmount returns the Amount field value
func (*StakingRewardUSDValue) GetAmountOk ¶
func (o *StakingRewardUSDValue) GetAmountOk() (*string, bool)
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*StakingRewardUSDValue) GetConversionPrice ¶
func (o *StakingRewardUSDValue) GetConversionPrice() string
GetConversionPrice returns the ConversionPrice field value
func (*StakingRewardUSDValue) GetConversionPriceOk ¶
func (o *StakingRewardUSDValue) GetConversionPriceOk() (*string, bool)
GetConversionPriceOk returns a tuple with the ConversionPrice field value and a boolean to check if the value has been set.
func (*StakingRewardUSDValue) GetConversionTime ¶
func (o *StakingRewardUSDValue) GetConversionTime() time.Time
GetConversionTime returns the ConversionTime field value
func (*StakingRewardUSDValue) GetConversionTimeOk ¶
func (o *StakingRewardUSDValue) GetConversionTimeOk() (*time.Time, bool)
GetConversionTimeOk returns a tuple with the ConversionTime field value and a boolean to check if the value has been set.
func (StakingRewardUSDValue) MarshalJSON ¶
func (o StakingRewardUSDValue) MarshalJSON() ([]byte, error)
func (*StakingRewardUSDValue) SetAmount ¶
func (o *StakingRewardUSDValue) SetAmount(v string)
SetAmount sets field value
func (*StakingRewardUSDValue) SetConversionPrice ¶
func (o *StakingRewardUSDValue) SetConversionPrice(v string)
SetConversionPrice sets field value
func (*StakingRewardUSDValue) SetConversionTime ¶
func (o *StakingRewardUSDValue) SetConversionTime(v time.Time)
SetConversionTime sets field value
func (StakingRewardUSDValue) ToMap ¶
func (o StakingRewardUSDValue) ToMap() (map[string]interface{}, error)
func (*StakingRewardUSDValue) UnmarshalJSON ¶
func (o *StakingRewardUSDValue) UnmarshalJSON(data []byte) (err error)
type Trade ¶
type Trade struct { // The ID of the blockchain network NetworkId string `json:"network_id"` // The ID of the wallet that owns the from address WalletId string `json:"wallet_id"` // The onchain address of the sender AddressId string `json:"address_id"` // The ID of the trade TradeId string `json:"trade_id"` // The amount of the from asset to be traded (in atomic units of the from asset) FromAmount string `json:"from_amount"` FromAsset Asset `json:"from_asset"` // The amount of the to asset that will be received (in atomic units of the to asset) ToAmount string `json:"to_amount"` ToAsset Asset `json:"to_asset"` Transaction Transaction `json:"transaction"` ApproveTransaction *Transaction `json:"approve_transaction,omitempty"` }
Trade A trade of an asset to another asset
func NewTrade ¶
func NewTrade(networkId string, walletId string, addressId string, tradeId string, fromAmount string, fromAsset Asset, toAmount string, toAsset Asset, transaction Transaction) *Trade
NewTrade instantiates a new Trade 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 NewTradeWithDefaults ¶
func NewTradeWithDefaults() *Trade
NewTradeWithDefaults instantiates a new Trade 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 (*Trade) GetAddressId ¶
GetAddressId returns the AddressId field value
func (*Trade) GetAddressIdOk ¶
GetAddressIdOk returns a tuple with the AddressId field value and a boolean to check if the value has been set.
func (*Trade) GetApproveTransaction ¶
func (o *Trade) GetApproveTransaction() Transaction
GetApproveTransaction returns the ApproveTransaction field value if set, zero value otherwise.
func (*Trade) GetApproveTransactionOk ¶
func (o *Trade) GetApproveTransactionOk() (*Transaction, bool)
GetApproveTransactionOk returns a tuple with the ApproveTransaction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Trade) GetFromAmount ¶
GetFromAmount returns the FromAmount field value
func (*Trade) GetFromAmountOk ¶
GetFromAmountOk returns a tuple with the FromAmount field value and a boolean to check if the value has been set.
func (*Trade) GetFromAsset ¶
GetFromAsset returns the FromAsset field value
func (*Trade) GetFromAssetOk ¶
GetFromAssetOk returns a tuple with the FromAsset field value and a boolean to check if the value has been set.
func (*Trade) GetNetworkId ¶
GetNetworkId returns the NetworkId field value
func (*Trade) GetNetworkIdOk ¶
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*Trade) GetToAmount ¶
GetToAmount returns the ToAmount field value
func (*Trade) GetToAmountOk ¶
GetToAmountOk returns a tuple with the ToAmount field value and a boolean to check if the value has been set.
func (*Trade) GetToAsset ¶
GetToAsset returns the ToAsset field value
func (*Trade) GetToAssetOk ¶
GetToAssetOk returns a tuple with the ToAsset field value and a boolean to check if the value has been set.
func (*Trade) GetTradeId ¶
GetTradeId returns the TradeId field value
func (*Trade) GetTradeIdOk ¶
GetTradeIdOk returns a tuple with the TradeId field value and a boolean to check if the value has been set.
func (*Trade) GetTransaction ¶
func (o *Trade) GetTransaction() Transaction
GetTransaction returns the Transaction field value
func (*Trade) GetTransactionOk ¶
func (o *Trade) GetTransactionOk() (*Transaction, bool)
GetTransactionOk returns a tuple with the Transaction field value and a boolean to check if the value has been set.
func (*Trade) GetWalletId ¶
GetWalletId returns the WalletId field value
func (*Trade) GetWalletIdOk ¶
GetWalletIdOk returns a tuple with the WalletId field value and a boolean to check if the value has been set.
func (*Trade) HasApproveTransaction ¶
HasApproveTransaction returns a boolean if a field has been set.
func (Trade) MarshalJSON ¶
func (*Trade) SetApproveTransaction ¶
func (o *Trade) SetApproveTransaction(v Transaction)
SetApproveTransaction gets a reference to the given Transaction and assigns it to the ApproveTransaction field.
func (*Trade) SetFromAmount ¶
SetFromAmount sets field value
func (*Trade) SetTransaction ¶
func (o *Trade) SetTransaction(v Transaction)
SetTransaction sets field value
func (*Trade) UnmarshalJSON ¶
type TradeList ¶
type TradeList struct { Data []Trade `json:"data"` // True if this list has another page of items after this one that can be fetched. HasMore bool `json:"has_more"` // The page token to be used to fetch the next page. NextPage string `json:"next_page"` // The total number of trades for the address in the wallet. TotalCount int32 `json:"total_count"` }
TradeList
func NewTradeList ¶
NewTradeList instantiates a new TradeList 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 NewTradeListWithDefaults ¶
func NewTradeListWithDefaults() *TradeList
NewTradeListWithDefaults instantiates a new TradeList 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 (*TradeList) GetDataOk ¶
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*TradeList) GetHasMore ¶
GetHasMore returns the HasMore field value
func (*TradeList) GetHasMoreOk ¶
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*TradeList) GetNextPage ¶
GetNextPage returns the NextPage field value
func (*TradeList) GetNextPageOk ¶
GetNextPageOk returns a tuple with the NextPage field value and a boolean to check if the value has been set.
func (*TradeList) GetTotalCount ¶
GetTotalCount returns the TotalCount field value
func (*TradeList) GetTotalCountOk ¶
GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.
func (TradeList) MarshalJSON ¶
func (*TradeList) SetNextPage ¶
SetNextPage sets field value
func (*TradeList) SetTotalCount ¶
SetTotalCount sets field value
func (*TradeList) UnmarshalJSON ¶
type TradesAPI ¶
type TradesAPI interface { /* BroadcastTrade Broadcast a trade Broadcast a trade @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to @param addressId The ID of the address the trade belongs to @param tradeId The ID of the trade to broadcast @return ApiBroadcastTradeRequest */ BroadcastTrade(ctx context.Context, walletId string, addressId string, tradeId string) ApiBroadcastTradeRequest // BroadcastTradeExecute executes the request // @return Trade BroadcastTradeExecute(r ApiBroadcastTradeRequest) (*Trade, *http.Response, error) /* CreateTrade Create a new trade for an address Create a new trade @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the source address belongs to @param addressId The ID of the address to conduct the trade from @return ApiCreateTradeRequest */ CreateTrade(ctx context.Context, walletId string, addressId string) ApiCreateTradeRequest // CreateTradeExecute executes the request // @return Trade CreateTradeExecute(r ApiCreateTradeRequest) (*Trade, *http.Response, error) /* GetTrade Get a trade by ID Get a trade by ID @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to @param addressId The ID of the address the trade belongs to @param tradeId The ID of the trade to fetch @return ApiGetTradeRequest */ GetTrade(ctx context.Context, walletId string, addressId string, tradeId string) ApiGetTradeRequest // GetTradeExecute executes the request // @return Trade GetTradeExecute(r ApiGetTradeRequest) (*Trade, *http.Response, error) /* ListTrades List trades for an address. List trades for an address. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to @param addressId The ID of the address to list trades for @return ApiListTradesRequest */ ListTrades(ctx context.Context, walletId string, addressId string) ApiListTradesRequest // ListTradesExecute executes the request // @return TradeList ListTradesExecute(r ApiListTradesRequest) (*TradeList, *http.Response, error) }
type TradesAPIService ¶
type TradesAPIService service
TradesAPIService TradesAPI service
func (*TradesAPIService) BroadcastTrade ¶
func (a *TradesAPIService) BroadcastTrade(ctx context.Context, walletId string, addressId string, tradeId string) ApiBroadcastTradeRequest
BroadcastTrade Broadcast a trade
Broadcast a trade
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to @param addressId The ID of the address the trade belongs to @param tradeId The ID of the trade to broadcast @return ApiBroadcastTradeRequest
func (*TradesAPIService) BroadcastTradeExecute ¶
func (a *TradesAPIService) BroadcastTradeExecute(r ApiBroadcastTradeRequest) (*Trade, *http.Response, error)
Execute executes the request
@return Trade
func (*TradesAPIService) CreateTrade ¶
func (a *TradesAPIService) CreateTrade(ctx context.Context, walletId string, addressId string) ApiCreateTradeRequest
CreateTrade Create a new trade for an address
Create a new trade
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the source address belongs to @param addressId The ID of the address to conduct the trade from @return ApiCreateTradeRequest
func (*TradesAPIService) CreateTradeExecute ¶
func (a *TradesAPIService) CreateTradeExecute(r ApiCreateTradeRequest) (*Trade, *http.Response, error)
Execute executes the request
@return Trade
func (*TradesAPIService) GetTrade ¶
func (a *TradesAPIService) GetTrade(ctx context.Context, walletId string, addressId string, tradeId string) ApiGetTradeRequest
GetTrade Get a trade by ID
Get a trade by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to @param addressId The ID of the address the trade belongs to @param tradeId The ID of the trade to fetch @return ApiGetTradeRequest
func (*TradesAPIService) GetTradeExecute ¶
func (a *TradesAPIService) GetTradeExecute(r ApiGetTradeRequest) (*Trade, *http.Response, error)
Execute executes the request
@return Trade
func (*TradesAPIService) ListTrades ¶
func (a *TradesAPIService) ListTrades(ctx context.Context, walletId string, addressId string) ApiListTradesRequest
ListTrades List trades for an address.
List trades for an address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to @param addressId The ID of the address to list trades for @return ApiListTradesRequest
func (*TradesAPIService) ListTradesExecute ¶
func (a *TradesAPIService) ListTradesExecute(r ApiListTradesRequest) (*TradeList, *http.Response, error)
Execute executes the request
@return TradeList
type Transaction ¶
type Transaction struct { // The ID of the blockchain network. NetworkId string `json:"network_id"` // The onchain address of the sender. FromAddressId string `json:"from_address_id"` // The onchain address of the recipient. ToAddressId *string `json:"to_address_id,omitempty"` // The unsigned payload of the transaction. This is the payload that needs to be signed by the sender. UnsignedPayload string `json:"unsigned_payload"` // The signed payload of the transaction. This is the payload that has been signed by the sender. SignedPayload *string `json:"signed_payload,omitempty"` // The hash of the transaction. TransactionHash *string `json:"transaction_hash,omitempty"` // The link to view the transaction on a block explorer. This is optional and may not be present for all transactions. TransactionLink *string `json:"transaction_link,omitempty"` // The status of the transaction. Status string `json:"status"` }
Transaction An onchain transaction.
func NewTransaction ¶
func NewTransaction(networkId string, fromAddressId string, unsignedPayload string, status string) *Transaction
NewTransaction instantiates a new Transaction 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 NewTransactionWithDefaults ¶
func NewTransactionWithDefaults() *Transaction
NewTransactionWithDefaults instantiates a new Transaction 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 (*Transaction) GetFromAddressId ¶
func (o *Transaction) GetFromAddressId() string
GetFromAddressId returns the FromAddressId field value
func (*Transaction) GetFromAddressIdOk ¶
func (o *Transaction) GetFromAddressIdOk() (*string, bool)
GetFromAddressIdOk returns a tuple with the FromAddressId field value and a boolean to check if the value has been set.
func (*Transaction) GetNetworkId ¶
func (o *Transaction) GetNetworkId() string
GetNetworkId returns the NetworkId field value
func (*Transaction) GetNetworkIdOk ¶
func (o *Transaction) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*Transaction) GetSignedPayload ¶
func (o *Transaction) GetSignedPayload() string
GetSignedPayload returns the SignedPayload field value if set, zero value otherwise.
func (*Transaction) GetSignedPayloadOk ¶
func (o *Transaction) GetSignedPayloadOk() (*string, bool)
GetSignedPayloadOk returns a tuple with the SignedPayload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetStatus ¶
func (o *Transaction) GetStatus() string
GetStatus returns the Status field value
func (*Transaction) GetStatusOk ¶
func (o *Transaction) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Transaction) GetToAddressId ¶
func (o *Transaction) GetToAddressId() string
GetToAddressId returns the ToAddressId field value if set, zero value otherwise.
func (*Transaction) GetToAddressIdOk ¶
func (o *Transaction) GetToAddressIdOk() (*string, bool)
GetToAddressIdOk returns a tuple with the ToAddressId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetTransactionHash ¶
func (o *Transaction) GetTransactionHash() string
GetTransactionHash returns the TransactionHash field value if set, zero value otherwise.
func (*Transaction) GetTransactionHashOk ¶
func (o *Transaction) GetTransactionHashOk() (*string, bool)
GetTransactionHashOk returns a tuple with the TransactionHash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetTransactionLink ¶
func (o *Transaction) GetTransactionLink() string
GetTransactionLink returns the TransactionLink field value if set, zero value otherwise.
func (*Transaction) GetTransactionLinkOk ¶
func (o *Transaction) GetTransactionLinkOk() (*string, bool)
GetTransactionLinkOk returns a tuple with the TransactionLink field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transaction) GetUnsignedPayload ¶
func (o *Transaction) GetUnsignedPayload() string
GetUnsignedPayload returns the UnsignedPayload field value
func (*Transaction) GetUnsignedPayloadOk ¶
func (o *Transaction) GetUnsignedPayloadOk() (*string, bool)
GetUnsignedPayloadOk returns a tuple with the UnsignedPayload field value and a boolean to check if the value has been set.
func (*Transaction) HasSignedPayload ¶
func (o *Transaction) HasSignedPayload() bool
HasSignedPayload returns a boolean if a field has been set.
func (*Transaction) HasToAddressId ¶
func (o *Transaction) HasToAddressId() bool
HasToAddressId returns a boolean if a field has been set.
func (*Transaction) HasTransactionHash ¶
func (o *Transaction) HasTransactionHash() bool
HasTransactionHash returns a boolean if a field has been set.
func (*Transaction) HasTransactionLink ¶
func (o *Transaction) HasTransactionLink() bool
HasTransactionLink returns a boolean if a field has been set.
func (Transaction) MarshalJSON ¶
func (o Transaction) MarshalJSON() ([]byte, error)
func (*Transaction) SetFromAddressId ¶
func (o *Transaction) SetFromAddressId(v string)
SetFromAddressId sets field value
func (*Transaction) SetNetworkId ¶
func (o *Transaction) SetNetworkId(v string)
SetNetworkId sets field value
func (*Transaction) SetSignedPayload ¶
func (o *Transaction) SetSignedPayload(v string)
SetSignedPayload gets a reference to the given string and assigns it to the SignedPayload field.
func (*Transaction) SetStatus ¶
func (o *Transaction) SetStatus(v string)
SetStatus sets field value
func (*Transaction) SetToAddressId ¶
func (o *Transaction) SetToAddressId(v string)
SetToAddressId gets a reference to the given string and assigns it to the ToAddressId field.
func (*Transaction) SetTransactionHash ¶
func (o *Transaction) SetTransactionHash(v string)
SetTransactionHash gets a reference to the given string and assigns it to the TransactionHash field.
func (*Transaction) SetTransactionLink ¶
func (o *Transaction) SetTransactionLink(v string)
SetTransactionLink gets a reference to the given string and assigns it to the TransactionLink field.
func (*Transaction) SetUnsignedPayload ¶
func (o *Transaction) SetUnsignedPayload(v string)
SetUnsignedPayload sets field value
func (Transaction) ToMap ¶
func (o Transaction) ToMap() (map[string]interface{}, error)
func (*Transaction) UnmarshalJSON ¶
func (o *Transaction) UnmarshalJSON(data []byte) (err error)
type TransactionType ¶
type TransactionType string
TransactionType the model 'TransactionType'
const (
TRANSACTIONTYPE_TRANSFER TransactionType = "transfer"
)
List of TransactionType
func NewTransactionTypeFromValue ¶
func NewTransactionTypeFromValue(v string) (*TransactionType, error)
NewTransactionTypeFromValue returns a pointer to a valid TransactionType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TransactionType) IsValid ¶
func (v TransactionType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (TransactionType) Ptr ¶
func (v TransactionType) Ptr() *TransactionType
Ptr returns reference to TransactionType value
func (*TransactionType) UnmarshalJSON ¶
func (v *TransactionType) UnmarshalJSON(src []byte) error
type Transfer ¶
type Transfer struct { // The ID of the blockchain network NetworkId string `json:"network_id"` // The ID of the wallet that owns the from address WalletId string `json:"wallet_id"` // The onchain address of the sender AddressId string `json:"address_id"` // The onchain address of the recipient Destination string `json:"destination"` // The amount in the atomic units of the asset Amount string `json:"amount"` // The ID of the asset being transferred AssetId string `json:"asset_id"` Asset Asset `json:"asset"` // The ID of the transfer TransferId string `json:"transfer_id"` Transaction *Transaction `json:"transaction,omitempty"` SponsoredSend *SponsoredSend `json:"sponsored_send,omitempty"` // The unsigned payload of the transfer. This is the payload that needs to be signed by the sender. UnsignedPayload *string `json:"unsigned_payload,omitempty"` // The signed payload of the transfer. This is the payload that has been signed by the sender. SignedPayload *string `json:"signed_payload,omitempty"` // The hash of the transfer transaction TransactionHash *string `json:"transaction_hash,omitempty"` // The status of the transfer Status *string `json:"status,omitempty"` // Whether the transfer uses sponsored gas Gasless bool `json:"gasless"` }
Transfer A transfer of an asset from one address to another
func NewTransfer ¶
func NewTransfer(networkId string, walletId string, addressId string, destination string, amount string, assetId string, asset Asset, transferId string, gasless bool) *Transfer
NewTransfer instantiates a new Transfer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTransferWithDefaults ¶
func NewTransferWithDefaults() *Transfer
NewTransferWithDefaults instantiates a new Transfer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Transfer) GetAddressId ¶
GetAddressId returns the AddressId field value
func (*Transfer) GetAddressIdOk ¶
GetAddressIdOk returns a tuple with the AddressId field value and a boolean to check if the value has been set.
func (*Transfer) GetAmountOk ¶
GetAmountOk returns a tuple with the Amount field value and a boolean to check if the value has been set.
func (*Transfer) GetAssetId ¶
GetAssetId returns the AssetId field value
func (*Transfer) GetAssetIdOk ¶
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*Transfer) GetAssetOk ¶
GetAssetOk returns a tuple with the Asset field value and a boolean to check if the value has been set.
func (*Transfer) GetDestination ¶
GetDestination returns the Destination field value
func (*Transfer) GetDestinationOk ¶
GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set.
func (*Transfer) GetGasless ¶
GetGasless returns the Gasless field value
func (*Transfer) GetGaslessOk ¶
GetGaslessOk returns a tuple with the Gasless field value and a boolean to check if the value has been set.
func (*Transfer) GetNetworkId ¶
GetNetworkId returns the NetworkId field value
func (*Transfer) GetNetworkIdOk ¶
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*Transfer) GetSignedPayload ¶
GetSignedPayload returns the SignedPayload field value if set, zero value otherwise.
func (*Transfer) GetSignedPayloadOk ¶
GetSignedPayloadOk returns a tuple with the SignedPayload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transfer) GetSponsoredSend ¶
func (o *Transfer) GetSponsoredSend() SponsoredSend
GetSponsoredSend returns the SponsoredSend field value if set, zero value otherwise.
func (*Transfer) GetSponsoredSendOk ¶
func (o *Transfer) GetSponsoredSendOk() (*SponsoredSend, bool)
GetSponsoredSendOk returns a tuple with the SponsoredSend field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transfer) 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 (*Transfer) GetTransaction ¶
func (o *Transfer) GetTransaction() Transaction
GetTransaction returns the Transaction field value if set, zero value otherwise.
func (*Transfer) GetTransactionHash ¶
GetTransactionHash returns the TransactionHash field value if set, zero value otherwise.
func (*Transfer) GetTransactionHashOk ¶
GetTransactionHashOk returns a tuple with the TransactionHash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transfer) GetTransactionOk ¶
func (o *Transfer) GetTransactionOk() (*Transaction, bool)
GetTransactionOk returns a tuple with the Transaction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transfer) GetTransferId ¶
GetTransferId returns the TransferId field value
func (*Transfer) GetTransferIdOk ¶
GetTransferIdOk returns a tuple with the TransferId field value and a boolean to check if the value has been set.
func (*Transfer) GetUnsignedPayload ¶
GetUnsignedPayload returns the UnsignedPayload field value if set, zero value otherwise.
func (*Transfer) GetUnsignedPayloadOk ¶
GetUnsignedPayloadOk returns a tuple with the UnsignedPayload field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Transfer) GetWalletId ¶
GetWalletId returns the WalletId field value
func (*Transfer) GetWalletIdOk ¶
GetWalletIdOk returns a tuple with the WalletId field value and a boolean to check if the value has been set.
func (*Transfer) HasSignedPayload ¶
HasSignedPayload returns a boolean if a field has been set.
func (*Transfer) HasSponsoredSend ¶
HasSponsoredSend returns a boolean if a field has been set.
func (*Transfer) HasTransaction ¶
HasTransaction returns a boolean if a field has been set.
func (*Transfer) HasTransactionHash ¶
HasTransactionHash returns a boolean if a field has been set.
func (*Transfer) HasUnsignedPayload ¶
HasUnsignedPayload returns a boolean if a field has been set.
func (Transfer) MarshalJSON ¶
func (*Transfer) SetAddressId ¶
SetAddressId sets field value
func (*Transfer) SetDestination ¶
SetDestination sets field value
func (*Transfer) SetNetworkId ¶
SetNetworkId sets field value
func (*Transfer) SetSignedPayload ¶
SetSignedPayload gets a reference to the given string and assigns it to the SignedPayload field.
func (*Transfer) SetSponsoredSend ¶
func (o *Transfer) SetSponsoredSend(v SponsoredSend)
SetSponsoredSend gets a reference to the given SponsoredSend and assigns it to the SponsoredSend field.
func (*Transfer) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Transfer) SetTransaction ¶
func (o *Transfer) SetTransaction(v Transaction)
SetTransaction gets a reference to the given Transaction and assigns it to the Transaction field.
func (*Transfer) SetTransactionHash ¶
SetTransactionHash gets a reference to the given string and assigns it to the TransactionHash field.
func (*Transfer) SetTransferId ¶
SetTransferId sets field value
func (*Transfer) SetUnsignedPayload ¶
SetUnsignedPayload gets a reference to the given string and assigns it to the UnsignedPayload field.
func (*Transfer) SetWalletId ¶
SetWalletId sets field value
func (*Transfer) UnmarshalJSON ¶
type TransferList ¶
type TransferList struct { Data []Transfer `json:"data"` // True if this list has another page of items after this one that can be fetched. HasMore bool `json:"has_more"` // The page token to be used to fetch the next page. NextPage string `json:"next_page"` // The total number of transfers for the address in the wallet. TotalCount int32 `json:"total_count"` }
TransferList
func NewTransferList ¶
func NewTransferList(data []Transfer, hasMore bool, nextPage string, totalCount int32) *TransferList
NewTransferList instantiates a new TransferList 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 NewTransferListWithDefaults ¶
func NewTransferListWithDefaults() *TransferList
NewTransferListWithDefaults instantiates a new TransferList 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 (*TransferList) GetData ¶
func (o *TransferList) GetData() []Transfer
GetData returns the Data field value
func (*TransferList) GetDataOk ¶
func (o *TransferList) GetDataOk() ([]Transfer, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*TransferList) GetHasMore ¶
func (o *TransferList) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*TransferList) GetHasMoreOk ¶
func (o *TransferList) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*TransferList) GetNextPage ¶
func (o *TransferList) GetNextPage() string
GetNextPage returns the NextPage field value
func (*TransferList) GetNextPageOk ¶
func (o *TransferList) GetNextPageOk() (*string, bool)
GetNextPageOk returns a tuple with the NextPage field value and a boolean to check if the value has been set.
func (*TransferList) GetTotalCount ¶
func (o *TransferList) GetTotalCount() int32
GetTotalCount returns the TotalCount field value
func (*TransferList) GetTotalCountOk ¶
func (o *TransferList) GetTotalCountOk() (*int32, bool)
GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.
func (TransferList) MarshalJSON ¶
func (o TransferList) MarshalJSON() ([]byte, error)
func (*TransferList) SetData ¶
func (o *TransferList) SetData(v []Transfer)
SetData sets field value
func (*TransferList) SetHasMore ¶
func (o *TransferList) SetHasMore(v bool)
SetHasMore sets field value
func (*TransferList) SetNextPage ¶
func (o *TransferList) SetNextPage(v string)
SetNextPage sets field value
func (*TransferList) SetTotalCount ¶
func (o *TransferList) SetTotalCount(v int32)
SetTotalCount sets field value
func (TransferList) ToMap ¶
func (o TransferList) ToMap() (map[string]interface{}, error)
func (*TransferList) UnmarshalJSON ¶
func (o *TransferList) UnmarshalJSON(data []byte) (err error)
type TransfersAPI ¶
type TransfersAPI interface { /* BroadcastTransfer Broadcast a transfer Broadcast a transfer @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to @param addressId The ID of the address the transfer belongs to @param transferId The ID of the transfer to broadcast @return ApiBroadcastTransferRequest */ BroadcastTransfer(ctx context.Context, walletId string, addressId string, transferId string) ApiBroadcastTransferRequest // BroadcastTransferExecute executes the request // @return Transfer BroadcastTransferExecute(r ApiBroadcastTransferRequest) (*Transfer, *http.Response, error) /* CreateTransfer Create a new transfer for an address Create a new transfer @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the source address belongs to @param addressId The ID of the address to transfer from @return ApiCreateTransferRequest */ CreateTransfer(ctx context.Context, walletId string, addressId string) ApiCreateTransferRequest // CreateTransferExecute executes the request // @return Transfer CreateTransferExecute(r ApiCreateTransferRequest) (*Transfer, *http.Response, error) /* GetTransfer Get a transfer by ID Get a transfer by ID @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to @param addressId The ID of the address the transfer belongs to @param transferId The ID of the transfer to fetch @return ApiGetTransferRequest */ GetTransfer(ctx context.Context, walletId string, addressId string, transferId string) ApiGetTransferRequest // GetTransferExecute executes the request // @return Transfer GetTransferExecute(r ApiGetTransferRequest) (*Transfer, *http.Response, error) /* ListTransfers List transfers for an address. List transfers for an address. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to @param addressId The ID of the address to list transfers for @return ApiListTransfersRequest */ ListTransfers(ctx context.Context, walletId string, addressId string) ApiListTransfersRequest // ListTransfersExecute executes the request // @return TransferList ListTransfersExecute(r ApiListTransfersRequest) (*TransferList, *http.Response, error) }
type TransfersAPIService ¶
type TransfersAPIService service
TransfersAPIService TransfersAPI service
func (*TransfersAPIService) BroadcastTransfer ¶
func (a *TransfersAPIService) BroadcastTransfer(ctx context.Context, walletId string, addressId string, transferId string) ApiBroadcastTransferRequest
BroadcastTransfer Broadcast a transfer
Broadcast a transfer
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to @param addressId The ID of the address the transfer belongs to @param transferId The ID of the transfer to broadcast @return ApiBroadcastTransferRequest
func (*TransfersAPIService) BroadcastTransferExecute ¶
func (a *TransfersAPIService) BroadcastTransferExecute(r ApiBroadcastTransferRequest) (*Transfer, *http.Response, error)
Execute executes the request
@return Transfer
func (*TransfersAPIService) CreateTransfer ¶
func (a *TransfersAPIService) CreateTransfer(ctx context.Context, walletId string, addressId string) ApiCreateTransferRequest
CreateTransfer Create a new transfer for an address
Create a new transfer
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the source address belongs to @param addressId The ID of the address to transfer from @return ApiCreateTransferRequest
func (*TransfersAPIService) CreateTransferExecute ¶
func (a *TransfersAPIService) CreateTransferExecute(r ApiCreateTransferRequest) (*Transfer, *http.Response, error)
Execute executes the request
@return Transfer
func (*TransfersAPIService) GetTransfer ¶
func (a *TransfersAPIService) GetTransfer(ctx context.Context, walletId string, addressId string, transferId string) ApiGetTransferRequest
GetTransfer Get a transfer by ID
Get a transfer by ID
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to @param addressId The ID of the address the transfer belongs to @param transferId The ID of the transfer to fetch @return ApiGetTransferRequest
func (*TransfersAPIService) GetTransferExecute ¶
func (a *TransfersAPIService) GetTransferExecute(r ApiGetTransferRequest) (*Transfer, *http.Response, error)
Execute executes the request
@return Transfer
func (*TransfersAPIService) ListTransfers ¶
func (a *TransfersAPIService) ListTransfers(ctx context.Context, walletId string, addressId string) ApiListTransfersRequest
ListTransfers List transfers for an address.
List transfers for an address.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to @param addressId The ID of the address to list transfers for @return ApiListTransfersRequest
func (*TransfersAPIService) ListTransfersExecute ¶
func (a *TransfersAPIService) ListTransfersExecute(r ApiListTransfersRequest) (*TransferList, *http.Response, error)
Execute executes the request
@return TransferList
type UpdateWebhookRequest ¶
type UpdateWebhookRequest struct { // The ID of the blockchain network NetworkId *string `json:"network_id,omitempty"` EventType WebhookEventType `json:"event_type"` // Webhook will monitor all events that matches any one of the event filters. EventFilters []WebhookEventFilter `json:"event_filters"` // The Webhook uri that updates to NotificationUri string `json:"notification_uri"` }
UpdateWebhookRequest struct for UpdateWebhookRequest
func NewUpdateWebhookRequest ¶
func NewUpdateWebhookRequest(eventType WebhookEventType, eventFilters []WebhookEventFilter, notificationUri string) *UpdateWebhookRequest
NewUpdateWebhookRequest instantiates a new UpdateWebhookRequest 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 NewUpdateWebhookRequestWithDefaults ¶
func NewUpdateWebhookRequestWithDefaults() *UpdateWebhookRequest
NewUpdateWebhookRequestWithDefaults instantiates a new UpdateWebhookRequest 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 (*UpdateWebhookRequest) GetEventFilters ¶
func (o *UpdateWebhookRequest) GetEventFilters() []WebhookEventFilter
GetEventFilters returns the EventFilters field value
func (*UpdateWebhookRequest) GetEventFiltersOk ¶
func (o *UpdateWebhookRequest) GetEventFiltersOk() ([]WebhookEventFilter, bool)
GetEventFiltersOk returns a tuple with the EventFilters field value and a boolean to check if the value has been set.
func (*UpdateWebhookRequest) GetEventType ¶
func (o *UpdateWebhookRequest) GetEventType() WebhookEventType
GetEventType returns the EventType field value
func (*UpdateWebhookRequest) GetEventTypeOk ¶
func (o *UpdateWebhookRequest) GetEventTypeOk() (*WebhookEventType, bool)
GetEventTypeOk returns a tuple with the EventType field value and a boolean to check if the value has been set.
func (*UpdateWebhookRequest) GetNetworkId ¶
func (o *UpdateWebhookRequest) GetNetworkId() string
GetNetworkId returns the NetworkId field value if set, zero value otherwise.
func (*UpdateWebhookRequest) GetNetworkIdOk ¶
func (o *UpdateWebhookRequest) GetNetworkIdOk() (*string, bool)
GetNetworkIdOk returns a tuple with the NetworkId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateWebhookRequest) GetNotificationUri ¶
func (o *UpdateWebhookRequest) GetNotificationUri() string
GetNotificationUri returns the NotificationUri field value
func (*UpdateWebhookRequest) GetNotificationUriOk ¶
func (o *UpdateWebhookRequest) GetNotificationUriOk() (*string, bool)
GetNotificationUriOk returns a tuple with the NotificationUri field value and a boolean to check if the value has been set.
func (*UpdateWebhookRequest) HasNetworkId ¶
func (o *UpdateWebhookRequest) HasNetworkId() bool
HasNetworkId returns a boolean if a field has been set.
func (UpdateWebhookRequest) MarshalJSON ¶
func (o UpdateWebhookRequest) MarshalJSON() ([]byte, error)
func (*UpdateWebhookRequest) SetEventFilters ¶
func (o *UpdateWebhookRequest) SetEventFilters(v []WebhookEventFilter)
SetEventFilters sets field value
func (*UpdateWebhookRequest) SetEventType ¶
func (o *UpdateWebhookRequest) SetEventType(v WebhookEventType)
SetEventType sets field value
func (*UpdateWebhookRequest) SetNetworkId ¶
func (o *UpdateWebhookRequest) SetNetworkId(v string)
SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.
func (*UpdateWebhookRequest) SetNotificationUri ¶
func (o *UpdateWebhookRequest) SetNotificationUri(v string)
SetNotificationUri sets field value
func (UpdateWebhookRequest) ToMap ¶
func (o UpdateWebhookRequest) ToMap() (map[string]interface{}, error)
func (*UpdateWebhookRequest) UnmarshalJSON ¶
func (o *UpdateWebhookRequest) UnmarshalJSON(data []byte) (err error)
type User ¶
type User struct { // The ID of the user Id string `json:"id"` DisplayName *string `json:"display_name,omitempty"` }
User struct for User
func NewUser ¶
NewUser instantiates a new User 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 NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User 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 (*User) GetDisplayName ¶
GetDisplayName returns the DisplayName field value if set, zero value otherwise.
func (*User) GetDisplayNameOk ¶
GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*User) HasDisplayName ¶
HasDisplayName returns a boolean if a field has been set.
func (User) MarshalJSON ¶
func (*User) SetDisplayName ¶
SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.
func (*User) UnmarshalJSON ¶
type UsersAPI ¶
type UsersAPI interface { /* GetCurrentUser Get current user Get current user @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetCurrentUserRequest */ GetCurrentUser(ctx context.Context) ApiGetCurrentUserRequest // GetCurrentUserExecute executes the request // @return User GetCurrentUserExecute(r ApiGetCurrentUserRequest) (*User, *http.Response, error) }
type UsersAPIService ¶
type UsersAPIService service
UsersAPIService UsersAPI service
func (*UsersAPIService) GetCurrentUser ¶
func (a *UsersAPIService) GetCurrentUser(ctx context.Context) ApiGetCurrentUserRequest
GetCurrentUser Get current user
Get current user
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetCurrentUserRequest
func (*UsersAPIService) GetCurrentUserExecute ¶
func (a *UsersAPIService) GetCurrentUserExecute(r ApiGetCurrentUserRequest) (*User, *http.Response, error)
Execute executes the request
@return User
type Validator ¶
type Validator struct { // The publicly identifiable unique id of the validator. This can be the public key for Ethereum validators and maybe an address for some other network. ValidatorId string `json:"validator_id"` // The ID of the blockchain network to which the Validator belongs. NetworkId string `json:"network_id"` // The ID of the asset that the validator helps stake. AssetId string `json:"asset_id"` Status ValidatorStatus `json:"status"` Details *ValidatorDetails `json:"details,omitempty"` }
Validator A validator onchain.
func NewValidator ¶
func NewValidator(validatorId string, networkId string, assetId string, status ValidatorStatus) *Validator
NewValidator instantiates a new Validator 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 NewValidatorWithDefaults ¶
func NewValidatorWithDefaults() *Validator
NewValidatorWithDefaults instantiates a new Validator 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 (*Validator) GetAssetId ¶
GetAssetId returns the AssetId field value
func (*Validator) GetAssetIdOk ¶
GetAssetIdOk returns a tuple with the AssetId field value and a boolean to check if the value has been set.
func (*Validator) GetDetails ¶
func (o *Validator) GetDetails() ValidatorDetails
GetDetails returns the Details field value if set, zero value otherwise.
func (*Validator) GetDetailsOk ¶
func (o *Validator) GetDetailsOk() (*ValidatorDetails, bool)
GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Validator) GetNetworkId ¶
GetNetworkId returns the NetworkId field value
func (*Validator) GetNetworkIdOk ¶
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*Validator) GetStatus ¶
func (o *Validator) GetStatus() ValidatorStatus
GetStatus returns the Status field value
func (*Validator) GetStatusOk ¶
func (o *Validator) GetStatusOk() (*ValidatorStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*Validator) GetValidatorId ¶
GetValidatorId returns the ValidatorId field value
func (*Validator) GetValidatorIdOk ¶
GetValidatorIdOk returns a tuple with the ValidatorId field value and a boolean to check if the value has been set.
func (*Validator) HasDetails ¶
HasDetails returns a boolean if a field has been set.
func (Validator) MarshalJSON ¶
func (*Validator) SetDetails ¶
func (o *Validator) SetDetails(v ValidatorDetails)
SetDetails gets a reference to the given ValidatorDetails and assigns it to the Details field.
func (*Validator) SetNetworkId ¶
SetNetworkId sets field value
func (*Validator) SetStatus ¶
func (o *Validator) SetStatus(v ValidatorStatus)
SetStatus sets field value
func (*Validator) SetValidatorId ¶
SetValidatorId sets field value
func (*Validator) UnmarshalJSON ¶
type ValidatorDetails ¶
type ValidatorDetails struct {
EthereumValidatorMetadata *EthereumValidatorMetadata
}
ValidatorDetails - struct for ValidatorDetails
func EthereumValidatorMetadataAsValidatorDetails ¶
func EthereumValidatorMetadataAsValidatorDetails(v *EthereumValidatorMetadata) ValidatorDetails
EthereumValidatorMetadataAsValidatorDetails is a convenience function that returns EthereumValidatorMetadata wrapped in ValidatorDetails
func (*ValidatorDetails) GetActualInstance ¶
func (obj *ValidatorDetails) GetActualInstance() interface{}
Get the actual instance
func (ValidatorDetails) MarshalJSON ¶
func (src ValidatorDetails) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ValidatorDetails) UnmarshalJSON ¶
func (dst *ValidatorDetails) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type ValidatorList ¶
type ValidatorList struct { Data []Validator `json:"data"` // True if this list has another page of items after this one that can be fetched. HasMore bool `json:"has_more"` // The page token to be used to fetch the next page. NextPage string `json:"next_page"` }
ValidatorList
func NewValidatorList ¶
func NewValidatorList(data []Validator, hasMore bool, nextPage string) *ValidatorList
NewValidatorList instantiates a new ValidatorList 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 NewValidatorListWithDefaults ¶
func NewValidatorListWithDefaults() *ValidatorList
NewValidatorListWithDefaults instantiates a new ValidatorList 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 (*ValidatorList) GetData ¶
func (o *ValidatorList) GetData() []Validator
GetData returns the Data field value
func (*ValidatorList) GetDataOk ¶
func (o *ValidatorList) GetDataOk() ([]Validator, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ValidatorList) GetHasMore ¶
func (o *ValidatorList) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*ValidatorList) GetHasMoreOk ¶
func (o *ValidatorList) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*ValidatorList) GetNextPage ¶
func (o *ValidatorList) GetNextPage() string
GetNextPage returns the NextPage field value
func (*ValidatorList) GetNextPageOk ¶
func (o *ValidatorList) GetNextPageOk() (*string, bool)
GetNextPageOk returns a tuple with the NextPage field value and a boolean to check if the value has been set.
func (ValidatorList) MarshalJSON ¶
func (o ValidatorList) MarshalJSON() ([]byte, error)
func (*ValidatorList) SetData ¶
func (o *ValidatorList) SetData(v []Validator)
SetData sets field value
func (*ValidatorList) SetHasMore ¶
func (o *ValidatorList) SetHasMore(v bool)
SetHasMore sets field value
func (*ValidatorList) SetNextPage ¶
func (o *ValidatorList) SetNextPage(v string)
SetNextPage sets field value
func (ValidatorList) ToMap ¶
func (o ValidatorList) ToMap() (map[string]interface{}, error)
func (*ValidatorList) UnmarshalJSON ¶
func (o *ValidatorList) UnmarshalJSON(data []byte) (err error)
type ValidatorStatus ¶
type ValidatorStatus string
ValidatorStatus The status of the validator.
const ( VALIDATORSTATUS_UNKNOWN ValidatorStatus = "unknown" VALIDATORSTATUS_PROVISIONING ValidatorStatus = "provisioning" VALIDATORSTATUS_PROVISIONED ValidatorStatus = "provisioned" VALIDATORSTATUS_DEPOSITED ValidatorStatus = "deposited" VALIDATORSTATUS_PENDING_ACTIVATION ValidatorStatus = "pending_activation" VALIDATORSTATUS_ACTIVE ValidatorStatus = "active" VALIDATORSTATUS_EXITING ValidatorStatus = "exiting" VALIDATORSTATUS_EXITED ValidatorStatus = "exited" VALIDATORSTATUS_WITHDRAWAL_AVAILABLE ValidatorStatus = "withdrawal_available" VALIDATORSTATUS_WITHDRAWAL_COMPLETE ValidatorStatus = "withdrawal_complete" VALIDATORSTATUS_ACTIVE_SLASHED ValidatorStatus = "active_slashed" VALIDATORSTATUS_EXITED_SLASHED ValidatorStatus = "exited_slashed" VALIDATORSTATUS_REAPED ValidatorStatus = "reaped" )
List of ValidatorStatus
func NewValidatorStatusFromValue ¶
func NewValidatorStatusFromValue(v string) (*ValidatorStatus, error)
NewValidatorStatusFromValue returns a pointer to a valid ValidatorStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ValidatorStatus) IsValid ¶
func (v ValidatorStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ValidatorStatus) Ptr ¶
func (v ValidatorStatus) Ptr() *ValidatorStatus
Ptr returns reference to ValidatorStatus value
func (*ValidatorStatus) UnmarshalJSON ¶
func (v *ValidatorStatus) UnmarshalJSON(src []byte) error
type ValidatorsAPI ¶
type ValidatorsAPI interface { /* GetValidator Get a validator belonging to the CDP project Get a validator belonging to the user for a given network, asset and id. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network. @param assetId The symbol of the asset to get the validator for. @param validatorId The unique id of the validator to fetch details for. @return ApiGetValidatorRequest */ GetValidator(ctx context.Context, networkId string, assetId string, validatorId string) ApiGetValidatorRequest // GetValidatorExecute executes the request // @return Validator GetValidatorExecute(r ApiGetValidatorRequest) (*Validator, *http.Response, error) /* ListValidators List validators belonging to the CDP project List validators belonging to the user for a given network and asset. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network. @param assetId The symbol of the asset to get the validators for. @return ApiListValidatorsRequest */ ListValidators(ctx context.Context, networkId string, assetId string) ApiListValidatorsRequest // ListValidatorsExecute executes the request // @return ValidatorList ListValidatorsExecute(r ApiListValidatorsRequest) (*ValidatorList, *http.Response, error) }
type ValidatorsAPIService ¶
type ValidatorsAPIService service
ValidatorsAPIService ValidatorsAPI service
func (*ValidatorsAPIService) GetValidator ¶
func (a *ValidatorsAPIService) GetValidator(ctx context.Context, networkId string, assetId string, validatorId string) ApiGetValidatorRequest
GetValidator Get a validator belonging to the CDP project
Get a validator belonging to the user for a given network, asset and id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network. @param assetId The symbol of the asset to get the validator for. @param validatorId The unique id of the validator to fetch details for. @return ApiGetValidatorRequest
func (*ValidatorsAPIService) GetValidatorExecute ¶
func (a *ValidatorsAPIService) GetValidatorExecute(r ApiGetValidatorRequest) (*Validator, *http.Response, error)
Execute executes the request
@return Validator
func (*ValidatorsAPIService) ListValidators ¶
func (a *ValidatorsAPIService) ListValidators(ctx context.Context, networkId string, assetId string) ApiListValidatorsRequest
ListValidators List validators belonging to the CDP project
List validators belonging to the user for a given network and asset.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param networkId The ID of the blockchain network. @param assetId The symbol of the asset to get the validators for. @return ApiListValidatorsRequest
func (*ValidatorsAPIService) ListValidatorsExecute ¶
func (a *ValidatorsAPIService) ListValidatorsExecute(r ApiListValidatorsRequest) (*ValidatorList, *http.Response, error)
Execute executes the request
@return ValidatorList
type Wallet ¶
type Wallet struct { // The server-assigned ID for the wallet. Id string `json:"id"` // The ID of the blockchain network NetworkId string `json:"network_id"` DefaultAddress *Address `json:"default_address,omitempty"` FeatureSet FeatureSet `json:"feature_set"` // The status of the Server-Signer for the wallet if present. ServerSignerStatus *string `json:"server_signer_status,omitempty"` }
Wallet struct for Wallet
func NewWallet ¶
func NewWallet(id string, networkId string, featureSet FeatureSet) *Wallet
NewWallet instantiates a new Wallet 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 NewWalletWithDefaults ¶
func NewWalletWithDefaults() *Wallet
NewWalletWithDefaults instantiates a new Wallet 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 (*Wallet) GetDefaultAddress ¶
GetDefaultAddress returns the DefaultAddress field value if set, zero value otherwise.
func (*Wallet) GetDefaultAddressOk ¶
GetDefaultAddressOk returns a tuple with the DefaultAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Wallet) GetFeatureSet ¶
func (o *Wallet) GetFeatureSet() FeatureSet
GetFeatureSet returns the FeatureSet field value
func (*Wallet) GetFeatureSetOk ¶
func (o *Wallet) GetFeatureSetOk() (*FeatureSet, bool)
GetFeatureSetOk returns a tuple with the FeatureSet field value and a boolean to check if the value has been set.
func (*Wallet) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Wallet) GetNetworkId ¶
GetNetworkId returns the NetworkId field value
func (*Wallet) GetNetworkIdOk ¶
GetNetworkIdOk returns a tuple with the NetworkId field value and a boolean to check if the value has been set.
func (*Wallet) GetServerSignerStatus ¶
GetServerSignerStatus returns the ServerSignerStatus field value if set, zero value otherwise.
func (*Wallet) GetServerSignerStatusOk ¶
GetServerSignerStatusOk returns a tuple with the ServerSignerStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Wallet) HasDefaultAddress ¶
HasDefaultAddress returns a boolean if a field has been set.
func (*Wallet) HasServerSignerStatus ¶
HasServerSignerStatus returns a boolean if a field has been set.
func (Wallet) MarshalJSON ¶
func (*Wallet) SetDefaultAddress ¶
SetDefaultAddress gets a reference to the given Address and assigns it to the DefaultAddress field.
func (*Wallet) SetFeatureSet ¶
func (o *Wallet) SetFeatureSet(v FeatureSet)
SetFeatureSet sets field value
func (*Wallet) SetServerSignerStatus ¶
SetServerSignerStatus gets a reference to the given string and assigns it to the ServerSignerStatus field.
func (*Wallet) UnmarshalJSON ¶
type WalletList ¶
type WalletList struct { Data []Wallet `json:"data"` // True if this list has another page of items after this one that can be fetched. HasMore bool `json:"has_more"` // The page token to be used to fetch the next page. NextPage string `json:"next_page"` // The total number of wallets TotalCount int32 `json:"total_count"` }
WalletList Paginated list of wallets
func NewWalletList ¶
func NewWalletList(data []Wallet, hasMore bool, nextPage string, totalCount int32) *WalletList
NewWalletList instantiates a new WalletList 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 NewWalletListWithDefaults ¶
func NewWalletListWithDefaults() *WalletList
NewWalletListWithDefaults instantiates a new WalletList 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 (*WalletList) GetData ¶
func (o *WalletList) GetData() []Wallet
GetData returns the Data field value
func (*WalletList) GetDataOk ¶
func (o *WalletList) GetDataOk() ([]Wallet, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*WalletList) GetHasMore ¶
func (o *WalletList) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*WalletList) GetHasMoreOk ¶
func (o *WalletList) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*WalletList) GetNextPage ¶
func (o *WalletList) GetNextPage() string
GetNextPage returns the NextPage field value
func (*WalletList) GetNextPageOk ¶
func (o *WalletList) GetNextPageOk() (*string, bool)
GetNextPageOk returns a tuple with the NextPage field value and a boolean to check if the value has been set.
func (*WalletList) GetTotalCount ¶
func (o *WalletList) GetTotalCount() int32
GetTotalCount returns the TotalCount field value
func (*WalletList) GetTotalCountOk ¶
func (o *WalletList) GetTotalCountOk() (*int32, bool)
GetTotalCountOk returns a tuple with the TotalCount field value and a boolean to check if the value has been set.
func (WalletList) MarshalJSON ¶
func (o WalletList) MarshalJSON() ([]byte, error)
func (*WalletList) SetNextPage ¶
func (o *WalletList) SetNextPage(v string)
SetNextPage sets field value
func (*WalletList) SetTotalCount ¶
func (o *WalletList) SetTotalCount(v int32)
SetTotalCount sets field value
func (WalletList) ToMap ¶
func (o WalletList) ToMap() (map[string]interface{}, error)
func (*WalletList) UnmarshalJSON ¶
func (o *WalletList) UnmarshalJSON(data []byte) (err error)
type WalletStakeAPI ¶
type WalletStakeAPI interface { /* BroadcastStakingOperation Broadcast a staking operation Broadcast a staking operation. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to. @param addressId The ID of the address the staking operation belongs to. @param stakingOperationId The ID of the staking operation to broadcast. @return ApiBroadcastStakingOperationRequest */ BroadcastStakingOperation(ctx context.Context, walletId string, addressId string, stakingOperationId string) ApiBroadcastStakingOperationRequest // BroadcastStakingOperationExecute executes the request // @return StakingOperation BroadcastStakingOperationExecute(r ApiBroadcastStakingOperationRequest) (*StakingOperation, *http.Response, error) /* CreateStakingOperation Create a new staking operation for an address Create a new staking operation. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to. @param addressId The ID of the address to create the staking operation for. @return ApiCreateStakingOperationRequest */ CreateStakingOperation(ctx context.Context, walletId string, addressId string) ApiCreateStakingOperationRequest // CreateStakingOperationExecute executes the request // @return StakingOperation CreateStakingOperationExecute(r ApiCreateStakingOperationRequest) (*StakingOperation, *http.Response, error) /* GetStakingOperation Get the latest state of a staking operation Get the latest state of a staking operation. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to @param addressId The ID of the address to fetch the staking operation for. @param stakingOperationId The ID of the staking operation. @return ApiGetStakingOperationRequest */ GetStakingOperation(ctx context.Context, walletId string, addressId string, stakingOperationId string) ApiGetStakingOperationRequest // GetStakingOperationExecute executes the request // @return StakingOperation GetStakingOperationExecute(r ApiGetStakingOperationRequest) (*StakingOperation, *http.Response, error) }
type WalletStakeAPIService ¶
type WalletStakeAPIService service
WalletStakeAPIService WalletStakeAPI service
func (*WalletStakeAPIService) BroadcastStakingOperation ¶
func (a *WalletStakeAPIService) BroadcastStakingOperation(ctx context.Context, walletId string, addressId string, stakingOperationId string) ApiBroadcastStakingOperationRequest
BroadcastStakingOperation Broadcast a staking operation
Broadcast a staking operation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to. @param addressId The ID of the address the staking operation belongs to. @param stakingOperationId The ID of the staking operation to broadcast. @return ApiBroadcastStakingOperationRequest
func (*WalletStakeAPIService) BroadcastStakingOperationExecute ¶
func (a *WalletStakeAPIService) BroadcastStakingOperationExecute(r ApiBroadcastStakingOperationRequest) (*StakingOperation, *http.Response, error)
Execute executes the request
@return StakingOperation
func (*WalletStakeAPIService) CreateStakingOperation ¶
func (a *WalletStakeAPIService) CreateStakingOperation(ctx context.Context, walletId string, addressId string) ApiCreateStakingOperationRequest
CreateStakingOperation Create a new staking operation for an address
Create a new staking operation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to. @param addressId The ID of the address to create the staking operation for. @return ApiCreateStakingOperationRequest
func (*WalletStakeAPIService) CreateStakingOperationExecute ¶
func (a *WalletStakeAPIService) CreateStakingOperationExecute(r ApiCreateStakingOperationRequest) (*StakingOperation, *http.Response, error)
Execute executes the request
@return StakingOperation
func (*WalletStakeAPIService) GetStakingOperation ¶
func (a *WalletStakeAPIService) GetStakingOperation(ctx context.Context, walletId string, addressId string, stakingOperationId string) ApiGetStakingOperationRequest
GetStakingOperation Get the latest state of a staking operation
Get the latest state of a staking operation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet the address belongs to @param addressId The ID of the address to fetch the staking operation for. @param stakingOperationId The ID of the staking operation. @return ApiGetStakingOperationRequest
func (*WalletStakeAPIService) GetStakingOperationExecute ¶
func (a *WalletStakeAPIService) GetStakingOperationExecute(r ApiGetStakingOperationRequest) (*StakingOperation, *http.Response, error)
Execute executes the request
@return StakingOperation
type WalletsAPI ¶
type WalletsAPI interface { /* CreateWallet Create a new wallet Create a new wallet scoped to the user. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateWalletRequest */ CreateWallet(ctx context.Context) ApiCreateWalletRequest // CreateWalletExecute executes the request // @return Wallet CreateWalletExecute(r ApiCreateWalletRequest) (*Wallet, *http.Response, error) /* GetWallet Get wallet by ID Get wallet @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet to fetch @return ApiGetWalletRequest */ GetWallet(ctx context.Context, walletId string) ApiGetWalletRequest // GetWalletExecute executes the request // @return Wallet GetWalletExecute(r ApiGetWalletRequest) (*Wallet, *http.Response, error) /* GetWalletBalance Get the balance of an asset in the wallet Get the aggregated balance of an asset across all of the addresses in the wallet. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet to fetch the balance for @param assetId The symbol of the asset to fetch the balance for @return ApiGetWalletBalanceRequest */ GetWalletBalance(ctx context.Context, walletId string, assetId string) ApiGetWalletBalanceRequest // GetWalletBalanceExecute executes the request // @return Balance GetWalletBalanceExecute(r ApiGetWalletBalanceRequest) (*Balance, *http.Response, error) /* ListWalletBalances List wallet balances List the balances of all of the addresses in the wallet aggregated by asset. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet to fetch the balances for @return ApiListWalletBalancesRequest */ ListWalletBalances(ctx context.Context, walletId string) ApiListWalletBalancesRequest // ListWalletBalancesExecute executes the request // @return AddressBalanceList ListWalletBalancesExecute(r ApiListWalletBalancesRequest) (*AddressBalanceList, *http.Response, error) /* ListWallets List wallets List wallets belonging to the user. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListWalletsRequest */ ListWallets(ctx context.Context) ApiListWalletsRequest // ListWalletsExecute executes the request // @return WalletList ListWalletsExecute(r ApiListWalletsRequest) (*WalletList, *http.Response, error) }
type WalletsAPIService ¶
type WalletsAPIService service
WalletsAPIService WalletsAPI service
func (*WalletsAPIService) CreateWallet ¶
func (a *WalletsAPIService) CreateWallet(ctx context.Context) ApiCreateWalletRequest
CreateWallet Create a new wallet
Create a new wallet scoped to the user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateWalletRequest
func (*WalletsAPIService) CreateWalletExecute ¶
func (a *WalletsAPIService) CreateWalletExecute(r ApiCreateWalletRequest) (*Wallet, *http.Response, error)
Execute executes the request
@return Wallet
func (*WalletsAPIService) GetWallet ¶
func (a *WalletsAPIService) GetWallet(ctx context.Context, walletId string) ApiGetWalletRequest
GetWallet Get wallet by ID
Get wallet
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet to fetch @return ApiGetWalletRequest
func (*WalletsAPIService) GetWalletBalance ¶
func (a *WalletsAPIService) GetWalletBalance(ctx context.Context, walletId string, assetId string) ApiGetWalletBalanceRequest
GetWalletBalance Get the balance of an asset in the wallet
Get the aggregated balance of an asset across all of the addresses in the wallet.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet to fetch the balance for @param assetId The symbol of the asset to fetch the balance for @return ApiGetWalletBalanceRequest
func (*WalletsAPIService) GetWalletBalanceExecute ¶
func (a *WalletsAPIService) GetWalletBalanceExecute(r ApiGetWalletBalanceRequest) (*Balance, *http.Response, error)
Execute executes the request
@return Balance
func (*WalletsAPIService) GetWalletExecute ¶
func (a *WalletsAPIService) GetWalletExecute(r ApiGetWalletRequest) (*Wallet, *http.Response, error)
Execute executes the request
@return Wallet
func (*WalletsAPIService) ListWalletBalances ¶
func (a *WalletsAPIService) ListWalletBalances(ctx context.Context, walletId string) ApiListWalletBalancesRequest
ListWalletBalances List wallet balances
List the balances of all of the addresses in the wallet aggregated by asset.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param walletId The ID of the wallet to fetch the balances for @return ApiListWalletBalancesRequest
func (*WalletsAPIService) ListWalletBalancesExecute ¶
func (a *WalletsAPIService) ListWalletBalancesExecute(r ApiListWalletBalancesRequest) (*AddressBalanceList, *http.Response, error)
Execute executes the request
@return AddressBalanceList
func (*WalletsAPIService) ListWallets ¶
func (a *WalletsAPIService) ListWallets(ctx context.Context) ApiListWalletsRequest
ListWallets List wallets
List wallets belonging to the user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListWalletsRequest
func (*WalletsAPIService) ListWalletsExecute ¶
func (a *WalletsAPIService) ListWalletsExecute(r ApiListWalletsRequest) (*WalletList, *http.Response, error)
Execute executes the request
@return WalletList
type Webhook ¶
type Webhook struct { // Identifier of the webhook. Id *string `json:"id,omitempty"` // The ID of the blockchain network NetworkId *string `json:"network_id,omitempty"` EventType *WebhookEventType `json:"event_type,omitempty"` // Webhook will monitor all events that matches any one of the event filters. EventFilters []WebhookEventFilter `json:"event_filters,omitempty"` // The URL to which the notifications will be sent. NotificationUri *string `json:"notification_uri,omitempty"` // The date and time the webhook was created. CreatedAt *time.Time `json:"created_at,omitempty"` // The date and time the webhook was last updated. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
Webhook Webhook that is used for getting notifications when monitored events occur.
func NewWebhook ¶
func NewWebhook() *Webhook
NewWebhook instantiates a new Webhook 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 NewWebhookWithDefaults ¶
func NewWebhookWithDefaults() *Webhook
NewWebhookWithDefaults instantiates a new Webhook 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 (*Webhook) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Webhook) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Webhook) GetEventFilters ¶
func (o *Webhook) GetEventFilters() []WebhookEventFilter
GetEventFilters returns the EventFilters field value if set, zero value otherwise.
func (*Webhook) GetEventFiltersOk ¶
func (o *Webhook) GetEventFiltersOk() ([]WebhookEventFilter, bool)
GetEventFiltersOk returns a tuple with the EventFilters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Webhook) GetEventType ¶
func (o *Webhook) GetEventType() WebhookEventType
GetEventType returns the EventType field value if set, zero value otherwise.
func (*Webhook) GetEventTypeOk ¶
func (o *Webhook) GetEventTypeOk() (*WebhookEventType, bool)
GetEventTypeOk returns a tuple with the EventType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Webhook) 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 (*Webhook) GetNetworkId ¶
GetNetworkId returns the NetworkId field value if set, zero value otherwise.
func (*Webhook) GetNetworkIdOk ¶
GetNetworkIdOk returns a tuple with the NetworkId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Webhook) GetNotificationUri ¶
GetNotificationUri returns the NotificationUri field value if set, zero value otherwise.
func (*Webhook) GetNotificationUriOk ¶
GetNotificationUriOk returns a tuple with the NotificationUri field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Webhook) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Webhook) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Webhook) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Webhook) HasEventFilters ¶
HasEventFilters returns a boolean if a field has been set.
func (*Webhook) HasEventType ¶
HasEventType returns a boolean if a field has been set.
func (*Webhook) HasNetworkId ¶
HasNetworkId returns a boolean if a field has been set.
func (*Webhook) HasNotificationUri ¶
HasNotificationUri returns a boolean if a field has been set.
func (*Webhook) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Webhook) MarshalJSON ¶
func (*Webhook) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Webhook) SetEventFilters ¶
func (o *Webhook) SetEventFilters(v []WebhookEventFilter)
SetEventFilters gets a reference to the given []WebhookEventFilter and assigns it to the EventFilters field.
func (*Webhook) SetEventType ¶
func (o *Webhook) SetEventType(v WebhookEventType)
SetEventType gets a reference to the given WebhookEventType and assigns it to the EventType field.
func (*Webhook) SetNetworkId ¶
SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.
func (*Webhook) SetNotificationUri ¶
SetNotificationUri gets a reference to the given string and assigns it to the NotificationUri field.
func (*Webhook) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type WebhookEventFilter ¶
type WebhookEventFilter struct { // The onchain contract address of the token being transferred. ContractAddress *string `json:"contract_address,omitempty"` // The onchain address of the sender. FromAddress *string `json:"from_address,omitempty"` // The onchain address of the receiver. ToAddress *string `json:"to_address,omitempty"` }
WebhookEventFilter The event_filter parameter specifies the criteria to filter events from the blockchain. It allows filtering events by contract address, sender address and receiver address. For a single event filter, not all of the properties need to be presented.
func NewWebhookEventFilter ¶
func NewWebhookEventFilter() *WebhookEventFilter
NewWebhookEventFilter instantiates a new WebhookEventFilter 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 NewWebhookEventFilterWithDefaults ¶
func NewWebhookEventFilterWithDefaults() *WebhookEventFilter
NewWebhookEventFilterWithDefaults instantiates a new WebhookEventFilter 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 (*WebhookEventFilter) GetContractAddress ¶
func (o *WebhookEventFilter) GetContractAddress() string
GetContractAddress returns the ContractAddress field value if set, zero value otherwise.
func (*WebhookEventFilter) GetContractAddressOk ¶
func (o *WebhookEventFilter) GetContractAddressOk() (*string, bool)
GetContractAddressOk returns a tuple with the ContractAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookEventFilter) GetFromAddress ¶
func (o *WebhookEventFilter) GetFromAddress() string
GetFromAddress returns the FromAddress field value if set, zero value otherwise.
func (*WebhookEventFilter) GetFromAddressOk ¶
func (o *WebhookEventFilter) GetFromAddressOk() (*string, bool)
GetFromAddressOk returns a tuple with the FromAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookEventFilter) GetToAddress ¶
func (o *WebhookEventFilter) GetToAddress() string
GetToAddress returns the ToAddress field value if set, zero value otherwise.
func (*WebhookEventFilter) GetToAddressOk ¶
func (o *WebhookEventFilter) GetToAddressOk() (*string, bool)
GetToAddressOk returns a tuple with the ToAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookEventFilter) HasContractAddress ¶
func (o *WebhookEventFilter) HasContractAddress() bool
HasContractAddress returns a boolean if a field has been set.
func (*WebhookEventFilter) HasFromAddress ¶
func (o *WebhookEventFilter) HasFromAddress() bool
HasFromAddress returns a boolean if a field has been set.
func (*WebhookEventFilter) HasToAddress ¶
func (o *WebhookEventFilter) HasToAddress() bool
HasToAddress returns a boolean if a field has been set.
func (WebhookEventFilter) MarshalJSON ¶
func (o WebhookEventFilter) MarshalJSON() ([]byte, error)
func (*WebhookEventFilter) SetContractAddress ¶
func (o *WebhookEventFilter) SetContractAddress(v string)
SetContractAddress gets a reference to the given string and assigns it to the ContractAddress field.
func (*WebhookEventFilter) SetFromAddress ¶
func (o *WebhookEventFilter) SetFromAddress(v string)
SetFromAddress gets a reference to the given string and assigns it to the FromAddress field.
func (*WebhookEventFilter) SetToAddress ¶
func (o *WebhookEventFilter) SetToAddress(v string)
SetToAddress gets a reference to the given string and assigns it to the ToAddress field.
func (WebhookEventFilter) ToMap ¶
func (o WebhookEventFilter) ToMap() (map[string]interface{}, error)
type WebhookEventType ¶
type WebhookEventType string
WebhookEventType the model 'WebhookEventType'
const ( WEBHOOKEVENTTYPE_UNSPECIFIED WebhookEventType = "unspecified" WEBHOOKEVENTTYPE_ERC20_TRANSFER WebhookEventType = "erc20_transfer" WEBHOOKEVENTTYPE_ERC721_TRANSFER WebhookEventType = "erc721_transfer" )
List of WebhookEventType
func NewWebhookEventTypeFromValue ¶
func NewWebhookEventTypeFromValue(v string) (*WebhookEventType, error)
NewWebhookEventTypeFromValue returns a pointer to a valid WebhookEventType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (WebhookEventType) IsValid ¶
func (v WebhookEventType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (WebhookEventType) Ptr ¶
func (v WebhookEventType) Ptr() *WebhookEventType
Ptr returns reference to WebhookEventType value
func (*WebhookEventType) UnmarshalJSON ¶
func (v *WebhookEventType) UnmarshalJSON(src []byte) error
type WebhookList ¶
type WebhookList struct { Data []Webhook `json:"data"` // True if this list has another page of items after this one that can be fetched. HasMore *bool `json:"has_more,omitempty"` // The page token to be used to fetch the next page. NextPage *string `json:"next_page,omitempty"` }
WebhookList
func NewWebhookList ¶
func NewWebhookList(data []Webhook) *WebhookList
NewWebhookList instantiates a new WebhookList 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 NewWebhookListWithDefaults ¶
func NewWebhookListWithDefaults() *WebhookList
NewWebhookListWithDefaults instantiates a new WebhookList 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 (*WebhookList) GetData ¶
func (o *WebhookList) GetData() []Webhook
GetData returns the Data field value
func (*WebhookList) GetDataOk ¶
func (o *WebhookList) GetDataOk() ([]Webhook, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*WebhookList) GetHasMore ¶
func (o *WebhookList) GetHasMore() bool
GetHasMore returns the HasMore field value if set, zero value otherwise.
func (*WebhookList) GetHasMoreOk ¶
func (o *WebhookList) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookList) GetNextPage ¶
func (o *WebhookList) GetNextPage() string
GetNextPage returns the NextPage field value if set, zero value otherwise.
func (*WebhookList) GetNextPageOk ¶
func (o *WebhookList) GetNextPageOk() (*string, bool)
GetNextPageOk returns a tuple with the NextPage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebhookList) HasHasMore ¶
func (o *WebhookList) HasHasMore() bool
HasHasMore returns a boolean if a field has been set.
func (*WebhookList) HasNextPage ¶
func (o *WebhookList) HasNextPage() bool
HasNextPage returns a boolean if a field has been set.
func (WebhookList) MarshalJSON ¶
func (o WebhookList) MarshalJSON() ([]byte, error)
func (*WebhookList) SetHasMore ¶
func (o *WebhookList) SetHasMore(v bool)
SetHasMore gets a reference to the given bool and assigns it to the HasMore field.
func (*WebhookList) SetNextPage ¶
func (o *WebhookList) SetNextPage(v string)
SetNextPage gets a reference to the given string and assigns it to the NextPage field.
func (WebhookList) ToMap ¶
func (o WebhookList) ToMap() (map[string]interface{}, error)
func (*WebhookList) UnmarshalJSON ¶
func (o *WebhookList) UnmarshalJSON(data []byte) (err error)
type WebhooksAPI ¶
type WebhooksAPI interface { /* CreateWebhook Create a new webhook Create a new webhook @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateWebhookRequest */ CreateWebhook(ctx context.Context) ApiCreateWebhookRequest // CreateWebhookExecute executes the request // @return Webhook CreateWebhookExecute(r ApiCreateWebhookRequest) (*Webhook, *http.Response, error) /* DeleteWebhook Delete a webhook Delete a webhook @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param webhookId The Webhook uuid that needs to be deleted @return ApiDeleteWebhookRequest */ DeleteWebhook(ctx context.Context, webhookId string) ApiDeleteWebhookRequest // DeleteWebhookExecute executes the request DeleteWebhookExecute(r ApiDeleteWebhookRequest) (*http.Response, error) /* ListWebhooks List webhooks List webhooks, optionally filtered by event type. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListWebhooksRequest */ ListWebhooks(ctx context.Context) ApiListWebhooksRequest // ListWebhooksExecute executes the request // @return WebhookList ListWebhooksExecute(r ApiListWebhooksRequest) (*WebhookList, *http.Response, error) /* UpdateWebhook Update a webhook Update a webhook @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param webhookId The Webhook id that needs to be updated @return ApiUpdateWebhookRequest */ UpdateWebhook(ctx context.Context, webhookId string) ApiUpdateWebhookRequest // UpdateWebhookExecute executes the request // @return Webhook UpdateWebhookExecute(r ApiUpdateWebhookRequest) (*Webhook, *http.Response, error) }
type WebhooksAPIService ¶
type WebhooksAPIService service
WebhooksAPIService WebhooksAPI service
func (*WebhooksAPIService) CreateWebhook ¶
func (a *WebhooksAPIService) CreateWebhook(ctx context.Context) ApiCreateWebhookRequest
CreateWebhook Create a new webhook
Create a new webhook
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateWebhookRequest
func (*WebhooksAPIService) CreateWebhookExecute ¶
func (a *WebhooksAPIService) CreateWebhookExecute(r ApiCreateWebhookRequest) (*Webhook, *http.Response, error)
Execute executes the request
@return Webhook
func (*WebhooksAPIService) DeleteWebhook ¶
func (a *WebhooksAPIService) DeleteWebhook(ctx context.Context, webhookId string) ApiDeleteWebhookRequest
DeleteWebhook Delete a webhook
Delete a webhook
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param webhookId The Webhook uuid that needs to be deleted @return ApiDeleteWebhookRequest
func (*WebhooksAPIService) DeleteWebhookExecute ¶
func (a *WebhooksAPIService) DeleteWebhookExecute(r ApiDeleteWebhookRequest) (*http.Response, error)
Execute executes the request
func (*WebhooksAPIService) ListWebhooks ¶
func (a *WebhooksAPIService) ListWebhooks(ctx context.Context) ApiListWebhooksRequest
ListWebhooks List webhooks
List webhooks, optionally filtered by event type.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListWebhooksRequest
func (*WebhooksAPIService) ListWebhooksExecute ¶
func (a *WebhooksAPIService) ListWebhooksExecute(r ApiListWebhooksRequest) (*WebhookList, *http.Response, error)
Execute executes the request
@return WebhookList
func (*WebhooksAPIService) UpdateWebhook ¶
func (a *WebhooksAPIService) UpdateWebhook(ctx context.Context, webhookId string) ApiUpdateWebhookRequest
UpdateWebhook Update a webhook
Update a webhook
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param webhookId The Webhook id that needs to be updated @return ApiUpdateWebhookRequest
func (*WebhooksAPIService) UpdateWebhookExecute ¶
func (a *WebhooksAPIService) UpdateWebhookExecute(r ApiUpdateWebhookRequest) (*Webhook, *http.Response, error)
Execute executes the request
@return Webhook
Source Files ¶
- api_addresses.go
- api_assets.go
- api_contract_events.go
- api_external_addresses.go
- api_networks.go
- api_server_signers.go
- api_stake.go
- api_trades.go
- api_transfers.go
- api_users.go
- api_validators.go
- api_wallet_stake.go
- api_wallets.go
- api_webhooks.go
- client.go
- configuration.go
- model_address.go
- model_address_balance_list.go
- model_address_historical_balance_list.go
- model_address_list.go
- model_asset.go
- model_balance.go
- model_broadcast_staking_operation_request.go
- model_broadcast_trade_request.go
- model_broadcast_transfer_request.go
- model_build_staking_operation_request.go
- model_contract_event.go
- model_contract_event_list.go
- model_create_address_request.go
- model_create_server_signer_request.go
- model_create_staking_operation_request.go
- model_create_trade_request.go
- model_create_transfer_request.go
- model_create_wallet_request.go
- model_create_wallet_request_wallet.go
- model_create_webhook_request.go
- model_error.go
- model_ethereum_validator_metadata.go
- model_faucet_transaction.go
- model_feature.go
- model_feature_set.go
- model_fetch_historical_staking_balances_200_response.go
- model_fetch_staking_rewards_200_response.go
- model_fetch_staking_rewards_request.go
- model_get_staking_context_request.go
- model_historical_balance.go
- model_network.go
- model_network_identifier.go
- model_seed_creation_event.go
- model_seed_creation_event_result.go
- model_server_signer.go
- model_server_signer_event.go
- model_server_signer_event_event.go
- model_server_signer_event_list.go
- model_server_signer_list.go
- model_signature_creation_event.go
- model_signature_creation_event_result.go
- model_signed_voluntary_exit_message_metadata.go
- model_sponsored_send.go
- model_staking_balance.go
- model_staking_context.go
- model_staking_context_context.go
- model_staking_operation.go
- model_staking_operation_metadata.go
- model_staking_reward.go
- model_staking_reward_format.go
- model_staking_reward_usd_value.go
- model_trade.go
- model_trade_list.go
- model_transaction.go
- model_transaction_type.go
- model_transfer.go
- model_transfer_list.go
- model_update_webhook_request.go
- model_user.go
- model_validator.go
- model_validator_details.go
- model_validator_list.go
- model_validator_status.go
- model_wallet.go
- model_wallet_list.go
- model_webhook.go
- model_webhook_event_filter.go
- model_webhook_event_type.go
- model_webhook_list.go
- response.go
- utils.go