# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
context("Test BLVTApi")
api.instance <- BLVTApi$new()
test_that("SapiV1BlvtRedeemPost", {
# tests for SapiV1BlvtRedeemPost
# base path: https://api.binance.com
# Redeem BLVT (USER_DATA)
# Weight(IP): 1
# @param token.name character BTCDOWN, BTCUP
# @param amount numeric
# @param timestamp integer UTC timestamp in ms
# @param signature character Signature
# @param recv.window integer The value cannot be greater than 60000 (optional)
# @return [InlineResponse200100]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
test_that("SapiV1BlvtRedeemRecordGet", {
# tests for SapiV1BlvtRedeemRecordGet
# base path: https://api.binance.com
# Redemption Record (USER_DATA)
# - Only the data of the latest 90 days is available Weight(IP): 1
# @param timestamp integer UTC timestamp in ms
# @param signature character Signature
# @param token.name character BTCDOWN, BTCUP (optional)
# @param id integer (optional)
# @param start.time integer UTC timestamp in ms (optional)
# @param end.time integer UTC timestamp in ms (optional)
# @param limit integer default 1000, max 1000 (optional)
# @param recv.window integer The value cannot be greater than 60000 (optional)
# @return [array[InlineResponse200101]]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
test_that("SapiV1BlvtSubscribePost", {
# tests for SapiV1BlvtSubscribePost
# base path: https://api.binance.com
# Subscribe BLVT (USER_DATA)
# Weight(IP): 1
# @param token.name character BTCDOWN, BTCUP
# @param cost numeric Spot balance
# @param timestamp integer UTC timestamp in ms
# @param signature character Signature
# @param recv.window integer The value cannot be greater than 60000 (optional)
# @return [InlineResponse20098]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
test_that("SapiV1BlvtSubscribeRecordGet", {
# tests for SapiV1BlvtSubscribeRecordGet
# base path: https://api.binance.com
# Query Subscription Record (USER_DATA)
# - Only the data of the latest 90 days is available Weight(IP): 1
# @param timestamp integer UTC timestamp in ms
# @param signature character Signature
# @param token.name character BTCDOWN, BTCUP (optional)
# @param id integer (optional)
# @param start.time integer UTC timestamp in ms (optional)
# @param end.time integer UTC timestamp in ms (optional)
# @param limit integer Default 500; max 1000. (optional)
# @param recv.window integer The value cannot be greater than 60000 (optional)
# @return [InlineResponse20099]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
test_that("SapiV1BlvtTokenInfoGet", {
# tests for SapiV1BlvtTokenInfoGet
# base path: https://api.binance.com
# BLVT Info (MARKET_DATA)
# Weight(IP): 1
# @param token.name character BTCDOWN, BTCUP (optional)
# @return [array[InlineResponse20097]]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
test_that("SapiV1BlvtUserLimitGet", {
# tests for SapiV1BlvtUserLimitGet
# base path: https://api.binance.com
# BLVT User Limit Info (USER_DATA)
# Weight(IP): 1
# @param timestamp integer UTC timestamp in ms
# @param signature character Signature
# @param token.name character BTCDOWN, BTCUP (optional)
# @param recv.window integer The value cannot be greater than 60000 (optional)
# @return [array[InlineResponse200102]]
# uncomment below to test the operation
#expect_equal(result, "EXPECTED_RESULT")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.