client

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

README

Go API client for client

This is the OpenAPI 3.0 specification for the Coinbase Platform APIs, used in conjunction with the Coinbase Platform SDKs.

Overview

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

  • API version: 0.0.1-alpha
  • Package version: 1.0.0
  • Generator version: 7.7.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

import client "github.com/coinbase/coinbase-sdk-go/client"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to https://api.cdp.coinbase.com/platform

Class Method HTTP request Description
AddressesAPI CreateAddress Post /v1/wallets/{wallet_id}/addresses Create a new address
AddressesAPI GetAddress Get /v1/wallets/{wallet_id}/addresses/{address_id} Get address by onchain address
AddressesAPI GetAddressBalance Get /v1/wallets/{wallet_id}/addresses/{address_id}/balances/{asset_id} Get address balance for asset
AddressesAPI ListAddressBalances Get /v1/wallets/{wallet_id}/addresses/{address_id}/balances Get all balances for address
AddressesAPI ListAddresses Get /v1/wallets/{wallet_id}/addresses List addresses in a wallet.
AddressesAPI RequestFaucetFunds Post /v1/wallets/{wallet_id}/addresses/{address_id}/faucet Request faucet funds for onchain address.
AssetsAPI GetAsset Get /v1/networks/{network_id}/assets/{asset_id} Get the asset for the specified asset ID.
ContractEventsAPI ListContractEvents Get /v1/networks/{network_id}/smart_contracts/{contract_address}/events Get contract events
ExternalAddressesAPI GetExternalAddressBalance Get /v1/networks/{network_id}/addresses/{address_id}/balances/{asset_id} Get the balance of an asset in an external address
ExternalAddressesAPI ListAddressHistoricalBalance Get /v1/networks/{network_id}/addresses/{address_id}/balance_history/{asset_id} Get address balance history for asset
ExternalAddressesAPI ListExternalAddressBalances Get /v1/networks/{network_id}/addresses/{address_id}/balances Get the balances of an external address
ExternalAddressesAPI RequestExternalFaucetFunds Post /v1/networks/{network_id}/addresses/{address_id}/faucet Request faucet funds for external address.
NetworksAPI GetNetwork Get /v1/networks/{network_id} Get network by ID
ServerSignersAPI CreateServerSigner Post /v1/server_signers Create a new Server-Signer
ServerSignersAPI GetServerSigner Get /v1/server_signers/{server_signer_id} Get a server signer by ID
ServerSignersAPI ListServerSignerEvents Get /v1/server_signers/{server_signer_id}/events List events for a server signer
ServerSignersAPI ListServerSigners Get /v1/server_signers List server signers for the current project
ServerSignersAPI SubmitServerSignerSeedEventResult Post /v1/server_signers/{server_signer_id}/seed_event_result Submit the result of a server signer event
ServerSignersAPI SubmitServerSignerSignatureEventResult Post /v1/server_signers/{server_signer_id}/signature_event_result Submit the result of a server signer event
StakeAPI BuildStakingOperation Post /v1/stake/build Build a new staking operation
StakeAPI FetchHistoricalStakingBalances Get /v1/networks/{network_id}/addresses/{address_id}/stake/balances Fetch historical staking balances
StakeAPI FetchStakingRewards Post /v1/stake/rewards/search Fetch staking rewards
StakeAPI GetExternalStakingOperation Get /v1/networks/{network_id}/addresses/{address_id}/staking_operations/{staking_operation_id} Get the latest state of a staking operation
StakeAPI GetStakingContext Post /v1/stake/context Get staking context
TradesAPI BroadcastTrade Post /v1/wallets/{wallet_id}/addresses/{address_id}/trades/{trade_id}/broadcast Broadcast a trade
TradesAPI CreateTrade Post /v1/wallets/{wallet_id}/addresses/{address_id}/trades Create a new trade for an address
TradesAPI GetTrade Get /v1/wallets/{wallet_id}/addresses/{address_id}/trades/{trade_id} Get a trade by ID
TradesAPI ListTrades Get /v1/wallets/{wallet_id}/addresses/{address_id}/trades List trades for an address.
TransfersAPI BroadcastTransfer Post /v1/wallets/{wallet_id}/addresses/{address_id}/transfers/{transfer_id}/broadcast Broadcast a transfer
TransfersAPI CreateTransfer Post /v1/wallets/{wallet_id}/addresses/{address_id}/transfers Create a new transfer for an address
TransfersAPI GetTransfer Get /v1/wallets/{wallet_id}/addresses/{address_id}/transfers/{transfer_id} Get a transfer by ID
TransfersAPI ListTransfers Get /v1/wallets/{wallet_id}/addresses/{address_id}/transfers List transfers for an address.
UsersAPI GetCurrentUser Get /v1/users/me Get current user
ValidatorsAPI GetValidator Get /v1/networks/{network_id}/assets/{asset_id}/validators/{validator_id} Get a validator belonging to the CDP project
ValidatorsAPI ListValidators Get /v1/networks/{network_id}/assets/{asset_id}/validators List validators belonging to the CDP project
WalletStakeAPI BroadcastStakingOperation Post /v1/wallets/{wallet_id}/addresses/{address_id}/staking_operations/{staking_operation_id}/broadcast Broadcast a staking operation
WalletStakeAPI CreateStakingOperation Post /v1/wallets/{wallet_id}/addresses/{address_id}/staking_operations Create a new staking operation for an address
WalletStakeAPI GetStakingOperation Get /v1/wallets/{wallet_id}/addresses/{address_id}/staking_operations/{staking_operation_id} Get the latest state of a staking operation
WalletsAPI CreateWallet Post /v1/wallets Create a new wallet
WalletsAPI GetWallet Get /v1/wallets/{wallet_id} Get wallet by ID
WalletsAPI GetWalletBalance Get /v1/wallets/{wallet_id}/balances/{asset_id} Get the balance of an asset in the wallet
WalletsAPI ListWalletBalances Get /v1/wallets/{wallet_id}/balances List wallet balances
WalletsAPI ListWallets Get /v1/wallets List wallets
WebhooksAPI CreateWebhook Post /v1/webhooks Create a new webhook
WebhooksAPI DeleteWebhook Delete /v1/webhooks/{webhook_id} Delete a webhook
WebhooksAPI ListWebhooks Get /v1/webhooks List webhooks
WebhooksAPI UpdateWebhook Put /v1/webhooks/{webhook_id} Update a webhook

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
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")
)
View Source
var AllowedFeatureEnumValues = []Feature{
	"transfer",
	"trade",
	"faucet",
	"server_signer",
}

All allowed values of Feature enum

View Source
var AllowedNetworkIdentifierEnumValues = []NetworkIdentifier{
	"base-sepolia",
	"base-mainnet",
	"ethereum-holesky",
	"ethereum-mainnet",
	"polygon-mainnet",
}

All allowed values of NetworkIdentifier enum

View Source
var AllowedStakingRewardFormatEnumValues = []StakingRewardFormat{
	"usd",
	"native",
}

All allowed values of StakingRewardFormat enum

View Source
var AllowedTransactionTypeEnumValues = []TransactionType{
	"transfer",
}

