operations

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SupportedOptionRetries              = "retries"
	SupportedOptionTimeout              = "timeout"
	SupportedOptionAcceptHeaderOverride = "acceptHeaderOverride"
	SupportedOptionURLOverride          = "urlOverride"
	SupportedOptionSkipDeserialization  = "skipDeserialization"
)

Variables

View Source
var ErrUnsupportedOption = errors.New("unsupported option")

Functions

This section is empty.

Types

type AmountIn added in v0.1.16

type AmountIn struct {
	Number *float64 `queryParam:"inline" union:"member"`
	Str    *string  `queryParam:"inline" union:"member"`

	Type AmountInType
}

AmountIn - Human-readable amount of `token_in` to quote (token units, not wei).

func CreateAmountInNumber added in v0.1.16

func CreateAmountInNumber(number float64) AmountIn

func CreateAmountInStr added in v0.1.16

func CreateAmountInStr(str string) AmountIn

func (AmountIn) MarshalJSON added in v0.1.16

func (u AmountIn) MarshalJSON() ([]byte, error)

func (*AmountIn) UnmarshalJSON added in v0.1.16

func (u *AmountIn) UnmarshalJSON(data []byte) error

type AmountInType added in v0.1.16

type AmountInType string
const (
	AmountInTypeNumber AmountInType = "number"
	AmountInTypeStr    AmountInType = "str"
)

type CandleInterval added in v0.1.5

type CandleInterval string

CandleInterval - Candle interval: 1m, 5m, 15m, 1h, 4h, 1d, 1w

const (
	CandleIntervalOnem     CandleInterval = "1m"
	CandleIntervalFivem    CandleInterval = "5m"
	CandleIntervalFifteenm CandleInterval = "15m"
	CandleIntervalOneh     CandleInterval = "1h"
	CandleIntervalFourh    CandleInterval = "4h"
	CandleIntervalOned     CandleInterval = "1d"
	CandleIntervalOnew     CandleInterval = "1w"
)

func (CandleInterval) ToPointer added in v0.1.5

func (e CandleInterval) ToPointer() *CandleInterval

func (*CandleInterval) UnmarshalJSON added in v0.1.5

func (e *CandleInterval) UnmarshalJSON(data []byte) error

type GlobalMarketsPerpsSortBy added in v0.1.1

type GlobalMarketsPerpsSortBy string

GlobalMarketsPerpsSortBy - Sort results by this field

const (
	GlobalMarketsPerpsSortByOpenInterest GlobalMarketsPerpsSortBy = "open_interest"
	GlobalMarketsPerpsSortByVolume24h    GlobalMarketsPerpsSortBy = "volume_24h"
	GlobalMarketsPerpsSortByFundingRate  GlobalMarketsPerpsSortBy = "funding_rate"
)

func (GlobalMarketsPerpsSortBy) ToPointer added in v0.1.1

func (*GlobalMarketsPerpsSortBy) UnmarshalJSON added in v0.1.1

func (e *GlobalMarketsPerpsSortBy) UnmarshalJSON(data []byte) error

type GlobalMarketsPerpsSortOrder added in v0.1.1

type GlobalMarketsPerpsSortOrder string

GlobalMarketsPerpsSortOrder - Sort direction

const (
	GlobalMarketsPerpsSortOrderAsc  GlobalMarketsPerpsSortOrder = "asc"
	GlobalMarketsPerpsSortOrderDesc GlobalMarketsPerpsSortOrder = "desc"
)

func (GlobalMarketsPerpsSortOrder) ToPointer added in v0.1.1

func (*GlobalMarketsPerpsSortOrder) UnmarshalJSON added in v0.1.1

func (e *GlobalMarketsPerpsSortOrder) UnmarshalJSON(data []byte) error

type MinDepositCapUsd

type MinDepositCapUsd struct {
	Number *float64 `queryParam:"inline" union:"member"`
	Str    *string  `queryParam:"inline" union:"member"`

	Type MinDepositCapUsdType
}

MinDepositCapUsd - Minimum deposit capacity in USD. Vaults below this are excluded. Set to 0 to exclude paused vaults.

func CreateMinDepositCapUsdNumber

func CreateMinDepositCapUsdNumber(number float64) MinDepositCapUsd

func CreateMinDepositCapUsdStr

func CreateMinDepositCapUsdStr(str string) MinDepositCapUsd

func (MinDepositCapUsd) MarshalJSON

func (u MinDepositCapUsd) MarshalJSON() ([]byte, error)

func (*MinDepositCapUsd) UnmarshalJSON

func (u *MinDepositCapUsd) UnmarshalJSON(data []byte) error

type MinDepositCapUsdType

type MinDepositCapUsdType string
const (
	MinDepositCapUsdTypeNumber MinDepositCapUsdType = "number"
	MinDepositCapUsdTypeStr    MinDepositCapUsdType = "str"
)

type MinLiquidityUsd

type MinLiquidityUsd struct {
	Number *float64 `queryParam:"inline" union:"member"`
	Str    *string  `queryParam:"inline" union:"member"`

	Type MinLiquidityUsdType
}

MinLiquidityUsd - Minimum available liquidity in USD. Vaults below this are excluded.

func CreateMinLiquidityUsdNumber

func CreateMinLiquidityUsdNumber(number float64) MinLiquidityUsd

func CreateMinLiquidityUsdStr

func CreateMinLiquidityUsdStr(str string) MinLiquidityUsd

func (MinLiquidityUsd) MarshalJSON

func (u MinLiquidityUsd) MarshalJSON() ([]byte, error)

func (*MinLiquidityUsd) UnmarshalJSON

func (u *MinLiquidityUsd) UnmarshalJSON(data []byte) error

type MinLiquidityUsdType

type MinLiquidityUsdType string
const (
	MinLiquidityUsdTypeNumber MinLiquidityUsdType = "number"
	MinLiquidityUsdTypeStr    MinLiquidityUsdType = "str"
)

type Option

type Option func(*Options, ...string) error

func WithOperationTimeout

func WithOperationTimeout(timeout time.Duration) Option

WithOperationTimeout allows setting the request timeout applied for an operation.

func WithRetries

func WithRetries(config retry.Config) Option

WithRetries allows customizing the default retry configuration.

func WithServerURL

func WithServerURL(serverURL string) Option

WithServerURL allows providing an alternative server URL.

func WithSetHeaders

func WithSetHeaders(hdrs map[string]string) Option

WithSetHeaders takes a map of headers that will applied to a request. If the request contains headers that are in the map then they will be overwritten.

func WithSkipDeserialization

func WithSkipDeserialization() Option

WithSkipDeserialization skips response body deserialization for JSON responses, leaving the raw body unread on the HTTP response. The caller can read the raw response body via the HTTPMeta.Response field. Non-JSON responses and error responses are always deserialized regardless of this option.

func WithTemplatedServerURL

func WithTemplatedServerURL(serverURL string, params map[string]string) Option

WithTemplatedServerURL allows providing an alternative server URL with templated parameters.

func WithURLOverride

func WithURLOverride(urlOverride string) Option

WithURLOverride allows overriding the URL.

type Options

type Options struct {
	ServerURL           *string
	Retries             *retry.Config
	Timeout             *time.Duration
	URLOverride         *string
	SetHeaders          map[string]string
	SkipDeserialization *bool
}

type Slippage added in v0.1.16

type Slippage struct {
	Number *float64 `queryParam:"inline" union:"member"`
	Str    *string  `queryParam:"inline" union:"member"`

	Type SlippageType
}

Slippage - Maximum slippage tolerance as a percentage (e.g., 1 = 1%).

func CreateSlippageNumber added in v0.1.16

func CreateSlippageNumber(number float64) Slippage

func CreateSlippageStr added in v0.1.16

func CreateSlippageStr(str string) Slippage

func (Slippage) MarshalJSON added in v0.1.16

func (u Slippage) MarshalJSON() ([]byte, error)

func (*Slippage) UnmarshalJSON added in v0.1.16

func (u *Slippage) UnmarshalJSON(data []byte) error

type SlippageType added in v0.1.16

type SlippageType string
const (
	SlippageTypeNumber SlippageType = "number"
	SlippageTypeStr    SlippageType = "str"
)

type V2CreditBalancesChain

type V2CreditBalancesChain string
const (
	V2CreditBalancesChainArbitrum V2CreditBalancesChain = "arbitrum"
	V2CreditBalancesChainBase     V2CreditBalancesChain = "base"
	V2CreditBalancesChainEthereum V2CreditBalancesChain = "ethereum"
	V2CreditBalancesChainTempo    V2CreditBalancesChain = "tempo"
)

func (V2CreditBalancesChain) ToPointer

func (*V2CreditBalancesChain) UnmarshalJSON

func (e *V2CreditBalancesChain) UnmarshalJSON(data []byte) error

type V2CreditBalancesRequest

type V2CreditBalancesRequest struct {
	Chain V2CreditBalancesChain `queryParam:"style=form,explode=true,name=chain"`
	// The address of the owner of the credit account.
	Owner string `queryParam:"style=form,explode=true,name=owner"`
}

