operations

package
v0.1.80 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 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 MorphoMarketOrderBy added in v0.1.44

type MorphoMarketOrderBy string

MorphoMarketOrderBy - Columns the Morpho markets list can be ordered by. All are stored by the indexer, so ordering + paging happen on the DB set before the (expensive) per-market on-chain enrichment — only the requested page is read on-chain.

const (
	MorphoMarketOrderByTvlUsd       MorphoMarketOrderBy = "tvl_usd"
	MorphoMarketOrderByLiquidityUsd MorphoMarketOrderBy = "liquidity_usd"
	MorphoMarketOrderByLltv         MorphoMarketOrderBy = "lltv"
)

func (MorphoMarketOrderBy) ToPointer added in v0.1.44

func (*MorphoMarketOrderBy) UnmarshalJSON added in v0.1.44

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

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 typed deserialization of successful JSON responses. The body is still consumed while the operation context is alive and replayed on the HTTP response, so the caller can read it via the HTTPMeta.Response field after the method returns. 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 PerpetualTradingSortBy added in v0.1.51

type PerpetualTradingSortBy string

PerpetualTradingSortBy - Sort results by this field

const (
	PerpetualTradingSortByOpenInterest PerpetualTradingSortBy = "open_interest"
	PerpetualTradingSortByVolume24h    PerpetualTradingSortBy = "volume_24h"
	PerpetualTradingSortByFundingRate  PerpetualTradingSortBy = "funding_rate"
)

func (PerpetualTradingSortBy) ToPointer added in v0.1.51

func (*PerpetualTradingSortBy) UnmarshalJSON added in v0.1.51

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

type PerpetualTradingSortOrder added in v0.1.51

type PerpetualTradingSortOrder string

PerpetualTradingSortOrder - Sort direction

const (
	PerpetualTradingSortOrderAsc  PerpetualTradingSortOrder = "asc"
	PerpetualTradingSortOrderDesc PerpetualTradingSortOrder = "desc"
)

func (PerpetualTradingSortOrder) ToPointer added in v0.1.51

func (*PerpetualTradingSortOrder) UnmarshalJSON added in v0.1.51

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

type V2CreditAaveMarketsRequest added in v0.1.78