All allowed values of TransactionType enum

View Source
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

View Source
var AllowedWebhookEventTypeEnumValues = []WebhookEventType{
	"unspecified",
	"erc20_transfer",
	"erc721_transfer",
}

All allowed values of WebhookEventType enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	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

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type 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

func (o *Address) GetAddressId() string

GetAddressId returns the AddressId field value

func (*Address) GetAddressIdOk

func (o *Address) GetAddressIdOk() (*string, bool)

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

func (*Address) GetIndex

func (o *Address) GetIndex() int32

GetIndex returns the Index field value

func (*Address) GetIndexOk

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

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

func (*Address) GetNetworkId

func (o *Address) GetNetworkId() string

GetNetworkId returns the NetworkId field value

func (*Address) GetNetworkIdOk

func (o *Address) GetNetworkIdOk() (*string, bool)

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

func (*Address) GetPublicKey

func (o *Address) GetPublicKey() string

GetPublicKey returns the PublicKey field value

func (*Address) GetPublicKeyOk

func (o *Address) GetPublicKeyOk() (*string, bool)

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

func (*Address) GetWalletId

func (o *Address) GetWalletId() string

GetWalletId returns the WalletId field value

func (*Address) GetWalletIdOk

func (o *Address) GetWalletIdOk() (*string, bool)

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

func (Address) MarshalJSON

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

func (*Address) SetAddressId

func (o *Address) SetAddressId(v string)

SetAddressId sets field value

func (*Address) SetIndex

func (o *Address) SetIndex(v int32)

SetIndex sets field value

func (*Address) SetNetworkId

func (o *Address) SetNetworkId(v string)

SetNetworkId sets field value

func (*Address) SetPublicKey

func (o *Address) SetPublicKey(v string)

SetPublicKey sets field value

func (*Address) SetWalletId

func (o *Address) SetWalletId(v string)

SetWalletId sets field value

func (Address) ToMap

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

func (*Address) UnmarshalJSON

func (o *Address) UnmarshalJSON(data []byte) (err error)

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

GetData returns the Data field value

func (*AddressHistoricalBalanceList) GetDataOk

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

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

func (o *AddressList) SetData(v []Address)

SetData sets field value

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

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

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

type ApiBroadcastTradeRequest

type ApiBroadcastTradeRequest struct {
	ApiService TradesAPI
	// contains filtered or unexported fields
}

func (ApiBroadcastTradeRequest) BroadcastTradeRequest

func (r ApiBroadcastTradeRequest) BroadcastTradeRequest(broadcastTradeRequest BroadcastTradeRequest) ApiBroadcastTradeRequest

func (ApiBroadcastTradeRequest) Execute

func (r ApiBroadcastTradeRequest) Execute() (*Trade, *http.Response, error)

type ApiBroadcastTransferRequest

type ApiBroadcastTransferRequest struct {
	ApiService TransfersAPI
	// contains filtered or unexported fields
}

func (ApiBroadcastTransferRequest) BroadcastTransferRequest

func (r ApiBroadcastTransferRequest) BroadcastTransferRequest(broadcastTransferRequest BroadcastTransferRequest) ApiBroadcastTransferRequest

func (ApiBroadcastTransferRequest) Execute

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

type ApiCreateAddressRequest

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

func (ApiCreateAddressRequest) CreateAddressRequest

func (r ApiCreateAddressRequest) CreateAddressRequest(createAddressRequest CreateAddressRequest) ApiCreateAddressRequest

func (ApiCreateAddressRequest) Execute

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

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

type ApiCreateTradeRequest

type ApiCreateTradeRequest struct {
	ApiService TradesAPI
	// contains filtered or unexported fields
}

func (ApiCreateTradeRequest) CreateTradeRequest

func (r ApiCreateTradeRequest) CreateTradeRequest(createTradeRequest CreateTradeRequest) ApiCreateTradeRequest

func (ApiCreateTradeRequest) Execute

func (r ApiCreateTradeRequest) Execute() (*Trade, *http.Response, error)

type ApiCreateTransferRequest

type ApiCreateTransferRequest struct {
	ApiService TransfersAPI
	// contains filtered or unexported fields
}

func (ApiCreateTransferRequest) CreateTransferRequest

func (r ApiCreateTransferRequest) CreateTransferRequest(createTransferRequest CreateTransferRequest) ApiCreateTransferRequest

func (ApiCreateTransferRequest) Execute

type ApiCreateWalletRequest

type ApiCreateWalletRequest struct {
	ApiService WalletsAPI
	// contains filtered or unexported fields
}

func (ApiCreateWalletRequest) CreateWalletRequest

func (r ApiCreateWalletRequest) CreateWalletRequest(createWalletRequest CreateWalletRequest) ApiCreateWalletRequest

func (ApiCreateWalletRequest) Execute

func (r ApiCreateWalletRequest) Execute() (*Wallet, *http.Response, error)

type ApiCreateWebhookRequest

type ApiCreateWebhookRequest struct {
	ApiService WebhooksAPI
	// contains filtered or unexported fields
}

func (ApiCreateWebhookRequest) CreateWebhookRequest

func (r ApiCreateWebhookRequest) CreateWebhookRequest(createWebhookRequest CreateWebhookRequest) ApiCreateWebhookRequest

func (ApiCreateWebhookRequest) Execute

type ApiDeleteWebhookRequest

type ApiDeleteWebhookRequest struct {
	ApiService WebhooksAPI
	// contains filtered or unexported fields
}

func (ApiDeleteWebhookRequest) Execute

func (r ApiDeleteWebhookRequest) Execute() (*http.Response, error)

type ApiFetchHistoricalStakingBalancesRequest

type ApiFetchHistoricalStakingBalancesRequest struct {
	ApiService StakeAPI
	// contains filtered or unexported fields
}

func (ApiFetchHistoricalStakingBalancesRequest) AssetId

The ID of the asset for which the historical staking balances are being fetched.

func (ApiFetchHistoricalStakingBalancesRequest) EndTime

The end time of this historical staking balance period.

func (ApiFetchHistoricalStakingBalancesRequest) Execute

func (ApiFetchHistoricalStakingBalancesRequest) Limit

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

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

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 (ApiFetchStakingRewardsRequest) FetchStakingRewardsRequest

func (r ApiFetchStakingRewardsRequest) FetchStakingRewardsRequest(fetchStakingRewardsRequest FetchStakingRewardsRequest) ApiFetchStakingRewardsRequest

func (ApiFetchStakingRewardsRequest) Limit

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

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
}

func (ApiGetAddressBalanceRequest) Execute

type ApiGetAddressRequest

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

func (ApiGetAddressRequest) Execute

func (r ApiGetAddressRequest) Execute() (*Address, *http.Response, error)

type ApiGetAssetRequest

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

func (ApiGetAssetRequest) Execute

func (r ApiGetAssetRequest) Execute() (*Asset, *http.Response, error)

type ApiGetCurrentUserRequest

type ApiGetCurrentUserRequest struct {
	ApiService UsersAPI
	// contains filtered or unexported fields
}

func (ApiGetCurrentUserRequest) Execute