func (*V2CreditBalancesRequest) GetChain

func (*V2CreditBalancesRequest) GetOwner

func (v *V2CreditBalancesRequest) GetOwner() string

type V2CreditBalancesResponse

type V2CreditBalancesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CreditBalancesResponse *components.CreditBalancesResponse
}

func (*V2CreditBalancesResponse) GetCreditBalancesResponse

func (v *V2CreditBalancesResponse) GetCreditBalancesResponse() *components.CreditBalancesResponse

func (*V2CreditBalancesResponse) GetHTTPMeta

func (V2CreditBalancesResponse) MarshalJSON

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

func (*V2CreditBalancesResponse) UnmarshalJSON

func (v *V2CreditBalancesResponse) UnmarshalJSON(data []byte) error

type V2CreditBorrowResponse

type V2CreditBorrowResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CreditBorrowResponse *components.CreditBorrowResponse
}

func (*V2CreditBorrowResponse) GetCreditBorrowResponse

func (v *V2CreditBorrowResponse) GetCreditBorrowResponse() *components.CreditBorrowResponse

func (*V2CreditBorrowResponse) GetHTTPMeta

func (V2CreditBorrowResponse) MarshalJSON

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

func (*V2CreditBorrowResponse) UnmarshalJSON

func (v *V2CreditBorrowResponse) UnmarshalJSON(data []byte) error

type V2CreditBundleResponse

type V2CreditBundleResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CreditBundleResponse *components.CreditBundleResponse
}

func (*V2CreditBundleResponse) GetCreditBundleResponse

func (v *V2CreditBundleResponse) GetCreditBundleResponse() *components.CreditBundleResponse

func (*V2CreditBundleResponse) GetHTTPMeta

func (V2CreditBundleResponse) MarshalJSON

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

func (*V2CreditBundleResponse) UnmarshalJSON

func (v *V2CreditBundleResponse) UnmarshalJSON(data []byte) error

type V2CreditCreateAccountResponse

type V2CreditCreateAccountResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CreateCreditAccountResponse *components.CreateCreditAccountResponse
}

func (*V2CreditCreateAccountResponse) GetCreateCreditAccountResponse

func (v *V2CreditCreateAccountResponse) GetCreateCreditAccountResponse() *components.CreateCreditAccountResponse

func (*V2CreditCreateAccountResponse) GetHTTPMeta

func (V2CreditCreateAccountResponse) MarshalJSON

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

func (*V2CreditCreateAccountResponse) UnmarshalJSON

func (v *V2CreditCreateAccountResponse) UnmarshalJSON(data []byte) error

type V2CreditPositionsChain

type V2CreditPositionsChain string
const (
	V2CreditPositionsChainArbitrum V2CreditPositionsChain = "arbitrum"
	V2CreditPositionsChainBase     V2CreditPositionsChain = "base"
	V2CreditPositionsChainEthereum V2CreditPositionsChain = "ethereum"
	V2CreditPositionsChainTempo    V2CreditPositionsChain = "tempo"
)

func (V2CreditPositionsChain) ToPointer

func (*V2CreditPositionsChain) UnmarshalJSON

func (e *V2CreditPositionsChain) UnmarshalJSON(data []byte) error

type V2CreditPositionsRequest

type V2CreditPositionsRequest struct {
	Chain V2CreditPositionsChain `queryParam:"style=form,explode=true,name=chain"`
	// The address of the owner of the credit account to get positions for.
	Owner string `queryParam:"style=form,explode=true,name=owner"`
}

func (*V2CreditPositionsRequest) GetChain

func (*V2CreditPositionsRequest) GetOwner

func (v *V2CreditPositionsRequest) GetOwner() string

type V2CreditPositionsResponse

type V2CreditPositionsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CreditPositionsResponse *components.CreditPositionsResponse
}

func (*V2CreditPositionsResponse) GetCreditPositionsResponse

func (v *V2CreditPositionsResponse) GetCreditPositionsResponse() *components.CreditPositionsResponse

func (*V2CreditPositionsResponse) GetHTTPMeta

func (V2CreditPositionsResponse) MarshalJSON

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

func (*V2CreditPositionsResponse) UnmarshalJSON

func (v *V2CreditPositionsResponse) UnmarshalJSON(data []byte) error

type V2CreditRepayResponse

type V2CreditRepayResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CreditRepayResponse *components.CreditRepayResponse
}

func (*V2CreditRepayResponse) GetCreditRepayResponse

func (v *V2CreditRepayResponse) GetCreditRepayResponse() *components.CreditRepayResponse

func (*V2CreditRepayResponse) GetHTTPMeta

func (V2CreditRepayResponse) MarshalJSON

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

func (*V2CreditRepayResponse) UnmarshalJSON

func (v *V2CreditRepayResponse) UnmarshalJSON(data []byte) error

type V2CreditTransferResponse

type V2CreditTransferResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CreditTransferResponse *components.CreditTransferResponse
}

func (*V2CreditTransferResponse) GetCreditTransferResponse

func (v *V2CreditTransferResponse) GetCreditTransferResponse() *components.CreditTransferResponse

func (*V2CreditTransferResponse) GetHTTPMeta

func (V2CreditTransferResponse) MarshalJSON

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

func (*V2CreditTransferResponse) UnmarshalJSON

func (v *V2CreditTransferResponse) UnmarshalJSON(data []byte) error

type V2EarnAaveMarketsRequest

type V2EarnAaveMarketsRequest struct {
	// Optional chain filter. If not provided, returns rates for all chains.
	Chain optionalnullable.OptionalNullable[components.Chain] `queryParam:"style=form,explode=true,name=chain"`
	// Window in days used to compute `supply_apy_avg` / `borrow_apy_avg`. Mirrors the `days` parameter of the v1 `/v1/aave/avg_rate` endpoint.
	Days *int64 `queryParam:"style=form,explode=true,name=days"`
}

func (*V2EarnAaveMarketsRequest) GetChain

func (*V2EarnAaveMarketsRequest) GetDays added in v0.1.6

func (v *V2EarnAaveMarketsRequest) GetDays() *int64

type V2EarnAaveMarketsResponse

type V2EarnAaveMarketsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ListAaveMarketsResponse *components.ListAaveMarketsResponse
}

func (*V2EarnAaveMarketsResponse) GetHTTPMeta

func (*V2EarnAaveMarketsResponse) GetListAaveMarketsResponse

func (v *V2EarnAaveMarketsResponse) GetListAaveMarketsResponse() *components.ListAaveMarketsResponse

func (V2EarnAaveMarketsResponse) MarshalJSON

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

func (*V2EarnAaveMarketsResponse) UnmarshalJSON

func (v *V2EarnAaveMarketsResponse) UnmarshalJSON(data []byte) error

type V2EarnBalancesChain

type V2EarnBalancesChain string
const (
	V2EarnBalancesChainArbitrum V2EarnBalancesChain = "arbitrum"
	V2EarnBalancesChainBase     V2EarnBalancesChain = "base"
	V2EarnBalancesChainEthereum V2EarnBalancesChain = "ethereum"
	V2EarnBalancesChainTempo    V2EarnBalancesChain = "tempo"
)

func (V2EarnBalancesChain) ToPointer

func (*V2EarnBalancesChain) UnmarshalJSON

func (e *V2EarnBalancesChain) UnmarshalJSON(data []byte) error

type V2EarnBalancesRequest

type V2EarnBalancesRequest struct {
	Chain V2EarnBalancesChain `queryParam:"style=form,explode=true,name=chain"`
	// The address of the owner of the earn account.
	Owner string `queryParam:"style=form,explode=true,name=owner"`
}

func (*V2EarnBalancesRequest) GetChain

func (*V2EarnBalancesRequest) GetOwner

func (v *V2EarnBalancesRequest) GetOwner() string

type V2EarnBalancesResponse

type V2EarnBalancesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	EarnBalancesResponse *components.EarnBalancesResponse
}

func (*V2EarnBalancesResponse) GetEarnBalancesResponse

func (v *V2EarnBalancesResponse) GetEarnBalancesResponse() *components.EarnBalancesResponse

func (*V2EarnBalancesResponse) GetHTTPMeta

func (V2EarnBalancesResponse) MarshalJSON

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

func (*V2EarnBalancesResponse) UnmarshalJSON

func (v *V2EarnBalancesResponse) UnmarshalJSON(data []byte) error

type V2EarnBundleResponse

type V2EarnBundleResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	V2BundleResponse *components.V2BundleResponse
}

func (*V2EarnBundleResponse) GetHTTPMeta

func (v *V2EarnBundleResponse) GetHTTPMeta() components.HTTPMetadata

func (*V2EarnBundleResponse) GetV2BundleResponse

func (v *V2EarnBundleResponse) GetV2BundleResponse() *components.V2BundleResponse

func (V2EarnBundleResponse) MarshalJSON

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

