Binance Connector JS
    Preparing search index...
    Index

    Constructors

    Methods

    • Submit deposit request, in this version, we only support BRL deposit via pix.

      For BRL deposit via pix, you need to place an order before making a transfer from your bank.

      Before calling this api, please make sure you have already completed your KYC or KYB, and already activated your fiat service on our website.

      Weight: 45000

      Parameters

      Returns Promise<RestApiResponse<DepositResponse>>

    • Submit withdraw request, in this version, we only support BRL withdrawal via bank_transfer.

      You need to call this api first, and call query order detail api in a loop to get the status of the order until this order is successful.

      Before calling this api, please make sure you have already completed your KYC or KYB, and already activated your fiat service on our website.

      you need to bind your bank account on web/app before using the corresponding account number

      Weight: 45000

      Parameters

      Returns Promise<RestApiResponse<FiatWithdrawResponse>>

    • Generic function to send a request.

      Type Parameters

      • T

      Parameters

      • endpoint: string

        The API endpoint to call.

      • method: "GET" | "POST" | "DELETE" | "PUT" | "PATCH"

        HTTP method to use (GET, POST, DELETE, etc.).

      • queryParams: Record<string, unknown> = {}

        Query parameters for the request.

      • bodyParams: Record<string, unknown> = {}

        Body parameters for the request.

      Returns Promise<RestApiResponse<T>>

      A promise resolving to the response data object.

    • Generic function to send a signed request.

      Type Parameters

      • T

      Parameters

      • endpoint: string

        The API endpoint to call.

      • method: "GET" | "POST" | "DELETE" | "PUT" | "PATCH"

        HTTP method to use (GET, POST, DELETE, etc.).

      • queryParams: Record<string, unknown> = {}

        Query parameters for the request.

      • bodyParams: Record<string, unknown> = {}

        Body parameters for the request.

      Returns Promise<RestApiResponse<T>>

      A promise resolving to the response data object.