type V2CreditAaveMarketsRequest struct {
	// Optional chain filter. If not provided, returns rates for all chains.
	Chain *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 (*V2CreditAaveMarketsRequest) GetChain added in v0.1.78

func (*V2CreditAaveMarketsRequest) GetDays added in v0.1.78

func (v *V2CreditAaveMarketsRequest) GetDays() *int64

type V2CreditAaveMarketsResponse added in v0.1.78

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

func (*V2CreditAaveMarketsResponse) GetHTTPMeta added in v0.1.78

func (*V2CreditAaveMarketsResponse) GetListAaveMarketsResponse added in v0.1.78

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

func (V2CreditAaveMarketsResponse) MarshalJSON added in v0.1.78

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

func (*V2CreditAaveMarketsResponse) UnmarshalJSON added in v0.1.78

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

type V2CreditBalancesChain

type V2CreditBalancesChain string
const (
	V2CreditBalancesChainArbitrum V2CreditBalancesChain = "arbitrum"
	V2CreditBalancesChainBase     V2CreditBalancesChain = "base"
	V2CreditBalancesChainBsc      V2CreditBalancesChain = "bsc"
	V2CreditBalancesChainEthereum V2CreditBalancesChain = "ethereum"
	V2CreditBalancesChainHyperevm V2CreditBalancesChain = "hyperevm"
	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 V2CreditEulerMarketsChain added in v0.1.28

type V2CreditEulerMarketsChain string
const (
	V2CreditEulerMarketsChainArbitrum V2CreditEulerMarketsChain = "arbitrum"
	V2CreditEulerMarketsChainBase     V2CreditEulerMarketsChain = "base"
	V2CreditEulerMarketsChainBsc      V2CreditEulerMarketsChain = "bsc"
	V2CreditEulerMarketsChainEthereum V2CreditEulerMarketsChain = "ethereum"
	V2CreditEulerMarketsChainHyperevm V2CreditEulerMarketsChain = "hyperevm"
	V2CreditEulerMarketsChainTempo    V2CreditEulerMarketsChain = "tempo"
)

func (V2CreditEulerMarketsChain) ToPointer added in v0.1.28

func (*V2CreditEulerMarketsChain) UnmarshalJSON added in v0.1.28

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

type V2CreditEulerMarketsRequest added in v0.1.28

type V2CreditEulerMarketsRequest struct {
	Chain V2CreditEulerMarketsChain `queryParam:"style=form,explode=true,name=chain"`
}

func (*V2CreditEulerMarketsRequest) GetChain added in v0.1.28

type V2CreditEulerMarketsResponse added in v0.1.28

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

func (*V2CreditEulerMarketsResponse) GetEulerMarketsResponse added in v0.1.28

func (v *V2CreditEulerMarketsResponse) GetEulerMarketsResponse() *components.EulerMarketsResponse

func (*V2CreditEulerMarketsResponse) GetHTTPMeta added in v0.1.28

func (V2CreditEulerMarketsResponse) MarshalJSON added in v0.1.28

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

func (*V2CreditEulerMarketsResponse) UnmarshalJSON added in v0.1.28

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

type V2CreditLoopResponse added in v0.1.34

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

func (*V2CreditLoopResponse) GetCreditLoopResponse added in v0.1.34

func (v *V2CreditLoopResponse) GetCreditLoopResponse() *components.CreditLoopResponse

func (*V2CreditLoopResponse) GetHTTPMeta added in v0.1.34

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

func (V2CreditLoopResponse) MarshalJSON added in v0.1.34

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

func (*V2CreditLoopResponse) UnmarshalJSON added in v0.1.34

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

type V2CreditLoopedPositionsChain added in v0.1.34

type V2CreditLoopedPositionsChain string
const (
	V2CreditLoopedPositionsChainArbitrum V2CreditLoopedPositionsChain = "arbitrum"
	V2CreditLoopedPositionsChainBase     V2CreditLoopedPositionsChain = "base"
	V2CreditLoopedPositionsChainBsc      V2CreditLoopedPositionsChain = "bsc"
	V2CreditLoopedPositionsChainEthereum V2CreditLoopedPositionsChain = "ethereum"
	V2CreditLoopedPositionsChainHyperevm V2CreditLoopedPositionsChain = "hyperevm"
	V2CreditLoopedPositionsChainTempo    V2CreditLoopedPositionsChain = "tempo"
)

func (V2CreditLoopedPositionsChain) ToPointer added in v0.1.34

func (*V2CreditLoopedPositionsChain) UnmarshalJSON added in v0.1.34

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

type V2CreditLoopedPositionsRequest added in v0.1.34

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

func (*V2CreditLoopedPositionsRequest) GetChain added in v0.1.34

func (*V2CreditLoopedPositionsRequest) GetOwner added in v0.1.34

func (v *V2CreditLoopedPositionsRequest) GetOwner() string

type V2CreditLoopedPositionsResponse added in v0.1.34

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

func (*V2CreditLoopedPositionsResponse) GetCreditLoopedPositionsResponse added in v0.1.34

func (v *V2CreditLoopedPositionsResponse) GetCreditLoopedPositionsResponse() *components.CreditLoopedPositionsResponse

func (*V2CreditLoopedPositionsResponse) GetHTTPMeta added in v0.1.34

func (V2CreditLoopedPositionsResponse) MarshalJSON added in v0.1.34

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

func (*V2CreditLoopedPositionsResponse) UnmarshalJSON added in v0.1.34

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

type V2CreditMorphoMarketsChain added in v0.1.34

type V2CreditMorphoMarketsChain string
const (
	V2CreditMorphoMarketsChainArbitrum V2CreditMorphoMarketsChain = "arbitrum"
	V2CreditMorphoMarketsChainBase     V2CreditMorphoMarketsChain = "base"
	V2CreditMorphoMarketsChainBsc      V2CreditMorphoMarketsChain = "bsc"
	V2CreditMorphoMarketsChainEthereum V2CreditMorphoMarketsChain = "ethereum"
	V2CreditMorphoMarketsChainHyperevm V2CreditMorphoMarketsChain = "hyperevm"
	V2CreditMorphoMarketsChainTempo    V2CreditMorphoMarketsChain = "tempo"
)

func (V2CreditMorphoMarketsChain) ToPointer added in v0.1.34

func (*V2CreditMorphoMarketsChain) UnmarshalJSON added in v0.1.34

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

type V2CreditMorphoMarketsDirection added in v0.1.44

type V2CreditMorphoMarketsDirection string

V2CreditMorphoMarketsDirection - Order direction (asc/desc).

const (
	V2CreditMorphoMarketsDirectionAsc  V2CreditMorphoMarketsDirection = "asc"
	V2CreditMorphoMarketsDirectionDesc V2CreditMorphoMarketsDirection = "desc"
)

func (V2CreditMorphoMarketsDirection) ToPointer added in v0.1.44

func (*V2CreditMorphoMarketsDirection) UnmarshalJSON added in v0.1.44

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

type V2CreditMorphoMarketsRequest added in v0.1.34

type V2CreditMorphoMarketsRequest struct {
	// 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"`
	Chain V2CreditMorphoMarketsChain `queryParam:"style=form,explode=true,name=chain"`
	// Field to order the markets by before paginating.
	OrderBy *MorphoMarketOrderBy `queryParam:"style=form,explode=true,name=order_by"`
	// Order direction (asc/desc).
	Direction *V2CreditMorphoMarketsDirection `queryParam:"style=form,explode=true,name=direction"`
}

func (*V2CreditMorphoMarketsRequest) GetChain added in v0.1.34

func (*V2CreditMorphoMarketsRequest) GetDirection added in v0.1.44

func (*V2CreditMorphoMarketsRequest) GetLimit added in v0.1.44

func (v *V2CreditMorphoMarketsRequest) GetLimit() *int64

func (*V2CreditMorphoMarketsRequest) GetOffset added in v0.1.44

func (v *V2CreditMorphoMarketsRequest) GetOffset() *int64

func (*V2CreditMorphoMarketsRequest) GetOrderBy added in v0.1.44

type V2CreditMorphoMarketsResponse added in v0.1.34

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

func (*V2CreditMorphoMarketsResponse) GetHTTPMeta added in v0.1.34

func (*V2CreditMorphoMarketsResponse) GetMorphoMarketsResponse added in v0.1.34

func (v *V2CreditMorphoMarketsResponse) GetMorphoMarketsResponse() *components.MorphoMarketsResponse

func (V2CreditMorphoMarketsResponse) MarshalJSON added in v0.1.34

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

func (*V2CreditMorphoMarketsResponse) UnmarshalJSON added in v0.1.34

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

type V2CreditPositionsChain

type V2CreditPositionsChain string
const (
	V2CreditPositionsChainArbitrum V2CreditPositionsChain = "arbitrum"
	V2CreditPositionsChainBase     V2CreditPositionsChain = "base"
	V2CreditPositionsChainBsc      V2CreditPositionsChain = "bsc"
	V2CreditPositionsChainEthereum V2CreditPositionsChain = "ethereum"
	V2CreditPositionsChainHyperevm V2CreditPositionsChain = "hyperevm"
	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 V2CreditRebalanceResponse added in v0.1.37

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

func (*V2CreditRebalanceResponse) GetCreditRebalanceResponse added in v0.1.37

func (v *V2CreditRebalanceResponse) GetCreditRebalanceResponse() *components.CreditRebalanceResponse

func (*V2CreditRebalanceResponse) GetHTTPMeta added in v0.1.37

func (V2CreditRebalanceResponse) MarshalJSON added in v0.1.37

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

func (*V2CreditRebalanceResponse) UnmarshalJSON added in v0.1.37

func (v *V2CreditRebalanceResponse) 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 V2CreditSwapResponse added in v0.1.68

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

func (*V2CreditSwapResponse) GetCreditSwapResponse added in v0.1.68

func (v *V2CreditSwapResponse) GetCreditSwapResponse() *components.CreditSwapResponse

func (*V2CreditSwapResponse) GetHTTPMeta added in v0.1.68

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

func (V2CreditSwapResponse) MarshalJSON added in v0.1.68

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

func (*V2CreditSwapResponse) UnmarshalJSON added in v0.1.68

func (v *V2CreditSwapResponse) 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 V2CreditUnloopResponse added in v0.1.35

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

func (*V2CreditUnloopResponse) GetCreditUnloopResponse added in v0.1.35

func (v *V2CreditUnloopResponse) GetCreditUnloopResponse() *components.CreditUnloopResponse

func (*V2CreditUnloopResponse) GetHTTPMeta added in v0.1.35

func (V2CreditUnloopResponse) MarshalJSON added in v0.1.35

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

func (*V2CreditUnloopResponse) UnmarshalJSON added in v0.1.35

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

type V2EarnAaveMarketsRequest

type V2EarnAaveMarketsRequest struct {
	// Optional chain filter. If not provided, returns rates for all chains.
	Chain *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() *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 (*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"
	V2EarnBalancesChainBsc      V2EarnBalancesChain = "bsc"
	V2EarnBalancesChainEthereum V2EarnBalancesChain = "ethereum"
	V2EarnBalancesChainHyperevm V2EarnBalancesChain = "hyperevm"
	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 V2EarnMaplePoolsChain added in v0.1.77

type V2EarnMaplePoolsChain string

V2EarnMaplePoolsChain - Blockchain network. Maple syrup pools are on Ethereum; other chains return an empty list.

const (
	V2EarnMaplePoolsChainArbitrum V2EarnMaplePoolsChain = "arbitrum"
	V2EarnMaplePoolsChainBase     V2EarnMaplePoolsChain = "base"
	V2EarnMaplePoolsChainBsc      V2EarnMaplePoolsChain = "bsc"
	V2EarnMaplePoolsChainEthereum V2EarnMaplePoolsChain = "ethereum"
	V2EarnMaplePoolsChainHyperevm V2EarnMaplePoolsChain = "hyperevm"
	V2EarnMaplePoolsChainTempo    V2EarnMaplePoolsChain = "tempo"
)

func (V2EarnMaplePoolsChain) ToPointer added in v0.1.77

func (*V2EarnMaplePoolsChain) UnmarshalJSON added in v0.1.77

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

type V2EarnMaplePoolsRequest added in v0.1.77

type V2EarnMaplePoolsRequest struct {
	// Blockchain network. Maple syrup pools are on Ethereum; other chains return an empty list.
	Chain V2EarnMaplePoolsChain `queryParam:"style=form,explode=true,name=chain"`
}

func (*V2EarnMaplePoolsRequest) GetChain added in v0.1.77

type V2EarnMaplePoolsResponse added in v0.1.77

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

func (*V2EarnMaplePoolsResponse) GetHTTPMeta added in v0.1.77

func (*V2EarnMaplePoolsResponse) GetMaplePoolsResponse added in v0.1.77

func (v *V2EarnMaplePoolsResponse) GetMaplePoolsResponse() *components.MaplePoolsResponse

func (V2EarnMaplePoolsResponse) MarshalJSON added in v0.1.77

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

func (*V2EarnMaplePoolsResponse) UnmarshalJSON added in v0.1.77

func (v *V2EarnMaplePoolsResponse) 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 V2EarnPendleMarketsRequest

type V2EarnPendleMarketsRequest struct {
	// 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 *components.Chain `queryParam:"style=form,explode=true,name=chain"`
	// Field to order the markets by. One of: tvl_usd, implied_apy. Defaults to tvl_usd; unknown values also fall back to tvl_usd.
	OrderBy *string `queryParam:"style=form,explode=true,name=order_by"`
	// Filter markets by underlying asset symbol (e.g., 'USDC', 'WETH').
	UnderlyingSymbol *string `queryParam:"style=form,explode=true,name=underlying_symbol"`
	// Minimum TVL in USD. Markets with TVL below this value will be excluded.
	MinTvlUsd *string `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 (v *V2EarnPendleMarketsRequest) GetMinTvlUsd() *string

func (*V2EarnPendleMarketsRequest) GetOffset

func (v *V2EarnPendleMarketsRequest) GetOffset() *int64

func (*V2EarnPendleMarketsRequest) GetOrderBy

func (v *V2EarnPendleMarketsRequest) GetOrderBy() *string

func (*V2EarnPendleMarketsRequest) GetUnderlyingSymbol

func (v *V2EarnPendleMarketsRequest) GetUnderlyingSymbol() *string

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"
	V2EarnPositionsChainBsc      V2EarnPositionsChain = "bsc"
	V2EarnPositionsChainEthereum V2EarnPositionsChain = "ethereum"
	V2EarnPositionsChainHyperevm V2EarnPositionsChain = "hyperevm"
	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 - Target blockchain network.

const (
	V2EarnSwapQuoteChainArbitrum V2EarnSwapQuoteChain = "arbitrum"
	V2EarnSwapQuoteChainBase     V2EarnSwapQuoteChain = "base"
	V2EarnSwapQuoteChainBsc      V2EarnSwapQuoteChain = "bsc"
	V2EarnSwapQuoteChainEthereum V2EarnSwapQuoteChain = "ethereum"
	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 *string `queryParam:"style=form,explode=true,name=sy_address"`
	// Human-readable amount of `token_in` to quote (token units, not wei).
	AmountIn string `queryParam:"style=form,explode=true,name=amount_in"`
	// Maximum slippage tolerance as a percentage (e.g., 1 = 1%).
	Slippage *string `queryParam:"style=form,explode=true,name=slippage"`
}

func (*V2EarnSwapQuoteRequest) GetAmountIn added in v0.1.16

func (v *V2EarnSwapQuoteRequest) GetAmountIn() string

func (*V2EarnSwapQuoteRequest) GetChain added in v0.1.16

func (*V2EarnSwapQuoteRequest) GetSlippage added in v0.1.16

func (v *V2EarnSwapQuoteRequest) GetSlippage() *string

func (*V2EarnSwapQuoteRequest) GetSyAddress added in v0.1.16

func (v *V2EarnSwapQuoteRequest) GetSyAddress() *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 (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 V2EarnVaultsRequest

type V2EarnVaultsRequest struct {
	// 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 *components.Chain `queryParam:"style=form,explode=true,name=chain"`
	// Field to order the vaults by. One of: tvl_usd, liquidity_usd, deposit_cap_usd, apy_7d, apy_30d, apy_90d. Defaults to tvl_usd; unknown values also fall back to tvl_usd.
	OrderBy *string `queryParam:"style=form,explode=true,name=order_by"`
	// Filter vaults by underlying asset symbol (e.g., 'USDC', 'WETH').
	AssetSymbol *string `queryParam:"style=form,explode=true,name=asset_symbol"`
	// Minimum TVL in USD. Vaults with TVL below this value will be excluded.
	MinTvlUsd *string `queryParam:"style=form,explode=true,name=min_tvl_usd"`
	// Minimum available liquidity in USD. Vaults below this are excluded.
	MinLiquidityUsd *string `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 *string `queryParam:"style=form,explode=true,name=min_deposit_cap_usd"`
}

func (*V2EarnVaultsRequest) GetAssetSymbol

func (v *V2EarnVaultsRequest) GetAssetSymbol() *string

func (*V2EarnVaultsRequest) GetChain

func (v *V2EarnVaultsRequest) GetChain() *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() *string

func (*V2EarnVaultsRequest) GetMinLiquidityUsd

func (v *V2EarnVaultsRequest) GetMinLiquidityUsd() *string

func (*V2EarnVaultsRequest) GetMinTvlUsd

func (v *V2EarnVaultsRequest) GetMinTvlUsd() *string

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 V2PerpetualTradingActivityRequest added in v0.1.51

type V2PerpetualTradingActivityRequest 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 *string `queryParam:"style=form,explode=true,name=builder"`
}

func (*V2PerpetualTradingActivityRequest) GetBuilder added in v0.1.51

func (v *V2PerpetualTradingActivityRequest) GetBuilder() *string

func (*V2PerpetualTradingActivityRequest) GetOwner added in v0.1.51

type V2PerpetualTradingActivityResponse added in v0.1.51

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

func (*V2PerpetualTradingActivityResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingActivityResponse) GetPerpetualTradingActivityResponse added in v0.1.51

func (v *V2PerpetualTradingActivityResponse) GetPerpetualTradingActivityResponse() *components.PerpetualTradingActivityResponse

func (V2PerpetualTradingActivityResponse) MarshalJSON added in v0.1.51

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

func (*V2PerpetualTradingActivityResponse) UnmarshalJSON added in v0.1.51

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

type V2PerpetualTradingApproveBuilderFeeResponse added in v0.1.51

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

func (*V2PerpetualTradingApproveBuilderFeeResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingApproveBuilderFeeResponse) GetPerpetualTradingSignableActionResponse added in v0.1.51

func (V2PerpetualTradingApproveBuilderFeeResponse) MarshalJSON added in v0.1.51

func (*V2PerpetualTradingApproveBuilderFeeResponse) UnmarshalJSON added in v0.1.51

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

type V2PerpetualTradingCancelOrderResponse added in v0.1.51

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

func (*V2PerpetualTradingCancelOrderResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingCancelOrderResponse) GetPerpetualTradingSignableActionResponse added in v0.1.51

func (v *V2PerpetualTradingCancelOrderResponse) GetPerpetualTradingSignableActionResponse() *components.PerpetualTradingSignableActionResponse

func (V2PerpetualTradingCancelOrderResponse) MarshalJSON added in v0.1.51

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

func (*V2PerpetualTradingCancelOrderResponse) UnmarshalJSON added in v0.1.51

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

type V2PerpetualTradingCandlesRequest added in v0.1.51

type V2PerpetualTradingCandlesRequest 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 *int64 `queryParam:"style=form,explode=true,name=start_time"`
	// Optional end of the candle window in unix milliseconds. Defaults to now.
	EndTime *int64 `queryParam:"style=form,explode=true,name=end_time"`
}

func (*V2PerpetualTradingCandlesRequest) GetEndTime added in v0.1.51

func (v *V2PerpetualTradingCandlesRequest) GetEndTime() *int64

func (*V2PerpetualTradingCandlesRequest) GetInterval added in v0.1.51

func (*V2PerpetualTradingCandlesRequest) GetLimit added in v0.1.51

func (v *V2PerpetualTradingCandlesRequest) GetLimit() *int64

func (*V2PerpetualTradingCandlesRequest) GetStartTime added in v0.1.51

func (v *V2PerpetualTradingCandlesRequest) GetStartTime() *int64

func (*V2PerpetualTradingCandlesRequest) GetSymbol added in v0.1.51

type V2PerpetualTradingCandlesResponse added in v0.1.51

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

func (*V2PerpetualTradingCandlesResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingCandlesResponse) GetPerpetualTradingCandlesResponse added in v0.1.51

func (v *V2PerpetualTradingCandlesResponse) GetPerpetualTradingCandlesResponse() *components.PerpetualTradingCandlesResponse

func (V2PerpetualTradingCandlesResponse) MarshalJSON added in v0.1.51

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

func (*V2PerpetualTradingCandlesResponse) UnmarshalJSON added in v0.1.51

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

type V2PerpetualTradingDepositResponse added in v0.1.51

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

func (*V2PerpetualTradingDepositResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingDepositResponse) GetPerpetualTradingDepositResponse added in v0.1.51

func (v *V2PerpetualTradingDepositResponse) GetPerpetualTradingDepositResponse() *components.PerpetualTradingDepositResponse

func (V2PerpetualTradingDepositResponse) MarshalJSON added in v0.1.51

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

func (*V2PerpetualTradingDepositResponse) UnmarshalJSON added in v0.1.51

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

type V2PerpetualTradingDepositSponsorPrepareResponse added in v0.1.51

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

func (*V2PerpetualTradingDepositSponsorPrepareResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingDepositSponsorPrepareResponse) GetPerpetualTradingDepositSponsorPrepareResponse added in v0.1.51

func (V2PerpetualTradingDepositSponsorPrepareResponse) MarshalJSON added in v0.1.51

func (*V2PerpetualTradingDepositSponsorPrepareResponse) UnmarshalJSON added in v0.1.51

type V2PerpetualTradingEnableUnifiedAccountResponse added in v0.1.51

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

func (*V2PerpetualTradingEnableUnifiedAccountResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingEnableUnifiedAccountResponse) GetPerpetualTradingEnableUnifiedAccountResponse added in v0.1.51

func (V2PerpetualTradingEnableUnifiedAccountResponse) MarshalJSON added in v0.1.51

func (*V2PerpetualTradingEnableUnifiedAccountResponse) UnmarshalJSON added in v0.1.51

type V2PerpetualTradingEnsureLeverageResponse added in v0.1.51

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

func (*V2PerpetualTradingEnsureLeverageResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingEnsureLeverageResponse) GetPerpetualTradingEnsureLeverageResponse added in v0.1.51

func (v *V2PerpetualTradingEnsureLeverageResponse) GetPerpetualTradingEnsureLeverageResponse() *components.PerpetualTradingEnsureLeverageResponse

func (V2PerpetualTradingEnsureLeverageResponse) MarshalJSON added in v0.1.51

func (*V2PerpetualTradingEnsureLeverageResponse) UnmarshalJSON added in v0.1.51

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

type V2PerpetualTradingExecuteResponse added in v0.1.51

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

func (*V2PerpetualTradingExecuteResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingExecuteResponse) GetPerpetualTradingExecuteResponse added in v0.1.51

func (v *V2PerpetualTradingExecuteResponse) GetPerpetualTradingExecuteResponse() *components.PerpetualTradingExecuteResponse

func (V2PerpetualTradingExecuteResponse) MarshalJSON added in v0.1.51

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

func (*V2PerpetualTradingExecuteResponse) UnmarshalJSON added in v0.1.51

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

type V2PerpetualTradingLimitOrderResponse added in v0.1.51

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

func (*V2PerpetualTradingLimitOrderResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingLimitOrderResponse) GetPerpetualTradingSignableActionResponse added in v0.1.51

func (v *V2PerpetualTradingLimitOrderResponse) GetPerpetualTradingSignableActionResponse() *components.PerpetualTradingSignableActionResponse

func (V2PerpetualTradingLimitOrderResponse) MarshalJSON added in v0.1.51

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

func (*V2PerpetualTradingLimitOrderResponse) UnmarshalJSON added in v0.1.51

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

type V2PerpetualTradingMarketOrderResponse added in v0.1.51

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

func (*V2PerpetualTradingMarketOrderResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingMarketOrderResponse) GetPerpetualTradingSignableActionResponse added in v0.1.51

func (v *V2PerpetualTradingMarketOrderResponse) GetPerpetualTradingSignableActionResponse() *components.PerpetualTradingSignableActionResponse

func (V2PerpetualTradingMarketOrderResponse) MarshalJSON added in v0.1.51

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

func (*V2PerpetualTradingMarketOrderResponse) UnmarshalJSON added in v0.1.51

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

type V2PerpetualTradingOpportunitiesRequest added in v0.1.51

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

func (*V2PerpetualTradingOpportunitiesRequest) GetCategory added in v0.1.51

func (*V2PerpetualTradingOpportunitiesRequest) GetMinOpenInterest added in v0.1.51

func (v *V2PerpetualTradingOpportunitiesRequest) GetMinOpenInterest() *float64

func (*V2PerpetualTradingOpportunitiesRequest) GetMinVolume24h added in v0.1.51

func (v *V2PerpetualTradingOpportunitiesRequest) GetMinVolume24h() *float64

func (*V2PerpetualTradingOpportunitiesRequest) GetSortBy added in v0.1.51

func (*V2PerpetualTradingOpportunitiesRequest) GetSortOrder added in v0.1.51

type V2PerpetualTradingOpportunitiesResponse added in v0.1.51

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

func (*V2PerpetualTradingOpportunitiesResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingOpportunitiesResponse) GetPerpetualTradingOpportunitiesResponse added in v0.1.51

func (v *V2PerpetualTradingOpportunitiesResponse) GetPerpetualTradingOpportunitiesResponse() *components.PerpetualTradingOpportunitiesResponse

func (V2PerpetualTradingOpportunitiesResponse) MarshalJSON added in v0.1.51

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

func (*V2PerpetualTradingOpportunitiesResponse) UnmarshalJSON added in v0.1.51

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

type V2PerpetualTradingPositionsRequest added in v0.1.51

type V2PerpetualTradingPositionsRequest struct {
	// User's EOA address (looks up their perpetual trading product account)
	Owner string `queryParam:"style=form,explode=true,name=owner"`
	// Filter to a specific asset ticker (e.g. AAPL)
	Asset *string `queryParam:"style=form,explode=true,name=asset"`
}

func (*V2PerpetualTradingPositionsRequest) GetAsset added in v0.1.51

func (*V2PerpetualTradingPositionsRequest) GetOwner added in v0.1.51

type V2PerpetualTradingPositionsResponse added in v0.1.51

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

func (*V2PerpetualTradingPositionsResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingPositionsResponse) GetPerpetualTradingPositionsResponse added in v0.1.51

func (v *V2PerpetualTradingPositionsResponse) GetPerpetualTradingPositionsResponse() *components.PerpetualTradingPositionsResponse

func (V2PerpetualTradingPositionsResponse) MarshalJSON added in v0.1.51

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

func (*V2PerpetualTradingPositionsResponse) UnmarshalJSON added in v0.1.51

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

type V2PerpetualTradingSetLeverageResponse added in v0.1.51

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

func (*V2PerpetualTradingSetLeverageResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingSetLeverageResponse) GetPerpetualTradingSetLeverageResponse added in v0.1.51

func (v *V2PerpetualTradingSetLeverageResponse) GetPerpetualTradingSetLeverageResponse() *components.PerpetualTradingSetLeverageResponse

func (V2PerpetualTradingSetLeverageResponse) MarshalJSON added in v0.1.51

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

func (*V2PerpetualTradingSetLeverageResponse) UnmarshalJSON added in v0.1.51

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

type V2PerpetualTradingWithdrawResponse added in v0.1.51

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

func (*V2PerpetualTradingWithdrawResponse) GetHTTPMeta added in v0.1.51

func (*V2PerpetualTradingWithdrawResponse) GetPerpetualTradingSignableActionResponse added in v0.1.51

func (v *V2PerpetualTradingWithdrawResponse) GetPerpetualTradingSignableActionResponse() *components.PerpetualTradingSignableActionResponse

func (V2PerpetualTradingWithdrawResponse) MarshalJSON added in v0.1.51

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

func (*V2PerpetualTradingWithdrawResponse) UnmarshalJSON added in v0.1.51

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

type V2TokenizedAssetsBalancesChain added in v0.1.23

type V2TokenizedAssetsBalancesChain string

V2TokenizedAssetsBalancesChain - The chain to use.

const (
	V2TokenizedAssetsBalancesChainBase            V2TokenizedAssetsBalancesChain = "base"
	V2TokenizedAssetsBalancesChainEthereum        V2TokenizedAssetsBalancesChain = "ethereum"
	V2TokenizedAssetsBalancesChainArbitrum        V2TokenizedAssetsBalancesChain = "arbitrum"
	V2TokenizedAssetsBalancesChainHyperevm        V2TokenizedAssetsBalancesChain = "hyperevm"
	V2TokenizedAssetsBalancesChainTempo           V2TokenizedAssetsBalancesChain = "tempo"
	V2TokenizedAssetsBalancesChainBsc             V2TokenizedAssetsBalancesChain = "bsc"
	V2TokenizedAssetsBalancesChainRobinhood       V2TokenizedAssetsBalancesChain = "robinhood"
	V2TokenizedAssetsBalancesChainEthereumSepolia V2TokenizedAssetsBalancesChain = "ethereum_sepolia"
)

func (V2TokenizedAssetsBalancesChain) ToPointer added in v0.1.23

func (*V2TokenizedAssetsBalancesChain) UnmarshalJSON added in v0.1.23

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

type V2TokenizedAssetsBalancesRequest added in v0.1.23

type V2TokenizedAssetsBalancesRequest struct {
	// The address of the owner of the Tokenized Assets Account to read balances 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 balances on (defaults to Ethereum). Equities exist on Ethereum only; RWA yield assets also exist on Base.
	Chain *V2TokenizedAssetsBalancesChain `queryParam:"style=form,explode=true,name=chain"`
}

func (*V2TokenizedAssetsBalancesRequest) GetChain added in v0.1.23

func (*V2TokenizedAssetsBalancesRequest) GetOwner added in v0.1.23

type V2TokenizedAssetsBalancesResponse added in v0.1.23

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

func (*V2TokenizedAssetsBalancesResponse) GetHTTPMeta added in v0.1.23

func (*V2TokenizedAssetsBalancesResponse) GetTokenizedAssetsBalancesResponse added in v0.1.23

func (v *V2TokenizedAssetsBalancesResponse) GetTokenizedAssetsBalancesResponse() *components.TokenizedAssetsBalancesResponse

func (V2TokenizedAssetsBalancesResponse) MarshalJSON added in v0.1.23

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

func (*V2TokenizedAssetsBalancesResponse) UnmarshalJSON added in v0.1.23

func (v *V2TokenizedAssetsBalancesResponse) 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 *string `queryParam:"style=form,explode=true,name=category"`
	// Case-insensitive substring match against the on-chain symbol, underlying ticker, and underlying name.
	Search *string `queryParam:"style=form,explode=true,name=search"`
	// Filter by issuer ('ondo' equities, 'midas' RWA yield).
	Provider *components.TokenizedAssetProvider `queryParam:"style=form,explode=true,name=provider"`
	// Filter by asset class (EQUITY, T_BILLS, BASIS_TRADE, BTC_YIELD).
	AssetClass *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 *components.Chain `queryParam:"style=form,explode=true,name=chain"`
}

func (*V2TokenizedAssetsMarketsRequest) GetAssetClass added in v0.1.17

func (*V2TokenizedAssetsMarketsRequest) GetCategory

func (v *V2TokenizedAssetsMarketsRequest) GetCategory() *string

func (*V2TokenizedAssetsMarketsRequest) GetChain added in v0.1.17

func (*V2TokenizedAssetsMarketsRequest) GetProvider added in v0.1.17

func (*V2TokenizedAssetsMarketsRequest) GetSearch

func (v *V2TokenizedAssetsMarketsRequest) GetSearch() *string

type V2TokenizedAssetsMarketsResponse

type V2TokenizedAssetsMarketsResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	TokenizedAssetsMarketsListResponse *components.TokenizedAssetsMarketsListResponse
	Headers                            map[string][]string
}

func (*V2TokenizedAssetsMarketsResponse) GetHTTPMeta

func (*V2TokenizedAssetsMarketsResponse) GetHeaders added in v0.1.80

func (v *V2TokenizedAssetsMarketsResponse) GetHeaders() map[string][]string

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"
	V2TokenizedAssetsMarketsSymbolChainBsc             V2TokenizedAssetsMarketsSymbolChain = "bsc"
	V2TokenizedAssetsMarketsSymbolChainRobinhood       V2TokenizedAssetsMarketsSymbolChain = "robinhood"
	V2TokenizedAssetsMarketsSymbolChainEthereumSepolia V2TokenizedAssetsMarketsSymbolChain = "ethereum_sepolia"
)

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 *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 *components.TokenizedAssetsOhlcRange `queryParam:"style=form,explode=true,name=range"`
}