func (r ApiGetCurrentUserRequest) Execute() (*User, *http.Response, error)

type ApiGetExternalAddressBalanceRequest

type ApiGetExternalAddressBalanceRequest struct {
	ApiService ExternalAddressesAPI
	// contains filtered or unexported fields
}

func (ApiGetExternalAddressBalanceRequest) Execute

type ApiGetExternalStakingOperationRequest

type ApiGetExternalStakingOperationRequest struct {
	ApiService StakeAPI
	// contains filtered or unexported fields
}

func (ApiGetExternalStakingOperationRequest) Execute

type ApiGetNetworkRequest

type ApiGetNetworkRequest struct {
	ApiService NetworksAPI
	// contains filtered or unexported fields
}

func (ApiGetNetworkRequest) Execute

func (r ApiGetNetworkRequest) Execute() (*Network, *http.Response, error)

type ApiGetServerSignerRequest

type ApiGetServerSignerRequest struct {
	ApiService ServerSignersAPI
	// contains filtered or unexported fields
}

func (ApiGetServerSignerRequest) Execute

type ApiGetStakingContextRequest

type ApiGetStakingContextRequest struct {
	ApiService StakeAPI
	// contains filtered or unexported fields
}

func (ApiGetStakingContextRequest) Execute

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

type ApiGetTradeRequest

type ApiGetTradeRequest struct {
	ApiService TradesAPI
	// contains filtered or unexported fields
}

func (ApiGetTradeRequest) Execute

func (r ApiGetTradeRequest) Execute() (*Trade, *http.Response, error)

type ApiGetTransferRequest

type ApiGetTransferRequest struct {
	ApiService TransfersAPI
	// contains filtered or unexported fields
}

func (ApiGetTransferRequest) Execute

func (r ApiGetTransferRequest) Execute() (*Transfer, *http.Response, error)

type ApiGetValidatorRequest

type ApiGetValidatorRequest struct {
	ApiService ValidatorsAPI
	// contains filtered or unexported fields
}

func (ApiGetValidatorRequest) Execute

type ApiGetWalletBalanceRequest

type ApiGetWalletBalanceRequest struct {
	ApiService WalletsAPI
	// contains filtered or unexported fields
}

func (ApiGetWalletBalanceRequest) Execute

type ApiGetWalletRequest

type ApiGetWalletRequest struct {
	ApiService WalletsAPI
	// contains filtered or unexported fields
}

func (ApiGetWalletRequest) Execute

func (r ApiGetWalletRequest) Execute() (*Wallet, *http.Response, error)

type ApiListAddressBalancesRequest

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

func (ApiListAddressBalancesRequest) Execute

func (ApiListAddressBalancesRequest) Page

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 (ApiListAddressHistoricalBalanceRequest) Limit

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

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 (ApiListAddressesRequest) Limit

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

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

Case-sensitive name of the specific contract within the project

func (ApiListContractEventsRequest) EventName

Case-sensitive name of the event to filter for in the contract's logs

func (ApiListContractEventsRequest) Execute

func (ApiListContractEventsRequest) FromBlockHeight

func (r ApiListContractEventsRequest) FromBlockHeight(fromBlockHeight int32) ApiListContractEventsRequest

Lower bound of the block range to query (inclusive)

func (ApiListContractEventsRequest) NextPage

Pagination token for retrieving the next set of results

func (ApiListContractEventsRequest) ProtocolName

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 (ApiListExternalAddressBalancesRequest) Page

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 (ApiListServerSignerEventsRequest) Limit

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

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 (ApiListServerSignersRequest) Limit

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

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

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

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 (ApiListTransfersRequest) Limit

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

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 (ApiListValidatorsRequest) Limit

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

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

A filter to list validators based on a status.

type ApiListWalletBalancesRequest

type ApiListWalletBalancesRequest struct {
	ApiService WalletsAPI
	// contains filtered or unexported fields
}

func (ApiListWalletBalancesRequest) Execute

type ApiListWalletsRequest

type ApiListWalletsRequest struct {
	ApiService WalletsAPI
	// contains filtered or unexported fields
}

func (ApiListWalletsRequest) Execute

func (ApiListWalletsRequest) Limit

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

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 (ApiListWebhooksRequest) Limit

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

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

type ApiRequestFaucetFundsRequest

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

func (ApiRequestFaucetFundsRequest) Execute

type ApiSubmitServerSignerSeedEventResultRequest

type ApiSubmitServerSignerSeedEventResultRequest struct {
	ApiService ServerSignersAPI
	// contains filtered or unexported fields
}

func (ApiSubmitServerSignerSeedEventResultRequest) Execute

func (ApiSubmitServerSignerSeedEventResultRequest) SeedCreationEventResult

type ApiSubmitServerSignerSignatureEventResultRequest

type ApiSubmitServerSignerSignatureEventResultRequest struct {
	ApiService ServerSignersAPI
	// contains filtered or unexported fields
}

func (ApiSubmitServerSignerSignatureEventResultRequest) Execute

func (ApiSubmitServerSignerSignatureEventResultRequest) SignatureCreationEventResult

type ApiUpdateWebhookRequest

type ApiUpdateWebhookRequest struct {
	ApiService WebhooksAPI
	// contains filtered or unexported fields
}

func (ApiUpdateWebhookRequest) Execute

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

func NewAsset(networkId string, assetId string) *Asset

NewAsset instantiates a new Asset object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAssetWithDefaults

func NewAssetWithDefaults() *Asset

NewAssetWithDefaults instantiates a new Asset object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Asset) GetAssetId

func (o *Asset) GetAssetId() string

GetAssetId returns the AssetId field value

func (*Asset) GetAssetIdOk

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

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

func (*Asset) GetContractAddress

func (o *Asset) GetContractAddress() string

GetContractAddress returns the ContractAddress field value if set, zero value otherwise.

func (*Asset) GetContractAddressOk

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

func (o *Asset) GetDecimals() int32

GetDecimals returns the Decimals field value if set, zero value otherwise.

func (*Asset) GetDecimalsOk

func (o *Asset) GetDecimalsOk() (*int32, bool)

GetDecimalsOk returns a tuple with the Decimals field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Asset) GetNetworkId

func (o *Asset) GetNetworkId() string

GetNetworkId returns the NetworkId field value

func (*Asset) GetNetworkIdOk

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

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

func (*Asset) HasContractAddress

func (o *Asset) HasContractAddress() bool

HasContractAddress returns a boolean if a field has been set.

func (*Asset) HasDecimals

func (o *Asset) HasDecimals() bool

HasDecimals returns a boolean if a field has been set.

func (Asset) MarshalJSON

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

func (*Asset) SetAssetId

func (o *Asset) SetAssetId(v string)

SetAssetId sets field value

func (*Asset) SetContractAddress

func (o *Asset) SetContractAddress(v string)

SetContractAddress gets a reference to the given string and assigns it to the ContractAddress field.

func (*Asset) SetDecimals

func (o *Asset) SetDecimals(v int32)

SetDecimals gets a reference to the given int32 and assigns it to the Decimals field.

func (*Asset) SetNetworkId

func (o *Asset) SetNetworkId(v string)

SetNetworkId sets field value

