wallet

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// https://binance-docs.github.io/apidocs/spot/en/#user-asset-user_data
	EndpointUserAsset = "/sapi/v3/asset/getUserAsset"
)

Variables

This section is empty.

Functions

func UserAssetData

func UserAssetData(connRest ConnectorRest, parm UserAssetParam) ([]byte, error)

Types

type UserAssetParam

type UserAssetParam struct {
	Asset            string `structs:"asset,omitempty"`            // optional
	NeedBtcValuation bool   `structs:"needBtcValuation,omitempty"` // optional
	RecvWindow       int    `structs:"-"`                          // optional
}

type UserAssetResp

type UserAssetResp struct {
	Asset        string `json:"asset"`
	Free         string `json:"free"`
	Locked       string `json:"locked"`
	Freeze       string `json:"freeze"`
	Withdrawing  string `json:"withdrawing"`
	Ipoable      string `json:"ipoable"`
	BtcValuation string `json:"btcValuation"`
}

func UserAsset

func UserAsset(connRest ConnectorRest, parm UserAssetParam) (UserAssetResp, error)

Jump to

Keyboard shortcuts

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