func (*V2TokenizedAssetsMarketsSymbolRequest) GetChain added in v0.1.20

func (*V2TokenizedAssetsMarketsSymbolRequest) GetInterval

func (*V2TokenizedAssetsMarketsSymbolRequest) GetRange

func (*V2TokenizedAssetsMarketsSymbolRequest) GetSymbol

type V2TokenizedAssetsMarketsSymbolResponse

type V2TokenizedAssetsMarketsSymbolResponse struct {
	HTTPMeta components.HTTPMetadata `json:"-"`
	// Successful Response
	MarketDetail *components.MarketDetail
	Headers      map[string][]string
}

func (*V2TokenizedAssetsMarketsSymbolResponse) GetHTTPMeta

func (*V2TokenizedAssetsMarketsSymbolResponse) GetHeaders added in v0.1.80

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 V2TokenizedAssetsOrderOrderHashChargeFeeRequest added in v0.1.24

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

func (*V2TokenizedAssetsOrderOrderHashChargeFeeRequest) GetBody added in v0.1.24

func (*V2TokenizedAssetsOrderOrderHashChargeFeeRequest) GetOrderHash added in v0.1.24

type V2TokenizedAssetsOrderOrderHashChargeFeeResponse added in v0.1.24

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

func (*V2TokenizedAssetsOrderOrderHashChargeFeeResponse) GetHTTPMeta added in v0.1.24

