WalletApi | R Documentation |
binanceRapi.Wallet
An R6Class
generator object
SapiV1AccountApiRestrictionsGet Get API Key Permission (USER_DATA) Weight(IP): 1
@param recv.window integer
@returnType InlineResponse20050
status code : 200 | API Key permissions
return type : InlineResponse20050
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1AccountApiTradingStatusGet Account API Trading Status (USER_DATA) Fetch account API trading status with details. Weight(IP): 1
@param recv.window integer
@returnType InlineResponse20040
status code : 200 | Account API trading status
return type : InlineResponse20040
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1AccountDisableFastWithdrawSwitchPost Disable Fast Withdraw Switch (USER_DATA) - This request will disable fastwithdraw switch under your account. - You need to enable \"trade\" option for the api key which requests this endpoint. Weight(IP): 1
@param recv.window integer
status code : 200 | OK
return type : object
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1AccountEnableFastWithdrawSwitchPost Enable Fast Withdraw Switch (USER_DATA) - This request will enable fastwithdraw switch under your account. You need to enable \"trade\" option for the api key which requests this endpoint. - When Fast Withdraw Switch is on, transferring funds to a Binance account will be done instantly. There is no on-chain transaction, no transaction ID and no withdrawal fee. Weight(IP): 1
@param recv.window integer
status code : 200 | OK
return type : object
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1AccountSnapshotGet Daily Account Snapshot (USER_DATA) - The query time period must be less than 30 days - Support query within the last one month only - If startTimeand endTime not sent, return records of the last 7 days by default Weight(IP): 2400
@param type Enum < [SPOT, MARGIN, FUTURES] >
@param start.time integer
@param end.time integer
@param limit integer
@param recv.window integer
@returnType OneOfsnapshotSpotsnapshotMarginsnapshotFutures
status code : 200 | Account Snapshot
return type : OneOfsnapshotSpotsnapshotMarginsnapshotFutures
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1AccountStatusGet Account Status (USER_DATA) Fetch account status detail. Weight(IP): 1
@param recv.window integer
@returnType InlineResponse20039
status code : 200 | OK
return type : InlineResponse20039
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1AssetAssetDetailGet Asset Detail (USER_DATA) Fetch details of assets supported on Binance. - Please get network and other deposit or withdraw details from `GET /sapi/v1/capital/config/getall`. Weight(IP): 1
@param asset character
@param recv.window integer
@returnType InlineResponse20045
status code : 200 | Asset detail
return type : InlineResponse20045
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1AssetAssetDividendGet Asset Dividend Record (USER_DATA) Query asset Dividend Record Weight(IP): 10
@param asset character
@param start.time integer
@param end.time integer
@param recv.window integer
@param limit integer
@returnType InlineResponse20044
status code : 200 | Records of asset dividend
return type : InlineResponse20044
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1AssetDribbletGet DustLog(USER_DATA) Weight(IP): 1
@param start.time integer
@param end.time integer
@param recv.window integer
@returnType InlineResponse20041
status code : 200 | Dust log records
return type : InlineResponse20041
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1AssetDustBtcPost Get Assets That Can Be Converted Into BNB (USER_DATA) Weight(IP): 1
@param timestamp integer
@param signature character
@param recv.window integer
@returnType InlineResponse20042
status code : 200 | Account assets available to be converted to BNB
return type : InlineResponse20042
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1AssetDustPost Dust Transfer (USER_DATA) Convert dust assets to BNB. Weight(UID): 10
@param asset list( character )
@param recv.window integer
@returnType InlineResponse20043
status code : 200 | Dust log records
return type : InlineResponse20043
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1AssetGetFundingAssetPost Funding Wallet (USER_DATA) - Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token Weight(IP): 1
@param asset character
@param need.btc.valuation Enum < [true, false] >
@param recv.window integer
@returnType list( inline_response_200_49 )
status code : 200 | Funding asset detail
return type : array[InlineResponse20049]
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1AssetTradeFeeGet Trade Fee (USER_DATA) Fetch trade fee Weight(IP): 1
@param symbol character
@param recv.window integer
@returnType list( inline_response_200_46 )
status code : 200 | Trade fee info per symbol
return type : array[InlineResponse20046]
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1AssetTransferGet Query User Universal Transfer History (USER_DATA) - `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN - `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN - Support query within the last 6 months only - If `startTime` and `endTime` not sent, return records of the last 7 days by default Weight(IP): 1
@param type Enum < [MAIN_C2C, MAIN_UMFUTURE, MAIN_CMFUTURE, MAIN_MARGIN, MAIN_MINING, C2C_MAIN, C2C_UMFUTURE, C2C_MINING, C2C_MARGIN, UMFUTURE_MAIN, UMFUTURE_C2C, UMFUTURE_MARGIN, CMFUTURE_MAIN, CMFUTURE_MARGIN, MARGIN_MAIN, MARGIN_UMFUTURE, MARGIN_CMFUTURE, MARGIN_MINING, MARGIN_C2C, MINING_MAIN, MINING_UMFUTURE, MINING_C2C, MINING_MARGIN, MAIN_PAY, PAY_MAIN, ISOLATEDMARGIN_MARGIN, MARGIN_ISOLATEDMARGIN, ISOLATEDMARGIN_ISOLATEDMARGIN] >
@param start.time integer
@param end.time integer
@param current integer
@param size integer
@param from.symbol character
@param to.symbol character
@param recv.window integer
@returnType InlineResponse20047
status code : 200 | Universal transfer history
return type : InlineResponse20047
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1AssetTransferPost User Universal Transfer (USER_DATA) You need to enable `Permits Universal Transfer` option for the api key which requests this endpoint. - `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN - `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN ENUM of transfer types: - MAIN_UMFUTURE Spot account transfer to USDⓈ-M Futures account - MAIN_CMFUTURE Spot account transfer to COIN-M Futures account - MAIN_MARGIN Spot account transfer to Margin(cross)account - UMFUTURE_MAIN USDⓈ-M Futures account transfer to Spot account - UMFUTURE_MARGIN USDⓈ-M Futures account transfer to Margin(cross)account - CMFUTURE_MAIN COIN-M Futures account transfer to Spot account - CMFUTURE_MARGIN COIN-M Futures account transfer to Margin(cross) account - MARGIN_MAIN Margin(cross)account transfer to Spot account - MARGIN_UMFUTURE Margin(cross)account transfer to USDⓈ-M Futures - MARGIN_CMFUTURE Margin(cross)account transfer to COIN-M Futures - ISOLATEDMARGIN_MARGIN Isolated margin account transfer to Margin(cross) account - MARGIN_ISOLATEDMARGIN Margin(cross) account transfer to Isolated margin account - ISOLATEDMARGIN_ISOLATEDMARGIN Isolated margin account transfer to Isolated margin account - MAIN_FUNDING Spot account transfer to Funding account - FUNDING_MAIN Funding account transfer to Spot account - FUNDING_UMFUTURE Funding account transfer to UMFUTURE account - UMFUTURE_FUNDING UMFUTURE account transfer to Funding account - MARGIN_FUNDING MARGIN account transfer to Funding account - FUNDING_MARGIN Funding account transfer to Margin account - FUNDING_CMFUTURE Funding account transfer to CMFUTURE account - CMFUTURE_FUNDING CMFUTURE account transfer to Funding account Weight(IP): 1
@param type Enum < [MAIN_C2C, MAIN_UMFUTURE, MAIN_CMFUTURE, MAIN_MARGIN, MAIN_MINING, C2C_MAIN, C2C_UMFUTURE, C2C_MINING, C2C_MARGIN, UMFUTURE_MAIN, UMFUTURE_C2C, UMFUTURE_MARGIN, CMFUTURE_MAIN, CMFUTURE_MARGIN, MARGIN_MAIN, MARGIN_UMFUTURE, MARGIN_CMFUTURE, MARGIN_MINING, MARGIN_C2C, MINING_MAIN, MINING_UMFUTURE, MINING_C2C, MINING_MARGIN, MAIN_PAY, PAY_MAIN, ISOLATEDMARGIN_MARGIN, MARGIN_ISOLATEDMARGIN, ISOLATEDMARGIN_ISOLATEDMARGIN] >
@param asset character
@param amount numeric
@param from.symbol character
@param to.symbol character
@param recv.window integer
@returnType InlineResponse20048
status code : 200 | Transfer id
return type : InlineResponse20048
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1CapitalConfigGetallGet All Coins' Information (USER_DATA) Get information of coins (available for deposit and withdraw) for user. Weight(IP): 10
@param recv.window integer
@returnType list( inline_response_200_34 )
status code : 200 | All coins details information
return type : array[InlineResponse20034]
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1CapitalDepositAddressGet Deposit Address (supporting network) (USER_DATA) Fetch deposit address with network. - If network is not send, return with default network of the coin. - You can get network and isDefault in networkList in the response of Get /sapi/v1/capital/config/getall (HMAC SHA256). Weight(IP): 10
@param coin character
@param network character
@param recv.window integer
@returnType InlineResponse20038
status code : 200 | Deposit address info
return type : InlineResponse20038
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1CapitalDepositHisrecGet Deposit History(supporting network) (USER_DATA) Fetch deposit history. - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days. - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days. Weight(IP): 1
@param coin character
@param status Enum < [0, 6, 1] >
@param start.time integer
@param end.time integer
@param offset integer
@param limit integer
@param recv.window integer
@returnType list( inline_response_200_36 )
status code : 200 | List of deposits
return type : array[InlineResponse20036]
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1CapitalWithdrawApplyPost Withdraw (USER_DATA) Submit a withdraw request. - If `network` not send, return with default network of the coin. - You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`. Weight(IP): 1
@param coin character
@param address character
@param amount numeric
@param withdraw.order.id character
@param network character
@param address.tag character
@param transaction.fee.flag character
@param name character
@param wallet.type integer
@param recv.window integer
@returnType InlineResponse20035
status code : 200 | Transafer Id
return type : InlineResponse20035
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1CapitalWithdrawHistoryGet Withdraw History (supporting network) (USER_DATA) Fetch withdraw history. - `network` may not be in the response for old withdraw. - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days. - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days Weight(IP): 1
@param coin character
@param withdraw.order.id character
@param status Enum < [0, 1, 2, 3, 4, 5, 6] >
@param start.time integer
@param end.time integer
@param offset integer
@param limit integer
@param recv.window integer
@returnType list( inline_response_200_37 )
status code : 200 | List of withdraw history
return type : array[InlineResponse20037]
response headers :
status code : 400 | Bad Request
return type : Error
response headers :
status code : 401 | Unauthorized Request
return type : Error
response headers :
SapiV1SystemStatusGet System Status (System) Fetch system status. Weight(IP): 1
@returnType InlineResponse20033
status code : 200 | OK
return type : InlineResponse20033
response headers :
apiClient
Handles the client-server communication.
WalletApi$SapiV1AccountDisableFastWithdrawSwitchPostWithHttpInfo()
WalletApi$SapiV1AccountEnableFastWithdrawSwitchPostWithHttpInfo()
new()
WalletApi$new(apiClient)
SapiV1AccountApiRestrictionsGet()
WalletApi$SapiV1AccountApiRestrictionsGet(recv.window = NULL, ...)
SapiV1AccountApiRestrictionsGetWithHttpInfo()
WalletApi$SapiV1AccountApiRestrictionsGetWithHttpInfo(recv.window = NULL, ...)
SapiV1AccountApiTradingStatusGet()
WalletApi$SapiV1AccountApiTradingStatusGet(recv.window = NULL, ...)
SapiV1AccountApiTradingStatusGetWithHttpInfo()
WalletApi$SapiV1AccountApiTradingStatusGetWithHttpInfo(recv.window = NULL, ...)
SapiV1AccountDisableFastWithdrawSwitchPost()
WalletApi$SapiV1AccountDisableFastWithdrawSwitchPost(recv.window = NULL, ...)
SapiV1AccountDisableFastWithdrawSwitchPostWithHttpInfo()
WalletApi$SapiV1AccountDisableFastWithdrawSwitchPostWithHttpInfo( recv.window = NULL, ... )
SapiV1AccountEnableFastWithdrawSwitchPost()
WalletApi$SapiV1AccountEnableFastWithdrawSwitchPost(recv.window = NULL, ...)
SapiV1AccountEnableFastWithdrawSwitchPostWithHttpInfo()
WalletApi$SapiV1AccountEnableFastWithdrawSwitchPostWithHttpInfo( recv.window = NULL, ... )
SapiV1AccountSnapshotGet()
WalletApi$SapiV1AccountSnapshotGet( type, start.time = NULL, end.time = NULL, limit = 7, recv.window = NULL, ... )
SapiV1AccountSnapshotGetWithHttpInfo()
WalletApi$SapiV1AccountSnapshotGetWithHttpInfo( type, start.time = NULL, end.time = NULL, limit = 7, recv.window = NULL, ... )
SapiV1AccountStatusGet()
WalletApi$SapiV1AccountStatusGet(recv.window = NULL, ...)
SapiV1AccountStatusGetWithHttpInfo()
WalletApi$SapiV1AccountStatusGetWithHttpInfo(recv.window = NULL, ...)
SapiV1AssetAssetDetailGet()
WalletApi$SapiV1AssetAssetDetailGet(asset = NULL, recv.window = NULL, ...)
SapiV1AssetAssetDetailGetWithHttpInfo()
WalletApi$SapiV1AssetAssetDetailGetWithHttpInfo( asset = NULL, recv.window = NULL, ... )
SapiV1AssetAssetDividendGet()
WalletApi$SapiV1AssetAssetDividendGet( asset = NULL, start.time = NULL, end.time = NULL, limit = 20, recv.window = NULL, ... )
SapiV1AssetAssetDividendGetWithHttpInfo()
WalletApi$SapiV1AssetAssetDividendGetWithHttpInfo( asset = NULL, start.time = NULL, end.time = NULL, limit = 20, recv.window = NULL, ... )
SapiV1AssetDribbletGet()
WalletApi$SapiV1AssetDribbletGet( start.time = NULL, end.time = NULL, recv.window = NULL, ... )
SapiV1AssetDribbletGetWithHttpInfo()
WalletApi$SapiV1AssetDribbletGetWithHttpInfo( start.time = NULL, end.time = NULL, recv.window = NULL, ... )
SapiV1AssetDustBtcPost()
WalletApi$SapiV1AssetDustBtcPost(recv.window = NULL, ...)
SapiV1AssetDustBtcPostWithHttpInfo()
WalletApi$SapiV1AssetDustBtcPostWithHttpInfo(recv.window = NULL, ...)
SapiV1AssetDustPost()
WalletApi$SapiV1AssetDustPost(asset, recv.window = NULL, ...)
SapiV1AssetDustPostWithHttpInfo()
WalletApi$SapiV1AssetDustPostWithHttpInfo(asset, recv.window = NULL, ...)
SapiV1AssetGetFundingAssetPost()
WalletApi$SapiV1AssetGetFundingAssetPost( asset = NULL, need.btc.valuation = NULL, recv.window = NULL, ... )
SapiV1AssetGetFundingAssetPostWithHttpInfo()
WalletApi$SapiV1AssetGetFundingAssetPostWithHttpInfo( asset = NULL, need.btc.valuation = NULL, recv.window = NULL, ... )
SapiV1AssetTradeFeeGet()
WalletApi$SapiV1AssetTradeFeeGet(symbol = NULL, recv.window = NULL, ...)
SapiV1AssetTradeFeeGetWithHttpInfo()
WalletApi$SapiV1AssetTradeFeeGetWithHttpInfo( symbol = NULL, recv.window = NULL, ... )
SapiV1AssetTransferGet()
WalletApi$SapiV1AssetTransferGet( type, start.time = NULL, end.time = NULL, current = NULL, size = NULL, from.symbol = NULL, to.symbol = NULL, recv.window = NULL, ... )
SapiV1AssetTransferGetWithHttpInfo()
WalletApi$SapiV1AssetTransferGetWithHttpInfo( type, start.time = NULL, end.time = NULL, current = NULL, size = NULL, from.symbol = NULL, to.symbol = NULL, recv.window = NULL, ... )
SapiV1AssetTransferPost()
WalletApi$SapiV1AssetTransferPost( type, asset, amount, from.symbol = NULL, to.symbol = NULL, recv.window = NULL, ... )
SapiV1AssetTransferPostWithHttpInfo()
WalletApi$SapiV1AssetTransferPostWithHttpInfo( type, asset, amount, from.symbol = NULL, to.symbol = NULL, recv.window = NULL, ... )
SapiV1CapitalConfigGetallGet()
WalletApi$SapiV1CapitalConfigGetallGet(recv.window = NULL, ...)
SapiV1CapitalConfigGetallGetWithHttpInfo()
WalletApi$SapiV1CapitalConfigGetallGetWithHttpInfo(recv.window = NULL, ...)
SapiV1CapitalDepositAddressGet()
WalletApi$SapiV1CapitalDepositAddressGet( coin, network = NULL, recv.window = NULL, ... )
SapiV1CapitalDepositAddressGetWithHttpInfo()
WalletApi$SapiV1CapitalDepositAddressGetWithHttpInfo( coin, network = NULL, recv.window = NULL, ... )
SapiV1CapitalDepositHisrecGet()
WalletApi$SapiV1CapitalDepositHisrecGet( coin = NULL, status = NULL, start.time = NULL, end.time = NULL, offset = NULL, limit = NULL, recv.window = NULL, ... )
SapiV1CapitalDepositHisrecGetWithHttpInfo()
WalletApi$SapiV1CapitalDepositHisrecGetWithHttpInfo( coin = NULL, status = NULL, start.time = NULL, end.time = NULL, offset = NULL, limit = NULL, recv.window = NULL, ... )
SapiV1CapitalWithdrawApplyPost()
WalletApi$SapiV1CapitalWithdrawApplyPost( coin, address, amount, withdraw.order.id = NULL, network = NULL, address.tag = NULL, transaction.fee.flag = FALSE, name = NULL, wallet.type = NULL, recv.window = NULL, ... )
SapiV1CapitalWithdrawApplyPostWithHttpInfo()
WalletApi$SapiV1CapitalWithdrawApplyPostWithHttpInfo( coin, address, amount, withdraw.order.id = NULL, network = NULL, address.tag = NULL, transaction.fee.flag = FALSE, name = NULL, wallet.type = NULL, recv.window = NULL, ... )
SapiV1CapitalWithdrawHistoryGet()
WalletApi$SapiV1CapitalWithdrawHistoryGet( coin = NULL, withdraw.order.id = NULL, status = NULL, start.time = NULL, end.time = NULL, offset = NULL, limit = NULL, recv.window = NULL, ... )
SapiV1CapitalWithdrawHistoryGetWithHttpInfo()
WalletApi$SapiV1CapitalWithdrawHistoryGetWithHttpInfo( coin = NULL, withdraw.order.id = NULL, status = NULL, start.time = NULL, end.time = NULL, offset = NULL, limit = NULL, recv.window = NULL, ... )
SapiV1SystemStatusGet()
WalletApi$SapiV1SystemStatusGet(...)
SapiV1SystemStatusGetWithHttpInfo()
WalletApi$SapiV1SystemStatusGetWithHttpInfo(...)
clone()
The objects of this class are cloneable with this method.
WalletApi$clone(deep = FALSE)
deep
Whether to make a deep clone.
## Not run: #################### SapiV1AccountApiRestrictionsGet #################### library(binanceRapi) var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Get API Key Permission (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AccountApiRestrictionsGet(recv.window=var.recv.window) #################### SapiV1AccountApiTradingStatusGet #################### library(binanceRapi) var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Account API Trading Status (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AccountApiTradingStatusGet(recv.window=var.recv.window) #################### SapiV1AccountDisableFastWithdrawSwitchPost #################### library(binanceRapi) var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Disable Fast Withdraw Switch (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AccountDisableFastWithdrawSwitchPost(recv.window=var.recv.window) #################### SapiV1AccountEnableFastWithdrawSwitchPost #################### library(binanceRapi) var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Enable Fast Withdraw Switch (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AccountEnableFastWithdrawSwitchPost(recv.window=var.recv.window) #################### SapiV1AccountSnapshotGet #################### library(binanceRapi) var.type <- 'type_example' # character | var.start.time <- 56 # integer | UTC timestamp in ms var.end.time <- 56 # integer | UTC timestamp in ms var.limit <- 7 # integer | var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Daily Account Snapshot (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AccountSnapshotGet(var.type, start.time=var.start.time, end.time=var.end.time, limit=var.limit, recv.window=var.recv.window) #################### SapiV1AccountStatusGet #################### library(binanceRapi) var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Account Status (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AccountStatusGet(recv.window=var.recv.window) #################### SapiV1AssetAssetDetailGet #################### library(binanceRapi) var.asset <- 'BNB' # character | var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Asset Detail (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AssetAssetDetailGet(asset=var.asset, recv.window=var.recv.window) #################### SapiV1AssetAssetDividendGet #################### library(binanceRapi) var.asset <- 'BNB' # character | var.start.time <- 56 # integer | UTC timestamp in ms var.end.time <- 56 # integer | UTC timestamp in ms var.limit <- 20 # integer | var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Asset Dividend Record (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AssetAssetDividendGet(asset=var.asset, start.time=var.start.time, end.time=var.end.time, limit=var.limit, recv.window=var.recv.window) #################### SapiV1AssetDribbletGet #################### library(binanceRapi) var.start.time <- 56 # integer | UTC timestamp in ms var.end.time <- 56 # integer | UTC timestamp in ms var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #DustLog(USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AssetDribbletGet(start.time=var.start.time, end.time=var.end.time, recv.window=var.recv.window) #################### SapiV1AssetDustBtcPost #################### library(binanceRapi) var.timestamp <- 56 # integer | UTC timestamp in ms var.signature <- 'signature_example' # character | Signature var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Get Assets That Can Be Converted Into BNB (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AssetDustBtcPost(recv.window=var.recv.window) #################### SapiV1AssetDustPost #################### library(binanceRapi) var.asset <- ['asset_example'] # array[character] | The asset being converted. For example, asset=BTC&asset=USDT var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Dust Transfer (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AssetDustPost(var.asset, recv.window=var.recv.window) #################### SapiV1AssetGetFundingAssetPost #################### library(binanceRapi) var.asset <- 'BNB' # character | var.need.btc.valuation <- 'need.btc.valuation_example' # character | var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Funding Wallet (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AssetGetFundingAssetPost(asset=var.asset, need.btc.valuation=var.need.btc.valuation, recv.window=var.recv.window) #################### SapiV1AssetTradeFeeGet #################### library(binanceRapi) var.symbol <- 'BNBUSDT' # character | Trading symbol, e.g. BNBUSDT var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Trade Fee (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AssetTradeFeeGet(symbol=var.symbol, recv.window=var.recv.window) #################### SapiV1AssetTransferGet #################### library(binanceRapi) var.type <- 'MAIN_C2C' # character | Universal transfer type var.start.time <- 56 # integer | UTC timestamp in ms var.end.time <- 56 # integer | UTC timestamp in ms var.current <- 1 # integer | Current querying page. Start from 1. Default:1 var.size <- 100 # integer | Default:10 Max:100 var.from.symbol <- 'BNBUSDT' # character | Must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN var.to.symbol <- 'BNBUSDT' # character | Must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Query User Universal Transfer History (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AssetTransferGet(var.type, start.time=var.start.time, end.time=var.end.time, current=var.current, size=var.size, from.symbol=var.from.symbol, to.symbol=var.to.symbol, recv.window=var.recv.window) #################### SapiV1AssetTransferPost #################### library(binanceRapi) var.type <- 'MAIN_C2C' # character | Universal transfer type var.asset <- 'BTC' # character | var.amount <- 1.01 # numeric | var.from.symbol <- 'BNBUSDT' # character | Must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN var.to.symbol <- 'BNBUSDT' # character | Must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #User Universal Transfer (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1AssetTransferPost(var.type, var.asset, var.amount, from.symbol=var.from.symbol, to.symbol=var.to.symbol, recv.window=var.recv.window) #################### SapiV1CapitalConfigGetallGet #################### library(binanceRapi) var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #All Coins' Information (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1CapitalConfigGetallGet(recv.window=var.recv.window) #################### SapiV1CapitalDepositAddressGet #################### library(binanceRapi) var.coin <- 'BNB' # character | Coin name var.network <- 'ETH' # character | var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Deposit Address (supporting network) (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1CapitalDepositAddressGet(var.coin, network=var.network, recv.window=var.recv.window) #################### SapiV1CapitalDepositHisrecGet #################### library(binanceRapi) var.coin <- 'BNB' # character | Coin name var.status <- 56 # integer | * `0` - pending * `6` - credited but cannot withdraw * `1` - success var.start.time <- 56 # integer | UTC timestamp in ms var.end.time <- 56 # integer | UTC timestamp in ms var.offset <- 56 # integer | var.limit <- 500 # integer | Default 500; max 1000. var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Deposit History(supporting network) (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1CapitalDepositHisrecGet(var.coin, status=var.status, start.time=var.start.time, end.time=var.end.time, offset=var.offset, limit=var.limit, recv.window=var.recv.window) #################### SapiV1CapitalWithdrawApplyPost #################### library(binanceRapi) var.coin <- 'BNB' # character | Coin name var.address <- 'address_example' # character | var.amount <- 1.01 # numeric | var.withdraw.order.id <- 'withdraw.order.id_example' # character | Client id for withdraw var.network <- 'network_example' # character | Get the value from `GET /sapi/v1/capital/config/getall` var.address.tag <- 'address.tag_example' # character | Secondary address identifier for coins like XRP,XMR etc. var.transaction.fee.flag <- FALSE # character | When making internal transfer - `true` -> returning the fee to the destination account; - `false` -> returning the fee back to the departure account. var.name <- 'name_example' # character | var.wallet.type <- 56 # integer | The wallet type for withdraw,0-Spot wallet, 1- Funding wallet. Default is Spot wallet var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Withdraw (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1CapitalWithdrawApplyPost(var.coin, var.address, var.amount, withdraw.order.id=var.withdraw.order.id, network=var.network, address.tag=var.address.tag, transaction.fee.flag=var.transaction.fee.flag, name=var.name, wallet.type=var.wallet.type, recv.window=var.recv.window) #################### SapiV1CapitalWithdrawHistoryGet #################### library(binanceRapi) var.coin <- 'BNB' # character | Coin name var.withdraw.order.id <- 'withdraw.order.id_example' # character | var.status <- 56 # integer | * `0` - Email Sent * `1` - Cancelled * `2` - Awaiting Approval * `3` - Rejected * `4` - Processing * `5` - Failure * `6` - Completed var.start.time <- 56 # integer | UTC timestamp in ms var.end.time <- 56 # integer | UTC timestamp in ms var.offset <- 56 # integer | var.limit <- 500 # integer | Default 500; max 1000. var.recv.window <- 5000 # integer | The value cannot be greater than 60000 #Withdraw History (supporting network) (USER_DATA) api.instance <- WalletApi$new() result <- api.instance$SapiV1CapitalWithdrawHistoryGet(var.coin, withdraw.order.id=var.withdraw.order.id, status=var.status, start.time=var.start.time, end.time=var.end.time, offset=var.offset, limit=var.limit, recv.window=var.recv.window) #################### SapiV1SystemStatusGet #################### library(binanceRapi) #System Status (System) api.instance <- WalletApi$new() result <- api.instance$SapiV1SystemStatusGet() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.