func (Asset) ToMap

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

func (*Asset) UnmarshalJSON

func (o *Asset) UnmarshalJSON(data []byte) (err error)

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

func NewBalance(amount string, asset Asset) *Balance

NewBalance instantiates a new Balance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBalanceWithDefaults

func NewBalanceWithDefaults() *Balance

NewBalanceWithDefaults instantiates a new Balance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Balance) GetAmount

func (o *Balance) GetAmount() string

GetAmount returns the Amount field value

func (*Balance) GetAmountOk

func (o *Balance) GetAmountOk() (*string, bool)

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

func (*Balance) GetAsset

func (o *Balance) GetAsset() Asset

GetAsset returns the Asset field value

func (*Balance) GetAssetOk

func (o *Balance) GetAssetOk() (*Asset, bool)

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

func (Balance) MarshalJSON

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

func (*Balance) SetAmount

func (o *Balance) SetAmount(v string)

SetAmount sets field value

func (*Balance) SetAsset

func (o *Balance) SetAsset(v Asset)

SetAsset sets field value

func (Balance) ToMap

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

func (*Balance) UnmarshalJSON

func (o *Balance) UnmarshalJSON(data []byte) (err error)

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

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

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

func (o *ContractEvent) SetData(v string)

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

func (o *ContractEvent) SetSig(v string)

SetSig 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

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

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

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

func NewError(code string, message string) *Error

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

func (o *Error) GetCode() string

GetCode returns the Code field value

func (*Error) GetCodeOk

func (o *Error) GetCodeOk() (*string, bool)

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

func (*Error) GetMessage

func (o *Error) GetMessage() string

GetMessage returns the Message field value

func (*Error) GetMessageOk

func (o *Error) GetMessageOk() (*string, bool)

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

func (Error) MarshalJSON

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

func (*Error) SetCode

func (o *Error) SetCode(v string)

SetCode sets field value

func (*Error) SetMessage

func (o *Error) SetMessage(v string)

SetMessage sets field value

func (Error) ToMap

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

func (*Error) UnmarshalJSON

func (o *Error) UnmarshalJSON(data []byte) (err error)

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

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

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

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

func NewFeatureFromValue(v string) (*Feature, error)

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

func (v Feature) IsValid() bool

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

func (Feature) Ptr

func (v Feature) Ptr() *Feature

Ptr returns reference to Feature value

func (*Feature) UnmarshalJSON

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

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

func (o *FeatureSet) SetFaucet(v bool)

SetFaucet sets field value

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

func (o *FeatureSet) SetStake(v bool)

SetStake sets field value

func (*FeatureSet) SetTrade

func (o *FeatureSet) SetTrade(v bool)

SetTrade 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

GetData returns the Data field value

func (*FetchHistoricalStakingBalances200Response) GetDataOk

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

func (*FetchHistoricalStakingBalances200Response) GetHasMore

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

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 (*FetchHistoricalStakingBalances200Response) SetData

SetData sets field value

func (*FetchHistoricalStakingBalances200Response) SetHasMore

SetHasMore sets field value

func (*FetchHistoricalStakingBalances200Response) SetNextPage

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

GetData returns the Data field value

func (*FetchStakingRewards200Response) GetDataOk

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

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

GetFormat returns the Format field value

func (*FetchStakingRewardsRequest) GetFormatOk

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

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

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

func (o *Network) GetAddressPathPrefix() string

GetAddressPathPrefix returns the AddressPathPrefix field value if set, zero value otherwise.

func (*Network) GetAddressPathPrefixOk

func (o *Network) GetAddressPathPrefixOk() (*string, bool)

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

func (o *Network) GetChainId() int32

GetChainId returns the ChainId field value

func (*Network) GetChainIdOk

func (o *Network) GetChainIdOk() (*int32, bool)

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

func (*Network) GetDisplayName

func (o *Network) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Network) GetDisplayNameOk

func (o *Network) GetDisplayNameOk() (*string, bool)

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

func (o *Network) GetIsTestnet() bool

GetIsTestnet returns the IsTestnet field value

func (*Network) GetIsTestnetOk

func (o *Network) GetIsTestnetOk() (*bool, bool)

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

func (*Network) GetNativeAsset

func (o *Network) GetNativeAsset() Asset

GetNativeAsset returns the NativeAsset field value

func (*Network) GetNativeAssetOk

func (o *Network) GetNativeAssetOk() (*Asset, bool)

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

func (*Network) GetProtocolFamily

func (o *Network) GetProtocolFamily() string

GetProtocolFamily returns the ProtocolFamily field value

func (*Network) GetProtocolFamilyOk

func (o *Network) GetProtocolFamilyOk() (*string, bool)

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

func (*Network) HasAddressPathPrefix

func (o *Network) HasAddressPathPrefix() bool

HasAddressPathPrefix returns a boolean if a field has been set.

func (Network) MarshalJSON

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

func (*Network) SetAddressPathPrefix

func (o *Network) SetAddressPathPrefix(v string)

SetAddressPathPrefix gets a reference to the given string and assigns it to the AddressPathPrefix field.

func (*Network) SetChainId

func (o *Network) SetChainId(v int32)

SetChainId sets field value

func (*Network) SetDisplayName

func (o *Network) SetDisplayName(v string)

SetDisplayName sets field value

func (*Network) SetFeatureSet

func (o *Network) SetFeatureSet(v FeatureSet)

SetFeatureSet sets field value

func (*Network) SetId

func (o *Network) SetId(v NetworkIdentifier)

SetId sets field value

func (*Network) SetIsTestnet

func (o *Network) SetIsTestnet(v bool)

SetIsTestnet sets field value

func (*Network) SetNativeAsset

func (o *Network) SetNativeAsset(v Asset)

SetNativeAsset sets field value

func (*Network) SetProtocolFamily

func (o *Network) SetProtocolFamily(v string)

SetProtocolFamily sets field value

func (Network) ToMap

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

func (*Network) UnmarshalJSON

func (o *Network) UnmarshalJSON(data []byte) (err error)

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

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

func (v NullableAddressBalanceList) IsSet() bool

func (NullableAddressBalanceList) MarshalJSON

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

func (*NullableAddressBalanceList) Set

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

func (NullableAddressHistoricalBalanceList) IsSet

func (NullableAddressHistoricalBalanceList) MarshalJSON

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

func (*NullableAddressHistoricalBalanceList) Set

func (*NullableAddressHistoricalBalanceList) UnmarshalJSON

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

func (*NullableAddressHistoricalBalanceList) Unset

type NullableAddressList

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

func NewNullableAddressList

func NewNullableAddressList(val *AddressList) *NullableAddressList

func (NullableAddressList) Get

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

func (NullableBroadcastStakingOperationRequest) IsSet

func (NullableBroadcastStakingOperationRequest) MarshalJSON

func (*NullableBroadcastStakingOperationRequest) Set

func (*NullableBroadcastStakingOperationRequest) UnmarshalJSON

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

func (*NullableBroadcastStakingOperationRequest) Unset

type NullableBroadcastTradeRequest

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

func (NullableBroadcastTradeRequest) Get

func (NullableBroadcastTradeRequest) IsSet