func (*V2EarnBundleResponse) UnmarshalJSON

func (v *V2EarnBundleResponse) UnmarshalJSON(data []byte) error

type V2EarnCreateAccountResponse

type V2EarnCreateAccountResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CreateAccountResponse *components.CreateAccountResponse
}

func (*V2EarnCreateAccountResponse) GetCreateAccountResponse

func (v *V2EarnCreateAccountResponse) GetCreateAccountResponse() *components.CreateAccountResponse

func (*V2EarnCreateAccountResponse) GetHTTPMeta

func (V2EarnCreateAccountResponse) MarshalJSON

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

func (*V2EarnCreateAccountResponse) UnmarshalJSON

func (v *V2EarnCreateAccountResponse) UnmarshalJSON(data []byte) error

type V2EarnManageResponse

type V2EarnManageResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	EarnManageResponse *components.EarnManageResponse
}

func (*V2EarnManageResponse) GetEarnManageResponse

func (v *V2EarnManageResponse) GetEarnManageResponse() *components.EarnManageResponse

func (*V2EarnManageResponse) GetHTTPMeta

func (v *V2EarnManageResponse) GetHTTPMeta() components.HTTPMetadata

func (V2EarnManageResponse) MarshalJSON

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

func (*V2EarnManageResponse) UnmarshalJSON

func (v *V2EarnManageResponse) UnmarshalJSON(data []byte) error

type V2EarnPendleMarketsDirection

type V2EarnPendleMarketsDirection string

V2EarnPendleMarketsDirection - The direction to order the results by.

const (
	V2EarnPendleMarketsDirectionAsc  V2EarnPendleMarketsDirection = "asc"
	V2EarnPendleMarketsDirectionDesc V2EarnPendleMarketsDirection = "desc"
)

func (V2EarnPendleMarketsDirection) ToPointer

func (*V2EarnPendleMarketsDirection) UnmarshalJSON

func (e *V2EarnPendleMarketsDirection) UnmarshalJSON(data []byte) error

type V2EarnPendleMarketsMinTvlUsd

type V2EarnPendleMarketsMinTvlUsd struct {
	Number *float64 `queryParam:"inline" union:"member"`
	Str    *string  `queryParam:"inline" union:"member"`

	Type V2EarnPendleMarketsMinTvlUsdType
}

V2EarnPendleMarketsMinTvlUsd - Minimum TVL in USD. Markets with TVL below this value will be excluded.

func CreateV2EarnPendleMarketsMinTvlUsdNumber

func CreateV2EarnPendleMarketsMinTvlUsdNumber(number float64) V2EarnPendleMarketsMinTvlUsd

func CreateV2EarnPendleMarketsMinTvlUsdStr

func CreateV2EarnPendleMarketsMinTvlUsdStr(str string) V2EarnPendleMarketsMinTvlUsd

func (V2EarnPendleMarketsMinTvlUsd) MarshalJSON

func (u V2EarnPendleMarketsMinTvlUsd) MarshalJSON() ([]byte, error)

func (*V2EarnPendleMarketsMinTvlUsd) UnmarshalJSON

func (u *V2EarnPendleMarketsMinTvlUsd) UnmarshalJSON(data []byte) error

type V2EarnPendleMarketsMinTvlUsdType

type V2EarnPendleMarketsMinTvlUsdType string
const (
	V2EarnPendleMarketsMinTvlUsdTypeNumber V2EarnPendleMarketsMinTvlUsdType = "number"
	V2EarnPendleMarketsMinTvlUsdTypeStr    V2EarnPendleMarketsMinTvlUsdType = "str"
)

type V2EarnPendleMarketsRequest

type V2EarnPendleMarketsRequest struct {
	// The field to order the results by.
	OrderBy string `queryParam:"style=form,explode=true,name=order_by"`
	// The direction to order the results by.
	Direction *V2EarnPendleMarketsDirection `queryParam:"style=form,explode=true,name=direction"`
	// The offset of the first item to return.
	Offset *int64 `queryParam:"style=form,explode=true,name=offset"`
	// The number of items to return.
	Limit *int64 `queryParam:"style=form,explode=true,name=limit"`
	// Optional chain filter. If not provided, returns markets for all chains.
	Chain optionalnullable.OptionalNullable[components.Chain] `queryParam:"style=form,explode=true,name=chain"`
	// Filter markets by underlying asset symbol (e.g., 'USDC', 'WETH').
	UnderlyingSymbol optionalnullable.OptionalNullable[string] `queryParam:"style=form,explode=true,name=underlying_symbol"`
	// Minimum TVL in USD. Markets with TVL below this value will be excluded.
	MinTvlUsd optionalnullable.OptionalNullable[V2EarnPendleMarketsMinTvlUsd] `queryParam:"style=form,explode=true,name=min_tvl_usd"`
}

func (*V2EarnPendleMarketsRequest) GetChain

func (*V2EarnPendleMarketsRequest) GetDirection

func (*V2EarnPendleMarketsRequest) GetLimit

func (v *V2EarnPendleMarketsRequest) GetLimit() *int64

func (*V2EarnPendleMarketsRequest) GetMinTvlUsd

func (*V2EarnPendleMarketsRequest) GetOffset

func (v *V2EarnPendleMarketsRequest) GetOffset() *int64

func (*V2EarnPendleMarketsRequest) GetOrderBy

func (v *V2EarnPendleMarketsRequest) GetOrderBy() string

func (*V2EarnPendleMarketsRequest) GetUnderlyingSymbol

type V2EarnPendleMarketsResponse

type V2EarnPendleMarketsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	PendleMarketsResponse *components.PendleMarketsResponse
}

func (*V2EarnPendleMarketsResponse) GetHTTPMeta

func (*V2EarnPendleMarketsResponse) GetPendleMarketsResponse

func (v *V2EarnPendleMarketsResponse) GetPendleMarketsResponse() *components.PendleMarketsResponse

func (V2EarnPendleMarketsResponse) MarshalJSON

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

func (*V2EarnPendleMarketsResponse) UnmarshalJSON

func (v *V2EarnPendleMarketsResponse) UnmarshalJSON(data []byte) error

type V2EarnPositionsAllRequest

type V2EarnPositionsAllRequest struct {
	// The address of the owner of the earn account.
	Owner string `queryParam:"style=form,explode=true,name=owner"`
}

func (*V2EarnPositionsAllRequest) GetOwner

func (v *V2EarnPositionsAllRequest) GetOwner() string

type V2EarnPositionsAllResponse

type V2EarnPositionsAllResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	EarnPositionsAllResponse *components.EarnPositionsAllResponse
}

func (*V2EarnPositionsAllResponse) GetEarnPositionsAllResponse

func (v *V2EarnPositionsAllResponse) GetEarnPositionsAllResponse() *components.EarnPositionsAllResponse

func (*V2EarnPositionsAllResponse) GetHTTPMeta

func (V2EarnPositionsAllResponse) MarshalJSON

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

func (*V2EarnPositionsAllResponse) UnmarshalJSON

func (v *V2EarnPositionsAllResponse) UnmarshalJSON(data []byte) error

type V2EarnPositionsChain

type V2EarnPositionsChain string
const (
	V2EarnPositionsChainArbitrum V2EarnPositionsChain = "arbitrum"
	V2EarnPositionsChainBase     V2EarnPositionsChain = "base"
	V2EarnPositionsChainEthereum V2EarnPositionsChain = "ethereum"
	V2EarnPositionsChainTempo    V2EarnPositionsChain = "tempo"
)

func (V2EarnPositionsChain) ToPointer

func (*V2EarnPositionsChain) UnmarshalJSON

func (e *V2EarnPositionsChain) UnmarshalJSON(data []byte) error

type V2EarnPositionsRequest

type V2EarnPositionsRequest struct {
	Chain V2EarnPositionsChain `queryParam:"style=form,explode=true,name=chain"`
	// The address of the owner of the earn account to get positions for.
	Owner string `queryParam:"style=form,explode=true,name=owner"`
}

func (*V2EarnPositionsRequest) GetChain

func (*V2EarnPositionsRequest) GetOwner

func (v *V2EarnPositionsRequest) GetOwner() string

type V2EarnPositionsResponse

type V2EarnPositionsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	EarnPositionsResponse *components.EarnPositionsResponse
}

func (*V2EarnPositionsResponse) GetEarnPositionsResponse

func (v *V2EarnPositionsResponse) GetEarnPositionsResponse() *components.EarnPositionsResponse

func (*V2EarnPositionsResponse) GetHTTPMeta

func (V2EarnPositionsResponse) MarshalJSON

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

func (*V2EarnPositionsResponse) UnmarshalJSON

func (v *V2EarnPositionsResponse) UnmarshalJSON(data []byte) error

type V2EarnSwapQuoteChain added in v0.1.16

type V2EarnSwapQuoteChain string

V2EarnSwapQuoteChain - The chain to use.

