Binance Connector JS
    Preparing search index...

    CapitalApi - object-oriented interface CapitalApi

    Implements

    Index

    Constructors

    Methods

    • Submit a withdraw request

      Weight(UID): 900

      Security Type: USER_DATA

      Notes:

      • 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).
      • To check if travel rule is required, by using GET /sapi/v1/localentity/questionnaire-requirements and if it returns anything other than NIL you will need update SAPI to POST /sapi/v1/localentity/withdraw/apply else you can continue POST /sapi/v1/capital/withdraw/apply. Please note that if you are required to comply to travel rule please refer to the Travel Rule SAPI.
      • "For networks that do not support memo/tag, submitting a withdrawal request with a non-empty addressTag will return error -4106 TAG_NOT_SUPPORTED_FOR_NETWORK. Please omit the addressTag field for such networks. You can check whether a network requires a tag via GET /sapi/v1/capital/config/getall: If withdrawTag = true → memo/tag is required. If withdrawTag = false → memo/tag is not supported; omit addressTag."

      Parameters

      Returns Promise<RestApiResponse<WithdrawResponse>>

      CapitalApi