func (NullableBroadcastTradeRequest) MarshalJSON

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

func (*NullableBroadcastTradeRequest) Set

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

func (NullableBroadcastTransferRequest) IsSet

func (NullableBroadcastTransferRequest) MarshalJSON

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

func (*NullableBroadcastTransferRequest) Set

func (*NullableBroadcastTransferRequest) UnmarshalJSON

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

func (*NullableBroadcastTransferRequest) Unset

type NullableBuildStakingOperationRequest

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

func (NullableBuildStakingOperationRequest) Get

func (NullableBuildStakingOperationRequest) IsSet

func (NullableBuildStakingOperationRequest) MarshalJSON

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

func (*NullableBuildStakingOperationRequest) Set

func (*NullableBuildStakingOperationRequest) UnmarshalJSON

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

func (*NullableBuildStakingOperationRequest) Unset

type NullableContractEvent

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

func NewNullableContractEvent

func NewNullableContractEvent(val *ContractEvent) *NullableContractEvent

func (NullableContractEvent) Get

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

func (v NullableContractEventList) IsSet() bool

func (NullableContractEventList) MarshalJSON

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

func (*NullableContractEventList) Set

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

func (NullableCreateAddressRequest) MarshalJSON

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

func (*NullableCreateAddressRequest) Set

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

func (NullableCreateServerSignerRequest) IsSet

func (NullableCreateServerSignerRequest) MarshalJSON

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

func (*NullableCreateServerSignerRequest) Set

func (*NullableCreateServerSignerRequest) UnmarshalJSON

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

func (*NullableCreateServerSignerRequest) Unset

type NullableCreateStakingOperationRequest

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

func (NullableCreateStakingOperationRequest) Get

func (NullableCreateStakingOperationRequest) IsSet

func (NullableCreateStakingOperationRequest) MarshalJSON

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

func (*NullableCreateStakingOperationRequest) Set

func (*NullableCreateStakingOperationRequest) UnmarshalJSON

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

func (*NullableCreateStakingOperationRequest) Unset

type NullableCreateTradeRequest

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

func NewNullableCreateTradeRequest

func NewNullableCreateTradeRequest(val *CreateTradeRequest) *NullableCreateTradeRequest

func (NullableCreateTradeRequest) Get

func (NullableCreateTradeRequest) IsSet

func (v NullableCreateTradeRequest) IsSet() bool

func (NullableCreateTradeRequest) MarshalJSON

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

func (*NullableCreateTradeRequest) Set

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

func (NullableCreateTransferRequest) IsSet

func (NullableCreateTransferRequest) MarshalJSON

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

func (*NullableCreateTransferRequest) Set

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

func (NullableCreateWalletRequest) MarshalJSON

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

func (*NullableCreateWalletRequest) Set

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

func (NullableCreateWalletRequestWallet) IsSet

func (NullableCreateWalletRequestWallet) MarshalJSON

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

func (*NullableCreateWalletRequestWallet) Set

func (*NullableCreateWalletRequestWallet) UnmarshalJSON

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

func (*NullableCreateWalletRequestWallet) Unset

type NullableCreateWebhookRequest

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

func NewNullableCreateWebhookRequest

func NewNullableCreateWebhookRequest(val *CreateWebhookRequest) *NullableCreateWebhookRequest

func (NullableCreateWebhookRequest) Get

func (NullableCreateWebhookRequest) IsSet

func (NullableCreateWebhookRequest) MarshalJSON

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

func (*NullableCreateWebhookRequest) Set

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

func (NullableEthereumValidatorMetadata) IsSet

func (NullableEthereumValidatorMetadata) MarshalJSON

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

func (*NullableEthereumValidatorMetadata) Set

func (*NullableEthereumValidatorMetadata) UnmarshalJSON

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

func (*NullableEthereumValidatorMetadata) Unset

type NullableFaucetTransaction

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

func NewNullableFaucetTransaction

func NewNullableFaucetTransaction(val *FaucetTransaction) *NullableFaucetTransaction

func (NullableFaucetTransaction) Get

func (NullableFaucetTransaction) IsSet

func (v NullableFaucetTransaction) IsSet() bool

func (NullableFaucetTransaction) MarshalJSON

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

func (*NullableFaucetTransaction) Set

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

func (NullableFetchHistoricalStakingBalances200Response) IsSet

func (NullableFetchHistoricalStakingBalances200Response) MarshalJSON

func (*NullableFetchHistoricalStakingBalances200Response) Set

func (*NullableFetchHistoricalStakingBalances200Response) UnmarshalJSON

func (*NullableFetchHistoricalStakingBalances200Response) Unset

type NullableFetchStakingRewards200Response

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

func (NullableFetchStakingRewards200Response) Get

func (NullableFetchStakingRewards200Response) IsSet

func (NullableFetchStakingRewards200Response) MarshalJSON

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

func (*NullableFetchStakingRewards200Response) Set

func (*NullableFetchStakingRewards200Response) UnmarshalJSON

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

func (*NullableFetchStakingRewards200Response) Unset

type NullableFetchStakingRewardsRequest

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

func (NullableFetchStakingRewardsRequest) Get

func (NullableFetchStakingRewardsRequest) IsSet

func (NullableFetchStakingRewardsRequest) MarshalJSON

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

func (*NullableFetchStakingRewardsRequest) Set

func (*NullableFetchStakingRewardsRequest) UnmarshalJSON

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