func (*V2TokenizedAssetsOrderOrderHashChargeFeeResponse) GetTokenizedAssetsChargeFeeResponse added in v0.1.24

func (V2TokenizedAssetsOrderOrderHashChargeFeeResponse) MarshalJSON added in v0.1.24

func (*V2TokenizedAssetsOrderOrderHashChargeFeeResponse) UnmarshalJSON added in v0.1.24

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"
	V2TokenizedAssetsPositionsChainBsc             V2TokenizedAssetsPositionsChain = "bsc"
	V2TokenizedAssetsPositionsChainRobinhood       V2TokenizedAssetsPositionsChain = "robinhood"
	V2TokenizedAssetsPositionsChainEthereumSepolia V2TokenizedAssetsPositionsChain = "ethereum_sepolia"
)

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
	Headers                          map[string][]string
}

func (*V2TokenizedAssetsPositionsResponse) GetHTTPMeta

func (*V2TokenizedAssetsPositionsResponse) GetHeaders added in v0.1.80

func (v *V2TokenizedAssetsPositionsResponse) GetHeaders() map[string][]string

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 V2TokenizedAssetsRedemptionsChain added in v0.1.33

type V2TokenizedAssetsRedemptionsChain string

V2TokenizedAssetsRedemptionsChain - The chain to use.