const (
	V2EarnSwapQuoteChainBase     V2EarnSwapQuoteChain = "base"
	V2EarnSwapQuoteChainEthereum V2EarnSwapQuoteChain = "ethereum"
	V2EarnSwapQuoteChainArbitrum V2EarnSwapQuoteChain = "arbitrum"
	V2EarnSwapQuoteChainHyperevm V2EarnSwapQuoteChain = "hyperevm"
	V2EarnSwapQuoteChainTempo    V2EarnSwapQuoteChain = "tempo"
)

func (V2EarnSwapQuoteChain) ToPointer added in v0.1.16

func (*V2EarnSwapQuoteChain) UnmarshalJSON added in v0.1.16

func (e *V2EarnSwapQuoteChain) UnmarshalJSON(data []byte) error

type V2EarnSwapQuoteRequest added in v0.1.16

type V2EarnSwapQuoteRequest struct {
	// Target blockchain network.
	Chain V2EarnSwapQuoteChain `queryParam:"style=form,explode=true,name=chain"`
	// Token to sell (input). A token symbol (e.g. 'WETH') or any token address.
	TokenIn string `queryParam:"style=form,explode=true,name=token_in"`
	// Token to buy (output). A token symbol (e.g. 'USDC') or any token address.
	TokenOut *string `queryParam:"style=form,explode=true,name=token_out"`
	// Optional Pendle SY (Standardized Yield) address. When provided, `token_in` is overridden with the token the PT actually redeems into on withdrawal (the SY asset if it is a valid token-out, else the SY yield token) — use this to gauge a Pendle position's real exit liquidity rather than the reported underlying.
	SyAddress optionalnullable.OptionalNullable[string] `queryParam:"style=form,explode=true,name=sy_address"`
	// Human-readable amount of `token_in` to quote (token units, not wei).
	AmountIn AmountIn `queryParam:"style=form,explode=true,name=amount_in"`
	// Maximum slippage tolerance as a percentage (e.g., 1 = 1%).
	Slippage *Slippage `queryParam:"style=form,explode=true,name=slippage"`
}

func (*V2EarnSwapQuoteRequest) GetAmountIn added in v0.1.16

func (v *V2EarnSwapQuoteRequest) GetAmountIn() AmountIn

func (*V2EarnSwapQuoteRequest) GetChain added in v0.1.16

func (*V2EarnSwapQuoteRequest) GetSlippage added in v0.1.16

func (v *V2EarnSwapQuoteRequest) GetSlippage() *Slippage

func (*V2EarnSwapQuoteRequest) GetSyAddress added in v0.1.16

func (*V2EarnSwapQuoteRequest) GetTokenIn added in v0.1.16

func (v *V2EarnSwapQuoteRequest) GetTokenIn() string

func (*V2EarnSwapQuoteRequest) GetTokenOut added in v0.1.16

func (v *V2EarnSwapQuoteRequest) GetTokenOut() *string

type V2EarnSwapQuoteResponse added in v0.1.16

type V2EarnSwapQuoteResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	EarnSwapQuoteResponse *components.EarnSwapQuoteResponse
}

func (*V2EarnSwapQuoteResponse) GetEarnSwapQuoteResponse added in v0.1.16

func (v *V2EarnSwapQuoteResponse) GetEarnSwapQuoteResponse() *components.EarnSwapQuoteResponse

func (*V2EarnSwapQuoteResponse) GetHTTPMeta added in v0.1.16

func (V2EarnSwapQuoteResponse) MarshalJSON added in v0.1.16

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

func (*V2EarnSwapQuoteResponse) UnmarshalJSON added in v0.1.16

func (v *V2EarnSwapQuoteResponse) UnmarshalJSON(data []byte) error

type V2EarnSwapResponse

type V2EarnSwapResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	EarnSwapResponse *components.EarnSwapResponse
}

func (*V2EarnSwapResponse) GetEarnSwapResponse

func (v *V2EarnSwapResponse) GetEarnSwapResponse() *components.EarnSwapResponse

func (*V2EarnSwapResponse) GetHTTPMeta

func (v *V2EarnSwapResponse) GetHTTPMeta() components.HTTPMetadata

func (V2EarnSwapResponse) MarshalJSON

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

func (*V2EarnSwapResponse) UnmarshalJSON

func (v *V2EarnSwapResponse) UnmarshalJSON(data []byte) error

type V2EarnTransferResponse

type V2EarnTransferResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	EarnTransferResponse *components.EarnTransferResponse
}

func (*V2EarnTransferResponse) GetEarnTransferResponse

func (v *V2EarnTransferResponse) GetEarnTransferResponse() *components.EarnTransferResponse

func (*V2EarnTransferResponse) GetHTTPMeta

func (V2EarnTransferResponse) MarshalJSON

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

func (*V2EarnTransferResponse) UnmarshalJSON

func (v *V2EarnTransferResponse) UnmarshalJSON(data []byte) error

type V2EarnVaultsDirection

type V2EarnVaultsDirection string

V2EarnVaultsDirection - The direction to order the results by.

const (
	V2EarnVaultsDirectionAsc  V2EarnVaultsDirection = "asc"
	V2EarnVaultsDirectionDesc V2EarnVaultsDirection = "desc"
)

func (V2EarnVaultsDirection) ToPointer

func (*V2EarnVaultsDirection) UnmarshalJSON

func (e *V2EarnVaultsDirection) UnmarshalJSON(data []byte) error

type V2EarnVaultsMinTvlUsd

type V2EarnVaultsMinTvlUsd struct {
	Number *float64 `queryParam:"inline" union:"member"`
	Str    *string  `queryParam:"inline" union:"member"`

	Type V2EarnVaultsMinTvlUsdType
}

V2EarnVaultsMinTvlUsd - Minimum TVL in USD. Vaults with TVL below this value will be excluded.

func CreateV2EarnVaultsMinTvlUsdNumber

func CreateV2EarnVaultsMinTvlUsdNumber(number float64) V2EarnVaultsMinTvlUsd

func CreateV2EarnVaultsMinTvlUsdStr

func CreateV2EarnVaultsMinTvlUsdStr(str string) V2EarnVaultsMinTvlUsd

func (V2EarnVaultsMinTvlUsd) MarshalJSON

func (u V2EarnVaultsMinTvlUsd) MarshalJSON() ([]byte, error)

func (*V2EarnVaultsMinTvlUsd) UnmarshalJSON

func (u *V2EarnVaultsMinTvlUsd) UnmarshalJSON(data []byte) error

type V2EarnVaultsMinTvlUsdType

type V2EarnVaultsMinTvlUsdType string
const (
	V2EarnVaultsMinTvlUsdTypeNumber V2EarnVaultsMinTvlUsdType = "number"
	V2EarnVaultsMinTvlUsdTypeStr    V2EarnVaultsMinTvlUsdType = "str"
)

type V2EarnVaultsRequest

type V2EarnVaultsRequest struct {
	// The field to order the results by.
	OrderBy string `queryParam:"style=form,explode=true,name=order_by"`
	// The direction to order the results by.
	Direction *V2EarnVaultsDirection `queryParam:"style=form,explode=true,name=direction"`
	// The offset of the first item to return.
	Offset *int64 `queryParam:"style=form,explode=true,name=offset"`
	// The number of items to return.
	Limit *int64 `queryParam:"style=form,explode=true,name=limit"`
	// Optional chain filter. If not provided, returns vaults for all chains.
	Chain optionalnullable.OptionalNullable[components.Chain] `queryParam:"style=form,explode=true,name=chain"`
	// Filter vaults by underlying asset symbol (e.g., 'USDC', 'WETH').
	AssetSymbol optionalnullable.OptionalNullable[string] `queryParam:"style=form,explode=true,name=asset_symbol"`
	// Minimum TVL in USD. Vaults with TVL below this value will be excluded.
	MinTvlUsd optionalnullable.OptionalNullable[V2EarnVaultsMinTvlUsd] `queryParam:"style=form,explode=true,name=min_tvl_usd"`
	// Minimum available liquidity in USD. Vaults below this are excluded.
	MinLiquidityUsd optionalnullable.OptionalNullable[MinLiquidityUsd] `queryParam:"style=form,explode=true,name=min_liquidity_usd"`
	// Minimum deposit capacity in USD. Vaults below this are excluded. Set to 0 to exclude paused vaults.
	MinDepositCapUsd optionalnullable.OptionalNullable[MinDepositCapUsd] `queryParam:"style=form,explode=true,name=min_deposit_cap_usd"`
}

func (*V2EarnVaultsRequest) GetAssetSymbol

func (*V2EarnVaultsRequest) GetChain

func (*V2EarnVaultsRequest) GetDirection

func (v *V2EarnVaultsRequest) GetDirection() *V2EarnVaultsDirection

func (*V2EarnVaultsRequest) GetLimit

func (v *V2EarnVaultsRequest) GetLimit() *int64

func (*V2EarnVaultsRequest) GetMinDepositCapUsd

func (*V2EarnVaultsRequest) GetMinLiquidityUsd

