Documentation
¶
Index ¶
- Constants
- Variables
- type AmountIn
- type AmountInType
- type CandleInterval
- type GlobalMarketsPerpsSortBy
- type GlobalMarketsPerpsSortOrder
- type MinDepositCapUsd
- type MinDepositCapUsdType
- type MinLiquidityUsd
- type MinLiquidityUsdType
- type Option
- func WithOperationTimeout(timeout time.Duration) Option
- func WithRetries(config retry.Config) Option
- func WithServerURL(serverURL string) Option
- func WithSetHeaders(hdrs map[string]string) Option
- func WithSkipDeserialization() Option
- func WithTemplatedServerURL(serverURL string, params map[string]string) Option
- func WithURLOverride(urlOverride string) Option
- type Options
- type Slippage
- type SlippageType
- type V2CreditBalancesChain
- type V2CreditBalancesRequest
- type V2CreditBalancesResponse
- func (v *V2CreditBalancesResponse) GetCreditBalancesResponse() *components.CreditBalancesResponse
- func (v *V2CreditBalancesResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2CreditBalancesResponse) MarshalJSON() ([]byte, error)
- func (v *V2CreditBalancesResponse) UnmarshalJSON(data []byte) error
- type V2CreditBorrowResponse
- type V2CreditBundleResponse
- type V2CreditCreateAccountResponse
- func (v *V2CreditCreateAccountResponse) GetCreateCreditAccountResponse() *components.CreateCreditAccountResponse
- func (v *V2CreditCreateAccountResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2CreditCreateAccountResponse) MarshalJSON() ([]byte, error)
- func (v *V2CreditCreateAccountResponse) UnmarshalJSON(data []byte) error
- type V2CreditPositionsChain
- type V2CreditPositionsRequest
- type V2CreditPositionsResponse
- func (v *V2CreditPositionsResponse) GetCreditPositionsResponse() *components.CreditPositionsResponse
- func (v *V2CreditPositionsResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2CreditPositionsResponse) MarshalJSON() ([]byte, error)
- func (v *V2CreditPositionsResponse) UnmarshalJSON(data []byte) error
- type V2CreditRepayResponse
- type V2CreditTransferResponse
- func (v *V2CreditTransferResponse) GetCreditTransferResponse() *components.CreditTransferResponse
- func (v *V2CreditTransferResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2CreditTransferResponse) MarshalJSON() ([]byte, error)
- func (v *V2CreditTransferResponse) UnmarshalJSON(data []byte) error
- type V2EarnAaveMarketsRequest
- type V2EarnAaveMarketsResponse
- func (v *V2EarnAaveMarketsResponse) GetHTTPMeta() components.HTTPMetadata
- func (v *V2EarnAaveMarketsResponse) GetListAaveMarketsResponse() *components.ListAaveMarketsResponse
- func (v V2EarnAaveMarketsResponse) MarshalJSON() ([]byte, error)
- func (v *V2EarnAaveMarketsResponse) UnmarshalJSON(data []byte) error
- type V2EarnBalancesChain
- type V2EarnBalancesRequest
- type V2EarnBalancesResponse
- type V2EarnBundleResponse
- type V2EarnCreateAccountResponse
- func (v *V2EarnCreateAccountResponse) GetCreateAccountResponse() *components.CreateAccountResponse
- func (v *V2EarnCreateAccountResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2EarnCreateAccountResponse) MarshalJSON() ([]byte, error)
- func (v *V2EarnCreateAccountResponse) UnmarshalJSON(data []byte) error
- type V2EarnManageResponse
- type V2EarnPendleMarketsDirection
- type V2EarnPendleMarketsMinTvlUsd
- type V2EarnPendleMarketsMinTvlUsdType
- type V2EarnPendleMarketsRequest
- func (v *V2EarnPendleMarketsRequest) GetChain() optionalnullable.OptionalNullable[components.Chain]
- func (v *V2EarnPendleMarketsRequest) GetDirection() *V2EarnPendleMarketsDirection
- func (v *V2EarnPendleMarketsRequest) GetLimit() *int64
- func (v *V2EarnPendleMarketsRequest) GetMinTvlUsd() optionalnullable.OptionalNullable[V2EarnPendleMarketsMinTvlUsd]
- func (v *V2EarnPendleMarketsRequest) GetOffset() *int64
- func (v *V2EarnPendleMarketsRequest) GetOrderBy() string
- func (v *V2EarnPendleMarketsRequest) GetUnderlyingSymbol() optionalnullable.OptionalNullable[string]
- type V2EarnPendleMarketsResponse
- func (v *V2EarnPendleMarketsResponse) GetHTTPMeta() components.HTTPMetadata
- func (v *V2EarnPendleMarketsResponse) GetPendleMarketsResponse() *components.PendleMarketsResponse
- func (v V2EarnPendleMarketsResponse) MarshalJSON() ([]byte, error)
- func (v *V2EarnPendleMarketsResponse) UnmarshalJSON(data []byte) error
- type V2EarnPositionsAllRequest
- type V2EarnPositionsAllResponse
- func (v *V2EarnPositionsAllResponse) GetEarnPositionsAllResponse() *components.EarnPositionsAllResponse
- func (v *V2EarnPositionsAllResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2EarnPositionsAllResponse) MarshalJSON() ([]byte, error)
- func (v *V2EarnPositionsAllResponse) UnmarshalJSON(data []byte) error
- type V2EarnPositionsChain
- type V2EarnPositionsRequest
- type V2EarnPositionsResponse
- type V2EarnSwapQuoteChain
- type V2EarnSwapQuoteRequest
- func (v *V2EarnSwapQuoteRequest) GetAmountIn() AmountIn
- func (v *V2EarnSwapQuoteRequest) GetChain() V2EarnSwapQuoteChain
- func (v *V2EarnSwapQuoteRequest) GetSlippage() *Slippage
- func (v *V2EarnSwapQuoteRequest) GetSyAddress() optionalnullable.OptionalNullable[string]
- func (v *V2EarnSwapQuoteRequest) GetTokenIn() string
- func (v *V2EarnSwapQuoteRequest) GetTokenOut() *string
- type V2EarnSwapQuoteResponse
- type V2EarnSwapResponse
- type V2EarnTransferResponse
- type V2EarnVaultsDirection
- type V2EarnVaultsMinTvlUsd
- type V2EarnVaultsMinTvlUsdType
- type V2EarnVaultsRequest
- func (v *V2EarnVaultsRequest) GetAssetSymbol() optionalnullable.OptionalNullable[string]
- func (v *V2EarnVaultsRequest) GetChain() optionalnullable.OptionalNullable[components.Chain]
- func (v *V2EarnVaultsRequest) GetDirection() *V2EarnVaultsDirection
- func (v *V2EarnVaultsRequest) GetLimit() *int64
- func (v *V2EarnVaultsRequest) GetMinDepositCapUsd() optionalnullable.OptionalNullable[MinDepositCapUsd]
- func (v *V2EarnVaultsRequest) GetMinLiquidityUsd() optionalnullable.OptionalNullable[MinLiquidityUsd]
- func (v *V2EarnVaultsRequest) GetMinTvlUsd() optionalnullable.OptionalNullable[V2EarnVaultsMinTvlUsd]
- func (v *V2EarnVaultsRequest) GetOffset() *int64
- func (v *V2EarnVaultsRequest) GetOrderBy() string
- type V2EarnVaultsResponse
- type V2GasSponsorshipApproveTransferResponse
- func (v *V2GasSponsorshipApproveTransferResponse) GetApproveTransferResponse() *components.ApproveTransferResponse
- func (v *V2GasSponsorshipApproveTransferResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GasSponsorshipApproveTransferResponse) MarshalJSON() ([]byte, error)
- func (v *V2GasSponsorshipApproveTransferResponse) UnmarshalJSON(data []byte) error
- type V2GasSponsorshipPrepareResponse
- func (v *V2GasSponsorshipPrepareResponse) GetHTTPMeta() components.HTTPMetadata
- func (v *V2GasSponsorshipPrepareResponse) GetSponsorGasResponse() *components.SponsorGasResponse
- func (v V2GasSponsorshipPrepareResponse) MarshalJSON() ([]byte, error)
- func (v *V2GasSponsorshipPrepareResponse) UnmarshalJSON(data []byte) error
- type V2GlobalMarketsPerpsActivityRequest
- type V2GlobalMarketsPerpsActivityResponse
- func (v *V2GlobalMarketsPerpsActivityResponse) GetGlobalMarketsPerpsActivityResponse() *components.GlobalMarketsPerpsActivityResponse
- func (v *V2GlobalMarketsPerpsActivityResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GlobalMarketsPerpsActivityResponse) MarshalJSON() ([]byte, error)
- func (v *V2GlobalMarketsPerpsActivityResponse) UnmarshalJSON(data []byte) error
- type V2GlobalMarketsPerpsApproveBuilderFeeResponse
- func (v *V2GlobalMarketsPerpsApproveBuilderFeeResponse) GetGlobalMarketsPerpsSignableActionResponse() *components.GlobalMarketsPerpsSignableActionResponse
- func (v *V2GlobalMarketsPerpsApproveBuilderFeeResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GlobalMarketsPerpsApproveBuilderFeeResponse) MarshalJSON() ([]byte, error)
- func (v *V2GlobalMarketsPerpsApproveBuilderFeeResponse) UnmarshalJSON(data []byte) error
- type V2GlobalMarketsPerpsCancelOrderResponse
- func (v *V2GlobalMarketsPerpsCancelOrderResponse) GetGlobalMarketsPerpsSignableActionResponse() *components.GlobalMarketsPerpsSignableActionResponse
- func (v *V2GlobalMarketsPerpsCancelOrderResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GlobalMarketsPerpsCancelOrderResponse) MarshalJSON() ([]byte, error)
- func (v *V2GlobalMarketsPerpsCancelOrderResponse) UnmarshalJSON(data []byte) error
- type V2GlobalMarketsPerpsCandlesRequest
- func (v *V2GlobalMarketsPerpsCandlesRequest) GetEndTime() optionalnullable.OptionalNullable[int64]
- func (v *V2GlobalMarketsPerpsCandlesRequest) GetInterval() CandleInterval
- func (v *V2GlobalMarketsPerpsCandlesRequest) GetLimit() *int64
- func (v *V2GlobalMarketsPerpsCandlesRequest) GetStartTime() optionalnullable.OptionalNullable[int64]
- func (v *V2GlobalMarketsPerpsCandlesRequest) GetSymbol() string
- type V2GlobalMarketsPerpsCandlesResponse
- func (v *V2GlobalMarketsPerpsCandlesResponse) GetGlobalMarketsPerpsCandlesResponse() *components.GlobalMarketsPerpsCandlesResponse
- func (v *V2GlobalMarketsPerpsCandlesResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GlobalMarketsPerpsCandlesResponse) MarshalJSON() ([]byte, error)
- func (v *V2GlobalMarketsPerpsCandlesResponse) UnmarshalJSON(data []byte) error
- type V2GlobalMarketsPerpsDepositResponse
- func (v *V2GlobalMarketsPerpsDepositResponse) GetGlobalMarketsPerpsDepositResponse() *components.GlobalMarketsPerpsDepositResponse
- func (v *V2GlobalMarketsPerpsDepositResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GlobalMarketsPerpsDepositResponse) MarshalJSON() ([]byte, error)
- func (v *V2GlobalMarketsPerpsDepositResponse) UnmarshalJSON(data []byte) error
- type V2GlobalMarketsPerpsDepositSponsorPrepareResponse
- func (v *V2GlobalMarketsPerpsDepositSponsorPrepareResponse) GetGlobalMarketsPerpsDepositSponsorPrepareResponse() *components.GlobalMarketsPerpsDepositSponsorPrepareResponse
- func (v *V2GlobalMarketsPerpsDepositSponsorPrepareResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GlobalMarketsPerpsDepositSponsorPrepareResponse) MarshalJSON() ([]byte, error)
- func (v *V2GlobalMarketsPerpsDepositSponsorPrepareResponse) UnmarshalJSON(data []byte) error
- type V2GlobalMarketsPerpsEnableUnifiedAccountResponse
- func (v *V2GlobalMarketsPerpsEnableUnifiedAccountResponse) GetGlobalMarketsPerpsEnableUnifiedAccountResponse() *components.GlobalMarketsPerpsEnableUnifiedAccountResponse
- func (v *V2GlobalMarketsPerpsEnableUnifiedAccountResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GlobalMarketsPerpsEnableUnifiedAccountResponse) MarshalJSON() ([]byte, error)
- func (v *V2GlobalMarketsPerpsEnableUnifiedAccountResponse) UnmarshalJSON(data []byte) error
- type V2GlobalMarketsPerpsEnsureLeverageResponse
- func (v *V2GlobalMarketsPerpsEnsureLeverageResponse) GetGlobalMarketsPerpsEnsureLeverageResponse() *components.GlobalMarketsPerpsEnsureLeverageResponse
- func (v *V2GlobalMarketsPerpsEnsureLeverageResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GlobalMarketsPerpsEnsureLeverageResponse) MarshalJSON() ([]byte, error)
- func (v *V2GlobalMarketsPerpsEnsureLeverageResponse) UnmarshalJSON(data []byte) error
- type V2GlobalMarketsPerpsExecuteResponse
- func (v *V2GlobalMarketsPerpsExecuteResponse) GetGlobalMarketsPerpsExecuteResponse() *components.GlobalMarketsPerpsExecuteResponse
- func (v *V2GlobalMarketsPerpsExecuteResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GlobalMarketsPerpsExecuteResponse) MarshalJSON() ([]byte, error)
- func (v *V2GlobalMarketsPerpsExecuteResponse) UnmarshalJSON(data []byte) error
- type V2GlobalMarketsPerpsLimitOrderResponse
- func (v *V2GlobalMarketsPerpsLimitOrderResponse) GetGlobalMarketsPerpsSignableActionResponse() *components.GlobalMarketsPerpsSignableActionResponse
- func (v *V2GlobalMarketsPerpsLimitOrderResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GlobalMarketsPerpsLimitOrderResponse) MarshalJSON() ([]byte, error)
- func (v *V2GlobalMarketsPerpsLimitOrderResponse) UnmarshalJSON(data []byte) error
- type V2GlobalMarketsPerpsMarketOrderResponse
- func (v *V2GlobalMarketsPerpsMarketOrderResponse) GetGlobalMarketsPerpsSignableActionResponse() *components.GlobalMarketsPerpsSignableActionResponse
- func (v *V2GlobalMarketsPerpsMarketOrderResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GlobalMarketsPerpsMarketOrderResponse) MarshalJSON() ([]byte, error)
- func (v *V2GlobalMarketsPerpsMarketOrderResponse) UnmarshalJSON(data []byte) error
- type V2GlobalMarketsPerpsOpportunitiesRequest
- func (v *V2GlobalMarketsPerpsOpportunitiesRequest) GetCategory() optionalnullable.OptionalNullable[components.GlobalMarketsPerpsCategory]
- func (v *V2GlobalMarketsPerpsOpportunitiesRequest) GetMinOpenInterest() optionalnullable.OptionalNullable[float64]
- func (v *V2GlobalMarketsPerpsOpportunitiesRequest) GetMinVolume24h() optionalnullable.OptionalNullable[float64]
- func (v *V2GlobalMarketsPerpsOpportunitiesRequest) GetSortBy() *GlobalMarketsPerpsSortBy
- func (v *V2GlobalMarketsPerpsOpportunitiesRequest) GetSortOrder() *GlobalMarketsPerpsSortOrder
- type V2GlobalMarketsPerpsOpportunitiesResponse
- func (v *V2GlobalMarketsPerpsOpportunitiesResponse) GetGlobalMarketsPerpsOpportunitiesResponse() *components.GlobalMarketsPerpsOpportunitiesResponse
- func (v *V2GlobalMarketsPerpsOpportunitiesResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GlobalMarketsPerpsOpportunitiesResponse) MarshalJSON() ([]byte, error)
- func (v *V2GlobalMarketsPerpsOpportunitiesResponse) UnmarshalJSON(data []byte) error
- type V2GlobalMarketsPerpsPositionsRequest
- type V2GlobalMarketsPerpsPositionsResponse
- func (v *V2GlobalMarketsPerpsPositionsResponse) GetGlobalMarketsPerpsPositionsResponse() *components.GlobalMarketsPerpsPositionsResponse
- func (v *V2GlobalMarketsPerpsPositionsResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GlobalMarketsPerpsPositionsResponse) MarshalJSON() ([]byte, error)
- func (v *V2GlobalMarketsPerpsPositionsResponse) UnmarshalJSON(data []byte) error
- type V2GlobalMarketsPerpsWithdrawResponse
- func (v *V2GlobalMarketsPerpsWithdrawResponse) GetGlobalMarketsPerpsSignableActionResponse() *components.GlobalMarketsPerpsSignableActionResponse
- func (v *V2GlobalMarketsPerpsWithdrawResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2GlobalMarketsPerpsWithdrawResponse) MarshalJSON() ([]byte, error)
- func (v *V2GlobalMarketsPerpsWithdrawResponse) UnmarshalJSON(data []byte) error
- type V2TokenizedEquitiesCreateAccountResponse
- func (v *V2TokenizedEquitiesCreateAccountResponse) GetCreateTokenizedEquitiesAccountResponse() *components.CreateTokenizedEquitiesAccountResponse
- func (v *V2TokenizedEquitiesCreateAccountResponse) GetHTTPMeta() components.HTTPMetadata
- func (v V2TokenizedEquitiesCreateAccountResponse) MarshalJSON() ([]byte, error)
- func (v *V2TokenizedEquitiesCreateAccountResponse) UnmarshalJSON(data []byte) error
- type V2TokenizedEquitiesMarketsRequest
- type V2TokenizedEquitiesMarketsResponse
- func (v *V2TokenizedEquitiesMarketsResponse) GetHTTPMeta() components.HTTPMetadata
- func (v *V2TokenizedEquitiesMarketsResponse) GetTokenizedEquitiesMarketsListResponse() *components.TokenizedEquitiesMarketsListResponse
- func (v V2TokenizedEquitiesMarketsResponse) MarshalJSON() ([]byte, error)
- func (v *V2TokenizedEquitiesMarketsResponse) UnmarshalJSON(data []byte) error
- type V2TokenizedEquitiesMarketsSymbolRequest
- func (v *V2TokenizedEquitiesMarketsSymbolRequest) GetInterval() optionalnullable.OptionalNullable[components.TokenizedEquitiesOhlcInterval]
- func (v *V2TokenizedEquitiesMarketsSymbolRequest) GetRange() optionalnullable.OptionalNullable[components.TokenizedEquitiesOhlcRange]
- func (v *V2TokenizedEquitiesMarketsSymbolRequest) GetSymbol() string
- type V2TokenizedEquitiesMarketsSymbolResponse
- func (v *V2TokenizedEquitiesMarketsSymbolResponse) GetHTTPMeta() components.HTTPMetadata
- func (v *V2TokenizedEquitiesMarketsSymbolResponse) GetMarketDetail() *components.MarketDetail
- func (v V2TokenizedEquitiesMarketsSymbolResponse) MarshalJSON() ([]byte, error)
- func (v *V2TokenizedEquitiesMarketsSymbolResponse) UnmarshalJSON(data []byte) error
- type V2TokenizedEquitiesOrderOrderHashCancelRequest
- type V2TokenizedEquitiesOrderOrderHashCancelResponse
- func (v *V2TokenizedEquitiesOrderOrderHashCancelResponse) GetHTTPMeta() components.HTTPMetadata
- func (v *V2TokenizedEquitiesOrderOrderHashCancelResponse) GetTokenizedEquitiesCancelOrderResponse() *components.TokenizedEquitiesCancelOrderResponse
- func (v V2TokenizedEquitiesOrderOrderHashCancelResponse) MarshalJSON() ([]byte, error)
- func (v *V2TokenizedEquitiesOrderOrderHashCancelResponse) UnmarshalJSON(data []byte) error
- type V2TokenizedEquitiesOrderOrderHashRequest
- type V2TokenizedEquitiesOrderOrderHashResponse
- func (v *V2TokenizedEquitiesOrderOrderHashResponse) GetHTTPMeta() components.HTTPMetadata
- func (v *V2TokenizedEquitiesOrderOrderHashResponse) GetOrderStatus() *components.OrderStatus
- func (v V2TokenizedEquitiesOrderOrderHashResponse) MarshalJSON() ([]byte, error)
- func (v *V2TokenizedEquitiesOrderOrderHashResponse) UnmarshalJSON(data []byte) error
- type V2TokenizedEquitiesOrderResponse
- func (v *V2TokenizedEquitiesOrderResponse) GetHTTPMeta() components.HTTPMetadata
- func (v *V2TokenizedEquitiesOrderResponse) GetTokenizedEquitiesBuildOrderResponse() *components.TokenizedEquitiesBuildOrderResponse
- func (v V2TokenizedEquitiesOrderResponse) MarshalJSON() ([]byte, error)
- func (v *V2TokenizedEquitiesOrderResponse) UnmarshalJSON(data []byte) error
- type V2TokenizedEquitiesOrderSubmitResponse
- func (v *V2TokenizedEquitiesOrderSubmitResponse) GetHTTPMeta() components.HTTPMetadata
- func (v *V2TokenizedEquitiesOrderSubmitResponse) GetTokenizedEquitiesSubmitOrderResponse() *components.TokenizedEquitiesSubmitOrderResponse
- func (v V2TokenizedEquitiesOrderSubmitResponse) MarshalJSON() ([]byte, error)
- func (v *V2TokenizedEquitiesOrderSubmitResponse) UnmarshalJSON(data []byte) error
- type V2TokenizedEquitiesPositionsRequest
- type V2TokenizedEquitiesPositionsResponse
- func (v *V2TokenizedEquitiesPositionsResponse) GetHTTPMeta() components.HTTPMetadata
- func (v *V2TokenizedEquitiesPositionsResponse) GetTokenizedEquitiesPositionsResponse() *components.TokenizedEquitiesPositionsResponse
- func (v V2TokenizedEquitiesPositionsResponse) MarshalJSON() ([]byte, error)
- func (v *V2TokenizedEquitiesPositionsResponse) UnmarshalJSON(data []byte) error
- type V2TokenizedEquitiesQuoteResponse
- func (v *V2TokenizedEquitiesQuoteResponse) GetHTTPMeta() components.HTTPMetadata
- func (v *V2TokenizedEquitiesQuoteResponse) GetTokenizedEquitiesQuoteResponse() *components.TokenizedEquitiesQuoteResponse
- func (v V2TokenizedEquitiesQuoteResponse) MarshalJSON() ([]byte, error)
- func (v *V2TokenizedEquitiesQuoteResponse) UnmarshalJSON(data []byte) error
Constants ¶
const ( SupportedOptionRetries = "retries" SupportedOptionTimeout = "timeout" SupportedOptionAcceptHeaderOverride = "acceptHeaderOverride" SupportedOptionURLOverride = "urlOverride" SupportedOptionSkipDeserialization = "skipDeserialization" )
Variables ¶
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 CreateAmountInStr ¶ added in v0.1.16
func (AmountIn) MarshalJSON ¶ added in v0.1.16
func (*AmountIn) UnmarshalJSON ¶ added in v0.1.16
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 (e GlobalMarketsPerpsSortBy) ToPointer() *GlobalMarketsPerpsSortBy
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 (e GlobalMarketsPerpsSortOrder) ToPointer() *GlobalMarketsPerpsSortOrder
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 ¶
func WithOperationTimeout ¶
WithOperationTimeout allows setting the request timeout applied for an operation.
func WithRetries ¶
WithRetries allows customizing the default retry configuration.
func WithServerURL ¶
WithServerURL allows providing an alternative server URL.
func WithSetHeaders ¶
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 ¶
WithTemplatedServerURL allows providing an alternative server URL with templated parameters.
func WithURLOverride ¶
WithURLOverride allows overriding the URL.
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 CreateSlippageStr ¶ added in v0.1.16
func (Slippage) MarshalJSON ¶ added in v0.1.16
func (*Slippage) UnmarshalJSON ¶ added in v0.1.16
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 (e V2CreditBalancesChain) ToPointer() *V2CreditBalancesChain
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 (v *V2CreditBalancesRequest) GetChain() V2CreditBalancesChain
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 (v *V2CreditBalancesResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2CreditBorrowResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2CreditBundleResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2CreditCreateAccountResponse) GetHTTPMeta() components.HTTPMetadata
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 (e V2CreditPositionsChain) ToPointer() *V2CreditPositionsChain
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 (v *V2CreditPositionsRequest) GetChain() V2CreditPositionsChain
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 (v *V2CreditPositionsResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2CreditRepayResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2CreditTransferResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2EarnAaveMarketsRequest) GetChain() optionalnullable.OptionalNullable[components.Chain]
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 (v *V2EarnAaveMarketsResponse) GetHTTPMeta() components.HTTPMetadata
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 (e V2EarnBalancesChain) ToPointer() *V2EarnBalancesChain
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 (v *V2EarnBalancesRequest) GetChain() V2EarnBalancesChain
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 (v *V2EarnBalancesResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2EarnCreateAccountResponse) GetHTTPMeta() components.HTTPMetadata
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 (e V2EarnPendleMarketsDirection) ToPointer() *V2EarnPendleMarketsDirection
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 (v *V2EarnPendleMarketsRequest) GetChain() optionalnullable.OptionalNullable[components.Chain]
func (*V2EarnPendleMarketsRequest) GetDirection ¶
func (v *V2EarnPendleMarketsRequest) GetDirection() *V2EarnPendleMarketsDirection
func (*V2EarnPendleMarketsRequest) GetLimit ¶
func (v *V2EarnPendleMarketsRequest) GetLimit() *int64
func (*V2EarnPendleMarketsRequest) GetMinTvlUsd ¶
func (v *V2EarnPendleMarketsRequest) GetMinTvlUsd() optionalnullable.OptionalNullable[V2EarnPendleMarketsMinTvlUsd]
func (*V2EarnPendleMarketsRequest) GetOffset ¶
func (v *V2EarnPendleMarketsRequest) GetOffset() *int64
func (*V2EarnPendleMarketsRequest) GetOrderBy ¶
func (v *V2EarnPendleMarketsRequest) GetOrderBy() string
func (*V2EarnPendleMarketsRequest) GetUnderlyingSymbol ¶
func (v *V2EarnPendleMarketsRequest) GetUnderlyingSymbol() optionalnullable.OptionalNullable[string]
type V2EarnPendleMarketsResponse ¶
type V2EarnPendleMarketsResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// Successful Response
PendleMarketsResponse *components.PendleMarketsResponse
}
func (*V2EarnPendleMarketsResponse) GetHTTPMeta ¶
func (v *V2EarnPendleMarketsResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2EarnPositionsAllResponse) GetHTTPMeta() components.HTTPMetadata
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 (e V2EarnPositionsChain) ToPointer() *V2EarnPositionsChain
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 (v *V2EarnPositionsRequest) GetChain() V2EarnPositionsChain
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 (v *V2EarnPositionsResponse) GetHTTPMeta() components.HTTPMetadata
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 (e V2EarnSwapQuoteChain) ToPointer() *V2EarnSwapQuoteChain
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 (v *V2EarnSwapQuoteRequest) GetChain() V2EarnSwapQuoteChain
func (*V2EarnSwapQuoteRequest) GetSlippage ¶ added in v0.1.16
func (v *V2EarnSwapQuoteRequest) GetSlippage() *Slippage
func (*V2EarnSwapQuoteRequest) GetSyAddress ¶ added in v0.1.16
func (v *V2EarnSwapQuoteRequest) GetSyAddress() optionalnullable.OptionalNullable[string]
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 (v *V2EarnSwapQuoteResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2EarnTransferResponse) GetHTTPMeta() components.HTTPMetadata
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 (e V2EarnVaultsDirection) ToPointer() *V2EarnVaultsDirection
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 (v *V2EarnVaultsRequest) GetAssetSymbol() optionalnullable.OptionalNullable[string]
func (*V2EarnVaultsRequest) GetChain ¶
func (v *V2EarnVaultsRequest) GetChain() optionalnullable.OptionalNullable[components.Chain]
func (*V2EarnVaultsRequest) GetDirection ¶
func (v *V2EarnVaultsRequest) GetDirection() *V2EarnVaultsDirection
func (*V2EarnVaultsRequest) GetLimit ¶
func (v *V2EarnVaultsRequest) GetLimit() *int64
func (*V2EarnVaultsRequest) GetMinDepositCapUsd ¶
func (v *V2EarnVaultsRequest) GetMinDepositCapUsd() optionalnullable.OptionalNullable[MinDepositCapUsd]
func (*V2EarnVaultsRequest) GetMinLiquidityUsd ¶
func (v *V2EarnVaultsRequest) GetMinLiquidityUsd() optionalnullable.OptionalNullable[MinLiquidityUsd]
func (*V2EarnVaultsRequest) GetMinTvlUsd ¶
func (v *V2EarnVaultsRequest) GetMinTvlUsd() optionalnullable.OptionalNullable[V2EarnVaultsMinTvlUsd]
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 (v *V2GasSponsorshipApproveTransferResponse) GetApproveTransferResponse() *components.ApproveTransferResponse
func (*V2GasSponsorshipApproveTransferResponse) GetHTTPMeta ¶
func (v *V2GasSponsorshipApproveTransferResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2GasSponsorshipPrepareResponse) GetHTTPMeta() components.HTTPMetadata
func (*V2GasSponsorshipPrepareResponse) GetSponsorGasResponse ¶
func (v *V2GasSponsorshipPrepareResponse) GetSponsorGasResponse() *components.SponsorGasResponse
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 (v *V2GlobalMarketsPerpsActivityRequest) GetBuilder() optionalnullable.OptionalNullable[string]
func (*V2GlobalMarketsPerpsActivityRequest) GetOwner ¶ added in v0.1.3
func (v *V2GlobalMarketsPerpsActivityRequest) GetOwner() string
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 (v *V2GlobalMarketsPerpsActivityResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2GlobalMarketsPerpsApproveBuilderFeeResponse) GetGlobalMarketsPerpsSignableActionResponse() *components.GlobalMarketsPerpsSignableActionResponse
func (*V2GlobalMarketsPerpsApproveBuilderFeeResponse) GetHTTPMeta ¶ added in v0.1.1
func (v *V2GlobalMarketsPerpsApproveBuilderFeeResponse) GetHTTPMeta() components.HTTPMetadata
func (V2GlobalMarketsPerpsApproveBuilderFeeResponse) MarshalJSON ¶ added in v0.1.1
func (v V2GlobalMarketsPerpsApproveBuilderFeeResponse) MarshalJSON() ([]byte, error)
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 (v *V2GlobalMarketsPerpsCancelOrderResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2GlobalMarketsPerpsCandlesRequest) GetEndTime() optionalnullable.OptionalNullable[int64]
func (*V2GlobalMarketsPerpsCandlesRequest) GetInterval ¶ added in v0.1.5
func (v *V2GlobalMarketsPerpsCandlesRequest) GetInterval() CandleInterval
func (*V2GlobalMarketsPerpsCandlesRequest) GetLimit ¶ added in v0.1.5
func (v *V2GlobalMarketsPerpsCandlesRequest) GetLimit() *int64
func (*V2GlobalMarketsPerpsCandlesRequest) GetStartTime ¶ added in v0.1.5
func (v *V2GlobalMarketsPerpsCandlesRequest) GetStartTime() optionalnullable.OptionalNullable[int64]
func (*V2GlobalMarketsPerpsCandlesRequest) GetSymbol ¶ added in v0.1.5
func (v *V2GlobalMarketsPerpsCandlesRequest) GetSymbol() string
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 (v *V2GlobalMarketsPerpsCandlesResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2GlobalMarketsPerpsDepositResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2GlobalMarketsPerpsDepositSponsorPrepareResponse) GetGlobalMarketsPerpsDepositSponsorPrepareResponse() *components.GlobalMarketsPerpsDepositSponsorPrepareResponse
func (*V2GlobalMarketsPerpsDepositSponsorPrepareResponse) GetHTTPMeta ¶ added in v0.1.7
func (v *V2GlobalMarketsPerpsDepositSponsorPrepareResponse) GetHTTPMeta() components.HTTPMetadata
func (V2GlobalMarketsPerpsDepositSponsorPrepareResponse) MarshalJSON ¶ added in v0.1.7
func (v V2GlobalMarketsPerpsDepositSponsorPrepareResponse) MarshalJSON() ([]byte, error)
func (*V2GlobalMarketsPerpsDepositSponsorPrepareResponse) UnmarshalJSON ¶ added in v0.1.7
func (v *V2GlobalMarketsPerpsDepositSponsorPrepareResponse) UnmarshalJSON(data []byte) error
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 (v *V2GlobalMarketsPerpsEnableUnifiedAccountResponse) GetGlobalMarketsPerpsEnableUnifiedAccountResponse() *components.GlobalMarketsPerpsEnableUnifiedAccountResponse
func (*V2GlobalMarketsPerpsEnableUnifiedAccountResponse) GetHTTPMeta ¶ added in v0.1.1
func (v *V2GlobalMarketsPerpsEnableUnifiedAccountResponse) GetHTTPMeta() components.HTTPMetadata
func (V2GlobalMarketsPerpsEnableUnifiedAccountResponse) MarshalJSON ¶ added in v0.1.1
func (v V2GlobalMarketsPerpsEnableUnifiedAccountResponse) MarshalJSON() ([]byte, error)
func (*V2GlobalMarketsPerpsEnableUnifiedAccountResponse) UnmarshalJSON ¶ added in v0.1.1
func (v *V2GlobalMarketsPerpsEnableUnifiedAccountResponse) UnmarshalJSON(data []byte) error
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 (v *V2GlobalMarketsPerpsEnsureLeverageResponse) GetGlobalMarketsPerpsEnsureLeverageResponse() *components.GlobalMarketsPerpsEnsureLeverageResponse
func (*V2GlobalMarketsPerpsEnsureLeverageResponse) GetHTTPMeta ¶ added in v0.1.1
func (v *V2GlobalMarketsPerpsEnsureLeverageResponse) GetHTTPMeta() components.HTTPMetadata
func (V2GlobalMarketsPerpsEnsureLeverageResponse) MarshalJSON ¶ added in v0.1.1
func (v V2GlobalMarketsPerpsEnsureLeverageResponse) MarshalJSON() ([]byte, error)
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 (v *V2GlobalMarketsPerpsExecuteResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2GlobalMarketsPerpsLimitOrderResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2GlobalMarketsPerpsMarketOrderResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2GlobalMarketsPerpsOpportunitiesRequest) GetCategory() optionalnullable.OptionalNullable[components.GlobalMarketsPerpsCategory]
func (*V2GlobalMarketsPerpsOpportunitiesRequest) GetMinOpenInterest ¶ added in v0.1.1
func (v *V2GlobalMarketsPerpsOpportunitiesRequest) GetMinOpenInterest() optionalnullable.OptionalNullable[float64]
func (*V2GlobalMarketsPerpsOpportunitiesRequest) GetMinVolume24h ¶ added in v0.1.1
func (v *V2GlobalMarketsPerpsOpportunitiesRequest) GetMinVolume24h() optionalnullable.OptionalNullable[float64]
func (*V2GlobalMarketsPerpsOpportunitiesRequest) GetSortBy ¶ added in v0.1.1
func (v *V2GlobalMarketsPerpsOpportunitiesRequest) GetSortBy() *GlobalMarketsPerpsSortBy
func (*V2GlobalMarketsPerpsOpportunitiesRequest) GetSortOrder ¶ added in v0.1.1
func (v *V2GlobalMarketsPerpsOpportunitiesRequest) GetSortOrder() *GlobalMarketsPerpsSortOrder
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 (v *V2GlobalMarketsPerpsOpportunitiesResponse) GetHTTPMeta() components.HTTPMetadata
func (V2GlobalMarketsPerpsOpportunitiesResponse) MarshalJSON ¶ added in v0.1.1
func (v V2GlobalMarketsPerpsOpportunitiesResponse) MarshalJSON() ([]byte, error)
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 (v *V2GlobalMarketsPerpsPositionsRequest) GetAsset() optionalnullable.OptionalNullable[string]
func (*V2GlobalMarketsPerpsPositionsRequest) GetOwner ¶ added in v0.1.1
func (v *V2GlobalMarketsPerpsPositionsRequest) GetOwner() string
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 (v *V2GlobalMarketsPerpsPositionsResponse) GetHTTPMeta() components.HTTPMetadata
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 (v *V2GlobalMarketsPerpsWithdrawResponse) GetHTTPMeta() components.HTTPMetadata
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 V2TokenizedEquitiesCreateAccountResponse ¶ added in v0.1.9
type V2TokenizedEquitiesCreateAccountResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// Successful Response
CreateTokenizedEquitiesAccountResponse *components.CreateTokenizedEquitiesAccountResponse
}
func (*V2TokenizedEquitiesCreateAccountResponse) GetCreateTokenizedEquitiesAccountResponse ¶ added in v0.1.9
func (v *V2TokenizedEquitiesCreateAccountResponse) GetCreateTokenizedEquitiesAccountResponse() *components.CreateTokenizedEquitiesAccountResponse
func (*V2TokenizedEquitiesCreateAccountResponse) GetHTTPMeta ¶ added in v0.1.9
func (v *V2TokenizedEquitiesCreateAccountResponse) GetHTTPMeta() components.HTTPMetadata
func (V2TokenizedEquitiesCreateAccountResponse) MarshalJSON ¶ added in v0.1.9
func (v V2TokenizedEquitiesCreateAccountResponse) MarshalJSON() ([]byte, error)
func (*V2TokenizedEquitiesCreateAccountResponse) UnmarshalJSON ¶ added in v0.1.9
func (v *V2TokenizedEquitiesCreateAccountResponse) UnmarshalJSON(data []byte) error
type V2TokenizedEquitiesMarketsRequest ¶ added in v0.1.9
type V2TokenizedEquitiesMarketsRequest 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"`
}
func (*V2TokenizedEquitiesMarketsRequest) GetCategory ¶ added in v0.1.9
func (v *V2TokenizedEquitiesMarketsRequest) GetCategory() optionalnullable.OptionalNullable[string]
func (*V2TokenizedEquitiesMarketsRequest) GetSearch ¶ added in v0.1.9
func (v *V2TokenizedEquitiesMarketsRequest) GetSearch() optionalnullable.OptionalNullable[string]
type V2TokenizedEquitiesMarketsResponse ¶ added in v0.1.9
type V2TokenizedEquitiesMarketsResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// Successful Response
TokenizedEquitiesMarketsListResponse *components.TokenizedEquitiesMarketsListResponse
}
func (*V2TokenizedEquitiesMarketsResponse) GetHTTPMeta ¶ added in v0.1.9
func (v *V2TokenizedEquitiesMarketsResponse) GetHTTPMeta() components.HTTPMetadata
func (*V2TokenizedEquitiesMarketsResponse) GetTokenizedEquitiesMarketsListResponse ¶ added in v0.1.9
func (v *V2TokenizedEquitiesMarketsResponse) GetTokenizedEquitiesMarketsListResponse() *components.TokenizedEquitiesMarketsListResponse
func (V2TokenizedEquitiesMarketsResponse) MarshalJSON ¶ added in v0.1.9
func (v V2TokenizedEquitiesMarketsResponse) MarshalJSON() ([]byte, error)
func (*V2TokenizedEquitiesMarketsResponse) UnmarshalJSON ¶ added in v0.1.9
func (v *V2TokenizedEquitiesMarketsResponse) UnmarshalJSON(data []byte) error
type V2TokenizedEquitiesMarketsSymbolRequest ¶ added in v0.1.9
type V2TokenizedEquitiesMarketsSymbolRequest struct {
Symbol string `pathParam:"style=simple,explode=false,name=symbol"`
// 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.TokenizedEquitiesOhlcInterval] `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.TokenizedEquitiesOhlcRange] `queryParam:"style=form,explode=true,name=range"`
}
func (*V2TokenizedEquitiesMarketsSymbolRequest) GetInterval ¶ added in v0.1.9
func (v *V2TokenizedEquitiesMarketsSymbolRequest) GetInterval() optionalnullable.OptionalNullable[components.TokenizedEquitiesOhlcInterval]
func (*V2TokenizedEquitiesMarketsSymbolRequest) GetSymbol ¶ added in v0.1.9
func (v *V2TokenizedEquitiesMarketsSymbolRequest) GetSymbol() string
type V2TokenizedEquitiesMarketsSymbolResponse ¶ added in v0.1.9
type V2TokenizedEquitiesMarketsSymbolResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// Successful Response
MarketDetail *components.MarketDetail
}
func (*V2TokenizedEquitiesMarketsSymbolResponse) GetHTTPMeta ¶ added in v0.1.9
func (v *V2TokenizedEquitiesMarketsSymbolResponse) GetHTTPMeta() components.HTTPMetadata
func (*V2TokenizedEquitiesMarketsSymbolResponse) GetMarketDetail ¶ added in v0.1.9
func (v *V2TokenizedEquitiesMarketsSymbolResponse) GetMarketDetail() *components.MarketDetail
func (V2TokenizedEquitiesMarketsSymbolResponse) MarshalJSON ¶ added in v0.1.9
func (v V2TokenizedEquitiesMarketsSymbolResponse) MarshalJSON() ([]byte, error)
func (*V2TokenizedEquitiesMarketsSymbolResponse) UnmarshalJSON ¶ added in v0.1.9
func (v *V2TokenizedEquitiesMarketsSymbolResponse) UnmarshalJSON(data []byte) error
type V2TokenizedEquitiesOrderOrderHashCancelRequest ¶ added in v0.1.9
type V2TokenizedEquitiesOrderOrderHashCancelRequest struct {
OrderHash string `pathParam:"style=simple,explode=false,name=order_hash"`
Body components.TokenizedEquitiesCancelOrderRequest `request:"mediaType=application/json"`
}
func (*V2TokenizedEquitiesOrderOrderHashCancelRequest) GetOrderHash ¶ added in v0.1.9
func (v *V2TokenizedEquitiesOrderOrderHashCancelRequest) GetOrderHash() string
type V2TokenizedEquitiesOrderOrderHashCancelResponse ¶ added in v0.1.9
type V2TokenizedEquitiesOrderOrderHashCancelResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// Successful Response
TokenizedEquitiesCancelOrderResponse *components.TokenizedEquitiesCancelOrderResponse
}
func (*V2TokenizedEquitiesOrderOrderHashCancelResponse) GetHTTPMeta ¶ added in v0.1.9
func (v *V2TokenizedEquitiesOrderOrderHashCancelResponse) GetHTTPMeta() components.HTTPMetadata
func (*V2TokenizedEquitiesOrderOrderHashCancelResponse) GetTokenizedEquitiesCancelOrderResponse ¶ added in v0.1.9
func (v *V2TokenizedEquitiesOrderOrderHashCancelResponse) GetTokenizedEquitiesCancelOrderResponse() *components.TokenizedEquitiesCancelOrderResponse
func (V2TokenizedEquitiesOrderOrderHashCancelResponse) MarshalJSON ¶ added in v0.1.9
func (v V2TokenizedEquitiesOrderOrderHashCancelResponse) MarshalJSON() ([]byte, error)
func (*V2TokenizedEquitiesOrderOrderHashCancelResponse) UnmarshalJSON ¶ added in v0.1.9
func (v *V2TokenizedEquitiesOrderOrderHashCancelResponse) UnmarshalJSON(data []byte) error
type V2TokenizedEquitiesOrderOrderHashRequest ¶ added in v0.1.9
type V2TokenizedEquitiesOrderOrderHashRequest struct {
OrderHash string `pathParam:"style=simple,explode=false,name=order_hash"`
}
func (*V2TokenizedEquitiesOrderOrderHashRequest) GetOrderHash ¶ added in v0.1.9
func (v *V2TokenizedEquitiesOrderOrderHashRequest) GetOrderHash() string
type V2TokenizedEquitiesOrderOrderHashResponse ¶ added in v0.1.9
type V2TokenizedEquitiesOrderOrderHashResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// Successful Response
OrderStatus *components.OrderStatus
}
func (*V2TokenizedEquitiesOrderOrderHashResponse) GetHTTPMeta ¶ added in v0.1.9
func (v *V2TokenizedEquitiesOrderOrderHashResponse) GetHTTPMeta() components.HTTPMetadata
func (*V2TokenizedEquitiesOrderOrderHashResponse) GetOrderStatus ¶ added in v0.1.9
func (v *V2TokenizedEquitiesOrderOrderHashResponse) GetOrderStatus() *components.OrderStatus
func (V2TokenizedEquitiesOrderOrderHashResponse) MarshalJSON ¶ added in v0.1.9
func (v V2TokenizedEquitiesOrderOrderHashResponse) MarshalJSON() ([]byte, error)
func (*V2TokenizedEquitiesOrderOrderHashResponse) UnmarshalJSON ¶ added in v0.1.9
func (v *V2TokenizedEquitiesOrderOrderHashResponse) UnmarshalJSON(data []byte) error
type V2TokenizedEquitiesOrderResponse ¶ added in v0.1.9
type V2TokenizedEquitiesOrderResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// Successful Response
TokenizedEquitiesBuildOrderResponse *components.TokenizedEquitiesBuildOrderResponse
}
func (*V2TokenizedEquitiesOrderResponse) GetHTTPMeta ¶ added in v0.1.9
func (v *V2TokenizedEquitiesOrderResponse) GetHTTPMeta() components.HTTPMetadata
func (*V2TokenizedEquitiesOrderResponse) GetTokenizedEquitiesBuildOrderResponse ¶ added in v0.1.9
func (v *V2TokenizedEquitiesOrderResponse) GetTokenizedEquitiesBuildOrderResponse() *components.TokenizedEquitiesBuildOrderResponse
func (V2TokenizedEquitiesOrderResponse) MarshalJSON ¶ added in v0.1.9
func (v V2TokenizedEquitiesOrderResponse) MarshalJSON() ([]byte, error)
func (*V2TokenizedEquitiesOrderResponse) UnmarshalJSON ¶ added in v0.1.9
func (v *V2TokenizedEquitiesOrderResponse) UnmarshalJSON(data []byte) error
type V2TokenizedEquitiesOrderSubmitResponse ¶ added in v0.1.9
type V2TokenizedEquitiesOrderSubmitResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// Successful Response
TokenizedEquitiesSubmitOrderResponse *components.TokenizedEquitiesSubmitOrderResponse
}
func (*V2TokenizedEquitiesOrderSubmitResponse) GetHTTPMeta ¶ added in v0.1.9
func (v *V2TokenizedEquitiesOrderSubmitResponse) GetHTTPMeta() components.HTTPMetadata
func (*V2TokenizedEquitiesOrderSubmitResponse) GetTokenizedEquitiesSubmitOrderResponse ¶ added in v0.1.9
func (v *V2TokenizedEquitiesOrderSubmitResponse) GetTokenizedEquitiesSubmitOrderResponse() *components.TokenizedEquitiesSubmitOrderResponse
func (V2TokenizedEquitiesOrderSubmitResponse) MarshalJSON ¶ added in v0.1.9
func (v V2TokenizedEquitiesOrderSubmitResponse) MarshalJSON() ([]byte, error)
func (*V2TokenizedEquitiesOrderSubmitResponse) UnmarshalJSON ¶ added in v0.1.9
func (v *V2TokenizedEquitiesOrderSubmitResponse) UnmarshalJSON(data []byte) error
type V2TokenizedEquitiesPositionsRequest ¶ added in v0.1.9
type V2TokenizedEquitiesPositionsRequest struct {
// The address of the owner of the Tokenized Equities 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"`
}
func (*V2TokenizedEquitiesPositionsRequest) GetOwner ¶ added in v0.1.9
func (v *V2TokenizedEquitiesPositionsRequest) GetOwner() string
type V2TokenizedEquitiesPositionsResponse ¶ added in v0.1.9
type V2TokenizedEquitiesPositionsResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// Successful Response
TokenizedEquitiesPositionsResponse *components.TokenizedEquitiesPositionsResponse
}
func (*V2TokenizedEquitiesPositionsResponse) GetHTTPMeta ¶ added in v0.1.9
func (v *V2TokenizedEquitiesPositionsResponse) GetHTTPMeta() components.HTTPMetadata
func (*V2TokenizedEquitiesPositionsResponse) GetTokenizedEquitiesPositionsResponse ¶ added in v0.1.9
func (v *V2TokenizedEquitiesPositionsResponse) GetTokenizedEquitiesPositionsResponse() *components.TokenizedEquitiesPositionsResponse
func (V2TokenizedEquitiesPositionsResponse) MarshalJSON ¶ added in v0.1.9
func (v V2TokenizedEquitiesPositionsResponse) MarshalJSON() ([]byte, error)
func (*V2TokenizedEquitiesPositionsResponse) UnmarshalJSON ¶ added in v0.1.9
func (v *V2TokenizedEquitiesPositionsResponse) UnmarshalJSON(data []byte) error
type V2TokenizedEquitiesQuoteResponse ¶ added in v0.1.9
type V2TokenizedEquitiesQuoteResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// Successful Response
TokenizedEquitiesQuoteResponse *components.TokenizedEquitiesQuoteResponse
}
func (*V2TokenizedEquitiesQuoteResponse) GetHTTPMeta ¶ added in v0.1.9
func (v *V2TokenizedEquitiesQuoteResponse) GetHTTPMeta() components.HTTPMetadata
func (*V2TokenizedEquitiesQuoteResponse) GetTokenizedEquitiesQuoteResponse ¶ added in v0.1.9
func (v *V2TokenizedEquitiesQuoteResponse) GetTokenizedEquitiesQuoteResponse() *components.TokenizedEquitiesQuoteResponse
func (V2TokenizedEquitiesQuoteResponse) MarshalJSON ¶ added in v0.1.9
func (v V2TokenizedEquitiesQuoteResponse) MarshalJSON() ([]byte, error)
func (*V2TokenizedEquitiesQuoteResponse) UnmarshalJSON ¶ added in v0.1.9
func (v *V2TokenizedEquitiesQuoteResponse) UnmarshalJSON(data []byte) error
Source Files
¶
- options.go
- v2creditbalances.go
- v2creditborrow.go
- v2creditbundle.go
- v2creditcreateaccount.go
- v2creditpositions.go
- v2creditrepay.go
- v2credittransfer.go
- v2earnaavemarkets.go
- v2earnbalances.go
- v2earnbundle.go
- v2earncreateaccount.go
- v2earnmanage.go
- v2earnpendlemarkets.go
- v2earnpositions.go
- v2earnpositionsall.go
- v2earnswap.go
- v2earnswapquote.go
- v2earntransfer.go
- v2earnvaults.go
- v2gassponsorshipapprovetransfer.go
- v2gassponsorshipprepare.go
- v2globalmarketsperpsactivity.go
- v2globalmarketsperpsapprovebuilderfee.go
- v2globalmarketsperpscancelorder.go
- v2globalmarketsperpscandles.go
- v2globalmarketsperpsdeposit.go
- v2globalmarketsperpsdepositsponsorprepare.go
- v2globalmarketsperpsenableunifiedaccount.go
- v2globalmarketsperpsensureleverage.go
- v2globalmarketsperpsexecute.go
- v2globalmarketsperpslimitorder.go
- v2globalmarketsperpsmarketorder.go
- v2globalmarketsperpsopportunities.go
- v2globalmarketsperpspositions.go
- v2globalmarketsperpswithdraw.go
- v2tokenizedequitiescreateaccount.go
- v2tokenizedequitiesmarkets.go
- v2tokenizedequitiesmarketssymbol.go
- v2tokenizedequitiesorder.go
- v2tokenizedequitiesorderorderhash.go
- v2tokenizedequitiesorderorderhashcancel.go
- v2tokenizedequitiesordersubmit.go
- v2tokenizedequitiespositions.go
- v2tokenizedequitiesquote.go