func (*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 (NullableGetStakingContextRequest) Get

func (NullableGetStakingContextRequest) IsSet

func (NullableGetStakingContextRequest) MarshalJSON

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

func (*NullableGetStakingContextRequest) Set

func (*NullableGetStakingContextRequest) UnmarshalJSON

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

func (*NullableGetStakingContextRequest) Unset

type NullableHistoricalBalance

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

func NewNullableHistoricalBalance

func NewNullableHistoricalBalance(val *HistoricalBalance) *NullableHistoricalBalance

func (NullableHistoricalBalance) Get

func (NullableHistoricalBalance) IsSet

func (v NullableHistoricalBalance) IsSet() bool

func (NullableHistoricalBalance) MarshalJSON

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

func (*NullableHistoricalBalance) Set

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

func (v NullableNetworkIdentifier) IsSet() bool

func (NullableNetworkIdentifier) MarshalJSON

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

func (*NullableNetworkIdentifier) Set

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

func (v NullableSeedCreationEvent) IsSet() bool

func (NullableSeedCreationEvent) MarshalJSON

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

func (*NullableSeedCreationEvent) Set

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

func (NullableSeedCreationEventResult) IsSet

func (NullableSeedCreationEventResult) MarshalJSON

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

func (*NullableSeedCreationEventResult) Set

func (*NullableSeedCreationEventResult) UnmarshalJSON

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

func (*NullableSeedCreationEventResult) Unset

type NullableServerSigner

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

func NewNullableServerSigner

func NewNullableServerSigner(val *ServerSigner) *NullableServerSigner

func (NullableServerSigner) Get

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

func (v NullableServerSignerEvent) IsSet() bool

func (NullableServerSignerEvent) MarshalJSON

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

func (*NullableServerSignerEvent) Set

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

func (NullableServerSignerEventEvent) IsSet

func (NullableServerSignerEventEvent) MarshalJSON

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

func (*NullableServerSignerEventEvent) Set

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

func (NullableServerSignerEventList) IsSet

func (NullableServerSignerEventList) MarshalJSON

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

func (*NullableServerSignerEventList) Set

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

func (v NullableServerSignerList) IsSet() bool

func (NullableServerSignerList) MarshalJSON

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

func (*NullableServerSignerList) Set

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

func (NullableSignatureCreationEvent) IsSet

func (NullableSignatureCreationEvent) MarshalJSON

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

func (*NullableSignatureCreationEvent) Set

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

func (NullableSignatureCreationEventResult) IsSet

func (NullableSignatureCreationEventResult) MarshalJSON

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

func (*NullableSignatureCreationEventResult) Set

func (*NullableSignatureCreationEventResult) UnmarshalJSON

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

func (*NullableSignatureCreationEventResult) Unset

type NullableSignedVoluntaryExitMessageMetadata

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

func (NullableSignedVoluntaryExitMessageMetadata) Get

func (NullableSignedVoluntaryExitMessageMetadata) IsSet

func (NullableSignedVoluntaryExitMessageMetadata) MarshalJSON

func (*NullableSignedVoluntaryExitMessageMetadata) Set

func (*NullableSignedVoluntaryExitMessageMetadata) UnmarshalJSON

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

func (*NullableSignedVoluntaryExitMessageMetadata) Unset

type NullableSponsoredSend

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

func NewNullableSponsoredSend

func NewNullableSponsoredSend(val *SponsoredSend) *NullableSponsoredSend

func (NullableSponsoredSend) Get

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

func (v NullableStakingBalance) IsSet() bool

func (NullableStakingBalance) MarshalJSON

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

func (*NullableStakingBalance) Set

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

func (v NullableStakingContext) IsSet() bool

func (NullableStakingContext) MarshalJSON

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

func (*NullableStakingContext) Set

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

func (NullableStakingContextContext) IsSet

func (NullableStakingContextContext) MarshalJSON

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

func (*NullableStakingContextContext) Set

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

func (v NullableStakingOperation) IsSet() bool

func (NullableStakingOperation) MarshalJSON

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

func (*NullableStakingOperation) Set

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

func (NullableStakingOperationMetadata) IsSet

func (NullableStakingOperationMetadata) MarshalJSON

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

func (*NullableStakingOperationMetadata) Set

func (*NullableStakingOperationMetadata) UnmarshalJSON

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

func (*NullableStakingOperationMetadata) Unset

type NullableStakingReward

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

func NewNullableStakingReward

func NewNullableStakingReward(val *StakingReward) *NullableStakingReward

func (NullableStakingReward) Get

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

func (NullableStakingRewardFormat) MarshalJSON

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

func (*NullableStakingRewardFormat) Set

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

func (NullableStakingRewardUSDValue) IsSet

func (NullableStakingRewardUSDValue) MarshalJSON

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

func (*NullableStakingRewardUSDValue) Set

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

func (v NullableTransactionType) IsSet() bool

func (NullableTransactionType) MarshalJSON

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

func (*NullableTransactionType) Set

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

func (NullableUpdateWebhookRequest) MarshalJSON

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

func (*NullableUpdateWebhookRequest) Set

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

func (v NullableValidatorDetails) IsSet() bool

func (NullableValidatorDetails) MarshalJSON

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

func (*NullableValidatorDetails) Set

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

func (v NullableValidatorStatus) IsSet() bool

func (NullableValidatorStatus) MarshalJSON

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

func (*NullableValidatorStatus) Set

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

func (v NullableWebhookEventFilter) IsSet() bool

func (NullableWebhookEventFilter) MarshalJSON

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

func (*NullableWebhookEventFilter) Set

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

func (v NullableWebhookEventType) IsSet() bool

func (NullableWebhookEventType) MarshalJSON

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

func (*NullableWebhookEventType) Set

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

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type 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) SetIsMpc

func (o *ServerSigner) SetIsMpc(v bool)

SetIsMpc sets field value

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

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

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

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

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

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

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

Execute executes the request

@return ServerSignerEventList

func (*ServerSignersAPIService) ListServerSigners

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

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

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

Execute executes the request

@return SignatureCreationEventResult

type ServerVariable

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

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

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

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

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

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

func (o *StakingOperation) SetId(v string)

SetId 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) SetDate

func (o *StakingReward) SetDate(v string)

SetDate 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

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

func (o *Trade) GetAddressId() string

GetAddressId returns the AddressId field value

func (*Trade) GetAddressIdOk

func (o *Trade) GetAddressIdOk() (*string, bool)

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

func (o *Trade) GetFromAmount() string

GetFromAmount returns the FromAmount field value

func (*Trade) GetFromAmountOk

func (o *Trade) GetFromAmountOk() (*string, bool)

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

func (*Trade) GetFromAsset

func (o *Trade) GetFromAsset() Asset

GetFromAsset returns the FromAsset field value

func (*Trade) GetFromAssetOk

func (o *Trade) GetFromAssetOk() (*Asset, bool)

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

func (*Trade) GetNetworkId

func (o *Trade) GetNetworkId() string

GetNetworkId returns the NetworkId field value

func (*Trade) GetNetworkIdOk

func (o *Trade) GetNetworkIdOk() (*string, bool)

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

func (*Trade) GetToAmount

func (o *Trade) GetToAmount() string

GetToAmount returns the ToAmount field value

func (*Trade) GetToAmountOk

func (o *Trade) GetToAmountOk() (*string, bool)

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

func (*Trade) GetToAsset

func (o *Trade) GetToAsset() Asset

GetToAsset returns the ToAsset field value

func (*Trade) GetToAssetOk

func (o *Trade) GetToAssetOk() (*Asset, bool)

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

func (*Trade) GetTradeId

func (o *Trade) GetTradeId() string

GetTradeId returns the TradeId field value

func (*Trade) GetTradeIdOk

func (o *Trade) GetTradeIdOk() (*string, bool)

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

func (o *Trade) GetWalletId() string

GetWalletId returns the WalletId field value

func (*Trade) GetWalletIdOk

func (o *Trade) GetWalletIdOk() (*string, bool)

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

func (*Trade) HasApproveTransaction

func (o *Trade) HasApproveTransaction() bool

HasApproveTransaction returns a boolean if a field has been set.

func (Trade) MarshalJSON

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

func (*Trade) SetAddressId

func (o *Trade) SetAddressId(v string)

SetAddressId sets field value

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

func (o *Trade) SetFromAmount(v string)

SetFromAmount sets field value

func (*Trade) SetFromAsset

func (o *Trade) SetFromAsset(v Asset)

SetFromAsset sets field value

func (*Trade) SetNetworkId

func (o *Trade) SetNetworkId(v string)

SetNetworkId sets field value

func (*Trade) SetToAmount

func (o *Trade) SetToAmount(v string)

SetToAmount sets field value

func (*Trade) SetToAsset

func (o *Trade) SetToAsset(v Asset)

SetToAsset sets field value

