BLVTApi: BLVT operations

BLVTApiR Documentation

BLVT operations

Description

binanceRapi.BLVT

Format

An R6Class generator object

Methods

SapiV1BlvtRedeemPost Redeem BLVT (USER_DATA) Weight(IP): 1

  • @param token.name character

  • @param amount numeric

  • @param recv.window integer

  • @returnType InlineResponse200118

  • status code : 200 | Redemption record

  • return type : InlineResponse200118

  • response headers :

  • status code : 400 | Bad Request

  • return type : Error

  • response headers :

  • status code : 401 | Unauthorized Request

  • return type : Error

  • response headers :

SapiV1BlvtRedeemRecordGet Redemption Record (USER_DATA) - Only the data of the latest 90 days is available Weight(IP): 1

  • @param token.name character

  • @param id integer

  • @param start.time integer

  • @param end.time integer

  • @param limit integer

  • @param recv.window integer

  • @returnType list( inline_response_200_119 )

  • status code : 200 | List of redemption record

  • return type : array[InlineResponse200119]

  • response headers :

  • status code : 400 | Bad Request

  • return type : Error

  • response headers :

  • status code : 401 | Unauthorized Request

  • return type : Error

  • response headers :

SapiV1BlvtSubscribePost Subscribe BLVT (USER_DATA) Weight(IP): 1

  • @param token.name character

  • @param cost numeric

  • @param recv.window integer

  • @returnType InlineResponse200116

  • status code : 200 | Subscription Info

  • return type : InlineResponse200116

  • response headers :

  • status code : 400 | Bad Request

  • return type : Error

  • response headers :

  • status code : 401 | Unauthorized Request

  • return type : Error

  • response headers :

SapiV1BlvtSubscribeRecordGet Query Subscription Record (USER_DATA) - Only the data of the latest 90 days is available Weight(IP): 1

  • @param token.name character

  • @param id integer

  • @param start.time integer

  • @param end.time integer

  • @param limit integer

  • @param recv.window integer

  • @returnType InlineResponse200117

  • status code : 200 | List of subscription record

  • return type : InlineResponse200117

  • response headers :

  • status code : 400 | Bad Request

  • return type : Error

  • response headers :

  • status code : 401 | Unauthorized Request

  • return type : Error

  • response headers :

SapiV1BlvtTokenInfoGet BLVT Info (MARKET_DATA) Weight(IP): 1

  • @param token.name character

  • @returnType list( inline_response_200_115 )

  • status code : 200 | List of token information

  • return type : array[InlineResponse200115]

  • response headers :

  • status code : 400 | Bad Request

  • return type : Error

  • response headers :

SapiV1BlvtUserLimitGet BLVT User Limit Info (USER_DATA) Weight(IP): 1

  • @param token.name character

  • @param recv.window integer

  • @returnType list( inline_response_200_120 )

  • status code : 200 | List of token limits

  • return type : array[InlineResponse200120]

  • response headers :

  • status code : 400 | Bad Request

  • return type : Error

  • response headers :

  • status code : 401 | Unauthorized Request

  • return type : Error

  • response headers :

Public fields

apiClient

Handles the client-server communication.

Methods

Public methods


Method new()

Usage
BLVTApi$new(apiClient)

Method SapiV1BlvtRedeemPost()

Usage
BLVTApi$SapiV1BlvtRedeemPost(token.name, amount, recv.window = NULL, ...)

Method SapiV1BlvtRedeemPostWithHttpInfo()

Usage
BLVTApi$SapiV1BlvtRedeemPostWithHttpInfo(
  token.name,
  amount,
  recv.window = NULL,
  ...
)

Method SapiV1BlvtRedeemRecordGet()

Usage
BLVTApi$SapiV1BlvtRedeemRecordGet(
  token.name = NULL,
  id = NULL,
  start.time = NULL,
  end.time = NULL,
  limit = NULL,
  recv.window = NULL,
  ...
)

Method SapiV1BlvtRedeemRecordGetWithHttpInfo()

Usage
BLVTApi$SapiV1BlvtRedeemRecordGetWithHttpInfo(
  token.name = NULL,
  id = NULL,
  start.time = NULL,
  end.time = NULL,
  limit = NULL,
  recv.window = NULL,
  ...
)

Method SapiV1BlvtSubscribePost()

Usage
BLVTApi$SapiV1BlvtSubscribePost(token.name, cost, recv.window = NULL, ...)

Method SapiV1BlvtSubscribePostWithHttpInfo()

Usage
BLVTApi$SapiV1BlvtSubscribePostWithHttpInfo(
  token.name,
  cost,
  recv.window = NULL,
  ...
)

Method SapiV1BlvtSubscribeRecordGet()

