Binance.Nft (binance v2.0.1)

NFT Endpoints

Summary

Functions

Get NFT Deposit History (USER_DATA)

Get NFT Transaction History (USER_DATA)

Get NFT Withdraw History (USER_DATA)

Get NFT Asset (USER_DATA)

Functions

Link to this function

get_nft_history_deposit(opts \\ [])

@spec get_nft_history_deposit(
  recvWindow: any(),
  page: any(),
  limit: any(),
  endTime: any(),
  startTime: any(),
  timestamp: any()
) :: {:ok, any()} | {:error, any()}

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

Details:

  • METHOD: get
  • URL: /sapi/v1/nft/history/deposit

Mandatory params:

Optional params:

  • timestamp - timestamp
  • startTime - UTC timestamp in ms
  • endTime - UTC timestamp in ms
  • limit - Default 50, Max 50
  • page - Default 1
  • recvWindow - The value cannot be greater than 60000
Link to this function

get_nft_history_transactions(orderType, opts \\ [])

@spec get_nft_history_transactions(any(),
  recvWindow: any(),
  page: any(),
  limit: any(),
  endTime: any(),
  startTime: any(),
  timestamp: any()
) :: {:ok, any()} | {:error, any()}

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

Details:

  • METHOD: get
  • URL: /sapi/v1/nft/history/transactions

Mandatory params:

  • orderType - 0: purchase order, 1: sell order, 2: royalty income, 3: primary market order, 4: mint fee

Optional params:

  • timestamp - timestamp
  • startTime - UTC timestamp in ms
  • endTime - UTC timestamp in ms
  • limit - Default 50, Max 50
  • page - Default 1
  • recvWindow - The value cannot be greater than 60000
Link to this function

get_nft_history_withdraw(opts \\ [])

@spec get_nft_history_withdraw(
  recvWindow: any(),
  page: any(),
  limit: any(),
  endTime: any(),
  startTime: any(),
  timestamp: any()
) :: {:ok, any()} | {:error, any()}

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

Details:

  • METHOD: get
  • URL: /sapi/v1/nft/history/withdraw

Mandatory params:

Optional params:

  • timestamp - timestamp
  • startTime - UTC timestamp in ms
  • endTime - UTC timestamp in ms
  • limit - Default 50, Max 50
  • page - Default 1
  • recvWindow - The value cannot be greater than 60000
Link to this function

get_nft_user_get_asset(opts \\ [])

@spec get_nft_user_get_asset(
  recvWindow: any(),
  page: any(),
  limit: any(),
  timestamp: any()
) ::
  {:ok, any()} | {:error, any()}

Get NFT Asset (USER_DATA)

Weight(UID): 3000

Details:

  • METHOD: get
  • URL: /sapi/v1/nft/user/getAsset

Mandatory params:

Optional params:

  • timestamp - timestamp
  • limit - Default 50, Max 50
  • page - Default 1
  • recvWindow - The value cannot be greater than 60000