func (*V2EarnVaultsRequest) GetMinTvlUsd

func (*V2EarnVaultsRequest) GetOffset

func (v *V2EarnVaultsRequest) GetOffset() *int64

func (*V2EarnVaultsRequest) GetOrderBy

func (v *V2EarnVaultsRequest) GetOrderBy() string

type V2EarnVaultsResponse

type V2EarnVaultsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	VaultsResponse *components.VaultsResponse
}

func (*V2EarnVaultsResponse) GetHTTPMeta

func (v *V2EarnVaultsResponse) GetHTTPMeta() components.HTTPMetadata

func (*V2EarnVaultsResponse) GetVaultsResponse

func (v *V2EarnVaultsResponse) GetVaultsResponse() *components.VaultsResponse

func (V2EarnVaultsResponse) MarshalJSON

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

func (*V2EarnVaultsResponse) UnmarshalJSON

func (v *V2EarnVaultsResponse) UnmarshalJSON(data []byte) error

type V2GasSponsorshipApproveTransferResponse

type V2GasSponsorshipApproveTransferResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	ApproveTransferResponse *components.ApproveTransferResponse
}

func (*V2GasSponsorshipApproveTransferResponse) GetApproveTransferResponse

func (*V2GasSponsorshipApproveTransferResponse) GetHTTPMeta

func (V2GasSponsorshipApproveTransferResponse) MarshalJSON

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

func (*V2GasSponsorshipApproveTransferResponse) UnmarshalJSON

func (v *V2GasSponsorshipApproveTransferResponse) UnmarshalJSON(data []byte) error

type V2GasSponsorshipPrepareResponse

type V2GasSponsorshipPrepareResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	SponsorGasResponse *components.SponsorGasResponse
}

func (*V2GasSponsorshipPrepareResponse) GetHTTPMeta

func (*V2GasSponsorshipPrepareResponse) GetSponsorGasResponse

func (V2GasSponsorshipPrepareResponse) MarshalJSON

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

func (*V2GasSponsorshipPrepareResponse) UnmarshalJSON

func (v *V2GasSponsorshipPrepareResponse) UnmarshalJSON(data []byte) error

type V2GlobalMarketsPerpsActivityRequest added in v0.1.3

type V2GlobalMarketsPerpsActivityRequest struct {
	// End-user EOA whose activity should be fetched.
	Owner string `queryParam:"style=form,explode=true,name=owner"`
	// Optional builder address. When provided, the response includes the current builder-fee approval state for this (owner, builder) pair.
	Builder optionalnullable.OptionalNullable[string] `queryParam:"style=form,explode=true,name=builder"`
}

func (*V2GlobalMarketsPerpsActivityRequest) GetBuilder added in v0.1.3

func (*V2GlobalMarketsPerpsActivityRequest) GetOwner added in v0.1.3

type V2GlobalMarketsPerpsActivityResponse added in v0.1.3

type V2GlobalMarketsPerpsActivityResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	GlobalMarketsPerpsActivityResponse *components.GlobalMarketsPerpsActivityResponse
}

func (*V2GlobalMarketsPerpsActivityResponse) GetGlobalMarketsPerpsActivityResponse added in v0.1.3

func (v *V2GlobalMarketsPerpsActivityResponse) GetGlobalMarketsPerpsActivityResponse() *components.GlobalMarketsPerpsActivityResponse

func (*V2GlobalMarketsPerpsActivityResponse) GetHTTPMeta added in v0.1.3

func (V2GlobalMarketsPerpsActivityResponse) MarshalJSON added in v0.1.3

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

func (*V2GlobalMarketsPerpsActivityResponse) UnmarshalJSON added in v0.1.3

func (v *V2GlobalMarketsPerpsActivityResponse) UnmarshalJSON(data []byte) error

type V2GlobalMarketsPerpsApproveBuilderFeeResponse added in v0.1.1

type V2GlobalMarketsPerpsApproveBuilderFeeResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	GlobalMarketsPerpsSignableActionResponse *components.GlobalMarketsPerpsSignableActionResponse
}

func (*V2GlobalMarketsPerpsApproveBuilderFeeResponse) GetGlobalMarketsPerpsSignableActionResponse added in v0.1.1

func (*V2GlobalMarketsPerpsApproveBuilderFeeResponse) GetHTTPMeta added in v0.1.1

func (V2GlobalMarketsPerpsApproveBuilderFeeResponse) MarshalJSON added in v0.1.1

func (*V2GlobalMarketsPerpsApproveBuilderFeeResponse) UnmarshalJSON added in v0.1.1

func (v *V2GlobalMarketsPerpsApproveBuilderFeeResponse) UnmarshalJSON(data []byte) error

type V2GlobalMarketsPerpsCancelOrderResponse added in v0.1.1

type V2GlobalMarketsPerpsCancelOrderResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	GlobalMarketsPerpsSignableActionResponse *components.GlobalMarketsPerpsSignableActionResponse
}

func (*V2GlobalMarketsPerpsCancelOrderResponse) GetGlobalMarketsPerpsSignableActionResponse added in v0.1.1

func (v *V2GlobalMarketsPerpsCancelOrderResponse) GetGlobalMarketsPerpsSignableActionResponse() *components.GlobalMarketsPerpsSignableActionResponse

func (*V2GlobalMarketsPerpsCancelOrderResponse) GetHTTPMeta added in v0.1.1

func (V2GlobalMarketsPerpsCancelOrderResponse) MarshalJSON added in v0.1.1

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

func (*V2GlobalMarketsPerpsCancelOrderResponse) UnmarshalJSON added in v0.1.1

func (v *V2GlobalMarketsPerpsCancelOrderResponse) UnmarshalJSON(data []byte) error

type V2GlobalMarketsPerpsCandlesRequest added in v0.1.5

type V2GlobalMarketsPerpsCandlesRequest struct {
	// Asset ticker (e.g. AAPL, GOLD, EUR). The xyz: HIP-3 DEX prefix is added server-side if not already present.
	Symbol string `queryParam:"style=form,explode=true,name=symbol"`
	// Candle interval: 1m, 5m, 15m, 1h, 4h, 1d, 1w
	Interval CandleInterval `queryParam:"style=form,explode=true,name=interval"`
	// Number of candles to return (max 5000, capped by Hyperliquid).
	Limit *int64 `queryParam:"style=form,explode=true,name=limit"`
	// Optional start of the candle window in unix milliseconds. If omitted, computed as end_time - limit * interval.
	StartTime optionalnullable.OptionalNullable[int64] `queryParam:"style=form,explode=true,name=start_time"`
	// Optional end of the candle window in unix milliseconds. Defaults to now.
	EndTime optionalnullable.OptionalNullable[int64] `queryParam:"style=form,explode=true,name=end_time"`
}

func (*V2GlobalMarketsPerpsCandlesRequest) GetEndTime added in v0.1.5

func (*V2GlobalMarketsPerpsCandlesRequest) GetInterval added in v0.1.5

func (*V2GlobalMarketsPerpsCandlesRequest) GetLimit added in v0.1.5

func (*V2GlobalMarketsPerpsCandlesRequest) GetStartTime added in v0.1.5

func (*V2GlobalMarketsPerpsCandlesRequest) GetSymbol added in v0.1.5

type V2GlobalMarketsPerpsCandlesResponse added in v0.1.5

type V2GlobalMarketsPerpsCandlesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	GlobalMarketsPerpsCandlesResponse *components.GlobalMarketsPerpsCandlesResponse
}

func (*V2GlobalMarketsPerpsCandlesResponse) GetGlobalMarketsPerpsCandlesResponse added in v0.1.5

func (v *V2GlobalMarketsPerpsCandlesResponse) GetGlobalMarketsPerpsCandlesResponse() *components.GlobalMarketsPerpsCandlesResponse

func (*V2GlobalMarketsPerpsCandlesResponse) GetHTTPMeta added in v0.1.5

func (V2GlobalMarketsPerpsCandlesResponse) MarshalJSON added in v0.1.5

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

func (*V2GlobalMarketsPerpsCandlesResponse) UnmarshalJSON added in v0.1.5

func (v *V2GlobalMarketsPerpsCandlesResponse) UnmarshalJSON(data []byte) error

type V2GlobalMarketsPerpsDepositResponse added in v0.1.1

type V2GlobalMarketsPerpsDepositResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	GlobalMarketsPerpsDepositResponse *components.GlobalMarketsPerpsDepositResponse
}

func (*V2GlobalMarketsPerpsDepositResponse) GetGlobalMarketsPerpsDepositResponse added in v0.1.1

func (v *V2GlobalMarketsPerpsDepositResponse) GetGlobalMarketsPerpsDepositResponse() *components.GlobalMarketsPerpsDepositResponse

func (*V2GlobalMarketsPerpsDepositResponse) GetHTTPMeta added in v0.1.1

func (V2GlobalMarketsPerpsDepositResponse) MarshalJSON added in v0.1.1

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

func (*V2GlobalMarketsPerpsDepositResponse) UnmarshalJSON added in v0.1.1