const (
	V2TokenizedAssetsRedemptionsChainBase            V2TokenizedAssetsRedemptionsChain = "base"
	V2TokenizedAssetsRedemptionsChainEthereum        V2TokenizedAssetsRedemptionsChain = "ethereum"
	V2TokenizedAssetsRedemptionsChainArbitrum        V2TokenizedAssetsRedemptionsChain = "arbitrum"
	V2TokenizedAssetsRedemptionsChainHyperevm        V2TokenizedAssetsRedemptionsChain = "hyperevm"
	V2TokenizedAssetsRedemptionsChainTempo           V2TokenizedAssetsRedemptionsChain = "tempo"
	V2TokenizedAssetsRedemptionsChainBsc             V2TokenizedAssetsRedemptionsChain = "bsc"
	V2TokenizedAssetsRedemptionsChainRobinhood       V2TokenizedAssetsRedemptionsChain = "robinhood"
	V2TokenizedAssetsRedemptionsChainEthereumSepolia V2TokenizedAssetsRedemptionsChain = "ethereum_sepolia"
)

func (V2TokenizedAssetsRedemptionsChain) ToPointer added in v0.1.33

func (*V2TokenizedAssetsRedemptionsChain) UnmarshalJSON added in v0.1.33

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

type V2TokenizedAssetsRedemptionsRequest added in v0.1.33