func (*Trade) SetTradeId

func (o *Trade) SetTradeId(v string)

SetTradeId sets field value

func (*Trade) SetTransaction

func (o *Trade) SetTransaction(v Transaction)

SetTransaction sets field value

func (*Trade) SetWalletId

func (o *Trade) SetWalletId(v string)

SetWalletId sets field value

func (Trade) ToMap

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

func (*Trade) UnmarshalJSON

func (o *Trade) UnmarshalJSON(data []byte) (err error)

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

func NewTradeList(data []Trade, hasMore bool, nextPage string, totalCount int32) *TradeList

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

func (o *TradeList) GetData() []Trade

GetData returns the Data field value

func (*TradeList) GetDataOk

func (o *TradeList) GetDataOk() ([]Trade, bool)

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

func (*TradeList) GetHasMore

func (o *TradeList) GetHasMore() bool

GetHasMore returns the HasMore field value

func (*TradeList) GetHasMoreOk

func (o *TradeList) GetHasMoreOk() (*bool, bool)

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

func (*TradeList) GetNextPage

func (o *TradeList) GetNextPage() string

GetNextPage returns the NextPage field value

func (*TradeList) GetNextPageOk

func (o *TradeList) GetNextPageOk() (*string, bool)

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

func (*TradeList) GetTotalCount

func (o *TradeList) GetTotalCount() int32

GetTotalCount returns the TotalCount field value

func (*TradeList) GetTotalCountOk

func (o *TradeList) GetTotalCountOk() (*int32, bool)

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

func (TradeList) MarshalJSON

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

func (*TradeList) SetData

func (o *TradeList) SetData(v []Trade)

SetData sets field value

func (*TradeList) SetHasMore

func (o *TradeList) SetHasMore(v bool)

SetHasMore sets field value

func (*TradeList) SetNextPage

func (o *TradeList) SetNextPage(v string)

SetNextPage sets field value

func (*TradeList) SetTotalCount

func (o *TradeList) SetTotalCount(v int32)

SetTotalCount sets field value

func (TradeList) ToMap

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

func (*TradeList) UnmarshalJSON

func (o *TradeList) UnmarshalJSON(data []byte) (err error)

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

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

func (o *Transfer) GetAddressId() string

GetAddressId returns the AddressId field value

func (*Transfer) GetAddressIdOk

func (o *Transfer) GetAddressIdOk() (*string, bool)

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

func (*Transfer) GetAmount

func (o *Transfer) GetAmount() string

GetAmount returns the Amount field value

func (*Transfer) GetAmountOk

func (o *Transfer) GetAmountOk() (*string, bool)

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

func (*Transfer) GetAsset

func (o *Transfer) GetAsset() Asset

GetAsset returns the Asset field value

func (*Transfer) GetAssetId

func (o *Transfer) GetAssetId() string

GetAssetId returns the AssetId field value

func (*Transfer) GetAssetIdOk

func (o *Transfer) GetAssetIdOk() (*string, bool)

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

func (*Transfer) GetAssetOk

func (o *Transfer) GetAssetOk() (*Asset, bool)

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

func (*Transfer) GetDestination

func (o *Transfer) GetDestination() string

GetDestination returns the Destination field value

func (*Transfer) GetDestinationOk

func (o *Transfer) GetDestinationOk() (*string, bool)

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

func (*Transfer) GetGasless

func (o *Transfer) GetGasless() bool

GetGasless returns the Gasless field value

func (*Transfer) GetGaslessOk

func (o *Transfer) GetGaslessOk() (*bool, bool)

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

func (*Transfer) GetNetworkId

func (o *Transfer) GetNetworkId() string

GetNetworkId returns the NetworkId field value

func (*Transfer) GetNetworkIdOk

func (o *Transfer) GetNetworkIdOk() (*string, bool)

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

func (*Transfer) GetSignedPayload

func (o *Transfer) GetSignedPayload() string

GetSignedPayload returns the SignedPayload field value if set, zero value otherwise.

func (*Transfer) GetSignedPayloadOk

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

func (o *Transfer) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*Transfer) GetStatusOk

func (o *Transfer) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Transfer) GetTransaction

func (o *Transfer) GetTransaction() Transaction

GetTransaction returns the Transaction field value if set, zero value otherwise.

func (*Transfer) GetTransactionHash

func (o *Transfer) GetTransactionHash() string

GetTransactionHash returns the TransactionHash field value if set, zero value otherwise.

func (*Transfer) GetTransactionHashOk

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

func (o *Transfer) GetTransferId() string

GetTransferId returns the TransferId field value

func (*Transfer) GetTransferIdOk

func (o *Transfer) GetTransferIdOk() (*string, bool)

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

func (*Transfer) GetUnsignedPayload

func (o *Transfer) GetUnsignedPayload() string

GetUnsignedPayload returns the UnsignedPayload field value if set, zero value otherwise.

func (*Transfer) GetUnsignedPayloadOk

func (o *Transfer) GetUnsignedPayloadOk() (*string, bool)

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

func (o *Transfer) GetWalletId() string

GetWalletId returns the WalletId field value

func (*Transfer) GetWalletIdOk

func (o *Transfer) GetWalletIdOk() (*string, bool)

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

func (*Transfer) HasSignedPayload

func (o *Transfer) HasSignedPayload() bool

HasSignedPayload returns a boolean if a field has been set.

func (*Transfer) HasSponsoredSend

func (o *Transfer) HasSponsoredSend() bool

HasSponsoredSend returns a boolean if a field has been set.

func (*Transfer) HasStatus

func (o *Transfer) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Transfer) HasTransaction

func (o *Transfer) HasTransaction() bool

HasTransaction returns a boolean if a field has been set.

func (*Transfer) HasTransactionHash

func (o *Transfer) HasTransactionHash() bool

HasTransactionHash returns a boolean if a field has been set.

func (*Transfer) HasUnsignedPayload

func (o *Transfer) HasUnsignedPayload() bool

HasUnsignedPayload returns a boolean if a field has been set.

func (Transfer) MarshalJSON

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

func (*Transfer) SetAddressId

func (o *Transfer) SetAddressId(v string)

SetAddressId sets field value

func (*Transfer) SetAmount

func (o *Transfer) SetAmount(v string)

SetAmount sets field value

func (*Transfer) SetAsset

func (o *Transfer) SetAsset(v Asset)

SetAsset sets field value

func (*Transfer) SetAssetId

func (o *Transfer) SetAssetId(v string)

SetAssetId sets field value

func (*Transfer) SetDestination

func (o *Transfer) SetDestination(v string)

SetDestination sets field value

func (*Transfer) SetGasless

func (o *Transfer) SetGasless(v bool)

SetGasless sets field value

func (*Transfer) SetNetworkId

func (o *Transfer) SetNetworkId(v string)

SetNetworkId sets field value

func (*Transfer) SetSignedPayload

func (o *Transfer) SetSignedPayload(v string)

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

func (o *Transfer) SetStatus(v string)

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

func (o *Transfer) SetTransactionHash(v string)

SetTransactionHash gets a reference to the given string and assigns it to the TransactionHash field.

func (*Transfer) SetTransferId