func (v *V2GlobalMarketsPerpsDepositResponse) UnmarshalJSON(data []byte) error

type V2GlobalMarketsPerpsDepositSponsorPrepareResponse added in v0.1.7

type V2GlobalMarketsPerpsDepositSponsorPrepareResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	GlobalMarketsPerpsDepositSponsorPrepareResponse *components.GlobalMarketsPerpsDepositSponsorPrepareResponse
}

func (*V2GlobalMarketsPerpsDepositSponsorPrepareResponse) GetGlobalMarketsPerpsDepositSponsorPrepareResponse added in v0.1.7

func (*V2GlobalMarketsPerpsDepositSponsorPrepareResponse) GetHTTPMeta added in v0.1.7

func (V2GlobalMarketsPerpsDepositSponsorPrepareResponse) MarshalJSON added in v0.1.7

func (*V2GlobalMarketsPerpsDepositSponsorPrepareResponse) UnmarshalJSON added in v0.1.7

type V2GlobalMarketsPerpsEnableUnifiedAccountResponse added in v0.1.1

type V2GlobalMarketsPerpsEnableUnifiedAccountResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	GlobalMarketsPerpsEnableUnifiedAccountResponse *components.GlobalMarketsPerpsEnableUnifiedAccountResponse
}

func (*V2GlobalMarketsPerpsEnableUnifiedAccountResponse) GetGlobalMarketsPerpsEnableUnifiedAccountResponse added in v0.1.1

func (*V2GlobalMarketsPerpsEnableUnifiedAccountResponse) GetHTTPMeta added in v0.1.1

func (V2GlobalMarketsPerpsEnableUnifiedAccountResponse) MarshalJSON added in v0.1.1

func (*V2GlobalMarketsPerpsEnableUnifiedAccountResponse) UnmarshalJSON added in v0.1.1

type V2GlobalMarketsPerpsEnsureLeverageResponse added in v0.1.1

type V2GlobalMarketsPerpsEnsureLeverageResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	GlobalMarketsPerpsEnsureLeverageResponse *components.GlobalMarketsPerpsEnsureLeverageResponse
}

func (*V2GlobalMarketsPerpsEnsureLeverageResponse) GetGlobalMarketsPerpsEnsureLeverageResponse added in v0.1.1

func (*V2GlobalMarketsPerpsEnsureLeverageResponse) GetHTTPMeta added in v0.1.1

func (V2GlobalMarketsPerpsEnsureLeverageResponse) MarshalJSON added in v0.1.1

func (*V2GlobalMarketsPerpsEnsureLeverageResponse) UnmarshalJSON added in v0.1.1

func (v *V2GlobalMarketsPerpsEnsureLeverageResponse) UnmarshalJSON(data []byte) error

type V2GlobalMarketsPerpsExecuteResponse added in v0.1.1

type V2GlobalMarketsPerpsExecuteResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	GlobalMarketsPerpsExecuteResponse *components.GlobalMarketsPerpsExecuteResponse
}

func (*V2GlobalMarketsPerpsExecuteResponse) GetGlobalMarketsPerpsExecuteResponse added in v0.1.1

func (v *V2GlobalMarketsPerpsExecuteResponse) GetGlobalMarketsPerpsExecuteResponse() *components.GlobalMarketsPerpsExecuteResponse

func (*V2GlobalMarketsPerpsExecuteResponse) GetHTTPMeta added in v0.1.1

func (V2GlobalMarketsPerpsExecuteResponse) MarshalJSON added in v0.1.1

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

func (*V2GlobalMarketsPerpsExecuteResponse) UnmarshalJSON added in v0.1.1

func (v *V2GlobalMarketsPerpsExecuteResponse) UnmarshalJSON(data []byte) error

type V2GlobalMarketsPerpsLimitOrderResponse added in v0.1.1

type V2GlobalMarketsPerpsLimitOrderResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	GlobalMarketsPerpsSignableActionResponse *components.GlobalMarketsPerpsSignableActionResponse
}

func (*V2GlobalMarketsPerpsLimitOrderResponse) GetGlobalMarketsPerpsSignableActionResponse added in v0.1.1

func (v *V2GlobalMarketsPerpsLimitOrderResponse) GetGlobalMarketsPerpsSignableActionResponse() *components.GlobalMarketsPerpsSignableActionResponse

func (*V2GlobalMarketsPerpsLimitOrderResponse) GetHTTPMeta added in v0.1.1

func (V2GlobalMarketsPerpsLimitOrderResponse) MarshalJSON added in v0.1.1

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

func (*V2GlobalMarketsPerpsLimitOrderResponse) UnmarshalJSON added in v0.1.1

func (v *V2GlobalMarketsPerpsLimitOrderResponse) UnmarshalJSON(data []byte) error

type V2GlobalMarketsPerpsMarketOrderResponse added in v0.1.1

type V2GlobalMarketsPerpsMarketOrderResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	GlobalMarketsPerpsSignableActionResponse *components.GlobalMarketsPerpsSignableActionResponse
}

func (*V2GlobalMarketsPerpsMarketOrderResponse) GetGlobalMarketsPerpsSignableActionResponse added in v0.1.1

func (v *V2GlobalMarketsPerpsMarketOrderResponse) GetGlobalMarketsPerpsSignableActionResponse() *components.GlobalMarketsPerpsSignableActionResponse

func (*V2GlobalMarketsPerpsMarketOrderResponse) GetHTTPMeta added in v0.1.1

func (V2GlobalMarketsPerpsMarketOrderResponse) MarshalJSON added in v0.1.1

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

func (*V2GlobalMarketsPerpsMarketOrderResponse) UnmarshalJSON added in v0.1.1

func (v *V2GlobalMarketsPerpsMarketOrderResponse) UnmarshalJSON(data []byte) error

type V2GlobalMarketsPerpsOpportunitiesRequest added in v0.1.1

type V2GlobalMarketsPerpsOpportunitiesRequest struct {
	// Filter by minimum open interest in USD
	MinOpenInterest optionalnullable.OptionalNullable[float64] `queryParam:"style=form,explode=true,name=min_open_interest"`
	// Filter by minimum 24h volume in USD
	MinVolume24h optionalnullable.OptionalNullable[float64] `queryParam:"style=form,explode=true,name=min_volume_24h"`
	// Filter by asset category: stock, commodity, forex
	Category optionalnullable.OptionalNullable[components.GlobalMarketsPerpsCategory] `queryParam:"style=form,explode=true,name=category"`
	// Sort results by this field
	SortBy *GlobalMarketsPerpsSortBy `queryParam:"style=form,explode=true,name=sort_by"`
	// Sort direction
	SortOrder *GlobalMarketsPerpsSortOrder `queryParam:"style=form,explode=true,name=sort_order"`
}

func (*V2GlobalMarketsPerpsOpportunitiesRequest) GetCategory added in v0.1.1

func (*V2GlobalMarketsPerpsOpportunitiesRequest) GetMinOpenInterest added in v0.1.1

func (*V2GlobalMarketsPerpsOpportunitiesRequest) GetMinVolume24h added in v0.1.1

func (*V2GlobalMarketsPerpsOpportunitiesRequest) GetSortBy added in v0.1.1

func (*V2GlobalMarketsPerpsOpportunitiesRequest) GetSortOrder added in v0.1.1

type V2GlobalMarketsPerpsOpportunitiesResponse added in v0.1.1

type V2GlobalMarketsPerpsOpportunitiesResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	GlobalMarketsPerpsOpportunitiesResponse *components.GlobalMarketsPerpsOpportunitiesResponse
}

func (*V2GlobalMarketsPerpsOpportunitiesResponse) GetGlobalMarketsPerpsOpportunitiesResponse added in v0.1.1

func (v *V2GlobalMarketsPerpsOpportunitiesResponse) GetGlobalMarketsPerpsOpportunitiesResponse() *components.GlobalMarketsPerpsOpportunitiesResponse

func (*V2GlobalMarketsPerpsOpportunitiesResponse) GetHTTPMeta added in v0.1.1

func (V2GlobalMarketsPerpsOpportunitiesResponse) MarshalJSON added in v0.1.1

func (*V2GlobalMarketsPerpsOpportunitiesResponse) UnmarshalJSON added in v0.1.1

func (v *V2GlobalMarketsPerpsOpportunitiesResponse) UnmarshalJSON(data []byte) error

type V2GlobalMarketsPerpsPositionsRequest added in v0.1.1

type V2GlobalMarketsPerpsPositionsRequest struct {
	// User's EOA address (looks up their global markets perps product account)
	Owner string `queryParam:"style=form,explode=true,name=owner"`
	// Filter to a specific asset ticker (e.g. AAPL)
	Asset optionalnullable.OptionalNullable[string] `queryParam:"style=form,explode=true,name=asset"`
}

func (*V2GlobalMarketsPerpsPositionsRequest) GetAsset added in v0.1.1

