NFTApi: NFT operations

NFTApiR Documentation

NFT operations

Description

binanceRapi.NFT

Format

An R6Class generator object

Methods

SapiV1NftHistoryDepositGet Get NFT Deposit History(USER_DATA) - The max interval between startTime and endTime is 90 days. - If startTime and endTime are not sent, the recent 7 days' data will be returned. Weight(UID): 3000

  • @param start.time integer

  • @param end.time integer

  • @param limit integer

  • @param page integer

  • @param recv.window integer

  • @returnType InlineResponse200138

  • status code : 200 | NFT Deposit History

  • return type : InlineResponse200138

  • response headers :

  • status code : 400 | Bad Request

  • return type : Error

  • response headers :

  • status code : 401 | Unauthorized Request

  • return type : Error

  • response headers :

SapiV1NftHistoryTransactionsGet Get NFT Transaction History (USER_DATA) - The max interval between startTime and endTime is 90 days. - If startTime and endTime are not sent, the recent 7 days' data will be returned. Weight(UID): 3000

  • @param order.type integer

  • @param start.time integer

  • @param end.time integer

  • @param limit integer

  • @param page integer

  • @param recv.window integer

  • @returnType InlineResponse200137

  • status code : 200 | NFT Transaction History

  • return type : InlineResponse200137

  • response headers :

  • status code : 400 | Bad Request

  • return type : Error

  • response headers :

  • status code : 401 | Unauthorized Request

  • return type : Error

  • response headers :

SapiV1NftHistoryWithdrawGet Get NFT Withdraw History (USER_DATA) - The max interval between startTime and endTime is 90 days. - If startTime and endTime are not sent, the recent 7 days' data will be returned. Weight(UID): 3000

  • @param start.time integer

  • @param end.time integer

  • @param limit integer

  • @param page integer

  • @param recv.window integer

  • @returnType InlineResponse200139

  • status code : 200 | NFT Withdraw History

  • return type : InlineResponse200139

  • response headers :

  • status code : 400 | Bad Request

  • return type : Error

  • response headers :

  • status code : 401 | Unauthorized Request

  • return type : Error

  • response headers :

SapiV1NftUserGetAssetGet Get NFT Asset (USER_DATA) Weight(UID): 3000

  • @param limit integer

  • @param page integer

  • @param recv.window integer

  • @returnType InlineResponse200140

  • status code : 200 | Asset Information

  • return type : InlineResponse200140

  • 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
NFTApi$new(apiClient)

Method SapiV1NftHistoryDepositGet()

Usage
NFTApi$SapiV1NftHistoryDepositGet(
  start.time = NULL,
  end.time = NULL,
  limit = NULL,
  page = NULL,
  recv.window = NULL,
  ...
)

Method SapiV1NftHistoryDepositGetWithHttpInfo()

Usage
NFTApi$SapiV1NftHistoryDepositGetWithHttpInfo(
  start.time = NULL,
  end.time = NULL,
  limit = NULL,
  page = NULL,
  recv.window = NULL,
  ...
)

Method SapiV1NftHistoryTransactionsGet()

Usage
NFTApi$SapiV1NftHistoryTransactionsGet(
  order.type,
  start.time = NULL,
  end.time = NULL,
  limit = NULL,
  page = NULL,
  recv.window = NULL,
  ...
)

Method SapiV1NftHistoryTransactionsGetWithHttpInfo()

Usage
NFTApi$SapiV1NftHistoryTransactionsGetWithHttpInfo(
  order.type,
  start.time = NULL,
  end.time = NULL,
  limit = NULL,
  page = NULL,
  recv.window = NULL,
  ...
)

Method SapiV1NftHistoryWithdrawGet()

Usage
NFTApi$SapiV1NftHistoryWithdrawGet(
  start.time = NULL,
  end.time = NULL,
  limit = NULL,
  page = NULL,
  recv.window = NULL,
  ...
)

Method SapiV1NftHistoryWithdrawGetWithHttpInfo()

Usage
NFTApi$SapiV1NftHistoryWithdrawGetWithHttpInfo(
  start.time = NULL,
  end.time = NULL,
  limit = NULL,
  page = NULL,
  recv.window = NULL,
  ...
)

Method SapiV1NftUserGetAssetGet()

Usage
NFTApi$SapiV1NftUserGetAssetGet(
  limit = NULL,
  page = NULL,
  recv.window = NULL,
  ...
)

Method SapiV1NftUserGetAssetGetWithHttpInfo()

Usage
NFTApi$SapiV1NftUserGetAssetGetWithHttpInfo(
  limit = NULL,
  page = NULL,
  recv.window = NULL,
  ...
)

Method clone()

The objects of this class are cloneable with this method.

Usage
NFTApi$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Examples

## Not run: 
####################  SapiV1NftHistoryDepositGet  ####################

library(binanceRapi)
var.start.time <- 56 # integer | UTC timestamp in ms
var.end.time <- 56 # integer | UTC timestamp in ms
var.limit <- 50 # integer | Default 50, Max 50
var.page <- 1 # integer | Default 1
var.recv.window <- 5000 # integer | The value cannot be greater than 60000

#Get NFT Deposit History(USER_DATA)
api.instance <- NFTApi$new()

result <- api.instance$SapiV1NftHistoryDepositGet(start.time=var.start.time, end.time=var.end.time, limit=var.limit, page=var.page, recv.window=var.recv.window)


####################  SapiV1NftHistoryTransactionsGet  ####################

library(binanceRapi)
var.order.type <- 1 # integer | 0: purchase order, 1: sell order, 2: royalty income, 3: primary market order, 4: mint fee
var.start.time <- 56 # integer | UTC timestamp in ms
var.end.time <- 56 # integer | UTC timestamp in ms
var.limit <- 50 # integer | Default 50, Max 50
var.page <- 1 # integer | Default 1
var.recv.window <- 5000 # integer | The value cannot be greater than 60000

#Get NFT Transaction History (USER_DATA)
api.instance <- NFTApi$new()

result <- api.instance$SapiV1NftHistoryTransactionsGet(var.order.type, start.time=var.start.time, end.time=var.end.time, limit=var.limit, page=var.page, recv.window=var.recv.window)


####################  SapiV1NftHistoryWithdrawGet  ####################

library(binanceRapi)
var.start.time <- 56 # integer | UTC timestamp in ms
var.end.time <- 56 # integer | UTC timestamp in ms
var.limit <- 50 # integer | Default 50, Max 50
var.page <- 1 # integer | Default 1
var.recv.window <- 5000 # integer | The value cannot be greater than 60000

#Get NFT Withdraw History (USER_DATA)
api.instance <- NFTApi$new()

result <- api.instance$SapiV1NftHistoryWithdrawGet(start.time=var.start.time, end.time=var.end.time, limit=var.limit, page=var.page, recv.window=var.recv.window)


####################  SapiV1NftUserGetAssetGet  ####################

library(binanceRapi)
var.limit <- 50 # integer | Default 50, Max 50
var.page <- 1 # integer | Default 1
var.recv.window <- 5000 # integer | The value cannot be greater than 60000

#Get NFT Asset (USER_DATA)
api.instance <- NFTApi$new()

result <- api.instance$SapiV1NftUserGetAssetGet(limit=var.limit, page=var.page, recv.window=var.recv.window)



## End(Not run)

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