func (o *Transfer) SetTransferId(v string)

SetTransferId sets field value

func (*Transfer) SetUnsignedPayload

func (o *Transfer) SetUnsignedPayload(v string)

SetUnsignedPayload gets a reference to the given string and assigns it to the UnsignedPayload field.

func (*Transfer) SetWalletId

func (o *Transfer) SetWalletId(v string)

SetWalletId sets field value

func (Transfer) ToMap

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

func (*Transfer) UnmarshalJSON

func (o *Transfer) UnmarshalJSON(data []byte) (err error)

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

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

func NewUser(id string) *User

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

func (o *User) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*User) GetDisplayNameOk

func (o *User) GetDisplayNameOk() (*string, bool)

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

func (o *User) GetId() string

GetId returns the Id field value

func (*User) GetIdOk

func (o *User) GetIdOk() (*string, bool)

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

func (*User) HasDisplayName

func (o *User) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (User) MarshalJSON

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

func (*User) SetDisplayName

func (o *User) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*User) SetId

func (o *User) SetId(v string)

SetId sets field value

func (User) ToMap

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

func (*User) UnmarshalJSON

func (o *User) UnmarshalJSON(data []byte) (err error)

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

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

func (o *Validator) GetAssetId() string

GetAssetId returns the AssetId field value

func (*Validator) GetAssetIdOk

func (o *Validator) GetAssetIdOk() (*string, bool)

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

func (o *Validator) GetNetworkId() string

GetNetworkId returns the NetworkId field value

func (*Validator) GetNetworkIdOk

func (o *Validator) GetNetworkIdOk() (*string, bool)

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

func (o *Validator) GetValidatorId() string

GetValidatorId returns the ValidatorId field value

func (*Validator) GetValidatorIdOk

func (o *Validator) GetValidatorIdOk() (*string, bool)

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

func (*Validator) HasDetails

func (o *Validator) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (Validator) MarshalJSON

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

func (*Validator) SetAssetId

func (o *Validator) SetAssetId(v string)

SetAssetId sets field value

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

func (o *Validator) SetNetworkId(v string)

SetNetworkId sets field value

func (*Validator) SetStatus

func (o *Validator) SetStatus(v ValidatorStatus)

SetStatus sets field value

func (*Validator) SetValidatorId

func (o *Validator) SetValidatorId(v string)

SetValidatorId sets field value

func (Validator) ToMap

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

func (*Validator) UnmarshalJSON

func (o *Validator) UnmarshalJSON(data []byte) (err error)

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

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

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

func (o *Wallet) GetDefaultAddress() Address

GetDefaultAddress returns the DefaultAddress field value if set, zero value otherwise.

func (*Wallet) GetDefaultAddressOk

func (o *Wallet) GetDefaultAddressOk() (*Address, bool)

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

func (o *Wallet) GetId() string

GetId returns the Id field value

func (*Wallet) GetIdOk

func (o *Wallet) GetIdOk() (*string, bool)

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

func (*Wallet) GetNetworkId

func (o *Wallet) GetNetworkId() string

GetNetworkId returns the NetworkId field value

func (*Wallet) GetNetworkIdOk

func (o *Wallet) GetNetworkIdOk() (*string, bool)

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

func (*Wallet) GetServerSignerStatus

func (o *Wallet) GetServerSignerStatus() string

GetServerSignerStatus returns the ServerSignerStatus field value if set, zero value otherwise.

func (*Wallet) GetServerSignerStatusOk

func (o *Wallet) GetServerSignerStatusOk() (*string, bool)

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

func (o *Wallet) HasDefaultAddress() bool

HasDefaultAddress returns a boolean if a field has been set.

func (*Wallet) HasServerSignerStatus

func (o *Wallet) HasServerSignerStatus() bool

HasServerSignerStatus returns a boolean if a field has been set.

func (Wallet) MarshalJSON

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

func (*Wallet) SetDefaultAddress

func (o *Wallet) SetDefaultAddress(v Address)

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

func (o *Wallet) SetId(v string)

SetId sets field value

func (*Wallet) SetNetworkId

func (o *Wallet) SetNetworkId(v string)

SetNetworkId sets field value

func (*Wallet) SetServerSignerStatus

func (o *Wallet) SetServerSignerStatus(v string)

SetServerSignerStatus gets a reference to the given string and assigns it to the ServerSignerStatus field.

func (Wallet) ToMap

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

func (*Wallet) UnmarshalJSON

func (o *Wallet) UnmarshalJSON(data []byte) (err error)

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

func (o *WalletList) SetData(v []Wallet)

SetData sets field value

func (*WalletList) SetHasMore

func (o *WalletList) SetHasMore(v bool)

SetHasMore sets field value

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

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

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

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

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

Execute executes the request

@return AddressBalanceList

func (*WalletsAPIService) ListWallets

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

func (o *Webhook) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Webhook) GetCreatedAtOk

func (o *Webhook) GetCreatedAtOk() (*time.Time, bool)

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

func (o *Webhook) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Webhook) GetIdOk

func (o *Webhook) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Webhook) GetNetworkId

func (o *Webhook) GetNetworkId() string

GetNetworkId returns the NetworkId field value if set, zero value otherwise.

func (*Webhook) GetNetworkIdOk

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

func (o *Webhook) GetNotificationUri() string

GetNotificationUri returns the NotificationUri field value if set, zero value otherwise.

func (*Webhook) GetNotificationUriOk

func (o *Webhook) GetNotificationUriOk() (*string, bool)

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

func (o *Webhook) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*Webhook) GetUpdatedAtOk

func (o *Webhook) GetUpdatedAtOk() (*time.Time, bool)

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

func (o *Webhook) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Webhook) HasEventFilters

func (o *Webhook) HasEventFilters() bool

HasEventFilters returns a boolean if a field has been set.

func (*Webhook) HasEventType

func (o *Webhook) HasEventType() bool

HasEventType returns a boolean if a field has been set.

func (*Webhook) HasId

func (o *Webhook) HasId() bool

HasId returns a boolean if a field has been set.

func (*Webhook) HasNetworkId

func (o *Webhook) HasNetworkId() bool

HasNetworkId returns a boolean if a field has been set.

func (*Webhook) HasNotificationUri

func (o *Webhook) HasNotificationUri() bool

HasNotificationUri returns a boolean if a field has been set.

func (*Webhook) HasUpdatedAt

func (o *Webhook) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Webhook) MarshalJSON

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

func (*Webhook) SetCreatedAt

func (o *Webhook) SetCreatedAt(v time.Time)

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

func (o *Webhook) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Webhook) SetNetworkId

func (o *Webhook) SetNetworkId(v string)

SetNetworkId gets a reference to the given string and assigns it to the NetworkId field.

func (*Webhook) SetNotificationUri

func (o *Webhook) SetNotificationUri(v string)

SetNotificationUri gets a reference to the given string and assigns it to the NotificationUri field.

func (*Webhook) SetUpdatedAt

func (o *Webhook) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (Webhook) ToMap

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

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

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

func (o *WebhookList) SetData(v []Webhook)

SetData sets field value

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

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

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

Jump to

Keyboard shortcuts

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