func (*V2GlobalMarketsPerpsPositionsRequest) GetOwner added in v0.1.1

type V2GlobalMarketsPerpsPositionsResponse added in v0.1.1

type V2GlobalMarketsPerpsPositionsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	GlobalMarketsPerpsPositionsResponse *components.GlobalMarketsPerpsPositionsResponse
}

func (*V2GlobalMarketsPerpsPositionsResponse) GetGlobalMarketsPerpsPositionsResponse added in v0.1.1

func (v *V2GlobalMarketsPerpsPositionsResponse) GetGlobalMarketsPerpsPositionsResponse() *components.GlobalMarketsPerpsPositionsResponse

func (*V2GlobalMarketsPerpsPositionsResponse) GetHTTPMeta added in v0.1.1

func (V2GlobalMarketsPerpsPositionsResponse) MarshalJSON added in v0.1.1

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

func (*V2GlobalMarketsPerpsPositionsResponse) UnmarshalJSON added in v0.1.1

func (v *V2GlobalMarketsPerpsPositionsResponse) UnmarshalJSON(data []byte) error

type V2GlobalMarketsPerpsWithdrawResponse added in v0.1.1

type V2GlobalMarketsPerpsWithdrawResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	GlobalMarketsPerpsSignableActionResponse *components.GlobalMarketsPerpsSignableActionResponse
}

func (*V2GlobalMarketsPerpsWithdrawResponse) GetGlobalMarketsPerpsSignableActionResponse added in v0.1.1

func (v *V2GlobalMarketsPerpsWithdrawResponse) GetGlobalMarketsPerpsSignableActionResponse() *components.GlobalMarketsPerpsSignableActionResponse

func (*V2GlobalMarketsPerpsWithdrawResponse) GetHTTPMeta added in v0.1.1

func (V2GlobalMarketsPerpsWithdrawResponse) MarshalJSON added in v0.1.1

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

func (*V2GlobalMarketsPerpsWithdrawResponse) UnmarshalJSON added in v0.1.1

func (v *V2GlobalMarketsPerpsWithdrawResponse) UnmarshalJSON(data []byte) error

type V2TokenizedAssetsCreateAccountResponse

type V2TokenizedAssetsCreateAccountResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	CreateTokenizedAssetsAccountResponse *components.CreateTokenizedAssetsAccountResponse
}

func (*V2TokenizedAssetsCreateAccountResponse) GetCreateTokenizedAssetsAccountResponse

func (v *V2TokenizedAssetsCreateAccountResponse) GetCreateTokenizedAssetsAccountResponse() *components.CreateTokenizedAssetsAccountResponse

func (*V2TokenizedAssetsCreateAccountResponse) GetHTTPMeta

func (V2TokenizedAssetsCreateAccountResponse) MarshalJSON

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

func (*V2TokenizedAssetsCreateAccountResponse) UnmarshalJSON

func (v *V2TokenizedAssetsCreateAccountResponse) UnmarshalJSON(data []byte) error

type V2TokenizedAssetsMarketsRequest

type V2TokenizedAssetsMarketsRequest struct {
	// Filter markets by category (e.g. 'tech', 'finance').
	Category optionalnullable.OptionalNullable[string] `queryParam:"style=form,explode=true,name=category"`
	// Case-insensitive substring match against the on-chain symbol, underlying ticker, and underlying name.
	Search optionalnullable.OptionalNullable[string] `queryParam:"style=form,explode=true,name=search"`
	// Filter by issuer ('ondo' equities, 'midas' RWA yield).
	Provider optionalnullable.OptionalNullable[components.TokenizedAssetProvider] `queryParam:"style=form,explode=true,name=provider"`
	// Filter by asset class (EQUITY, T_BILLS, BASIS_TRADE, BTC_YIELD).
	AssetClass optionalnullable.OptionalNullable[components.TokenizedAssetClass] `queryParam:"style=form,explode=true,name=asset_class"`
	// Filter by network. Equities are Ethereum-only; RWA yield assets exist on Ethereum and Base.
	Chain optionalnullable.OptionalNullable[components.Chain] `queryParam:"style=form,explode=true,name=chain"`
}

func (*V2TokenizedAssetsMarketsRequest) GetAssetClass added in v0.1.17

func (*V2TokenizedAssetsMarketsRequest) GetCategory

func (*V2TokenizedAssetsMarketsRequest) GetChain added in v0.1.17

func (*V2TokenizedAssetsMarketsRequest) GetProvider added in v0.1.17

func (*V2TokenizedAssetsMarketsRequest) GetSearch

type V2TokenizedAssetsMarketsResponse

type V2TokenizedAssetsMarketsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	TokenizedAssetsMarketsListResponse *components.TokenizedAssetsMarketsListResponse
}

func (*V2TokenizedAssetsMarketsResponse) GetHTTPMeta

func (*V2TokenizedAssetsMarketsResponse) GetTokenizedAssetsMarketsListResponse

func (v *V2TokenizedAssetsMarketsResponse) GetTokenizedAssetsMarketsListResponse() *components.TokenizedAssetsMarketsListResponse

func (V2TokenizedAssetsMarketsResponse) MarshalJSON

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

func (*V2TokenizedAssetsMarketsResponse) UnmarshalJSON

func (v *V2TokenizedAssetsMarketsResponse) UnmarshalJSON(data []byte) error

type V2TokenizedAssetsMarketsSymbolChain added in v0.1.20

type V2TokenizedAssetsMarketsSymbolChain string

V2TokenizedAssetsMarketsSymbolChain - The chain to use.

const (
	V2TokenizedAssetsMarketsSymbolChainBase     V2TokenizedAssetsMarketsSymbolChain = "base"
	V2TokenizedAssetsMarketsSymbolChainEthereum V2TokenizedAssetsMarketsSymbolChain = "ethereum"
	V2TokenizedAssetsMarketsSymbolChainArbitrum V2TokenizedAssetsMarketsSymbolChain = "arbitrum"
	V2TokenizedAssetsMarketsSymbolChainHyperevm V2TokenizedAssetsMarketsSymbolChain = "hyperevm"
	V2TokenizedAssetsMarketsSymbolChainTempo    V2TokenizedAssetsMarketsSymbolChain = "tempo"
)

func (V2TokenizedAssetsMarketsSymbolChain) ToPointer added in v0.1.20

func (*V2TokenizedAssetsMarketsSymbolChain) UnmarshalJSON added in v0.1.20

func (e *V2TokenizedAssetsMarketsSymbolChain) UnmarshalJSON(data []byte) error

type V2TokenizedAssetsMarketsSymbolRequest

type V2TokenizedAssetsMarketsSymbolRequest struct {
	Symbol string `pathParam:"style=simple,explode=false,name=symbol"`
	// Network the market is deployed on (defaults to Ethereum). A token deployed on multiple chains (e.g. Midas RWA on Ethereum and Base) is resolved per chain; 404 if the symbol isn't deployed there. Ondo equities are Ethereum-only.
	Chain *V2TokenizedAssetsMarketsSymbolChain `queryParam:"style=form,explode=true,name=chain"`
	// Optional candle interval. Must be paired with `range` and form a valid `(interval, range)` pair to include OHLC candles in the response.
	Interval optionalnullable.OptionalNullable[components.TokenizedAssetsOhlcInterval] `queryParam:"style=form,explode=true,name=interval"`
	// Optional lookback window. Must be paired with `interval` and form a valid `(interval, range)` pair to include OHLC candles in the response.
	Range optionalnullable.OptionalNullable[components.TokenizedAssetsOhlcRange] `queryParam:"style=form,explode=true,name=range"`
}

func (*V2TokenizedAssetsMarketsSymbolRequest) GetChain added in v0.1.20

func (*V2TokenizedAssetsMarketsSymbolRequest) GetRange

func (*V2TokenizedAssetsMarketsSymbolRequest) GetSymbol

type V2TokenizedAssetsMarketsSymbolResponse

type V2TokenizedAssetsMarketsSymbolResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	MarketDetail *components.MarketDetail
}

func (*V2TokenizedAssetsMarketsSymbolResponse) GetHTTPMeta

func (*V2TokenizedAssetsMarketsSymbolResponse) GetMarketDetail

func (V2TokenizedAssetsMarketsSymbolResponse) MarshalJSON

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

func (*V2TokenizedAssetsMarketsSymbolResponse) UnmarshalJSON

func (v *V2TokenizedAssetsMarketsSymbolResponse) UnmarshalJSON(data []byte) error

type V2TokenizedAssetsOrderOrderHashCancelRequest

type V2TokenizedAssetsOrderOrderHashCancelRequest struct {
	OrderHash string                                       `pathParam:"style=simple,explode=false,name=order_hash"`
	Body      components.TokenizedAssetsCancelOrderRequest `request:"mediaType=application/json"`
}

func (*V2TokenizedAssetsOrderOrderHashCancelRequest) GetBody

func (*V2TokenizedAssetsOrderOrderHashCancelRequest) GetOrderHash