type V2TokenizedAssetsRedemptionsRequest struct {
	// The owner of the Tokenized Assets Account whose IXS redemption requests to read. Requests are reconstructed on-chain from the derived product account (the request receiver).
	Owner string `queryParam:"style=form,explode=true,name=owner"`
	// Network the IXS vault lives on (IXS managed vaults are on BNB Smart Chain).
	Chain *V2TokenizedAssetsRedemptionsChain `queryParam:"style=form,explode=true,name=chain"`
	// The IXS vault handle to read redemptions for (e.g. 'ixv1').
	Vault *string `queryParam:"style=form,explode=true,name=vault"`
}

func (*V2TokenizedAssetsRedemptionsRequest) GetChain added in v0.1.33

func (*V2TokenizedAssetsRedemptionsRequest) GetOwner added in v0.1.33

func (*V2TokenizedAssetsRedemptionsRequest) GetVault added in v0.1.33

type V2TokenizedAssetsRedemptionsResponse added in v0.1.33

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

func (*V2TokenizedAssetsRedemptionsResponse) GetHTTPMeta added in v0.1.33

func (*V2TokenizedAssetsRedemptionsResponse) GetRedemptionsResponse added in v0.1.33

func (V2TokenizedAssetsRedemptionsResponse) MarshalJSON added in v0.1.33

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

func (*V2TokenizedAssetsRedemptionsResponse) UnmarshalJSON added in v0.1.33

func (v *V2TokenizedAssetsRedemptionsResponse) 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

Source Files

Jump to

Keyboard shortcuts

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