Usage
BLVTApi$SapiV1BlvtSubscribeRecordGet(
  token.name = NULL,
  id = NULL,
  start.time = NULL,
  end.time = NULL,
  limit = NULL,
  recv.window = NULL,
  ...
)

Method SapiV1BlvtSubscribeRecordGetWithHttpInfo()

Usage
BLVTApi$SapiV1BlvtSubscribeRecordGetWithHttpInfo(
  token.name = NULL,
  id = NULL,
  start.time = NULL,
  end.time = NULL,
  limit = NULL,
  recv.window = NULL,
  ...
)

Method SapiV1BlvtTokenInfoGet()

Usage
BLVTApi$SapiV1BlvtTokenInfoGet(token.name = NULL, ...)

Method SapiV1BlvtTokenInfoGetWithHttpInfo()

Usage
BLVTApi$SapiV1BlvtTokenInfoGetWithHttpInfo(token.name = NULL, ...)

Method SapiV1BlvtUserLimitGet()

Usage
BLVTApi$SapiV1BlvtUserLimitGet(token.name = NULL, recv.window = NULL, ...)

Method SapiV1BlvtUserLimitGetWithHttpInfo()

Usage
BLVTApi$SapiV1BlvtUserLimitGetWithHttpInfo(
  token.name = NULL,
  recv.window = NULL,
  ...
)

Method clone()

The objects of this class are cloneable with this method.

Usage
BLVTApi$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

## Not run: 
####################  SapiV1BlvtRedeemPost  ####################

library(binanceRapi)
var.token.name <- 'token.name_example' # character | BTCDOWN, BTCUP
var.amount <- 1.01 # numeric | 
var.recv.window <- 5000 # integer | The value cannot be greater than 60000

#Redeem BLVT (USER_DATA)
api.instance <- BLVTApi$new()

result <- api.instance$SapiV1BlvtRedeemPost(var.token.name, var.amount, recv.window=var.recv.window)


####################  SapiV1BlvtRedeemRecordGet  ####################

library(binanceRapi)
var.token.name <- 'token.name_example' # character | BTCDOWN, BTCUP
var.id <- 56 # integer | 
var.start.time <- 56 # integer | UTC timestamp in ms
var.end.time <- 56 # integer | UTC timestamp in ms
var.limit <- 56 # integer | default 1000, max 1000
var.recv.window <- 5000 # integer | The value cannot be greater than 60000

#Redemption Record (USER_DATA)
api.instance <- BLVTApi$new()

result <- api.instance$SapiV1BlvtRedeemRecordGet(token.name=var.token.name, id=var.id, start.time=var.start.time, end.time=var.end.time, limit=var.limit, recv.window=var.recv.window)


####################  SapiV1BlvtSubscribePost  ####################

library(binanceRapi)
var.token.name <- 'token.name_example' # character | BTCDOWN, BTCUP
var.cost <- 3.4 # numeric | Spot balance
var.recv.window <- 5000 # integer | The value cannot be greater than 60000

#Subscribe BLVT (USER_DATA)
api.instance <- BLVTApi$new()

result <- api.instance$SapiV1BlvtSubscribePost(var.token.name, var.cost, recv.window=var.recv.window)


####################  SapiV1BlvtSubscribeRecordGet  ####################

library(binanceRapi)
var.token.name <- 'token.name_example' # character | BTCDOWN, BTCUP
var.id <- 56 # integer | 
var.start.time <- 56 # integer | UTC timestamp in ms
var.end.time <- 56 # integer | UTC timestamp in ms
var.limit <- 500 # integer | Default 500; max 1000.
var.recv.window <- 5000 # integer | The value cannot be greater than 60000

#Query Subscription Record (USER_DATA)
api.instance <- BLVTApi$new()

result <- api.instance$SapiV1BlvtSubscribeRecordGet(token.name=var.token.name, id=var.id, start.time=var.start.time, end.time=var.end.time, limit=var.limit, recv.window=var.recv.window)


####################  SapiV1BlvtTokenInfoGet  ####################

library(binanceRapi)
var.token.name <- 'token.name_example' # character | BTCDOWN, BTCUP

#BLVT Info (MARKET_DATA)
api.instance <- BLVTApi$new()

result <- api.instance$SapiV1BlvtTokenInfoGet(token.name=var.token.name)


####################  SapiV1BlvtUserLimitGet  ####################

library(binanceRapi)
var.token.name <- 'token.name_example' # character | BTCDOWN, BTCUP
var.recv.window <- 5000 # integer | The value cannot be greater than 60000

#BLVT User Limit Info (USER_DATA)
api.instance <- BLVTApi$new()

result <- api.instance$SapiV1BlvtUserLimitGet(token.name=var.token.name, recv.window=var.recv.window)



## End(Not run)

grahamjwhite/binanceRapi documentation built on Nov. 22, 2022, 9:37 p.m.