type V2TokenizedAssetsOrderOrderHashCancelResponse

type V2TokenizedAssetsOrderOrderHashCancelResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	TokenizedAssetsCancelOrderResponse *components.TokenizedAssetsCancelOrderResponse
}

func (*V2TokenizedAssetsOrderOrderHashCancelResponse) GetHTTPMeta

func (*V2TokenizedAssetsOrderOrderHashCancelResponse) GetTokenizedAssetsCancelOrderResponse

func (V2TokenizedAssetsOrderOrderHashCancelResponse) MarshalJSON

func (*V2TokenizedAssetsOrderOrderHashCancelResponse) UnmarshalJSON

func (v *V2TokenizedAssetsOrderOrderHashCancelResponse) UnmarshalJSON(data []byte) error

type V2TokenizedAssetsOrderOrderHashRequest

type V2TokenizedAssetsOrderOrderHashRequest struct {
	OrderHash string `pathParam:"style=simple,explode=false,name=order_hash"`
}

func (*V2TokenizedAssetsOrderOrderHashRequest) GetOrderHash

type V2TokenizedAssetsOrderOrderHashResponse

type V2TokenizedAssetsOrderOrderHashResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	OrderStatus *components.OrderStatus
}

func (*V2TokenizedAssetsOrderOrderHashResponse) GetHTTPMeta

func (*V2TokenizedAssetsOrderOrderHashResponse) GetOrderStatus

func (V2TokenizedAssetsOrderOrderHashResponse) MarshalJSON

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

func (*V2TokenizedAssetsOrderOrderHashResponse) UnmarshalJSON

func (v *V2TokenizedAssetsOrderOrderHashResponse) UnmarshalJSON(data []byte) error

type V2TokenizedAssetsOrderResponse

type V2TokenizedAssetsOrderResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	TokenizedAssetsBuildOrderResponse *components.TokenizedAssetsBuildOrderResponse
}

func (*V2TokenizedAssetsOrderResponse) GetHTTPMeta

func (*V2TokenizedAssetsOrderResponse) GetTokenizedAssetsBuildOrderResponse

func (v *V2TokenizedAssetsOrderResponse) GetTokenizedAssetsBuildOrderResponse() *components.TokenizedAssetsBuildOrderResponse

func (V2TokenizedAssetsOrderResponse) MarshalJSON

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

func (*V2TokenizedAssetsOrderResponse) UnmarshalJSON

func (v *V2TokenizedAssetsOrderResponse) UnmarshalJSON(data []byte) error

type V2TokenizedAssetsOrderSubmitResponse

type V2TokenizedAssetsOrderSubmitResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	TokenizedAssetsSubmitOrderResponse *components.TokenizedAssetsSubmitOrderResponse
}

func (*V2TokenizedAssetsOrderSubmitResponse) GetHTTPMeta

func (*V2TokenizedAssetsOrderSubmitResponse) GetTokenizedAssetsSubmitOrderResponse

func (v *V2TokenizedAssetsOrderSubmitResponse) GetTokenizedAssetsSubmitOrderResponse() *components.TokenizedAssetsSubmitOrderResponse

func (V2TokenizedAssetsOrderSubmitResponse) MarshalJSON

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

func (*V2TokenizedAssetsOrderSubmitResponse) UnmarshalJSON

func (v *V2TokenizedAssetsOrderSubmitResponse) UnmarshalJSON(data []byte) error

type V2TokenizedAssetsPositionsChain added in v0.1.17

type V2TokenizedAssetsPositionsChain string

V2TokenizedAssetsPositionsChain - The chain to use.

const (
	V2TokenizedAssetsPositionsChainBase     V2TokenizedAssetsPositionsChain = "base"
	V2TokenizedAssetsPositionsChainEthereum V2TokenizedAssetsPositionsChain = "ethereum"
	V2TokenizedAssetsPositionsChainArbitrum V2TokenizedAssetsPositionsChain = "arbitrum"
	V2TokenizedAssetsPositionsChainHyperevm V2TokenizedAssetsPositionsChain = "hyperevm"
	V2TokenizedAssetsPositionsChainTempo    V2TokenizedAssetsPositionsChain = "tempo"
)

func (V2TokenizedAssetsPositionsChain) ToPointer added in v0.1.17

func (*V2TokenizedAssetsPositionsChain) UnmarshalJSON added in v0.1.17

func (e *V2TokenizedAssetsPositionsChain) UnmarshalJSON(data []byte) error

type V2TokenizedAssetsPositionsRequest

type V2TokenizedAssetsPositionsRequest struct {
	// The address of the owner of the Tokenized Assets Account to get positions for. The account address is derived deterministically from this owner; balances are read from the derived account.
	Owner string `queryParam:"style=form,explode=true,name=owner"`
	// Network to read positions on (defaults to Ethereum). Equities exist on Ethereum only; RWA yield assets also exist on Base.
	Chain *V2TokenizedAssetsPositionsChain `queryParam:"style=form,explode=true,name=chain"`
}

func (*V2TokenizedAssetsPositionsRequest) GetChain added in v0.1.17

func (*V2TokenizedAssetsPositionsRequest) GetOwner added in v0.1.8

type V2TokenizedAssetsPositionsResponse

type V2TokenizedAssetsPositionsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	TokenizedAssetsPositionsResponse *components.TokenizedAssetsPositionsResponse
}

func (*V2TokenizedAssetsPositionsResponse) GetHTTPMeta

func (*V2TokenizedAssetsPositionsResponse) GetTokenizedAssetsPositionsResponse

func (v *V2TokenizedAssetsPositionsResponse) GetTokenizedAssetsPositionsResponse() *components.TokenizedAssetsPositionsResponse

func (V2TokenizedAssetsPositionsResponse) MarshalJSON

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

func (*V2TokenizedAssetsPositionsResponse) UnmarshalJSON

func (v *V2TokenizedAssetsPositionsResponse) UnmarshalJSON(data []byte) error

type V2TokenizedAssetsQuoteResponse

type V2TokenizedAssetsQuoteResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	TokenizedAssetsQuoteResponse *components.TokenizedAssetsQuoteResponse
}

func (*V2TokenizedAssetsQuoteResponse) GetHTTPMeta

func (*V2TokenizedAssetsQuoteResponse) GetTokenizedAssetsQuoteResponse

func (v *V2TokenizedAssetsQuoteResponse) GetTokenizedAssetsQuoteResponse() *components.TokenizedAssetsQuoteResponse

func (V2TokenizedAssetsQuoteResponse) MarshalJSON

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

func (*V2TokenizedAssetsQuoteResponse) UnmarshalJSON

func (v *V2TokenizedAssetsQuoteResponse) UnmarshalJSON(data []byte) error

type V2TokenizedAssetsTransactBuyResponse added in v0.1.17

type V2TokenizedAssetsTransactBuyResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	TokenizedAssetsTradeResponse *components.TokenizedAssetsTradeResponse
}

func (*V2TokenizedAssetsTransactBuyResponse) GetHTTPMeta added in v0.1.17

func (*V2TokenizedAssetsTransactBuyResponse) GetTokenizedAssetsTradeResponse added in v0.1.17

func (V2TokenizedAssetsTransactBuyResponse) MarshalJSON added in v0.1.17

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

func (*V2TokenizedAssetsTransactBuyResponse) UnmarshalJSON added in v0.1.17

func (v *V2TokenizedAssetsTransactBuyResponse) UnmarshalJSON(data []byte) error

type V2TokenizedAssetsTransactSellResponse added in v0.1.17

type V2TokenizedAssetsTransactSellResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	TokenizedAssetsTradeResponse *components.TokenizedAssetsTradeResponse
}

func (*V2TokenizedAssetsTransactSellResponse) GetHTTPMeta added in v0.1.17

func (*V2TokenizedAssetsTransactSellResponse) GetTokenizedAssetsTradeResponse added in v0.1.17

func (V2TokenizedAssetsTransactSellResponse) MarshalJSON added in v0.1.17

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

func (*V2TokenizedAssetsTransactSellResponse) UnmarshalJSON added in v0.1.17

func (v *V2TokenizedAssetsTransactSellResponse) UnmarshalJSON(data []byte) error

type V2TokenizedAssetsTransferResponse added in v0.1.18

type V2TokenizedAssetsTransferResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	TokenizedAssetsTransferResponse *components.TokenizedAssetsTransferResponse
}

func (*V2TokenizedAssetsTransferResponse) GetHTTPMeta added in v0.1.18

func (*V2TokenizedAssetsTransferResponse) GetTokenizedAssetsTransferResponse added in v0.1.18

func (v *V2TokenizedAssetsTransferResponse) GetTokenizedAssetsTransferResponse() *components.TokenizedAssetsTransferResponse

func (V2TokenizedAssetsTransferResponse) MarshalJSON added in v0.1.18

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

func (*V2TokenizedAssetsTransferResponse) UnmarshalJSON added in v0.1.18

func (v *V2TokenizedAssetsTransferResponse) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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