ordermode

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Order-mode trading endpoints (/swapx/order)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	WithRawResponse *RawClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(options *core.RequestOptions) *Client

func (*Client) OrderCheckOrdersFee

func (c *Client) OrderCheckOrdersFee(
	ctx context.Context,
	request *bgw.OrderCheckOrdersFeeRequest,
	opts ...option.RequestOption,
) (*bgw.OrderCheckOrdersFeeResponse, error)

Batch query of reconciled (actual) fees. Order Mode (ToB) only; excludes PayFi.

func (*Client) OrderGetSwapOrder

func (c *Client) OrderGetSwapOrder(
	ctx context.Context,
	request *bgw.OrderGetSwapOrderRequest,
	opts ...option.RequestOption,
) (*bgw.OrderGetSwapOrderResponse, error)

func (*Client) OrderGetSwapPrice

func (c *Client) OrderGetSwapPrice(
	ctx context.Context,
	request *bgw.OrderGetSwapPriceRequest,
	opts ...option.RequestOption,
) (*bgw.OrderGetSwapPriceResponse, error)

func (*Client) OrderMakeSwapOrder

func (c *Client) OrderMakeSwapOrder(
	ctx context.Context,
	request *bgw.OrderMakeSwapOrderRequest,
	opts ...option.RequestOption,
) (*bgw.OrderMakeSwapOrderResponse, error)

func (*Client) OrderSubmitSwapOrder

func (c *Client) OrderSubmitSwapOrder(
	ctx context.Context,
	request *bgw.OrderSubmitSwapOrderRequest,
	opts ...option.RequestOption,
) (*bgw.OrderSubmitSwapOrderResponse, error)

type RawClient

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

func NewRawClient

func NewRawClient(options *core.RequestOptions) *RawClient

func (*RawClient) OrderCheckOrdersFee

func (*RawClient) OrderGetSwapOrder

func (*RawClient) OrderGetSwapPrice

func (*RawClient) OrderMakeSwapOrder

func (*RawClient) OrderSubmitSwapOrder

Jump to

Keyboard shortcuts

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