@binance/wallet 21.0.0 → 22.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["localVarQueryParameter: Record<string, unknown>","localVarBodyParameter: Record<string, unknown>","localVarHeaderParameter: Record<string, unknown>","_timeUnit: TimeUnit | undefined","localVarQueryParameter: Record<string, unknown>","localVarBodyParameter: Record<string, unknown>","localVarHeaderParameter: Record<string, unknown>","_timeUnit: TimeUnit | undefined","localVarQueryParameter: Record<string, unknown>","localVarBodyParameter: Record<string, unknown>","localVarHeaderParameter: Record<string, unknown>","_timeUnit: TimeUnit | undefined","name","localVarQueryParameter: Record<string, unknown>","localVarBodyParameter: Record<string, unknown>","localVarHeaderParameter: Record<string, unknown>","_timeUnit: TimeUnit | undefined","localVarQueryParameter: Record<string, unknown>","localVarBodyParameter: Record<string, unknown>","localVarHeaderParameter: Record<string, unknown>","_timeUnit: TimeUnit | undefined","name","ConfigurationRestAPI","WALLET_REST_API_PROD_URL"],"sources":["../package.json","../src/rest-api/modules/account-api.ts","../src/rest-api/modules/asset-api.ts","../src/rest-api/modules/capital-api.ts","../src/rest-api/modules/others-api.ts","../src/rest-api/modules/travel-rule-api.ts","../src/rest-api/rest-api.ts","../src/rest-api/index.ts","../src/wallet.ts"],"sourcesContent":["{\n \"name\": \"@binance/wallet\",\n \"description\": \"Official Binance Wallet Connector - A lightweight library that provides a convenient interface to Binance's Wallet REST API.\",\n \"version\": \"21.0.0\",\n \"main\": \"./dist/index.js\",\n \"module\": \"./dist/index.mjs\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"require\": \"./dist/index.js\",\n \"import\": \"./dist/index.mjs\"\n }\n },\n \"scripts\": {\n \"prepublishOnly\": \"npm run build\",\n \"build\": \"npm run clean && tsdown\",\n \"typecheck\": \"tsc --noEmit\",\n \"clean\": \"rm -rf dist\",\n \"test\": \"npx jest --maxWorkers=4 --bail\",\n \"test:watch\": \"npx jest --watch\",\n \"format\": \"npx prettier --ignore-path .prettierignore --write .\",\n \"lint\": \"npx eslint '**/*.ts' --fix\"\n },\n \"keywords\": [\n \"Binance\",\n \"API\",\n \"Wallet\",\n \"Connector\",\n \"REST\",\n \"Trading\"\n ],\n \"author\": \"Binance\",\n \"license\": \"MIT\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/binance/binance-connector-js.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/binance/binance-connector-js/issues\"\n },\n \"homepage\": \"https://github.com/binance/binance-connector-js#readme\",\n \"files\": [\n \"dist\"\n ],\n \"devDependencies\": {\n \"@types/jest\": \"^29.5.4\",\n \"@types/node\": \"^20.17.24\",\n \"eslint\": \"8.57.0\",\n \"jest\": \"^29.6.4\",\n \"json-with-bigint\": \"^3.5.8\",\n \"prettier\": \"^3.3.3\",\n \"ts-jest\": \"^29.1.1\",\n \"ts-node\": \"^10.9.1\",\n \"tsdown\": \"^0.16.5\",\n \"typescript\": \"^5.7.2\",\n \"typescript-eslint\": \"^8.24.0\"\n },\n \"dependencies\": {\n \"@binance/common\": \"2.4.1\",\n \"axios\": \"^1.7.4\"\n }\n}\n","/**\n * Binance Wallet REST API\n *\n * OpenAPI Specification for the Binance Wallet REST API\n *\n * The version of the OpenAPI document: 1.0.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport {\n ConfigurationRestAPI,\n TimeUnit,\n RestApiResponse,\n assertParamExists,\n sendRequest,\n type RequestArgs,\n} from '@binance/common';\nimport type {\n AccountApiTradingStatusResponse,\n AccountInfoResponse,\n AccountStatusResponse,\n DailyAccountSnapshotResponse,\n GetApiKeyPermissionResponse,\n} from '../types';\n\n/**\n * AccountApi - axios parameter creator\n */\nconst AccountApiAxiosParamCreator = function (configuration: ConfigurationRestAPI) {\n return {\n /**\n * Fetch account api trading status detail.\n *\n * Weight: 1\n *\n * @summary Account API Trading Status (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n accountApiTradingStatus: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/account/apiTradingStatus',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch account info detail.\n *\n * Weight: 1\n *\n * @summary Account info (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n accountInfo: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/account/info',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch account status detail.\n *\n * Weight: 1\n *\n * @summary Account Status (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n accountStatus: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/account/status',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Daily account snapshot\n *\n * The query time period must be less then 30 days\n * Support query within the last one month only\n * If startTimeand endTime not sent, return records of the last 7 days by default\n *\n * Weight: 2400\n *\n * @summary Daily Account Snapshot (USER_DATA)\n * @param {string} type\n * @param {number | bigint} [startTime]\n * @param {number | bigint} [endTime]\n * @param {number | bigint} [limit] min 7, max 30, default 7\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n dailyAccountSnapshot: async (\n type: string,\n startTime?: number | bigint,\n endTime?: number | bigint,\n limit?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'type' is not null or undefined\n assertParamExists('dailyAccountSnapshot', 'type', type);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (type !== undefined && type !== null) {\n localVarQueryParameter['type'] = type;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/accountSnapshot',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n *\n * Weight: 1\n *\n * @summary Disable Fast Withdraw Switch (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n disableFastWithdrawSwitch: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/account/disableFastWithdrawSwitch',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Enable Fast Withdraw Switch (USER_DATA)\n *\n * This request will enable fastwithdraw switch under your account. <br></br>\n * 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.\n *\n * Weight: 1\n *\n * @summary Enable Fast Withdraw Switch (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n enableFastWithdrawSwitch: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/account/enableFastWithdrawSwitch',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Get API Key Permission\n *\n * Weight: 1\n *\n * @summary Get API Key Permission (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n getApiKeyPermission: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/account/apiRestrictions',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n };\n};\n\n/**\n * AccountApi - interface\n * @interface AccountApi\n */\nexport interface AccountApiInterface {\n /**\n * Fetch account api trading status detail.\n *\n * Weight: 1\n *\n * @summary Account API Trading Status (USER_DATA)\n * @param {AccountApiTradingStatusRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApiInterface\n */\n accountApiTradingStatus(\n requestParameters?: AccountApiTradingStatusRequest\n ): Promise<RestApiResponse<AccountApiTradingStatusResponse>>;\n /**\n * Fetch account info detail.\n *\n * Weight: 1\n *\n * @summary Account info (USER_DATA)\n * @param {AccountInfoRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApiInterface\n */\n accountInfo(\n requestParameters?: AccountInfoRequest\n ): Promise<RestApiResponse<AccountInfoResponse>>;\n /**\n * Fetch account status detail.\n *\n * Weight: 1\n *\n * @summary Account Status (USER_DATA)\n * @param {AccountStatusRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApiInterface\n */\n accountStatus(\n requestParameters?: AccountStatusRequest\n ): Promise<RestApiResponse<AccountStatusResponse>>;\n /**\n * Daily account snapshot\n *\n * The query time period must be less then 30 days\n * Support query within the last one month only\n * If startTimeand endTime not sent, return records of the last 7 days by default\n *\n * Weight: 2400\n *\n * @summary Daily Account Snapshot (USER_DATA)\n * @param {DailyAccountSnapshotRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApiInterface\n */\n dailyAccountSnapshot(\n requestParameters: DailyAccountSnapshotRequest\n ): Promise<RestApiResponse<DailyAccountSnapshotResponse>>;\n /**\n *\n * Weight: 1\n *\n * @summary Disable Fast Withdraw Switch (USER_DATA)\n * @param {DisableFastWithdrawSwitchRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApiInterface\n */\n disableFastWithdrawSwitch(\n requestParameters?: DisableFastWithdrawSwitchRequest\n ): Promise<RestApiResponse<void>>;\n /**\n * Enable Fast Withdraw Switch (USER_DATA)\n *\n * This request will enable fastwithdraw switch under your account. <br></br>\n * 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.\n *\n * Weight: 1\n *\n * @summary Enable Fast Withdraw Switch (USER_DATA)\n * @param {EnableFastWithdrawSwitchRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApiInterface\n */\n enableFastWithdrawSwitch(\n requestParameters?: EnableFastWithdrawSwitchRequest\n ): Promise<RestApiResponse<void>>;\n /**\n * Get API Key Permission\n *\n * Weight: 1\n *\n * @summary Get API Key Permission (USER_DATA)\n * @param {GetApiKeyPermissionRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApiInterface\n */\n getApiKeyPermission(\n requestParameters?: GetApiKeyPermissionRequest\n ): Promise<RestApiResponse<GetApiKeyPermissionResponse>>;\n}\n\n/**\n * Request parameters for accountApiTradingStatus operation in AccountApi.\n * @interface AccountApiTradingStatusRequest\n */\nexport interface AccountApiTradingStatusRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiAccountApiTradingStatus\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for accountInfo operation in AccountApi.\n * @interface AccountInfoRequest\n */\nexport interface AccountInfoRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiAccountInfo\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for accountStatus operation in AccountApi.\n * @interface AccountStatusRequest\n */\nexport interface AccountStatusRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiAccountStatus\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for dailyAccountSnapshot operation in AccountApi.\n * @interface DailyAccountSnapshotRequest\n */\nexport interface DailyAccountSnapshotRequest {\n /**\n *\n * @type {string}\n * @memberof AccountApiDailyAccountSnapshot\n */\n readonly type: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiDailyAccountSnapshot\n */\n readonly startTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiDailyAccountSnapshot\n */\n readonly endTime?: number | bigint;\n\n /**\n * min 7, max 30, default 7\n * @type {number | bigint}\n * @memberof AccountApiDailyAccountSnapshot\n */\n readonly limit?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiDailyAccountSnapshot\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for disableFastWithdrawSwitch operation in AccountApi.\n * @interface DisableFastWithdrawSwitchRequest\n */\nexport interface DisableFastWithdrawSwitchRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiDisableFastWithdrawSwitch\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for enableFastWithdrawSwitch operation in AccountApi.\n * @interface EnableFastWithdrawSwitchRequest\n */\nexport interface EnableFastWithdrawSwitchRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiEnableFastWithdrawSwitch\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for getApiKeyPermission operation in AccountApi.\n * @interface GetApiKeyPermissionRequest\n */\nexport interface GetApiKeyPermissionRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiGetApiKeyPermission\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * AccountApi - object-oriented interface\n * @class AccountApi\n */\nexport class AccountApi implements AccountApiInterface {\n private readonly configuration: ConfigurationRestAPI;\n private localVarAxiosParamCreator;\n\n constructor(configuration: ConfigurationRestAPI) {\n this.configuration = configuration;\n this.localVarAxiosParamCreator = AccountApiAxiosParamCreator(configuration);\n }\n\n /**\n * Fetch account api trading status detail.\n *\n * Weight: 1\n *\n * @summary Account API Trading Status (USER_DATA)\n * @param {AccountApiTradingStatusRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<AccountApiTradingStatusResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApi\n * @see {@link https://developers.binance.com/docs/wallet/account/Account-API-Trading-Status Binance API Documentation}\n */\n public async accountApiTradingStatus(\n requestParameters: AccountApiTradingStatusRequest = {}\n ): Promise<RestApiResponse<AccountApiTradingStatusResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.accountApiTradingStatus(\n requestParameters?.recvWindow\n );\n return sendRequest<AccountApiTradingStatusResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch account info detail.\n *\n * Weight: 1\n *\n * @summary Account info (USER_DATA)\n * @param {AccountInfoRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<AccountInfoResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApi\n * @see {@link https://developers.binance.com/docs/wallet/account/Account-info Binance API Documentation}\n */\n public async accountInfo(\n requestParameters: AccountInfoRequest = {}\n ): Promise<RestApiResponse<AccountInfoResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.accountInfo(\n requestParameters?.recvWindow\n );\n return sendRequest<AccountInfoResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch account status detail.\n *\n * Weight: 1\n *\n * @summary Account Status (USER_DATA)\n * @param {AccountStatusRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<AccountStatusResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApi\n * @see {@link https://developers.binance.com/docs/wallet/account/Account-Status Binance API Documentation}\n */\n public async accountStatus(\n requestParameters: AccountStatusRequest = {}\n ): Promise<RestApiResponse<AccountStatusResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.accountStatus(\n requestParameters?.recvWindow\n );\n return sendRequest<AccountStatusResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Daily account snapshot\n *\n * The query time period must be less then 30 days\n * Support query within the last one month only\n * If startTimeand endTime not sent, return records of the last 7 days by default\n *\n * Weight: 2400\n *\n * @summary Daily Account Snapshot (USER_DATA)\n * @param {DailyAccountSnapshotRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DailyAccountSnapshotResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApi\n * @see {@link https://developers.binance.com/docs/wallet/account/daily-account-snapshoot Binance API Documentation}\n */\n public async dailyAccountSnapshot(\n requestParameters: DailyAccountSnapshotRequest\n ): Promise<RestApiResponse<DailyAccountSnapshotResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.dailyAccountSnapshot(\n requestParameters?.type,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.limit,\n requestParameters?.recvWindow\n );\n return sendRequest<DailyAccountSnapshotResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n *\n * Weight: 1\n *\n * @summary Disable Fast Withdraw Switch (USER_DATA)\n * @param {DisableFastWithdrawSwitchRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<void>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApi\n * @see {@link https://developers.binance.com/docs/wallet/account/Disable-Fast-Withdraw-Switch Binance API Documentation}\n */\n public async disableFastWithdrawSwitch(\n requestParameters: DisableFastWithdrawSwitchRequest = {}\n ): Promise<RestApiResponse<void>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.disableFastWithdrawSwitch(\n requestParameters?.recvWindow\n );\n return sendRequest<void>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Enable Fast Withdraw Switch (USER_DATA)\n *\n * This request will enable fastwithdraw switch under your account. <br></br>\n * 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.\n *\n * Weight: 1\n *\n * @summary Enable Fast Withdraw Switch (USER_DATA)\n * @param {EnableFastWithdrawSwitchRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<void>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApi\n * @see {@link https://developers.binance.com/docs/wallet/account/Enable-Fast-Withdraw-Switch Binance API Documentation}\n */\n public async enableFastWithdrawSwitch(\n requestParameters: EnableFastWithdrawSwitchRequest = {}\n ): Promise<RestApiResponse<void>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.enableFastWithdrawSwitch(\n requestParameters?.recvWindow\n );\n return sendRequest<void>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Get API Key Permission\n *\n * Weight: 1\n *\n * @summary Get API Key Permission (USER_DATA)\n * @param {GetApiKeyPermissionRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<GetApiKeyPermissionResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApi\n * @see {@link https://developers.binance.com/docs/wallet/account/api-key-permission Binance API Documentation}\n */\n public async getApiKeyPermission(\n requestParameters: GetApiKeyPermissionRequest = {}\n ): Promise<RestApiResponse<GetApiKeyPermissionResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.getApiKeyPermission(\n requestParameters?.recvWindow\n );\n return sendRequest<GetApiKeyPermissionResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n}\n","/**\n * Binance Wallet REST API\n *\n * OpenAPI Specification for the Binance Wallet REST API\n *\n * The version of the OpenAPI document: 1.0.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport {\n ConfigurationRestAPI,\n TimeUnit,\n RestApiResponse,\n assertParamExists,\n sendRequest,\n type RequestArgs,\n} from '@binance/common';\nimport type {\n AssetDetailResponse,\n AssetDividendRecordResponse,\n DustConvertResponse,\n DustConvertibleAssetsResponse,\n DustTransferResponse,\n DustlogResponse,\n FundingWalletResponse,\n GetAssetsThatCanBeConvertedIntoBnbResponse,\n GetCloudMiningPaymentAndRefundHistoryResponse,\n GetOpenSymbolListResponse,\n QueryUserDelegationHistoryResponse,\n QueryUserUniversalTransferHistoryResponse,\n QueryUserWalletBalanceResponse,\n ToggleBnbBurnOnSpotTradeAndMarginInterestResponse,\n TradeFeeResponse,\n UserAssetResponse,\n UserUniversalTransferResponse,\n} from '../types';\n\n/**\n * AssetApi - axios parameter creator\n */\nconst AssetApiAxiosParamCreator = function (configuration: ConfigurationRestAPI) {\n return {\n /**\n * Fetch details of assets supported on Binance.\n *\n *\n * Please get network and other deposit or withdraw details from ``GET /sapi/v1/capital/config/getall``.\n *\n * Weight: 1\n *\n * @summary Asset Detail (USER_DATA)\n * @param {string} [asset] If asset is blank, then query all positive assets user have.\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n assetDetail: async (asset?: string, recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/assetDetail',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query asset dividend record.\n *\n *\n * There cannot be more than 180 days between parameter `startTime` and `endTime`.\n *\n * Weight: 10\n *\n * @summary Asset Dividend Record (USER_DATA)\n * @param {string} [asset] If asset is blank, then query all positive assets user have.\n * @param {number | bigint} [startTime]\n * @param {number | bigint} [endTime]\n * @param {number | bigint} [limit] min 7, max 30, default 7\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n assetDividendRecord: async (\n asset?: string,\n startTime?: number | bigint,\n endTime?: number | bigint,\n limit?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/assetDividend',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Convert dust assets\n *\n * Weight: 10\n *\n * @summary Dust Convert (USER_DATA)\n * @param {string} asset\n * @param {string} [accountType] `SPOT` or `MARGIN`,default `SPOT`\n * @param {string} [clientId] A unique id for the request\n * @param {string} [targetAsset]\n * @param {string} [thirdPartyClientId]\n * @param {number} [dustQuotaAssetToTargetAssetPrice]\n *\n * @throws {RequiredError}\n */\n dustConvert: async (\n asset: string,\n accountType?: string,\n clientId?: string,\n targetAsset?: string,\n thirdPartyClientId?: string,\n dustQuotaAssetToTargetAssetPrice?: number\n ): Promise<RequestArgs> => {\n // verify required parameter 'asset' is not null or undefined\n assertParamExists('dustConvert', 'asset', asset);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (accountType !== undefined && accountType !== null) {\n localVarQueryParameter['accountType'] = accountType;\n }\n if (clientId !== undefined && clientId !== null) {\n localVarQueryParameter['clientId'] = clientId;\n }\n if (targetAsset !== undefined && targetAsset !== null) {\n localVarQueryParameter['targetAsset'] = targetAsset;\n }\n if (thirdPartyClientId !== undefined && thirdPartyClientId !== null) {\n localVarQueryParameter['thirdPartyClientId'] = thirdPartyClientId;\n }\n if (\n dustQuotaAssetToTargetAssetPrice !== undefined &&\n dustQuotaAssetToTargetAssetPrice !== null\n ) {\n localVarQueryParameter['dustQuotaAssetToTargetAssetPrice'] =\n dustQuotaAssetToTargetAssetPrice;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/dust-convert/convert',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query dust convertible assets\n *\n * Weight: 1\n *\n * @summary Dust Convertible Assets (USER_DATA)\n * @param {string} targetAsset\n * @param {string} [accountType] `SPOT` or `MARGIN`,default `SPOT`\n * @param {number} [dustQuotaAssetToTargetAssetPrice]\n *\n * @throws {RequiredError}\n */\n dustConvertibleAssets: async (\n targetAsset: string,\n accountType?: string,\n dustQuotaAssetToTargetAssetPrice?: number\n ): Promise<RequestArgs> => {\n // verify required parameter 'targetAsset' is not null or undefined\n assertParamExists('dustConvertibleAssets', 'targetAsset', targetAsset);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (accountType !== undefined && accountType !== null) {\n localVarQueryParameter['accountType'] = accountType;\n }\n if (targetAsset !== undefined && targetAsset !== null) {\n localVarQueryParameter['targetAsset'] = targetAsset;\n }\n if (\n dustQuotaAssetToTargetAssetPrice !== undefined &&\n dustQuotaAssetToTargetAssetPrice !== null\n ) {\n localVarQueryParameter['dustQuotaAssetToTargetAssetPrice'] =\n dustQuotaAssetToTargetAssetPrice;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/dust-convert/query-convertible-assets',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Convert dust assets to BNB.\n *\n * You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.\n *\n * Weight: 10\n *\n * @summary Dust Transfer (USER_DATA)\n * @param {string} asset\n * @param {string} [accountType] `SPOT` or `MARGIN`,default `SPOT`\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n dustTransfer: async (\n asset: string,\n accountType?: string,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'asset' is not null or undefined\n assertParamExists('dustTransfer', 'asset', asset);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (accountType !== undefined && accountType !== null) {\n localVarQueryParameter['accountType'] = accountType;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/dust',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Dustlog\n *\n * Only return last 100 records\n * Only return records after 2020/12/01\n *\n * Weight: 1\n *\n * @summary DustLog(USER_DATA)\n * @param {string} [accountType] `SPOT` or `MARGIN`,default `SPOT`\n * @param {number | bigint} [startTime]\n * @param {number | bigint} [endTime]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n dustlog: async (\n accountType?: string,\n startTime?: number | bigint,\n endTime?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (accountType !== undefined && accountType !== null) {\n localVarQueryParameter['accountType'] = accountType;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/dribblet',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query Funding Wallet\n *\n *\n * Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token\n *\n * Weight: 1\n *\n * @summary Funding Wallet (USER_DATA)\n * @param {string} [asset] If asset is blank, then query all positive assets user have.\n * @param {string} [needBtcValuation] true or false\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n fundingWallet: async (\n asset?: string,\n needBtcValuation?: string,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (needBtcValuation !== undefined && needBtcValuation !== null) {\n localVarQueryParameter['needBtcValuation'] = needBtcValuation;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/get-funding-asset',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Get Assets That Can Be Converted Into BNB\n *\n * Weight: 1\n *\n * @summary Get Assets That Can Be Converted Into BNB (USER_DATA)\n * @param {string} [accountType] `SPOT` or `MARGIN`,default `SPOT`\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n getAssetsThatCanBeConvertedIntoBnb: async (\n accountType?: string,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (accountType !== undefined && accountType !== null) {\n localVarQueryParameter['accountType'] = accountType;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/dust-btc',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * The query of Cloud-Mining payment and refund history\n *\n * Just return the SUCCESS records of payment and refund.\n * For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS.\n *\n * Weight: 600\n *\n * @summary Get Cloud-Mining payment and refund history (USER_DATA)\n * @param {number | bigint} startTime\n * @param {number | bigint} endTime\n * @param {number | bigint} [tranId] The transaction id\n * @param {string} [clientTranId] The unique flag\n * @param {string} [asset] If asset is blank, then query all positive assets user have.\n * @param {number | bigint} [current] current page, default 1, the min value is 1\n * @param {number | bigint} [size] page size, default 10, the max value is 100\n *\n * @throws {RequiredError}\n */\n getCloudMiningPaymentAndRefundHistory: async (\n startTime: number | bigint,\n endTime: number | bigint,\n tranId?: number | bigint,\n clientTranId?: string,\n asset?: string,\n current?: number | bigint,\n size?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'startTime' is not null or undefined\n assertParamExists('getCloudMiningPaymentAndRefundHistory', 'startTime', startTime);\n // verify required parameter 'endTime' is not null or undefined\n assertParamExists('getCloudMiningPaymentAndRefundHistory', 'endTime', endTime);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (tranId !== undefined && tranId !== null) {\n localVarQueryParameter['tranId'] = tranId;\n }\n if (clientTranId !== undefined && clientTranId !== null) {\n localVarQueryParameter['clientTranId'] = clientTranId;\n }\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (current !== undefined && current !== null) {\n localVarQueryParameter['current'] = current;\n }\n if (size !== undefined && size !== null) {\n localVarQueryParameter['size'] = size;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/ledger-transfer/cloud-mining/queryByPage',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Get the list of symbols that are scheduled to be opened for trading in the market.\n *\n * Weight: 100\n *\n * @summary Get Open Symbol List (MARKET_DATA)\n *\n * @throws {RequiredError}\n */\n getOpenSymbolList: async (): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/spot/open-symbol-list',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query User Delegation History\n *\n * Weight: 60\n *\n * @summary Query User Delegation History(For Master Account)(USER_DATA)\n * @param {string} email\n * @param {number | bigint} startTime\n * @param {number | bigint} endTime\n * @param {string} [type] Delegate/Undelegate\n * @param {string} [asset] If asset is blank, then query all positive assets user have.\n * @param {number | bigint} [current] current page, default 1, the min value is 1\n * @param {number | bigint} [size] page size, default 10, the max value is 100\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n queryUserDelegationHistory: async (\n email: string,\n startTime: number | bigint,\n endTime: number | bigint,\n type?: string,\n asset?: string,\n current?: number | bigint,\n size?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'email' is not null or undefined\n assertParamExists('queryUserDelegationHistory', 'email', email);\n // verify required parameter 'startTime' is not null or undefined\n assertParamExists('queryUserDelegationHistory', 'startTime', startTime);\n // verify required parameter 'endTime' is not null or undefined\n assertParamExists('queryUserDelegationHistory', 'endTime', endTime);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (email !== undefined && email !== null) {\n localVarQueryParameter['email'] = email;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (type !== undefined && type !== null) {\n localVarQueryParameter['type'] = type;\n }\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (current !== undefined && current !== null) {\n localVarQueryParameter['current'] = current;\n }\n if (size !== undefined && size !== null) {\n localVarQueryParameter['size'] = size;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/custody/transfer-history',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query User Universal Transfer History\n *\n *\n * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * Support query within the last 6 months only\n * If `startTime`and `endTime` not sent, return records of the last 7 days by default\n *\n * Weight: 1\n *\n * @summary Query User Universal Transfer History(USER_DATA)\n * @param {string} type\n * @param {number | bigint} [startTime]\n * @param {number | bigint} [endTime]\n * @param {number | bigint} [current] current page, default 1, the min value is 1\n * @param {number | bigint} [size] page size, default 10, the max value is 100\n * @param {string} [fromSymbol]\n * @param {string} [toSymbol]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n queryUserUniversalTransferHistory: async (\n type: string,\n startTime?: number | bigint,\n endTime?: number | bigint,\n current?: number | bigint,\n size?: number | bigint,\n fromSymbol?: string,\n toSymbol?: string,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'type' is not null or undefined\n assertParamExists('queryUserUniversalTransferHistory', 'type', type);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (type !== undefined && type !== null) {\n localVarQueryParameter['type'] = type;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (current !== undefined && current !== null) {\n localVarQueryParameter['current'] = current;\n }\n if (size !== undefined && size !== null) {\n localVarQueryParameter['size'] = size;\n }\n if (fromSymbol !== undefined && fromSymbol !== null) {\n localVarQueryParameter['fromSymbol'] = fromSymbol;\n }\n if (toSymbol !== undefined && toSymbol !== null) {\n localVarQueryParameter['toSymbol'] = toSymbol;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/transfer',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query User Wallet Balance\n *\n * Weight: 60\n *\n * @summary Query User Wallet Balance (USER_DATA)\n * @param {string} [quoteAsset] `USDT`, `ETH`, `USDC`, `BNB`, etc. default `BTC`\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n queryUserWalletBalance: async (\n quoteAsset?: string,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (quoteAsset !== undefined && quoteAsset !== null) {\n localVarQueryParameter['quoteAsset'] = quoteAsset;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/wallet/balance',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Toggle BNB Burn On Spot Trade And Margin Interest\n *\n * \"spotBNBBurn\" and \"interestBNBBurn\" should be sent at least one.\n *\n * Weight: 1(IP)\n *\n * @summary Toggle BNB Burn On Spot Trade And Margin Interest (USER_DATA)\n * @param {string} [spotBNBBurn] \"true\" or \"false\"; Determines whether to use BNB to pay for trading fees on SPOT\n * @param {string} [interestBNBBurn] \"true\" or \"false\"; Determines whether to use BNB to pay for margin loan's interest\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n toggleBnbBurnOnSpotTradeAndMarginInterest: async (\n spotBNBBurn?: string,\n interestBNBBurn?: string,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (spotBNBBurn !== undefined && spotBNBBurn !== null) {\n localVarQueryParameter['spotBNBBurn'] = spotBNBBurn;\n }\n if (interestBNBBurn !== undefined && interestBNBBurn !== null) {\n localVarQueryParameter['interestBNBBurn'] = interestBNBBurn;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/bnbBurn',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch trade fee\n *\n * Weight: 1\n *\n * @summary Trade Fee (USER_DATA)\n * @param {string} [symbol]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n tradeFee: async (symbol?: string, recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (symbol !== undefined && symbol !== null) {\n localVarQueryParameter['symbol'] = symbol;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/tradeFee',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Get user assets, just for positive data.\n *\n * If asset is set, then return this asset, otherwise return all assets positive.\n * If needBtcValuation is set, then return btcValudation.\n *\n * Weight: 5\n *\n * @summary User Asset (USER_DATA)\n * @param {string} [asset] If asset is blank, then query all positive assets user have.\n * @param {boolean} [needBtcValuation] Whether need btc valuation or not.\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n userAsset: async (\n asset?: string,\n needBtcValuation?: boolean,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (needBtcValuation !== undefined && needBtcValuation !== null) {\n localVarQueryParameter['needBtcValuation'] = needBtcValuation;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v3/asset/getUserAsset',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * user universal transfer\n *\n * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * ENUM of transfer types:\n * MAIN_UMFUTURE Spot account transfer to USDⓈ-M Futures account\n * MAIN_CMFUTURE Spot account transfer to COIN-M Futures account\n * MAIN_MARGIN Spot account transfer to Margin(cross)account\n * UMFUTURE_MAIN USDⓈ-M Futures account transfer to Spot account\n * UMFUTURE_MARGIN USDⓈ-M Futures account transfer to Margin(cross)account\n * CMFUTURE_MAIN COIN-M Futures account transfer to Spot account\n * CMFUTURE_MARGIN COIN-M Futures account transfer to Margin(cross) account\n * MARGIN_MAIN Margin(cross)account transfer to Spot account\n * MARGIN_UMFUTURE Margin(cross)account transfer to USDⓈ-M Futures\n * MARGIN_CMFUTURE Margin(cross)account transfer to COIN-M Futures\n * ISOLATEDMARGIN_MARGIN Isolated margin account transfer to Margin(cross) account\n * MARGIN_ISOLATEDMARGIN Margin(cross) account transfer to Isolated margin account\n * ISOLATEDMARGIN_ISOLATEDMARGIN Isolated margin account transfer to Isolated margin account\n * MAIN_FUNDING Spot account transfer to Funding account\n * FUNDING_MAIN Funding account transfer to Spot account\n * FUNDING_UMFUTURE Funding account transfer to UMFUTURE account\n * UMFUTURE_FUNDING UMFUTURE account transfer to Funding account\n * MARGIN_FUNDING MARGIN account transfer to Funding account\n * FUNDING_MARGIN Funding account transfer to Margin account\n * FUNDING_CMFUTURE Funding account transfer to CMFUTURE account\n * CMFUTURE_FUNDING CMFUTURE account transfer to Funding account\n * MAIN_OPTION Spot account transfer to Options account\n * OPTION_MAIN Options account transfer to Spot account\n * UMFUTURE_OPTION USDⓈ-M Futures account transfer to Options account\n * OPTION_UMFUTURE Options account transfer to USDⓈ-M Futures account\n * MARGIN_OPTION Margin(cross)account transfer to Options account\n * OPTION_MARGIN Options account transfer to Margin(cross)account\n * FUNDING_OPTION Funding account transfer to Options account\n * OPTION_FUNDING Options account transfer to Funding account\n * MAIN_PORTFOLIO_MARGIN Spot account transfer to Portfolio Margin account\n * PORTFOLIO_MARGIN_MAIN Portfolio Margin account transfer to Spot account\n *\n * Weight: 900\n *\n * @summary User Universal Transfer (USER_DATA)\n * @param {string} type\n * @param {string} asset\n * @param {number} amount\n * @param {string} [fromSymbol]\n * @param {string} [toSymbol]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n userUniversalTransfer: async (\n type: string,\n asset: string,\n amount: number,\n fromSymbol?: string,\n toSymbol?: string,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'type' is not null or undefined\n assertParamExists('userUniversalTransfer', 'type', type);\n // verify required parameter 'asset' is not null or undefined\n assertParamExists('userUniversalTransfer', 'asset', asset);\n // verify required parameter 'amount' is not null or undefined\n assertParamExists('userUniversalTransfer', 'amount', amount);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (type !== undefined && type !== null) {\n localVarQueryParameter['type'] = type;\n }\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (amount !== undefined && amount !== null) {\n localVarQueryParameter['amount'] = amount;\n }\n if (fromSymbol !== undefined && fromSymbol !== null) {\n localVarQueryParameter['fromSymbol'] = fromSymbol;\n }\n if (toSymbol !== undefined && toSymbol !== null) {\n localVarQueryParameter['toSymbol'] = toSymbol;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/transfer',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n };\n};\n\n/**\n * AssetApi - interface\n * @interface AssetApi\n */\nexport interface AssetApiInterface {\n /**\n * Fetch details of assets supported on Binance.\n *\n *\n * Please get network and other deposit or withdraw details from ``GET /sapi/v1/capital/config/getall``.\n *\n * Weight: 1\n *\n * @summary Asset Detail (USER_DATA)\n * @param {AssetDetailRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n assetDetail(\n requestParameters?: AssetDetailRequest\n ): Promise<RestApiResponse<AssetDetailResponse>>;\n /**\n * Query asset dividend record.\n *\n *\n * There cannot be more than 180 days between parameter `startTime` and `endTime`.\n *\n * Weight: 10\n *\n * @summary Asset Dividend Record (USER_DATA)\n * @param {AssetDividendRecordRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n assetDividendRecord(\n requestParameters?: AssetDividendRecordRequest\n ): Promise<RestApiResponse<AssetDividendRecordResponse>>;\n /**\n * Convert dust assets\n *\n * Weight: 10\n *\n * @summary Dust Convert (USER_DATA)\n * @param {DustConvertRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n dustConvert(\n requestParameters: DustConvertRequest\n ): Promise<RestApiResponse<DustConvertResponse>>;\n /**\n * Query dust convertible assets\n *\n * Weight: 1\n *\n * @summary Dust Convertible Assets (USER_DATA)\n * @param {DustConvertibleAssetsRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n dustConvertibleAssets(\n requestParameters: DustConvertibleAssetsRequest\n ): Promise<RestApiResponse<DustConvertibleAssetsResponse>>;\n /**\n * Convert dust assets to BNB.\n *\n * You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.\n *\n * Weight: 10\n *\n * @summary Dust Transfer (USER_DATA)\n * @param {DustTransferRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n dustTransfer(\n requestParameters: DustTransferRequest\n ): Promise<RestApiResponse<DustTransferResponse>>;\n /**\n * Dustlog\n *\n * Only return last 100 records\n * Only return records after 2020/12/01\n *\n * Weight: 1\n *\n * @summary DustLog(USER_DATA)\n * @param {DustlogRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n dustlog(requestParameters?: DustlogRequest): Promise<RestApiResponse<DustlogResponse>>;\n /**\n * Query Funding Wallet\n *\n *\n * Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token\n *\n * Weight: 1\n *\n * @summary Funding Wallet (USER_DATA)\n * @param {FundingWalletRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n fundingWallet(\n requestParameters?: FundingWalletRequest\n ): Promise<RestApiResponse<FundingWalletResponse>>;\n /**\n * Get Assets That Can Be Converted Into BNB\n *\n * Weight: 1\n *\n * @summary Get Assets That Can Be Converted Into BNB (USER_DATA)\n * @param {GetAssetsThatCanBeConvertedIntoBnbRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n getAssetsThatCanBeConvertedIntoBnb(\n requestParameters?: GetAssetsThatCanBeConvertedIntoBnbRequest\n ): Promise<RestApiResponse<GetAssetsThatCanBeConvertedIntoBnbResponse>>;\n /**\n * The query of Cloud-Mining payment and refund history\n *\n * Just return the SUCCESS records of payment and refund.\n * For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS.\n *\n * Weight: 600\n *\n * @summary Get Cloud-Mining payment and refund history (USER_DATA)\n * @param {GetCloudMiningPaymentAndRefundHistoryRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n getCloudMiningPaymentAndRefundHistory(\n requestParameters: GetCloudMiningPaymentAndRefundHistoryRequest\n ): Promise<RestApiResponse<GetCloudMiningPaymentAndRefundHistoryResponse>>;\n /**\n * Get the list of symbols that are scheduled to be opened for trading in the market.\n *\n * Weight: 100\n *\n * @summary Get Open Symbol List (MARKET_DATA)\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n getOpenSymbolList(): Promise<RestApiResponse<GetOpenSymbolListResponse>>;\n /**\n * Query User Delegation History\n *\n * Weight: 60\n *\n * @summary Query User Delegation History(For Master Account)(USER_DATA)\n * @param {QueryUserDelegationHistoryRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n queryUserDelegationHistory(\n requestParameters: QueryUserDelegationHistoryRequest\n ): Promise<RestApiResponse<QueryUserDelegationHistoryResponse>>;\n /**\n * Query User Universal Transfer History\n *\n *\n * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * Support query within the last 6 months only\n * If `startTime`and `endTime` not sent, return records of the last 7 days by default\n *\n * Weight: 1\n *\n * @summary Query User Universal Transfer History(USER_DATA)\n * @param {QueryUserUniversalTransferHistoryRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n queryUserUniversalTransferHistory(\n requestParameters: QueryUserUniversalTransferHistoryRequest\n ): Promise<RestApiResponse<QueryUserUniversalTransferHistoryResponse>>;\n /**\n * Query User Wallet Balance\n *\n * Weight: 60\n *\n * @summary Query User Wallet Balance (USER_DATA)\n * @param {QueryUserWalletBalanceRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n queryUserWalletBalance(\n requestParameters?: QueryUserWalletBalanceRequest\n ): Promise<RestApiResponse<QueryUserWalletBalanceResponse>>;\n /**\n * Toggle BNB Burn On Spot Trade And Margin Interest\n *\n * \"spotBNBBurn\" and \"interestBNBBurn\" should be sent at least one.\n *\n * Weight: 1(IP)\n *\n * @summary Toggle BNB Burn On Spot Trade And Margin Interest (USER_DATA)\n * @param {ToggleBnbBurnOnSpotTradeAndMarginInterestRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n toggleBnbBurnOnSpotTradeAndMarginInterest(\n requestParameters?: ToggleBnbBurnOnSpotTradeAndMarginInterestRequest\n ): Promise<RestApiResponse<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>>;\n /**\n * Fetch trade fee\n *\n * Weight: 1\n *\n * @summary Trade Fee (USER_DATA)\n * @param {TradeFeeRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n tradeFee(requestParameters?: TradeFeeRequest): Promise<RestApiResponse<TradeFeeResponse>>;\n /**\n * Get user assets, just for positive data.\n *\n * If asset is set, then return this asset, otherwise return all assets positive.\n * If needBtcValuation is set, then return btcValudation.\n *\n * Weight: 5\n *\n * @summary User Asset (USER_DATA)\n * @param {UserAssetRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n userAsset(requestParameters?: UserAssetRequest): Promise<RestApiResponse<UserAssetResponse>>;\n /**\n * user universal transfer\n *\n * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * ENUM of transfer types:\n * MAIN_UMFUTURE Spot account transfer to USDⓈ-M Futures account\n * MAIN_CMFUTURE Spot account transfer to COIN-M Futures account\n * MAIN_MARGIN Spot account transfer to Margin(cross)account\n * UMFUTURE_MAIN USDⓈ-M Futures account transfer to Spot account\n * UMFUTURE_MARGIN USDⓈ-M Futures account transfer to Margin(cross)account\n * CMFUTURE_MAIN COIN-M Futures account transfer to Spot account\n * CMFUTURE_MARGIN COIN-M Futures account transfer to Margin(cross) account\n * MARGIN_MAIN Margin(cross)account transfer to Spot account\n * MARGIN_UMFUTURE Margin(cross)account transfer to USDⓈ-M Futures\n * MARGIN_CMFUTURE Margin(cross)account transfer to COIN-M Futures\n * ISOLATEDMARGIN_MARGIN Isolated margin account transfer to Margin(cross) account\n * MARGIN_ISOLATEDMARGIN Margin(cross) account transfer to Isolated margin account\n * ISOLATEDMARGIN_ISOLATEDMARGIN Isolated margin account transfer to Isolated margin account\n * MAIN_FUNDING Spot account transfer to Funding account\n * FUNDING_MAIN Funding account transfer to Spot account\n * FUNDING_UMFUTURE Funding account transfer to UMFUTURE account\n * UMFUTURE_FUNDING UMFUTURE account transfer to Funding account\n * MARGIN_FUNDING MARGIN account transfer to Funding account\n * FUNDING_MARGIN Funding account transfer to Margin account\n * FUNDING_CMFUTURE Funding account transfer to CMFUTURE account\n * CMFUTURE_FUNDING CMFUTURE account transfer to Funding account\n * MAIN_OPTION Spot account transfer to Options account\n * OPTION_MAIN Options account transfer to Spot account\n * UMFUTURE_OPTION USDⓈ-M Futures account transfer to Options account\n * OPTION_UMFUTURE Options account transfer to USDⓈ-M Futures account\n * MARGIN_OPTION Margin(cross)account transfer to Options account\n * OPTION_MARGIN Options account transfer to Margin(cross)account\n * FUNDING_OPTION Funding account transfer to Options account\n * OPTION_FUNDING Options account transfer to Funding account\n * MAIN_PORTFOLIO_MARGIN Spot account transfer to Portfolio Margin account\n * PORTFOLIO_MARGIN_MAIN Portfolio Margin account transfer to Spot account\n *\n * Weight: 900\n *\n * @summary User Universal Transfer (USER_DATA)\n * @param {UserUniversalTransferRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n userUniversalTransfer(\n requestParameters: UserUniversalTransferRequest\n ): Promise<RestApiResponse<UserUniversalTransferResponse>>;\n}\n\n/**\n * Request parameters for assetDetail operation in AssetApi.\n * @interface AssetDetailRequest\n */\nexport interface AssetDetailRequest {\n /**\n * If asset is blank, then query all positive assets user have.\n * @type {string}\n * @memberof AssetApiAssetDetail\n */\n readonly asset?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiAssetDetail\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for assetDividendRecord operation in AssetApi.\n * @interface AssetDividendRecordRequest\n */\nexport interface AssetDividendRecordRequest {\n /**\n * If asset is blank, then query all positive assets user have.\n * @type {string}\n * @memberof AssetApiAssetDividendRecord\n */\n readonly asset?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiAssetDividendRecord\n */\n readonly startTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiAssetDividendRecord\n */\n readonly endTime?: number | bigint;\n\n /**\n * min 7, max 30, default 7\n * @type {number | bigint}\n * @memberof AssetApiAssetDividendRecord\n */\n readonly limit?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiAssetDividendRecord\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for dustConvert operation in AssetApi.\n * @interface DustConvertRequest\n */\nexport interface DustConvertRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiDustConvert\n */\n readonly asset: string;\n\n /**\n * `SPOT` or `MARGIN`,default `SPOT`\n * @type {string}\n * @memberof AssetApiDustConvert\n */\n readonly accountType?: string;\n\n /**\n * A unique id for the request\n * @type {string}\n * @memberof AssetApiDustConvert\n */\n readonly clientId?: string;\n\n /**\n *\n * @type {string}\n * @memberof AssetApiDustConvert\n */\n readonly targetAsset?: string;\n\n /**\n *\n * @type {string}\n * @memberof AssetApiDustConvert\n */\n readonly thirdPartyClientId?: string;\n\n /**\n *\n * @type {number}\n * @memberof AssetApiDustConvert\n */\n readonly dustQuotaAssetToTargetAssetPrice?: number;\n}\n\n/**\n * Request parameters for dustConvertibleAssets operation in AssetApi.\n * @interface DustConvertibleAssetsRequest\n */\nexport interface DustConvertibleAssetsRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiDustConvertibleAssets\n */\n readonly targetAsset: string;\n\n /**\n * `SPOT` or `MARGIN`,default `SPOT`\n * @type {string}\n * @memberof AssetApiDustConvertibleAssets\n */\n readonly accountType?: string;\n\n /**\n *\n * @type {number}\n * @memberof AssetApiDustConvertibleAssets\n */\n readonly dustQuotaAssetToTargetAssetPrice?: number;\n}\n\n/**\n * Request parameters for dustTransfer operation in AssetApi.\n * @interface DustTransferRequest\n */\nexport interface DustTransferRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiDustTransfer\n */\n readonly asset: string;\n\n /**\n * `SPOT` or `MARGIN`,default `SPOT`\n * @type {string}\n * @memberof AssetApiDustTransfer\n */\n readonly accountType?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiDustTransfer\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for dustlog operation in AssetApi.\n * @interface DustlogRequest\n */\nexport interface DustlogRequest {\n /**\n * `SPOT` or `MARGIN`,default `SPOT`\n * @type {string}\n * @memberof AssetApiDustlog\n */\n readonly accountType?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiDustlog\n */\n readonly startTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiDustlog\n */\n readonly endTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiDustlog\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for fundingWallet operation in AssetApi.\n * @interface FundingWalletRequest\n */\nexport interface FundingWalletRequest {\n /**\n * If asset is blank, then query all positive assets user have.\n * @type {string}\n * @memberof AssetApiFundingWallet\n */\n readonly asset?: string;\n\n /**\n * true or false\n * @type {string}\n * @memberof AssetApiFundingWallet\n */\n readonly needBtcValuation?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiFundingWallet\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for getAssetsThatCanBeConvertedIntoBnb operation in AssetApi.\n * @interface GetAssetsThatCanBeConvertedIntoBnbRequest\n */\nexport interface GetAssetsThatCanBeConvertedIntoBnbRequest {\n /**\n * `SPOT` or `MARGIN`,default `SPOT`\n * @type {string}\n * @memberof AssetApiGetAssetsThatCanBeConvertedIntoBnb\n */\n readonly accountType?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiGetAssetsThatCanBeConvertedIntoBnb\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for getCloudMiningPaymentAndRefundHistory operation in AssetApi.\n * @interface GetCloudMiningPaymentAndRefundHistoryRequest\n */\nexport interface GetCloudMiningPaymentAndRefundHistoryRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory\n */\n readonly startTime: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory\n */\n readonly endTime: number | bigint;\n\n /**\n * The transaction id\n * @type {number | bigint}\n * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory\n */\n readonly tranId?: number | bigint;\n\n /**\n * The unique flag\n * @type {string}\n * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory\n */\n readonly clientTranId?: string;\n\n /**\n * If asset is blank, then query all positive assets user have.\n * @type {string}\n * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory\n */\n readonly asset?: string;\n\n /**\n * current page, default 1, the min value is 1\n * @type {number | bigint}\n * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory\n */\n readonly current?: number | bigint;\n\n /**\n * page size, default 10, the max value is 100\n * @type {number | bigint}\n * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory\n */\n readonly size?: number | bigint;\n}\n\n/**\n * Request parameters for queryUserDelegationHistory operation in AssetApi.\n * @interface QueryUserDelegationHistoryRequest\n */\nexport interface QueryUserDelegationHistoryRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly email: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly startTime: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly endTime: number | bigint;\n\n /**\n * Delegate/Undelegate\n * @type {string}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly type?: string;\n\n /**\n * If asset is blank, then query all positive assets user have.\n * @type {string}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly asset?: string;\n\n /**\n * current page, default 1, the min value is 1\n * @type {number | bigint}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly current?: number | bigint;\n\n /**\n * page size, default 10, the max value is 100\n * @type {number | bigint}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly size?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for queryUserUniversalTransferHistory operation in AssetApi.\n * @interface QueryUserUniversalTransferHistoryRequest\n */\nexport interface QueryUserUniversalTransferHistoryRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly type: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly startTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly endTime?: number | bigint;\n\n /**\n * current page, default 1, the min value is 1\n * @type {number | bigint}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly current?: number | bigint;\n\n /**\n * page size, default 10, the max value is 100\n * @type {number | bigint}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly size?: number | bigint;\n\n /**\n *\n * @type {string}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly fromSymbol?: string;\n\n /**\n *\n * @type {string}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly toSymbol?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for queryUserWalletBalance operation in AssetApi.\n * @interface QueryUserWalletBalanceRequest\n */\nexport interface QueryUserWalletBalanceRequest {\n /**\n * `USDT`, `ETH`, `USDC`, `BNB`, etc. default `BTC`\n * @type {string}\n * @memberof AssetApiQueryUserWalletBalance\n */\n readonly quoteAsset?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserWalletBalance\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for toggleBnbBurnOnSpotTradeAndMarginInterest operation in AssetApi.\n * @interface ToggleBnbBurnOnSpotTradeAndMarginInterestRequest\n */\nexport interface ToggleBnbBurnOnSpotTradeAndMarginInterestRequest {\n /**\n * \"true\" or \"false\"; Determines whether to use BNB to pay for trading fees on SPOT\n * @type {string}\n * @memberof AssetApiToggleBnbBurnOnSpotTradeAndMarginInterest\n */\n readonly spotBNBBurn?: string;\n\n /**\n * \"true\" or \"false\"; Determines whether to use BNB to pay for margin loan's interest\n * @type {string}\n * @memberof AssetApiToggleBnbBurnOnSpotTradeAndMarginInterest\n */\n readonly interestBNBBurn?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiToggleBnbBurnOnSpotTradeAndMarginInterest\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for tradeFee operation in AssetApi.\n * @interface TradeFeeRequest\n */\nexport interface TradeFeeRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiTradeFee\n */\n readonly symbol?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiTradeFee\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for userAsset operation in AssetApi.\n * @interface UserAssetRequest\n */\nexport interface UserAssetRequest {\n /**\n * If asset is blank, then query all positive assets user have.\n * @type {string}\n * @memberof AssetApiUserAsset\n */\n readonly asset?: string;\n\n /**\n * Whether need btc valuation or not.\n * @type {boolean}\n * @memberof AssetApiUserAsset\n */\n readonly needBtcValuation?: boolean;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiUserAsset\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for userUniversalTransfer operation in AssetApi.\n * @interface UserUniversalTransferRequest\n */\nexport interface UserUniversalTransferRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiUserUniversalTransfer\n */\n readonly type: string;\n\n /**\n *\n * @type {string}\n * @memberof AssetApiUserUniversalTransfer\n */\n readonly asset: string;\n\n /**\n *\n * @type {number}\n * @memberof AssetApiUserUniversalTransfer\n */\n readonly amount: number;\n\n /**\n *\n * @type {string}\n * @memberof AssetApiUserUniversalTransfer\n */\n readonly fromSymbol?: string;\n\n /**\n *\n * @type {string}\n * @memberof AssetApiUserUniversalTransfer\n */\n readonly toSymbol?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiUserUniversalTransfer\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * AssetApi - object-oriented interface\n * @class AssetApi\n */\nexport class AssetApi implements AssetApiInterface {\n private readonly configuration: ConfigurationRestAPI;\n private localVarAxiosParamCreator;\n\n constructor(configuration: ConfigurationRestAPI) {\n this.configuration = configuration;\n this.localVarAxiosParamCreator = AssetApiAxiosParamCreator(configuration);\n }\n\n /**\n * Fetch details of assets supported on Binance.\n *\n *\n * Please get network and other deposit or withdraw details from ``GET /sapi/v1/capital/config/getall``.\n *\n * Weight: 1\n *\n * @summary Asset Detail (USER_DATA)\n * @param {AssetDetailRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<AssetDetailResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/Asset-Detail Binance API Documentation}\n */\n public async assetDetail(\n requestParameters: AssetDetailRequest = {}\n ): Promise<RestApiResponse<AssetDetailResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.assetDetail(\n requestParameters?.asset,\n requestParameters?.recvWindow\n );\n return sendRequest<AssetDetailResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Query asset dividend record.\n *\n *\n * There cannot be more than 180 days between parameter `startTime` and `endTime`.\n *\n * Weight: 10\n *\n * @summary Asset Dividend Record (USER_DATA)\n * @param {AssetDividendRecordRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<AssetDividendRecordResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/assets-divided-record Binance API Documentation}\n */\n public async assetDividendRecord(\n requestParameters: AssetDividendRecordRequest = {}\n ): Promise<RestApiResponse<AssetDividendRecordResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.assetDividendRecord(\n requestParameters?.asset,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.limit,\n requestParameters?.recvWindow\n );\n return sendRequest<AssetDividendRecordResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Convert dust assets\n *\n * Weight: 10\n *\n * @summary Dust Convert (USER_DATA)\n * @param {DustConvertRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DustConvertResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Convert Binance API Documentation}\n */\n public async dustConvert(\n requestParameters: DustConvertRequest\n ): Promise<RestApiResponse<DustConvertResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustConvert(\n requestParameters?.asset,\n requestParameters?.accountType,\n requestParameters?.clientId,\n requestParameters?.targetAsset,\n requestParameters?.thirdPartyClientId,\n requestParameters?.dustQuotaAssetToTargetAssetPrice\n );\n return sendRequest<DustConvertResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Query dust convertible assets\n *\n * Weight: 1\n *\n * @summary Dust Convertible Assets (USER_DATA)\n * @param {DustConvertibleAssetsRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DustConvertibleAssetsResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Convertible-Assets Binance API Documentation}\n */\n public async dustConvertibleAssets(\n requestParameters: DustConvertibleAssetsRequest\n ): Promise<RestApiResponse<DustConvertibleAssetsResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustConvertibleAssets(\n requestParameters?.targetAsset,\n requestParameters?.accountType,\n requestParameters?.dustQuotaAssetToTargetAssetPrice\n );\n return sendRequest<DustConvertibleAssetsResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Convert dust assets to BNB.\n *\n * You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.\n *\n * Weight: 10\n *\n * @summary Dust Transfer (USER_DATA)\n * @param {DustTransferRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DustTransferResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Transfer Binance API Documentation}\n */\n public async dustTransfer(\n requestParameters: DustTransferRequest\n ): Promise<RestApiResponse<DustTransferResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustTransfer(\n requestParameters?.asset,\n requestParameters?.accountType,\n requestParameters?.recvWindow\n );\n return sendRequest<DustTransferResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Dustlog\n *\n * Only return last 100 records\n * Only return records after 2020/12/01\n *\n * Weight: 1\n *\n * @summary DustLog(USER_DATA)\n * @param {DustlogRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DustlogResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/dust-log Binance API Documentation}\n */\n public async dustlog(\n requestParameters: DustlogRequest = {}\n ): Promise<RestApiResponse<DustlogResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustlog(\n requestParameters?.accountType,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.recvWindow\n );\n return sendRequest<DustlogResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Query Funding Wallet\n *\n *\n * Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token\n *\n * Weight: 1\n *\n * @summary Funding Wallet (USER_DATA)\n * @param {FundingWalletRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<FundingWalletResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/Funding-Wallet Binance API Documentation}\n */\n public async fundingWallet(\n requestParameters: FundingWalletRequest = {}\n ): Promise<RestApiResponse<FundingWalletResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.fundingWallet(\n requestParameters?.asset,\n requestParameters?.needBtcValuation,\n requestParameters?.recvWindow\n );\n return sendRequest<FundingWalletResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Get Assets That Can Be Converted Into BNB\n *\n * Weight: 1\n *\n * @summary Get Assets That Can Be Converted Into BNB (USER_DATA)\n * @param {GetAssetsThatCanBeConvertedIntoBnbRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<GetAssetsThatCanBeConvertedIntoBnbResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/assets-can-convert-bnb Binance API Documentation}\n */\n public async getAssetsThatCanBeConvertedIntoBnb(\n requestParameters: GetAssetsThatCanBeConvertedIntoBnbRequest = {}\n ): Promise<RestApiResponse<GetAssetsThatCanBeConvertedIntoBnbResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.getAssetsThatCanBeConvertedIntoBnb(\n requestParameters?.accountType,\n requestParameters?.recvWindow\n );\n return sendRequest<GetAssetsThatCanBeConvertedIntoBnbResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * The query of Cloud-Mining payment and refund history\n *\n * Just return the SUCCESS records of payment and refund.\n * For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS.\n *\n * Weight: 600\n *\n * @summary Get Cloud-Mining payment and refund history (USER_DATA)\n * @param {GetCloudMiningPaymentAndRefundHistoryRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<GetCloudMiningPaymentAndRefundHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/cloud-mining-payment-and-refund-history Binance API Documentation}\n */\n public async getCloudMiningPaymentAndRefundHistory(\n requestParameters: GetCloudMiningPaymentAndRefundHistoryRequest\n ): Promise<RestApiResponse<GetCloudMiningPaymentAndRefundHistoryResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.getCloudMiningPaymentAndRefundHistory(\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.tranId,\n requestParameters?.clientTranId,\n requestParameters?.asset,\n requestParameters?.current,\n requestParameters?.size\n );\n return sendRequest<GetCloudMiningPaymentAndRefundHistoryResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Get the list of symbols that are scheduled to be opened for trading in the market.\n *\n * Weight: 100\n *\n * @summary Get Open Symbol List (MARKET_DATA)\n * @returns {Promise<RestApiResponse<GetOpenSymbolListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/open-symbol-list Binance API Documentation}\n */\n public async getOpenSymbolList(): Promise<RestApiResponse<GetOpenSymbolListResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.getOpenSymbolList();\n return sendRequest<GetOpenSymbolListResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: false }\n );\n }\n\n /**\n * Query User Delegation History\n *\n * Weight: 60\n *\n * @summary Query User Delegation History(For Master Account)(USER_DATA)\n * @param {QueryUserDelegationHistoryRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<QueryUserDelegationHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/query-user-delegation Binance API Documentation}\n */\n public async queryUserDelegationHistory(\n requestParameters: QueryUserDelegationHistoryRequest\n ): Promise<RestApiResponse<QueryUserDelegationHistoryResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.queryUserDelegationHistory(\n requestParameters?.email,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.type,\n requestParameters?.asset,\n requestParameters?.current,\n requestParameters?.size,\n requestParameters?.recvWindow\n );\n return sendRequest<QueryUserDelegationHistoryResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Query User Universal Transfer History\n *\n *\n * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * Support query within the last 6 months only\n * If `startTime`and `endTime` not sent, return records of the last 7 days by default\n *\n * Weight: 1\n *\n * @summary Query User Universal Transfer History(USER_DATA)\n * @param {QueryUserUniversalTransferHistoryRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<QueryUserUniversalTransferHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/query-user-universal-transfer Binance API Documentation}\n */\n public async queryUserUniversalTransferHistory(\n requestParameters: QueryUserUniversalTransferHistoryRequest\n ): Promise<RestApiResponse<QueryUserUniversalTransferHistoryResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.queryUserUniversalTransferHistory(\n requestParameters?.type,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.current,\n requestParameters?.size,\n requestParameters?.fromSymbol,\n requestParameters?.toSymbol,\n requestParameters?.recvWindow\n );\n return sendRequest<QueryUserUniversalTransferHistoryResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Query User Wallet Balance\n *\n * Weight: 60\n *\n * @summary Query User Wallet Balance (USER_DATA)\n * @param {QueryUserWalletBalanceRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<QueryUserWalletBalanceResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/Query-User-Wallet-Balance Binance API Documentation}\n */\n public async queryUserWalletBalance(\n requestParameters: QueryUserWalletBalanceRequest = {}\n ): Promise<RestApiResponse<QueryUserWalletBalanceResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.queryUserWalletBalance(\n requestParameters?.quoteAsset,\n requestParameters?.recvWindow\n );\n return sendRequest<QueryUserWalletBalanceResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Toggle BNB Burn On Spot Trade And Margin Interest\n *\n * \"spotBNBBurn\" and \"interestBNBBurn\" should be sent at least one.\n *\n * Weight: 1(IP)\n *\n * @summary Toggle BNB Burn On Spot Trade And Margin Interest (USER_DATA)\n * @param {ToggleBnbBurnOnSpotTradeAndMarginInterestRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/Toggle-BNB-Burn-On-Spot-Trade-And-Margin-Interest Binance API Documentation}\n */\n public async toggleBnbBurnOnSpotTradeAndMarginInterest(\n requestParameters: ToggleBnbBurnOnSpotTradeAndMarginInterestRequest = {}\n ): Promise<RestApiResponse<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.toggleBnbBurnOnSpotTradeAndMarginInterest(\n requestParameters?.spotBNBBurn,\n requestParameters?.interestBNBBurn,\n requestParameters?.recvWindow\n );\n return sendRequest<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch trade fee\n *\n * Weight: 1\n *\n * @summary Trade Fee (USER_DATA)\n * @param {TradeFeeRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<TradeFeeResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/Trade-Fee Binance API Documentation}\n */\n public async tradeFee(\n requestParameters: TradeFeeRequest = {}\n ): Promise<RestApiResponse<TradeFeeResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.tradeFee(\n requestParameters?.symbol,\n requestParameters?.recvWindow\n );\n return sendRequest<TradeFeeResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Get user assets, just for positive data.\n *\n * If asset is set, then return this asset, otherwise return all assets positive.\n * If needBtcValuation is set, then return btcValudation.\n *\n * Weight: 5\n *\n * @summary User Asset (USER_DATA)\n * @param {UserAssetRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<UserAssetResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/user-assets Binance API Documentation}\n */\n public async userAsset(\n requestParameters: UserAssetRequest = {}\n ): Promise<RestApiResponse<UserAssetResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.userAsset(\n requestParameters?.asset,\n requestParameters?.needBtcValuation,\n requestParameters?.recvWindow\n );\n return sendRequest<UserAssetResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * user universal transfer\n *\n * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * ENUM of transfer types:\n * MAIN_UMFUTURE Spot account transfer to USDⓈ-M Futures account\n * MAIN_CMFUTURE Spot account transfer to COIN-M Futures account\n * MAIN_MARGIN Spot account transfer to Margin(cross)account\n * UMFUTURE_MAIN USDⓈ-M Futures account transfer to Spot account\n * UMFUTURE_MARGIN USDⓈ-M Futures account transfer to Margin(cross)account\n * CMFUTURE_MAIN COIN-M Futures account transfer to Spot account\n * CMFUTURE_MARGIN COIN-M Futures account transfer to Margin(cross) account\n * MARGIN_MAIN Margin(cross)account transfer to Spot account\n * MARGIN_UMFUTURE Margin(cross)account transfer to USDⓈ-M Futures\n * MARGIN_CMFUTURE Margin(cross)account transfer to COIN-M Futures\n * ISOLATEDMARGIN_MARGIN Isolated margin account transfer to Margin(cross) account\n * MARGIN_ISOLATEDMARGIN Margin(cross) account transfer to Isolated margin account\n * ISOLATEDMARGIN_ISOLATEDMARGIN Isolated margin account transfer to Isolated margin account\n * MAIN_FUNDING Spot account transfer to Funding account\n * FUNDING_MAIN Funding account transfer to Spot account\n * FUNDING_UMFUTURE Funding account transfer to UMFUTURE account\n * UMFUTURE_FUNDING UMFUTURE account transfer to Funding account\n * MARGIN_FUNDING MARGIN account transfer to Funding account\n * FUNDING_MARGIN Funding account transfer to Margin account\n * FUNDING_CMFUTURE Funding account transfer to CMFUTURE account\n * CMFUTURE_FUNDING CMFUTURE account transfer to Funding account\n * MAIN_OPTION Spot account transfer to Options account\n * OPTION_MAIN Options account transfer to Spot account\n * UMFUTURE_OPTION USDⓈ-M Futures account transfer to Options account\n * OPTION_UMFUTURE Options account transfer to USDⓈ-M Futures account\n * MARGIN_OPTION Margin(cross)account transfer to Options account\n * OPTION_MARGIN Options account transfer to Margin(cross)account\n * FUNDING_OPTION Funding account transfer to Options account\n * OPTION_FUNDING Options account transfer to Funding account\n * MAIN_PORTFOLIO_MARGIN Spot account transfer to Portfolio Margin account\n * PORTFOLIO_MARGIN_MAIN Portfolio Margin account transfer to Spot account\n *\n * Weight: 900\n *\n * @summary User Universal Transfer (USER_DATA)\n * @param {UserUniversalTransferRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<UserUniversalTransferResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/docs/wallet/asset/User-Universal-Transfer Binance API Documentation}\n */\n public async userUniversalTransfer(\n requestParameters: UserUniversalTransferRequest\n ): Promise<RestApiResponse<UserUniversalTransferResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.userUniversalTransfer(\n requestParameters?.type,\n requestParameters?.asset,\n requestParameters?.amount,\n requestParameters?.fromSymbol,\n requestParameters?.toSymbol,\n requestParameters?.recvWindow\n );\n return sendRequest<UserUniversalTransferResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n}\n","/**\n * Binance Wallet REST API\n *\n * OpenAPI Specification for the Binance Wallet REST API\n *\n * The version of the OpenAPI document: 1.0.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport {\n ConfigurationRestAPI,\n TimeUnit,\n RestApiResponse,\n assertParamExists,\n sendRequest,\n type RequestArgs,\n} from '@binance/common';\nimport type {\n AllCoinsInformationResponse,\n DepositAddressResponse,\n DepositHistoryResponse,\n FetchDepositAddressListWithNetworkResponse,\n FetchWithdrawAddressListResponse,\n FetchWithdrawQuotaResponse,\n OneClickArrivalDepositApplyResponse,\n WithdrawHistoryResponse,\n WithdrawResponse,\n} from '../types';\n\n/**\n * CapitalApi - axios parameter creator\n */\nconst CapitalApiAxiosParamCreator = function (configuration: ConfigurationRestAPI) {\n return {\n /**\n * Get information of coins (available for deposit and withdraw) for user.\n *\n * Weight: 10\n *\n * @summary All Coins\\' Information (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n allCoinsInformation: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/config/getall',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch deposit address with network.\n *\n * If `network` is not send, return with default network of the coin.\n * You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * `amount` needs to be sent if using LIGHTNING network\n *\n * Weight: 10\n *\n * @summary Deposit Address(supporting network) (USER_DATA)\n * @param {string} coin\n * @param {string} [network]\n * @param {number} [amount]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n depositAddress: async (\n coin: string,\n network?: string,\n amount?: number,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'coin' is not null or undefined\n assertParamExists('depositAddress', 'coin', coin);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (amount !== undefined && amount !== null) {\n localVarQueryParameter['amount'] = amount;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/deposit/address',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch deposit history.\n *\n *\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must be less than 90 days.\n *\n * Weight: 1\n *\n * @summary Deposit History (supporting network) (USER_DATA)\n * @param {boolean} [includeSource] Default: `false`, return `sourceAddress`field when set to `true`\n * @param {string} [coin]\n * @param {number | bigint} [status] 0(0:Email Sent, 2:Awaiting Approval 3:Rejected 4:Processing 6:Completed)\n * @param {number | bigint} [startTime]\n * @param {number | bigint} [endTime]\n * @param {number | bigint} [offset] Default: 0\n * @param {number | bigint} [limit] min 7, max 30, default 7\n * @param {number | bigint} [recvWindow]\n * @param {string} [txId]\n *\n * @throws {RequiredError}\n */\n depositHistory: async (\n includeSource?: boolean,\n coin?: string,\n status?: number | bigint,\n startTime?: number | bigint,\n endTime?: number | bigint,\n offset?: number | bigint,\n limit?: number | bigint,\n recvWindow?: number | bigint,\n txId?: string\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (includeSource !== undefined && includeSource !== null) {\n localVarQueryParameter['includeSource'] = includeSource;\n }\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (status !== undefined && status !== null) {\n localVarQueryParameter['status'] = status;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (offset !== undefined && offset !== null) {\n localVarQueryParameter['offset'] = offset;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n if (txId !== undefined && txId !== null) {\n localVarQueryParameter['txId'] = txId;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/deposit/hisrec',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch deposit address list with network.\n *\n *\n * If network is not send, return with default network of the coin.\n * You can get network and isDefault in networkList in the response of `Get /sapi/v1/capital/config/getall`.\n *\n * Weight: 10\n *\n * @summary Fetch deposit address list with network(USER_DATA)\n * @param {string} coin\n * @param {string} [network]\n *\n * @throws {RequiredError}\n */\n fetchDepositAddressListWithNetwork: async (\n coin: string,\n network?: string\n ): Promise<RequestArgs> => {\n // verify required parameter 'coin' is not null or undefined\n assertParamExists('fetchDepositAddressListWithNetwork', 'coin', coin);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/deposit/address/list',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch withdraw address list\n *\n * Weight: 10\n *\n * @summary Fetch withdraw address list (USER_DATA)\n *\n * @throws {RequiredError}\n */\n fetchWithdrawAddressList: async (): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/withdraw/address/list',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch withdraw quota\n *\n * Weight: 10\n *\n * @summary Fetch withdraw quota (USER_DATA)\n *\n * @throws {RequiredError}\n */\n fetchWithdrawQuota: async (): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/withdraw/quota',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Apply deposit credit for expired address (One click arrival)\n *\n * Params need to be in the POST body\n *\n * Weight: 1\n *\n * @summary One click arrival deposit apply (for expired address deposit) (USER_DATA)\n * @param {number | bigint} [depositId] Deposit record Id, priority use\n * @param {string} [txId]\n * @param {number | bigint} [subAccountId] Sub-accountId of Cloud user\n * @param {number | bigint} [subUserId] Sub-userId of parent user\n *\n * @throws {RequiredError}\n */\n oneClickArrivalDepositApply: async (\n depositId?: number | bigint,\n txId?: string,\n subAccountId?: number | bigint,\n subUserId?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (depositId !== undefined && depositId !== null) {\n localVarQueryParameter['depositId'] = depositId;\n }\n if (txId !== undefined && txId !== null) {\n localVarQueryParameter['txId'] = txId;\n }\n if (subAccountId !== undefined && subAccountId !== null) {\n localVarQueryParameter['subAccountId'] = subAccountId;\n }\n if (subUserId !== undefined && subUserId !== null) {\n localVarQueryParameter['subUserId'] = subUserId;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/deposit/credit-apply',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Submit a withdraw request.\n *\n *\n * If `network` not send, return with default network of the coin.\n * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * 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.\n * 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`:\n * If `withdrawTag` = `true` → memo/tag is required.\n * If `withdrawTag` = `false` → memo/tag is not supported; omit `addressTag`.\n *\n * Weight: 900\n *\n * @summary Withdraw(USER_DATA)\n * @param {string} coin\n * @param {string} address\n * @param {number} amount\n * @param {string} [withdrawOrderId] client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query.\n * @param {string} [network]\n * @param {string} [addressTag] Secondary address identifier for coins like XRP,XMR etc.\n * @param {boolean} [transactionFeeFlag] When making internal transfer, `true` for returning the fee to the destination account; `false` for returning the fee back to the departure account. Default `false`.\n * @param {string} [name] Description of the address. Address book cap is 200, space in name should be encoded into `%20`\n * @param {number | bigint} [walletType] The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current \"selected wallet\" under wallet->Fiat and Spot/Funding->Deposit\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n withdraw: async (\n coin: string,\n address: string,\n amount: number,\n withdrawOrderId?: string,\n network?: string,\n addressTag?: string,\n transactionFeeFlag?: boolean,\n name?: string,\n walletType?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'coin' is not null or undefined\n assertParamExists('withdraw', 'coin', coin);\n // verify required parameter 'address' is not null or undefined\n assertParamExists('withdraw', 'address', address);\n // verify required parameter 'amount' is not null or undefined\n assertParamExists('withdraw', 'amount', amount);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (withdrawOrderId !== undefined && withdrawOrderId !== null) {\n localVarQueryParameter['withdrawOrderId'] = withdrawOrderId;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (address !== undefined && address !== null) {\n localVarQueryParameter['address'] = address;\n }\n if (addressTag !== undefined && addressTag !== null) {\n localVarQueryParameter['addressTag'] = addressTag;\n }\n if (amount !== undefined && amount !== null) {\n localVarQueryParameter['amount'] = amount;\n }\n if (transactionFeeFlag !== undefined && transactionFeeFlag !== null) {\n localVarQueryParameter['transactionFeeFlag'] = transactionFeeFlag;\n }\n if (name !== undefined && name !== null) {\n localVarQueryParameter['name'] = name;\n }\n if (walletType !== undefined && walletType !== null) {\n localVarQueryParameter['walletType'] = walletType;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/withdraw/apply',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch withdraw history.\n *\n * `network` may not be in the response for old withdraw.\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n * If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days.\n * If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default.\n * Maximum support `idList` number is 45.\n *\n * Weight: 18000\n * Request limit: 10 requests per second\n *\n * @summary Withdraw History (supporting network) (USER_DATA)\n * @param {string} [coin]\n * @param {string} [withdrawOrderId] client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query.\n * @param {number | bigint} [status] 0(0:Email Sent, 2:Awaiting Approval 3:Rejected 4:Processing 6:Completed)\n * @param {number | bigint} [offset] Default: 0\n * @param {number | bigint} [limit] min 7, max 30, default 7\n * @param {string} [idList] id list returned in the response of POST `/sapi/v1/capital/withdraw/apply`, separated by `,`\n * @param {number | bigint} [startTime]\n * @param {number | bigint} [endTime]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n withdrawHistory: async (\n coin?: string,\n withdrawOrderId?: string,\n status?: number | bigint,\n offset?: number | bigint,\n limit?: number | bigint,\n idList?: string,\n startTime?: number | bigint,\n endTime?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (withdrawOrderId !== undefined && withdrawOrderId !== null) {\n localVarQueryParameter['withdrawOrderId'] = withdrawOrderId;\n }\n if (status !== undefined && status !== null) {\n localVarQueryParameter['status'] = status;\n }\n if (offset !== undefined && offset !== null) {\n localVarQueryParameter['offset'] = offset;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n if (idList !== undefined && idList !== null) {\n localVarQueryParameter['idList'] = idList;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/withdraw/history',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n };\n};\n\n/**\n * CapitalApi - interface\n * @interface CapitalApi\n */\nexport interface CapitalApiInterface {\n /**\n * Get information of coins (available for deposit and withdraw) for user.\n *\n * Weight: 10\n *\n * @summary All Coins\\' Information (USER_DATA)\n * @param {AllCoinsInformationRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n allCoinsInformation(\n requestParameters?: AllCoinsInformationRequest\n ): Promise<RestApiResponse<AllCoinsInformationResponse>>;\n /**\n * Fetch deposit address with network.\n *\n * If `network` is not send, return with default network of the coin.\n * You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * `amount` needs to be sent if using LIGHTNING network\n *\n * Weight: 10\n *\n * @summary Deposit Address(supporting network) (USER_DATA)\n * @param {DepositAddressRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n depositAddress(\n requestParameters: DepositAddressRequest\n ): Promise<RestApiResponse<DepositAddressResponse>>;\n /**\n * Fetch deposit history.\n *\n *\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must be less than 90 days.\n *\n * Weight: 1\n *\n * @summary Deposit History (supporting network) (USER_DATA)\n * @param {DepositHistoryRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n depositHistory(\n requestParameters?: DepositHistoryRequest\n ): Promise<RestApiResponse<DepositHistoryResponse>>;\n /**\n * Fetch deposit address list with network.\n *\n *\n * If network is not send, return with default network of the coin.\n * You can get network and isDefault in networkList in the response of `Get /sapi/v1/capital/config/getall`.\n *\n * Weight: 10\n *\n * @summary Fetch deposit address list with network(USER_DATA)\n * @param {FetchDepositAddressListWithNetworkRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n fetchDepositAddressListWithNetwork(\n requestParameters: FetchDepositAddressListWithNetworkRequest\n ): Promise<RestApiResponse<FetchDepositAddressListWithNetworkResponse>>;\n /**\n * Fetch withdraw address list\n *\n * Weight: 10\n *\n * @summary Fetch withdraw address list (USER_DATA)\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n fetchWithdrawAddressList(): Promise<RestApiResponse<FetchWithdrawAddressListResponse>>;\n /**\n * Fetch withdraw quota\n *\n * Weight: 10\n *\n * @summary Fetch withdraw quota (USER_DATA)\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n fetchWithdrawQuota(): Promise<RestApiResponse<FetchWithdrawQuotaResponse>>;\n /**\n * Apply deposit credit for expired address (One click arrival)\n *\n * Params need to be in the POST body\n *\n * Weight: 1\n *\n * @summary One click arrival deposit apply (for expired address deposit) (USER_DATA)\n * @param {OneClickArrivalDepositApplyRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n oneClickArrivalDepositApply(\n requestParameters?: OneClickArrivalDepositApplyRequest\n ): Promise<RestApiResponse<OneClickArrivalDepositApplyResponse>>;\n /**\n * Submit a withdraw request.\n *\n *\n * If `network` not send, return with default network of the coin.\n * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * 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.\n * 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`:\n * If `withdrawTag` = `true` → memo/tag is required.\n * If `withdrawTag` = `false` → memo/tag is not supported; omit `addressTag`.\n *\n * Weight: 900\n *\n * @summary Withdraw(USER_DATA)\n * @param {WithdrawRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n withdraw(requestParameters: WithdrawRequest): Promise<RestApiResponse<WithdrawResponse>>;\n /**\n * Fetch withdraw history.\n *\n * `network` may not be in the response for old withdraw.\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n * If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days.\n * If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default.\n * Maximum support `idList` number is 45.\n *\n * Weight: 18000\n * Request limit: 10 requests per second\n *\n * @summary Withdraw History (supporting network) (USER_DATA)\n * @param {WithdrawHistoryRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n withdrawHistory(\n requestParameters?: WithdrawHistoryRequest\n ): Promise<RestApiResponse<WithdrawHistoryResponse>>;\n}\n\n/**\n * Request parameters for allCoinsInformation operation in CapitalApi.\n * @interface AllCoinsInformationRequest\n */\nexport interface AllCoinsInformationRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiAllCoinsInformation\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for depositAddress operation in CapitalApi.\n * @interface DepositAddressRequest\n */\nexport interface DepositAddressRequest {\n /**\n *\n * @type {string}\n * @memberof CapitalApiDepositAddress\n */\n readonly coin: string;\n\n /**\n *\n * @type {string}\n * @memberof CapitalApiDepositAddress\n */\n readonly network?: string;\n\n /**\n *\n * @type {number}\n * @memberof CapitalApiDepositAddress\n */\n readonly amount?: number;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiDepositAddress\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for depositHistory operation in CapitalApi.\n * @interface DepositHistoryRequest\n */\nexport interface DepositHistoryRequest {\n /**\n * Default: `false`, return `sourceAddress`field when set to `true`\n * @type {boolean}\n * @memberof CapitalApiDepositHistory\n */\n readonly includeSource?: boolean;\n\n /**\n *\n * @type {string}\n * @memberof CapitalApiDepositHistory\n */\n readonly coin?: string;\n\n /**\n * 0(0:Email Sent, 2:Awaiting Approval 3:Rejected 4:Processing 6:Completed)\n * @type {number | bigint}\n * @memberof CapitalApiDepositHistory\n */\n readonly status?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiDepositHistory\n */\n readonly startTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiDepositHistory\n */\n readonly endTime?: number | bigint;\n\n /**\n * Default: 0\n * @type {number | bigint}\n * @memberof CapitalApiDepositHistory\n */\n readonly offset?: number | bigint;\n\n /**\n * min 7, max 30, default 7\n * @type {number | bigint}\n * @memberof CapitalApiDepositHistory\n */\n readonly limit?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiDepositHistory\n */\n readonly recvWindow?: number | bigint;\n\n /**\n *\n * @type {string}\n * @memberof CapitalApiDepositHistory\n */\n readonly txId?: string;\n}\n\n/**\n * Request parameters for fetchDepositAddressListWithNetwork operation in CapitalApi.\n * @interface FetchDepositAddressListWithNetworkRequest\n */\nexport interface FetchDepositAddressListWithNetworkRequest {\n /**\n *\n * @type {string}\n * @memberof CapitalApiFetchDepositAddressListWithNetwork\n */\n readonly coin: string;\n\n /**\n *\n * @type {string}\n * @memberof CapitalApiFetchDepositAddressListWithNetwork\n */\n readonly network?: string;\n}\n\n/**\n * Request parameters for oneClickArrivalDepositApply operation in CapitalApi.\n * @interface OneClickArrivalDepositApplyRequest\n */\nexport interface OneClickArrivalDepositApplyRequest {\n /**\n * Deposit record Id, priority use\n * @type {number | bigint}\n * @memberof CapitalApiOneClickArrivalDepositApply\n */\n readonly depositId?: number | bigint;\n\n /**\n *\n * @type {string}\n * @memberof CapitalApiOneClickArrivalDepositApply\n */\n readonly txId?: string;\n\n /**\n * Sub-accountId of Cloud user\n * @type {number | bigint}\n * @memberof CapitalApiOneClickArrivalDepositApply\n */\n readonly subAccountId?: number | bigint;\n\n /**\n * Sub-userId of parent user\n * @type {number | bigint}\n * @memberof CapitalApiOneClickArrivalDepositApply\n */\n readonly subUserId?: number | bigint;\n}\n\n/**\n * Request parameters for withdraw operation in CapitalApi.\n * @interface WithdrawRequest\n */\nexport interface WithdrawRequest {\n /**\n *\n * @type {string}\n * @memberof CapitalApiWithdraw\n */\n readonly coin: string;\n\n /**\n *\n * @type {string}\n * @memberof CapitalApiWithdraw\n */\n readonly address: string;\n\n /**\n *\n * @type {number}\n * @memberof CapitalApiWithdraw\n */\n readonly amount: number;\n\n /**\n * client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query.\n * @type {string}\n * @memberof CapitalApiWithdraw\n */\n readonly withdrawOrderId?: string;\n\n /**\n *\n * @type {string}\n * @memberof CapitalApiWithdraw\n */\n readonly network?: string;\n\n /**\n * Secondary address identifier for coins like XRP,XMR etc.\n * @type {string}\n * @memberof CapitalApiWithdraw\n */\n readonly addressTag?: string;\n\n /**\n * When making internal transfer, `true` for returning the fee to the destination account; `false` for returning the fee back to the departure account. Default `false`.\n * @type {boolean}\n * @memberof CapitalApiWithdraw\n */\n readonly transactionFeeFlag?: boolean;\n\n /**\n * Description of the address. Address book cap is 200, space in name should be encoded into `%20`\n * @type {string}\n * @memberof CapitalApiWithdraw\n */\n readonly name?: string;\n\n /**\n * The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current \"selected wallet\" under wallet->Fiat and Spot/Funding->Deposit\n * @type {number | bigint}\n * @memberof CapitalApiWithdraw\n */\n readonly walletType?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiWithdraw\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for withdrawHistory operation in CapitalApi.\n * @interface WithdrawHistoryRequest\n */\nexport interface WithdrawHistoryRequest {\n /**\n *\n * @type {string}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly coin?: string;\n\n /**\n * client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query.\n * @type {string}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly withdrawOrderId?: string;\n\n /**\n * 0(0:Email Sent, 2:Awaiting Approval 3:Rejected 4:Processing 6:Completed)\n * @type {number | bigint}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly status?: number | bigint;\n\n /**\n * Default: 0\n * @type {number | bigint}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly offset?: number | bigint;\n\n /**\n * min 7, max 30, default 7\n * @type {number | bigint}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly limit?: number | bigint;\n\n /**\n * id list returned in the response of POST `/sapi/v1/capital/withdraw/apply`, separated by `,`\n * @type {string}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly idList?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly startTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly endTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * CapitalApi - object-oriented interface\n * @class CapitalApi\n */\nexport class CapitalApi implements CapitalApiInterface {\n private readonly configuration: ConfigurationRestAPI;\n private localVarAxiosParamCreator;\n\n constructor(configuration: ConfigurationRestAPI) {\n this.configuration = configuration;\n this.localVarAxiosParamCreator = CapitalApiAxiosParamCreator(configuration);\n }\n\n /**\n * Get information of coins (available for deposit and withdraw) for user.\n *\n * Weight: 10\n *\n * @summary All Coins\\' Information (USER_DATA)\n * @param {AllCoinsInformationRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<AllCoinsInformationResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/docs/wallet/capital/all-coins-info Binance API Documentation}\n */\n public async allCoinsInformation(\n requestParameters: AllCoinsInformationRequest = {}\n ): Promise<RestApiResponse<AllCoinsInformationResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.allCoinsInformation(\n requestParameters?.recvWindow\n );\n return sendRequest<AllCoinsInformationResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch deposit address with network.\n *\n * If `network` is not send, return with default network of the coin.\n * You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * `amount` needs to be sent if using LIGHTNING network\n *\n * Weight: 10\n *\n * @summary Deposit Address(supporting network) (USER_DATA)\n * @param {DepositAddressRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DepositAddressResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/docs/wallet/capital/deposite-address Binance API Documentation}\n */\n public async depositAddress(\n requestParameters: DepositAddressRequest\n ): Promise<RestApiResponse<DepositAddressResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositAddress(\n requestParameters?.coin,\n requestParameters?.network,\n requestParameters?.amount,\n requestParameters?.recvWindow\n );\n return sendRequest<DepositAddressResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch deposit history.\n *\n *\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must be less than 90 days.\n *\n * Weight: 1\n *\n * @summary Deposit History (supporting network) (USER_DATA)\n * @param {DepositHistoryRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DepositHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/docs/wallet/capital/deposite-history Binance API Documentation}\n */\n public async depositHistory(\n requestParameters: DepositHistoryRequest = {}\n ): Promise<RestApiResponse<DepositHistoryResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositHistory(\n requestParameters?.includeSource,\n requestParameters?.coin,\n requestParameters?.status,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.offset,\n requestParameters?.limit,\n requestParameters?.recvWindow,\n requestParameters?.txId\n );\n return sendRequest<DepositHistoryResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch deposit address list with network.\n *\n *\n * If network is not send, return with default network of the coin.\n * You can get network and isDefault in networkList in the response of `Get /sapi/v1/capital/config/getall`.\n *\n * Weight: 10\n *\n * @summary Fetch deposit address list with network(USER_DATA)\n * @param {FetchDepositAddressListWithNetworkRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<FetchDepositAddressListWithNetworkResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-deposit-address-list-with-network Binance API Documentation}\n */\n public async fetchDepositAddressListWithNetwork(\n requestParameters: FetchDepositAddressListWithNetworkRequest\n ): Promise<RestApiResponse<FetchDepositAddressListWithNetworkResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.fetchDepositAddressListWithNetwork(\n requestParameters?.coin,\n requestParameters?.network\n );\n return sendRequest<FetchDepositAddressListWithNetworkResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch withdraw address list\n *\n * Weight: 10\n *\n * @summary Fetch withdraw address list (USER_DATA)\n * @returns {Promise<RestApiResponse<FetchWithdrawAddressListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/docs/wallet/capital/fetch-withdraw-address Binance API Documentation}\n */\n public async fetchWithdrawAddressList(): Promise<\n RestApiResponse<FetchWithdrawAddressListResponse>\n > {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchWithdrawAddressList();\n return sendRequest<FetchWithdrawAddressListResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch withdraw quota\n *\n * Weight: 10\n *\n * @summary Fetch withdraw quota (USER_DATA)\n * @returns {Promise<RestApiResponse<FetchWithdrawQuotaResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-withdraw-quota Binance API Documentation}\n */\n public async fetchWithdrawQuota(): Promise<RestApiResponse<FetchWithdrawQuotaResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchWithdrawQuota();\n return sendRequest<FetchWithdrawQuotaResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Apply deposit credit for expired address (One click arrival)\n *\n * Params need to be in the POST body\n *\n * Weight: 1\n *\n * @summary One click arrival deposit apply (for expired address deposit) (USER_DATA)\n * @param {OneClickArrivalDepositApplyRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<OneClickArrivalDepositApplyResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/docs/wallet/capital/one-click-arrival-deposite-apply Binance API Documentation}\n */\n public async oneClickArrivalDepositApply(\n requestParameters: OneClickArrivalDepositApplyRequest = {}\n ): Promise<RestApiResponse<OneClickArrivalDepositApplyResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.oneClickArrivalDepositApply(\n requestParameters?.depositId,\n requestParameters?.txId,\n requestParameters?.subAccountId,\n requestParameters?.subUserId\n );\n return sendRequest<OneClickArrivalDepositApplyResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Submit a withdraw request.\n *\n *\n * If `network` not send, return with default network of the coin.\n * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * 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.\n * 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`:\n * If `withdrawTag` = `true` → memo/tag is required.\n * If `withdrawTag` = `false` → memo/tag is not supported; omit `addressTag`.\n *\n * Weight: 900\n *\n * @summary Withdraw(USER_DATA)\n * @param {WithdrawRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<WithdrawResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/docs/wallet/capital/Withdraw Binance API Documentation}\n */\n public async withdraw(\n requestParameters: WithdrawRequest\n ): Promise<RestApiResponse<WithdrawResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdraw(\n requestParameters?.coin,\n requestParameters?.address,\n requestParameters?.amount,\n requestParameters?.withdrawOrderId,\n requestParameters?.network,\n requestParameters?.addressTag,\n requestParameters?.transactionFeeFlag,\n requestParameters?.name,\n requestParameters?.walletType,\n requestParameters?.recvWindow\n );\n return sendRequest<WithdrawResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch withdraw history.\n *\n * `network` may not be in the response for old withdraw.\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n * If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days.\n * If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default.\n * Maximum support `idList` number is 45.\n *\n * Weight: 18000\n * Request limit: 10 requests per second\n *\n * @summary Withdraw History (supporting network) (USER_DATA)\n * @param {WithdrawHistoryRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<WithdrawHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/docs/wallet/capital/Withdraw-History Binance API Documentation}\n */\n public async withdrawHistory(\n requestParameters: WithdrawHistoryRequest = {}\n ): Promise<RestApiResponse<WithdrawHistoryResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawHistory(\n requestParameters?.coin,\n requestParameters?.withdrawOrderId,\n requestParameters?.status,\n requestParameters?.offset,\n requestParameters?.limit,\n requestParameters?.idList,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.recvWindow\n );\n return sendRequest<WithdrawHistoryResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n}\n","/**\n * Binance Wallet REST API\n *\n * OpenAPI Specification for the Binance Wallet REST API\n *\n * The version of the OpenAPI document: 1.0.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport {\n ConfigurationRestAPI,\n TimeUnit,\n RestApiResponse,\n sendRequest,\n type RequestArgs,\n} from '@binance/common';\nimport type { GetSymbolsDelistScheduleForSpotResponse, SystemStatusResponse } from '../types';\n\n/**\n * OthersApi - axios parameter creator\n */\nconst OthersApiAxiosParamCreator = function (configuration: ConfigurationRestAPI) {\n return {\n /**\n * Get symbols delist schedule for spot\n *\n * Weight: 100\n *\n * @summary Get symbols delist schedule for spot (MARKET_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n getSymbolsDelistScheduleForSpot: async (\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/spot/delist-schedule',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch system status.\n *\n * Weight: 1\n *\n * @summary System Status (System)\n *\n * @throws {RequiredError}\n */\n systemStatus: async (): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/system/status',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n };\n};\n\n/**\n * OthersApi - interface\n * @interface OthersApi\n */\nexport interface OthersApiInterface {\n /**\n * Get symbols delist schedule for spot\n *\n * Weight: 100\n *\n * @summary Get symbols delist schedule for spot (MARKET_DATA)\n * @param {GetSymbolsDelistScheduleForSpotRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof OthersApiInterface\n */\n getSymbolsDelistScheduleForSpot(\n requestParameters?: GetSymbolsDelistScheduleForSpotRequest\n ): Promise<RestApiResponse<GetSymbolsDelistScheduleForSpotResponse>>;\n /**\n * Fetch system status.\n *\n * Weight: 1\n *\n * @summary System Status (System)\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof OthersApiInterface\n */\n systemStatus(): Promise<RestApiResponse<SystemStatusResponse>>;\n}\n\n/**\n * Request parameters for getSymbolsDelistScheduleForSpot operation in OthersApi.\n * @interface GetSymbolsDelistScheduleForSpotRequest\n */\nexport interface GetSymbolsDelistScheduleForSpotRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof OthersApiGetSymbolsDelistScheduleForSpot\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * OthersApi - object-oriented interface\n * @class OthersApi\n */\nexport class OthersApi implements OthersApiInterface {\n private readonly configuration: ConfigurationRestAPI;\n private localVarAxiosParamCreator;\n\n constructor(configuration: ConfigurationRestAPI) {\n this.configuration = configuration;\n this.localVarAxiosParamCreator = OthersApiAxiosParamCreator(configuration);\n }\n\n /**\n * Get symbols delist schedule for spot\n *\n * Weight: 100\n *\n * @summary Get symbols delist schedule for spot (MARKET_DATA)\n * @param {GetSymbolsDelistScheduleForSpotRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<GetSymbolsDelistScheduleForSpotResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof OthersApi\n * @see {@link https://developers.binance.com/docs/wallet/others/delist-schedule Binance API Documentation}\n */\n public async getSymbolsDelistScheduleForSpot(\n requestParameters: GetSymbolsDelistScheduleForSpotRequest = {}\n ): Promise<RestApiResponse<GetSymbolsDelistScheduleForSpotResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.getSymbolsDelistScheduleForSpot(\n requestParameters?.recvWindow\n );\n return sendRequest<GetSymbolsDelistScheduleForSpotResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: false }\n );\n }\n\n /**\n * Fetch system status.\n *\n * Weight: 1\n *\n * @summary System Status (System)\n * @returns {Promise<RestApiResponse<SystemStatusResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof OthersApi\n * @see {@link https://developers.binance.com/docs/wallet/others/System-Status Binance API Documentation}\n */\n public async systemStatus(): Promise<RestApiResponse<SystemStatusResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.systemStatus();\n return sendRequest<SystemStatusResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: false }\n );\n }\n}\n","/**\n * Binance Wallet REST API\n *\n * OpenAPI Specification for the Binance Wallet REST API\n *\n * The version of the OpenAPI document: 1.0.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport {\n ConfigurationRestAPI,\n TimeUnit,\n RestApiResponse,\n assertParamExists,\n sendRequest,\n type RequestArgs,\n} from '@binance/common';\nimport type {\n BrokerWithdrawResponse,\n CheckQuestionnaireRequirementsResponse,\n DepositHistoryTravelRuleResponse,\n DepositHistoryV2Response,\n FetchAddressVerificationListResponse,\n GetCountryListResponse,\n GetRegionListResponse,\n SubmitDepositQuestionnaireResponse,\n SubmitDepositQuestionnaireTravelRuleResponse,\n SubmitDepositQuestionnaireV2Response,\n VaspListResponse,\n WithdrawHistoryV1Response,\n WithdrawHistoryV2Response,\n WithdrawTravelRuleResponse,\n} from '../types';\n\n/**\n * TravelRuleApi - axios parameter creator\n */\nconst TravelRuleApiAxiosParamCreator = function (configuration: ConfigurationRestAPI) {\n return {\n /**\n * Submit a withdrawal request for brokers of local entities that required travel rule.\n *\n * If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * You can get `network` in `networkList` of a coin in the response\n * Questionnaire is different for each local entity, please refer to\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA)\n * @param {string} address\n * @param {string} coin\n * @param {number} amount\n * @param {string} withdrawOrderId withdrawID defined by the client (i.e. client's internal withdrawID)\n * @param {string} questionnaire JSON format questionnaire answers.\n * @param {string} originatorPii JSON format originator Pii, see StandardPii section below\n * @param {string} signature Must be the last parameter.\n * @param {string} [addressTag] Secondary address identifier for coins like XRP,XMR etc.\n * @param {string} [network]\n * @param {string} [addressName] Description of the address. Address book cap is 200, space in name should be encoded into `%20`\n * @param {boolean} [transactionFeeFlag] When making internal transfer, `true` for returning the fee to the destination account; `false` for returning the fee back to the departure account. Default `false`.\n * @param {number | bigint} [walletType] The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current \"selected wallet\" under wallet->Fiat and Spot/Funding->Deposit\n *\n * @throws {RequiredError}\n */\n brokerWithdraw: async (\n address: string,\n coin: string,\n amount: number,\n withdrawOrderId: string,\n questionnaire: string,\n originatorPii: string,\n signature: string,\n addressTag?: string,\n network?: string,\n addressName?: string,\n transactionFeeFlag?: boolean,\n walletType?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'address' is not null or undefined\n assertParamExists('brokerWithdraw', 'address', address);\n // verify required parameter 'coin' is not null or undefined\n assertParamExists('brokerWithdraw', 'coin', coin);\n // verify required parameter 'amount' is not null or undefined\n assertParamExists('brokerWithdraw', 'amount', amount);\n // verify required parameter 'withdrawOrderId' is not null or undefined\n assertParamExists('brokerWithdraw', 'withdrawOrderId', withdrawOrderId);\n // verify required parameter 'questionnaire' is not null or undefined\n assertParamExists('brokerWithdraw', 'questionnaire', questionnaire);\n // verify required parameter 'originatorPii' is not null or undefined\n assertParamExists('brokerWithdraw', 'originatorPii', originatorPii);\n // verify required parameter 'signature' is not null or undefined\n assertParamExists('brokerWithdraw', 'signature', signature);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (address !== undefined && address !== null) {\n localVarQueryParameter['address'] = address;\n }\n if (addressTag !== undefined && addressTag !== null) {\n localVarQueryParameter['addressTag'] = addressTag;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (addressName !== undefined && addressName !== null) {\n localVarQueryParameter['addressName'] = addressName;\n }\n if (amount !== undefined && amount !== null) {\n localVarQueryParameter['amount'] = amount;\n }\n if (withdrawOrderId !== undefined && withdrawOrderId !== null) {\n localVarQueryParameter['withdrawOrderId'] = withdrawOrderId;\n }\n if (transactionFeeFlag !== undefined && transactionFeeFlag !== null) {\n localVarQueryParameter['transactionFeeFlag'] = transactionFeeFlag;\n }\n if (walletType !== undefined && walletType !== null) {\n localVarQueryParameter['walletType'] = walletType;\n }\n if (questionnaire !== undefined && questionnaire !== null) {\n localVarQueryParameter['questionnaire'] = questionnaire;\n }\n if (originatorPii !== undefined && originatorPii !== null) {\n localVarQueryParameter['originatorPii'] = originatorPii;\n }\n if (signature !== undefined && signature !== null) {\n localVarQueryParameter['signature'] = signature;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/broker/withdraw/apply',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.\n *\n * Weight: 1\n *\n * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n checkQuestionnaireRequirements: async (\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/questionnaire-requirements',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch deposit history for local entities that required travel rule.\n *\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must\n * Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * Weight: 1\n *\n * @summary Deposit History (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {string} [trId] Comma(,) separated list of travel rule record Ids.\n * @param {string} [txId]\n * @param {string} [tranId] Comma(,) separated list of wallet tran Ids.\n * @param {string} [network]\n * @param {string} [coin]\n * @param {number | bigint} [travelRuleStatus] 0:Completed,1:Pending,2:Failed\n * @param {boolean} [pendingQuestionnaire] true: Only return records that pending deposit questionnaire. false/not provided: return all records.\n * @param {number | bigint} [startTime]\n * @param {number | bigint} [endTime]\n * @param {number | bigint} [offset] Default: 0\n * @param {number | bigint} [limit] min 7, max 30, default 7\n *\n * @throws {RequiredError}\n */\n depositHistoryTravelRule: async (\n trId?: string,\n txId?: string,\n tranId?: string,\n network?: string,\n coin?: string,\n travelRuleStatus?: number | bigint,\n pendingQuestionnaire?: boolean,\n startTime?: number | bigint,\n endTime?: number | bigint,\n offset?: number | bigint,\n limit?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (trId !== undefined && trId !== null) {\n localVarQueryParameter['trId'] = trId;\n }\n if (txId !== undefined && txId !== null) {\n localVarQueryParameter['txId'] = txId;\n }\n if (tranId !== undefined && tranId !== null) {\n localVarQueryParameter['tranId'] = tranId;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (travelRuleStatus !== undefined && travelRuleStatus !== null) {\n localVarQueryParameter['travelRuleStatus'] = travelRuleStatus;\n }\n if (pendingQuestionnaire !== undefined && pendingQuestionnaire !== null) {\n localVarQueryParameter['pendingQuestionnaire'] = pendingQuestionnaire;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (offset !== undefined && offset !== null) {\n localVarQueryParameter['offset'] = offset;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/deposit/history',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch deposit history for local entities that with required travel rule information.\n *\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must\n * Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * Weight: 1\n *\n * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {string} [depositId] Comma(,) separated list of wallet tran Ids.\n * @param {string} [txId]\n * @param {string} [network]\n * @param {string} [coin]\n * @param {boolean} [retrieveQuestionnaire] true: return `questionnaire` within response.\n * @param {number | bigint} [startTime]\n * @param {number | bigint} [endTime]\n * @param {number | bigint} [offset] Default: 0\n * @param {number | bigint} [limit] min 7, max 30, default 7\n *\n * @throws {RequiredError}\n */\n depositHistoryV2: async (\n depositId?: string,\n txId?: string,\n network?: string,\n coin?: string,\n retrieveQuestionnaire?: boolean,\n startTime?: number | bigint,\n endTime?: number | bigint,\n offset?: number | bigint,\n limit?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (depositId !== undefined && depositId !== null) {\n localVarQueryParameter['depositId'] = depositId;\n }\n if (txId !== undefined && txId !== null) {\n localVarQueryParameter['txId'] = txId;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (retrieveQuestionnaire !== undefined && retrieveQuestionnaire !== null) {\n localVarQueryParameter['retrieveQuestionnaire'] = retrieveQuestionnaire;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (offset !== undefined && offset !== null) {\n localVarQueryParameter['offset'] = offset;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v2/localentity/deposit/history',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.\n *\n * Weight: 1\n *\n * @summary Fetch address verification list (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n fetchAddressVerificationList: async (\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/addressVerify/list',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query the active country list for travel rule questionnaires. Currently, only supports AU entity.\n *\n * Weight: 1\n *\n * @summary Get Country List (USER_DATA)\n *\n * @throws {RequiredError}\n */\n getCountryList: async (): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/country/list',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query the active region/city list for a given country. Currently, only supports AU entity.\n *\n * Weight: 1\n *\n * @summary Get Region List (USER_DATA)\n * @param {string} countryCode ISO 2-digit country code (from `Country List` API).\n *\n * @throws {RequiredError}\n */\n getRegionList: async (countryCode: string): Promise<RequestArgs> => {\n // verify required parameter 'countryCode' is not null or undefined\n assertParamExists('getRegionList', 'countryCode', countryCode);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (countryCode !== undefined && countryCode !== null) {\n localVarQueryParameter['countryCode'] = countryCode;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/region/list',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Submit questionnaire for brokers of local entities that require travel rule.\n * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Questionnaire is different for each local entity, please refer\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {string} subAccountId External user ID.\n * @param {number | bigint} depositId Wallet deposit ID\n * @param {string} questionnaire JSON format questionnaire answers.\n * @param {string} beneficiaryPii JSON format beneficiary Pii.\n * @param {string} signature Must be the last parameter.\n * @param {string} [network]\n * @param {string} [coin]\n * @param {number} [amount]\n * @param {string} [address]\n * @param {string} [addressTag] Secondary address identifier for coins like XRP,XMR etc.\n *\n * @throws {RequiredError}\n */\n submitDepositQuestionnaire: async (\n subAccountId: string,\n depositId: number | bigint,\n questionnaire: string,\n beneficiaryPii: string,\n signature: string,\n network?: string,\n coin?: string,\n amount?: number,\n address?: string,\n addressTag?: string\n ): Promise<RequestArgs> => {\n // verify required parameter 'subAccountId' is not null or undefined\n assertParamExists('submitDepositQuestionnaire', 'subAccountId', subAccountId);\n // verify required parameter 'depositId' is not null or undefined\n assertParamExists('submitDepositQuestionnaire', 'depositId', depositId);\n // verify required parameter 'questionnaire' is not null or undefined\n assertParamExists('submitDepositQuestionnaire', 'questionnaire', questionnaire);\n // verify required parameter 'beneficiaryPii' is not null or undefined\n assertParamExists('submitDepositQuestionnaire', 'beneficiaryPii', beneficiaryPii);\n // verify required parameter 'signature' is not null or undefined\n assertParamExists('submitDepositQuestionnaire', 'signature', signature);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (subAccountId !== undefined && subAccountId !== null) {\n localVarQueryParameter['subAccountId'] = subAccountId;\n }\n if (depositId !== undefined && depositId !== null) {\n localVarQueryParameter['depositId'] = depositId;\n }\n if (questionnaire !== undefined && questionnaire !== null) {\n localVarQueryParameter['questionnaire'] = questionnaire;\n }\n if (beneficiaryPii !== undefined && beneficiaryPii !== null) {\n localVarQueryParameter['beneficiaryPii'] = beneficiaryPii;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (amount !== undefined && amount !== null) {\n localVarQueryParameter['amount'] = amount;\n }\n if (address !== undefined && address !== null) {\n localVarQueryParameter['address'] = address;\n }\n if (addressTag !== undefined && addressTag !== null) {\n localVarQueryParameter['addressTag'] = addressTag;\n }\n if (signature !== undefined && signature !== null) {\n localVarQueryParameter['signature'] = signature;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/broker/deposit/provide-info',\n method: 'PUT',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Questionnaire is different for each local entity, please refer\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {number | bigint} tranId Wallet tran ID\n * @param {string} questionnaire JSON format questionnaire answers.\n *\n * @throws {RequiredError}\n */\n submitDepositQuestionnaireTravelRule: async (\n tranId: number | bigint,\n questionnaire: string\n ): Promise<RequestArgs> => {\n // verify required parameter 'tranId' is not null or undefined\n assertParamExists('submitDepositQuestionnaireTravelRule', 'tranId', tranId);\n // verify required parameter 'questionnaire' is not null or undefined\n assertParamExists(\n 'submitDepositQuestionnaireTravelRule',\n 'questionnaire',\n questionnaire\n );\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (tranId !== undefined && tranId !== null) {\n localVarQueryParameter['tranId'] = tranId;\n }\n if (questionnaire !== undefined && questionnaire !== null) {\n localVarQueryParameter['questionnaire'] = questionnaire;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/deposit/provide-info',\n method: 'PUT',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Questionnaire is different for each local entity, please refer\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {number | bigint} depositId Wallet deposit ID\n * @param {string} questionnaire JSON format questionnaire answers.\n *\n * @throws {RequiredError}\n */\n submitDepositQuestionnaireV2: async (\n depositId: number | bigint,\n questionnaire: string\n ): Promise<RequestArgs> => {\n // verify required parameter 'depositId' is not null or undefined\n assertParamExists('submitDepositQuestionnaireV2', 'depositId', depositId);\n // verify required parameter 'questionnaire' is not null or undefined\n assertParamExists('submitDepositQuestionnaireV2', 'questionnaire', questionnaire);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (depositId !== undefined && depositId !== null) {\n localVarQueryParameter['depositId'] = depositId;\n }\n if (questionnaire !== undefined && questionnaire !== null) {\n localVarQueryParameter['questionnaire'] = questionnaire;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v2/localentity/deposit/provide-info',\n method: 'PUT',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch the VASP list for local entities.\n *\n * Weight: 1\n *\n * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n vaspList: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/vasp',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * `network` may not be in the response for old withdraw.\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less\n *\n * Weight: 1\n *\n * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {string} [trId] Comma(,) separated list of travel rule record Ids.\n * @param {string} [txId]\n * @param {string} [withdrawOrderId] client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query.\n * @param {string} [network]\n * @param {string} [coin]\n * @param {number | bigint} [travelRuleStatus] 0:Completed,1:Pending,2:Failed\n * @param {number | bigint} [offset] Default: 0\n * @param {number | bigint} [limit] min 7, max 30, default 7\n * @param {number | bigint} [startTime]\n * @param {number | bigint} [endTime]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n withdrawHistoryV1: async (\n trId?: string,\n txId?: string,\n withdrawOrderId?: string,\n network?: string,\n coin?: string,\n travelRuleStatus?: number | bigint,\n offset?: number | bigint,\n limit?: number | bigint,\n startTime?: number | bigint,\n endTime?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (trId !== undefined && trId !== null) {\n localVarQueryParameter['trId'] = trId;\n }\n if (txId !== undefined && txId !== null) {\n localVarQueryParameter['txId'] = txId;\n }\n if (withdrawOrderId !== undefined && withdrawOrderId !== null) {\n localVarQueryParameter['withdrawOrderId'] = withdrawOrderId;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (travelRuleStatus !== undefined && travelRuleStatus !== null) {\n localVarQueryParameter['travelRuleStatus'] = travelRuleStatus;\n }\n if (offset !== undefined && offset !== null) {\n localVarQueryParameter['offset'] = offset;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/withdraw/history',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * `network` may not be in the response for old withdraw.\n * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less\n * If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days.\n * If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default.\n * Maximum support trId,txId number is 45.\n * WithdrawOrderId only support 1.\n * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.\n *\n * Weight: 1\n *\n * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {string} [trId] Comma(,) separated list of travel rule record Ids.\n * @param {string} [txId]\n * @param {string} [withdrawOrderId] client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query.\n * @param {string} [network]\n * @param {string} [coin]\n * @param {number | bigint} [travelRuleStatus] 0:Completed,1:Pending,2:Failed\n * @param {number | bigint} [offset] Default: 0\n * @param {number | bigint} [limit] min 7, max 30, default 7\n * @param {number | bigint} [startTime]\n * @param {number | bigint} [endTime]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n withdrawHistoryV2: async (\n trId?: string,\n txId?: string,\n withdrawOrderId?: string,\n network?: string,\n coin?: string,\n travelRuleStatus?: number | bigint,\n offset?: number | bigint,\n limit?: number | bigint,\n startTime?: number | bigint,\n endTime?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (trId !== undefined && trId !== null) {\n localVarQueryParameter['trId'] = trId;\n }\n if (txId !== undefined && txId !== null) {\n localVarQueryParameter['txId'] = txId;\n }\n if (withdrawOrderId !== undefined && withdrawOrderId !== null) {\n localVarQueryParameter['withdrawOrderId'] = withdrawOrderId;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (travelRuleStatus !== undefined && travelRuleStatus !== null) {\n localVarQueryParameter['travelRuleStatus'] = travelRuleStatus;\n }\n if (offset !== undefined && offset !== null) {\n localVarQueryParameter['offset'] = offset;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v2/localentity/withdraw/history',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Submit a withdrawal request for local entities that required travel rule.\n *\n * If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * You can get `network` and `isDefault` in `networkList` of a coin in the response\n * Questionnaire is different for each local entity, please refer to\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Withdraw (for local entities that require travel rule) (USER_DATA)\n * @param {string} coin\n * @param {string} address\n * @param {number} amount\n * @param {string} questionnaire JSON format questionnaire answers.\n * @param {string} [withdrawOrderId] client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query.\n * @param {string} [network]\n * @param {string} [addressTag] Secondary address identifier for coins like XRP,XMR etc.\n * @param {boolean} [transactionFeeFlag] When making internal transfer, `true` for returning the fee to the destination account; `false` for returning the fee back to the departure account. Default `false`.\n * @param {string} [name] Description of the address. Address book cap is 200, space in name should be encoded into `%20`\n * @param {number | bigint} [walletType] The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current \"selected wallet\" under wallet->Fiat and Spot/Funding->Deposit\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n withdrawTravelRule: async (\n coin: string,\n address: string,\n amount: number,\n questionnaire: string,\n withdrawOrderId?: string,\n network?: string,\n addressTag?: string,\n transactionFeeFlag?: boolean,\n name?: string,\n walletType?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'coin' is not null or undefined\n assertParamExists('withdrawTravelRule', 'coin', coin);\n // verify required parameter 'address' is not null or undefined\n assertParamExists('withdrawTravelRule', 'address', address);\n // verify required parameter 'amount' is not null or undefined\n assertParamExists('withdrawTravelRule', 'amount', amount);\n // verify required parameter 'questionnaire' is not null or undefined\n assertParamExists('withdrawTravelRule', 'questionnaire', questionnaire);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (withdrawOrderId !== undefined && withdrawOrderId !== null) {\n localVarQueryParameter['withdrawOrderId'] = withdrawOrderId;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (address !== undefined && address !== null) {\n localVarQueryParameter['address'] = address;\n }\n if (addressTag !== undefined && addressTag !== null) {\n localVarQueryParameter['addressTag'] = addressTag;\n }\n if (amount !== undefined && amount !== null) {\n localVarQueryParameter['amount'] = amount;\n }\n if (transactionFeeFlag !== undefined && transactionFeeFlag !== null) {\n localVarQueryParameter['transactionFeeFlag'] = transactionFeeFlag;\n }\n if (name !== undefined && name !== null) {\n localVarQueryParameter['name'] = name;\n }\n if (walletType !== undefined && walletType !== null) {\n localVarQueryParameter['walletType'] = walletType;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n if (questionnaire !== undefined && questionnaire !== null) {\n localVarQueryParameter['questionnaire'] = questionnaire;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/withdraw/apply',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n };\n};\n\n/**\n * TravelRuleApi - interface\n * @interface TravelRuleApi\n */\nexport interface TravelRuleApiInterface {\n /**\n * Submit a withdrawal request for brokers of local entities that required travel rule.\n *\n * If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * You can get `network` in `networkList` of a coin in the response\n * Questionnaire is different for each local entity, please refer to\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA)\n * @param {BrokerWithdrawRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n brokerWithdraw(\n requestParameters: BrokerWithdrawRequest\n ): Promise<RestApiResponse<BrokerWithdrawResponse>>;\n /**\n * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.\n *\n * Weight: 1\n *\n * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n checkQuestionnaireRequirements(\n requestParameters?: CheckQuestionnaireRequirementsRequest\n ): Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>;\n /**\n * Fetch deposit history for local entities that required travel rule.\n *\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must\n * Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * Weight: 1\n *\n * @summary Deposit History (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {DepositHistoryTravelRuleRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n depositHistoryTravelRule(\n requestParameters?: DepositHistoryTravelRuleRequest\n ): Promise<RestApiResponse<DepositHistoryTravelRuleResponse>>;\n /**\n * Fetch deposit history for local entities that with required travel rule information.\n *\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must\n * Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * Weight: 1\n *\n * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {DepositHistoryV2Request} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n depositHistoryV2(\n requestParameters?: DepositHistoryV2Request\n ): Promise<RestApiResponse<DepositHistoryV2Response>>;\n /**\n * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.\n *\n * Weight: 1\n *\n * @summary Fetch address verification list (USER_DATA)\n * @param {FetchAddressVerificationListRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n fetchAddressVerificationList(\n requestParameters?: FetchAddressVerificationListRequest\n ): Promise<RestApiResponse<FetchAddressVerificationListResponse>>;\n /**\n * Query the active country list for travel rule questionnaires. Currently, only supports AU entity.\n *\n * Weight: 1\n *\n * @summary Get Country List (USER_DATA)\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n getCountryList(): Promise<RestApiResponse<GetCountryListResponse>>;\n /**\n * Query the active region/city list for a given country. Currently, only supports AU entity.\n *\n * Weight: 1\n *\n * @summary Get Region List (USER_DATA)\n * @param {GetRegionListRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n getRegionList(\n requestParameters: GetRegionListRequest\n ): Promise<RestApiResponse<GetRegionListResponse>>;\n /**\n * Submit questionnaire for brokers of local entities that require travel rule.\n * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Questionnaire is different for each local entity, please refer\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n submitDepositQuestionnaire(\n requestParameters: SubmitDepositQuestionnaireRequest\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireResponse>>;\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Questionnaire is different for each local entity, please refer\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireTravelRuleRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n submitDepositQuestionnaireTravelRule(\n requestParameters: SubmitDepositQuestionnaireTravelRuleRequest\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>>;\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Questionnaire is different for each local entity, please refer\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireV2Request} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n submitDepositQuestionnaireV2(\n requestParameters: SubmitDepositQuestionnaireV2Request\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireV2Response>>;\n /**\n * Fetch the VASP list for local entities.\n *\n * Weight: 1\n *\n * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {VaspListRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n vaspList(requestParameters?: VaspListRequest): Promise<RestApiResponse<VaspListResponse>>;\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * `network` may not be in the response for old withdraw.\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less\n *\n * Weight: 1\n *\n * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {WithdrawHistoryV1Request} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n withdrawHistoryV1(\n requestParameters?: WithdrawHistoryV1Request\n ): Promise<RestApiResponse<WithdrawHistoryV1Response>>;\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * `network` may not be in the response for old withdraw.\n * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less\n * If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days.\n * If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default.\n * Maximum support trId,txId number is 45.\n * WithdrawOrderId only support 1.\n * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.\n *\n * Weight: 1\n *\n * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {WithdrawHistoryV2Request} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n withdrawHistoryV2(\n requestParameters?: WithdrawHistoryV2Request\n ): Promise<RestApiResponse<WithdrawHistoryV2Response>>;\n /**\n * Submit a withdrawal request for local entities that required travel rule.\n *\n * If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * You can get `network` and `isDefault` in `networkList` of a coin in the response\n * Questionnaire is different for each local entity, please refer to\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Withdraw (for local entities that require travel rule) (USER_DATA)\n * @param {WithdrawTravelRuleRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n withdrawTravelRule(\n requestParameters: WithdrawTravelRuleRequest\n ): Promise<RestApiResponse<WithdrawTravelRuleResponse>>;\n}\n\n/**\n * Request parameters for brokerWithdraw operation in TravelRuleApi.\n * @interface BrokerWithdrawRequest\n */\nexport interface BrokerWithdrawRequest {\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly address: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly coin: string;\n\n /**\n *\n * @type {number}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly amount: number;\n\n /**\n * withdrawID defined by the client (i.e. client's internal withdrawID)\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly withdrawOrderId: string;\n\n /**\n * JSON format questionnaire answers.\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly questionnaire: string;\n\n /**\n * JSON format originator Pii, see StandardPii section below\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly originatorPii: string;\n\n /**\n * Must be the last parameter.\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly signature: string;\n\n /**\n * Secondary address identifier for coins like XRP,XMR etc.\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly addressTag?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly network?: string;\n\n /**\n * Description of the address. Address book cap is 200, space in name should be encoded into `%20`\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly addressName?: string;\n\n /**\n * When making internal transfer, `true` for returning the fee to the destination account; `false` for returning the fee back to the departure account. Default `false`.\n * @type {boolean}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly transactionFeeFlag?: boolean;\n\n /**\n * The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current \"selected wallet\" under wallet->Fiat and Spot/Funding->Deposit\n * @type {number | bigint}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly walletType?: number | bigint;\n}\n\n/**\n * Request parameters for checkQuestionnaireRequirements operation in TravelRuleApi.\n * @interface CheckQuestionnaireRequirementsRequest\n */\nexport interface CheckQuestionnaireRequirementsRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiCheckQuestionnaireRequirements\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for depositHistoryTravelRule operation in TravelRuleApi.\n * @interface DepositHistoryTravelRuleRequest\n */\nexport interface DepositHistoryTravelRuleRequest {\n /**\n * Comma(,) separated list of travel rule record Ids.\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly trId?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly txId?: string;\n\n /**\n * Comma(,) separated list of wallet tran Ids.\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly tranId?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly network?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly coin?: string;\n\n /**\n * 0:Completed,1:Pending,2:Failed\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly travelRuleStatus?: number | bigint;\n\n /**\n * true: Only return records that pending deposit questionnaire. false/not provided: return all records.\n * @type {boolean}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly pendingQuestionnaire?: boolean;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly startTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly endTime?: number | bigint;\n\n /**\n * Default: 0\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly offset?: number | bigint;\n\n /**\n * min 7, max 30, default 7\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly limit?: number | bigint;\n}\n\n/**\n * Request parameters for depositHistoryV2 operation in TravelRuleApi.\n * @interface DepositHistoryV2Request\n */\nexport interface DepositHistoryV2Request {\n /**\n * Comma(,) separated list of wallet tran Ids.\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly depositId?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly txId?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly network?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly coin?: string;\n\n /**\n * true: return `questionnaire` within response.\n * @type {boolean}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly retrieveQuestionnaire?: boolean;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly startTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly endTime?: number | bigint;\n\n /**\n * Default: 0\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly offset?: number | bigint;\n\n /**\n * min 7, max 30, default 7\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly limit?: number | bigint;\n}\n\n/**\n * Request parameters for fetchAddressVerificationList operation in TravelRuleApi.\n * @interface FetchAddressVerificationListRequest\n */\nexport interface FetchAddressVerificationListRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiFetchAddressVerificationList\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for getRegionList operation in TravelRuleApi.\n * @interface GetRegionListRequest\n */\nexport interface GetRegionListRequest {\n /**\n * ISO 2-digit country code (from `Country List` API).\n * @type {string}\n * @memberof TravelRuleApiGetRegionList\n */\n readonly countryCode: string;\n}\n\n/**\n * Request parameters for submitDepositQuestionnaire operation in TravelRuleApi.\n * @interface SubmitDepositQuestionnaireRequest\n */\nexport interface SubmitDepositQuestionnaireRequest {\n /**\n * External user ID.\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly subAccountId: string;\n\n /**\n * Wallet deposit ID\n * @type {number | bigint}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly depositId: number | bigint;\n\n /**\n * JSON format questionnaire answers.\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly questionnaire: string;\n\n /**\n * JSON format beneficiary Pii.\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly beneficiaryPii: string;\n\n /**\n * Must be the last parameter.\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly signature: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly network?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly coin?: string;\n\n /**\n *\n * @type {number}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly amount?: number;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly address?: string;\n\n /**\n * Secondary address identifier for coins like XRP,XMR etc.\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly addressTag?: string;\n}\n\n/**\n * Request parameters for submitDepositQuestionnaireTravelRule operation in TravelRuleApi.\n * @interface SubmitDepositQuestionnaireTravelRuleRequest\n */\nexport interface SubmitDepositQuestionnaireTravelRuleRequest {\n /**\n * Wallet tran ID\n * @type {number | bigint}\n * @memberof TravelRuleApiSubmitDepositQuestionnaireTravelRule\n */\n readonly tranId: number | bigint;\n\n /**\n * JSON format questionnaire answers.\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaireTravelRule\n */\n readonly questionnaire: string;\n}\n\n/**\n * Request parameters for submitDepositQuestionnaireV2 operation in TravelRuleApi.\n * @interface SubmitDepositQuestionnaireV2Request\n */\nexport interface SubmitDepositQuestionnaireV2Request {\n /**\n * Wallet deposit ID\n * @type {number | bigint}\n * @memberof TravelRuleApiSubmitDepositQuestionnaireV2\n */\n readonly depositId: number | bigint;\n\n /**\n * JSON format questionnaire answers.\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaireV2\n */\n readonly questionnaire: string;\n}\n\n/**\n * Request parameters for vaspList operation in TravelRuleApi.\n * @interface VaspListRequest\n */\nexport interface VaspListRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiVaspList\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for withdrawHistoryV1 operation in TravelRuleApi.\n * @interface WithdrawHistoryV1Request\n */\nexport interface WithdrawHistoryV1Request {\n /**\n * Comma(,) separated list of travel rule record Ids.\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly trId?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly txId?: string;\n\n /**\n * client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query.\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly withdrawOrderId?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly network?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly coin?: string;\n\n /**\n * 0:Completed,1:Pending,2:Failed\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly travelRuleStatus?: number | bigint;\n\n /**\n * Default: 0\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly offset?: number | bigint;\n\n /**\n * min 7, max 30, default 7\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly limit?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly startTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly endTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for withdrawHistoryV2 operation in TravelRuleApi.\n * @interface WithdrawHistoryV2Request\n */\nexport interface WithdrawHistoryV2Request {\n /**\n * Comma(,) separated list of travel rule record Ids.\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly trId?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly txId?: string;\n\n /**\n * client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query.\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly withdrawOrderId?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly network?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly coin?: string;\n\n /**\n * 0:Completed,1:Pending,2:Failed\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly travelRuleStatus?: number | bigint;\n\n /**\n * Default: 0\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly offset?: number | bigint;\n\n /**\n * min 7, max 30, default 7\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly limit?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly startTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly endTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for withdrawTravelRule operation in TravelRuleApi.\n * @interface WithdrawTravelRuleRequest\n */\nexport interface WithdrawTravelRuleRequest {\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly coin: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly address: string;\n\n /**\n *\n * @type {number}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly amount: number;\n\n /**\n * JSON format questionnaire answers.\n * @type {string}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly questionnaire: string;\n\n /**\n * client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for query.\n * @type {string}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly withdrawOrderId?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly network?: string;\n\n /**\n * Secondary address identifier for coins like XRP,XMR etc.\n * @type {string}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly addressTag?: string;\n\n /**\n * When making internal transfer, `true` for returning the fee to the destination account; `false` for returning the fee back to the departure account. Default `false`.\n * @type {boolean}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly transactionFeeFlag?: boolean;\n\n /**\n * Description of the address. Address book cap is 200, space in name should be encoded into `%20`\n * @type {string}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly name?: string;\n\n /**\n * The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current \"selected wallet\" under wallet->Fiat and Spot/Funding->Deposit\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly walletType?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * TravelRuleApi - object-oriented interface\n * @class TravelRuleApi\n */\nexport class TravelRuleApi implements TravelRuleApiInterface {\n private readonly configuration: ConfigurationRestAPI;\n private localVarAxiosParamCreator;\n\n constructor(configuration: ConfigurationRestAPI) {\n this.configuration = configuration;\n this.localVarAxiosParamCreator = TravelRuleApiAxiosParamCreator(configuration);\n }\n\n /**\n * Submit a withdrawal request for brokers of local entities that required travel rule.\n *\n * If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * You can get `network` in `networkList` of a coin in the response\n * Questionnaire is different for each local entity, please refer to\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA)\n * @param {BrokerWithdrawRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<BrokerWithdrawResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Broker-Withdraw Binance API Documentation}\n */\n public async brokerWithdraw(\n requestParameters: BrokerWithdrawRequest\n ): Promise<RestApiResponse<BrokerWithdrawResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.brokerWithdraw(\n requestParameters?.address,\n requestParameters?.coin,\n requestParameters?.amount,\n requestParameters?.withdrawOrderId,\n requestParameters?.questionnaire,\n requestParameters?.originatorPii,\n requestParameters?.signature,\n requestParameters?.addressTag,\n requestParameters?.network,\n requestParameters?.addressName,\n requestParameters?.transactionFeeFlag,\n requestParameters?.walletType\n );\n return sendRequest<BrokerWithdrawResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.\n *\n * Weight: 1\n *\n * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/questionnaire-requirements Binance API Documentation}\n */\n public async checkQuestionnaireRequirements(\n requestParameters: CheckQuestionnaireRequirementsRequest = {}\n ): Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.checkQuestionnaireRequirements(\n requestParameters?.recvWindow\n );\n return sendRequest<CheckQuestionnaireRequirementsResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch deposit history for local entities that required travel rule.\n *\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must\n * Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * Weight: 1\n *\n * @summary Deposit History (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {DepositHistoryTravelRuleRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DepositHistoryTravelRuleResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History Binance API Documentation}\n */\n public async depositHistoryTravelRule(\n requestParameters: DepositHistoryTravelRuleRequest = {}\n ): Promise<RestApiResponse<DepositHistoryTravelRuleResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositHistoryTravelRule(\n requestParameters?.trId,\n requestParameters?.txId,\n requestParameters?.tranId,\n requestParameters?.network,\n requestParameters?.coin,\n requestParameters?.travelRuleStatus,\n requestParameters?.pendingQuestionnaire,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.offset,\n requestParameters?.limit\n );\n return sendRequest<DepositHistoryTravelRuleResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch deposit history for local entities that with required travel rule information.\n *\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must\n * Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * Weight: 1\n *\n * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {DepositHistoryV2Request} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DepositHistoryV2Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History-V2 Binance API Documentation}\n */\n public async depositHistoryV2(\n requestParameters: DepositHistoryV2Request = {}\n ): Promise<RestApiResponse<DepositHistoryV2Response>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositHistoryV2(\n requestParameters?.depositId,\n requestParameters?.txId,\n requestParameters?.network,\n requestParameters?.coin,\n requestParameters?.retrieveQuestionnaire,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.offset,\n requestParameters?.limit\n );\n return sendRequest<DepositHistoryV2Response>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.\n *\n * Weight: 1\n *\n * @summary Fetch address verification list (USER_DATA)\n * @param {FetchAddressVerificationListRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<FetchAddressVerificationListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}\n */\n public async fetchAddressVerificationList(\n requestParameters: FetchAddressVerificationListRequest = {}\n ): Promise<RestApiResponse<FetchAddressVerificationListResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchAddressVerificationList(\n requestParameters?.recvWindow\n );\n return sendRequest<FetchAddressVerificationListResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Query the active country list for travel rule questionnaires. Currently, only supports AU entity.\n *\n * Weight: 1\n *\n * @summary Get Country List (USER_DATA)\n * @returns {Promise<RestApiResponse<GetCountryListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/country-list Binance API Documentation}\n */\n public async getCountryList(): Promise<RestApiResponse<GetCountryListResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.getCountryList();\n return sendRequest<GetCountryListResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Query the active region/city list for a given country. Currently, only supports AU entity.\n *\n * Weight: 1\n *\n * @summary Get Region List (USER_DATA)\n * @param {GetRegionListRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<GetRegionListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/region-list Binance API Documentation}\n */\n public async getRegionList(\n requestParameters: GetRegionListRequest\n ): Promise<RestApiResponse<GetRegionListResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.getRegionList(\n requestParameters?.countryCode\n );\n return sendRequest<GetRegionListResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Submit questionnaire for brokers of local entities that require travel rule.\n * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Questionnaire is different for each local entity, please refer\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info Binance API Documentation}\n */\n public async submitDepositQuestionnaire(\n requestParameters: SubmitDepositQuestionnaireRequest\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.submitDepositQuestionnaire(\n requestParameters?.subAccountId,\n requestParameters?.depositId,\n requestParameters?.questionnaire,\n requestParameters?.beneficiaryPii,\n requestParameters?.signature,\n requestParameters?.network,\n requestParameters?.coin,\n requestParameters?.amount,\n requestParameters?.address,\n requestParameters?.addressTag\n );\n return sendRequest<SubmitDepositQuestionnaireResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Questionnaire is different for each local entity, please refer\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireTravelRuleRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info Binance API Documentation}\n */\n public async submitDepositQuestionnaireTravelRule(\n requestParameters: SubmitDepositQuestionnaireTravelRuleRequest\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.submitDepositQuestionnaireTravelRule(\n requestParameters?.tranId,\n requestParameters?.questionnaire\n );\n return sendRequest<SubmitDepositQuestionnaireTravelRuleResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Questionnaire is different for each local entity, please refer\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireV2Request} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireV2Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info-v2 Binance API Documentation}\n */\n public async submitDepositQuestionnaireV2(\n requestParameters: SubmitDepositQuestionnaireV2Request\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireV2Response>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.submitDepositQuestionnaireV2(\n requestParameters?.depositId,\n requestParameters?.questionnaire\n );\n return sendRequest<SubmitDepositQuestionnaireV2Response>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch the VASP list for local entities.\n *\n * Weight: 1\n *\n * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {VaspListRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<VaspListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/onboarded-vasp-list Binance API Documentation}\n */\n public async vaspList(\n requestParameters: VaspListRequest = {}\n ): Promise<RestApiResponse<VaspListResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.vaspList(\n requestParameters?.recvWindow\n );\n return sendRequest<VaspListResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * `network` may not be in the response for old withdraw.\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less\n *\n * Weight: 1\n *\n * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {WithdrawHistoryV1Request} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<WithdrawHistoryV1Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw-History Binance API Documentation}\n */\n public async withdrawHistoryV1(\n requestParameters: WithdrawHistoryV1Request = {}\n ): Promise<RestApiResponse<WithdrawHistoryV1Response>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawHistoryV1(\n requestParameters?.trId,\n requestParameters?.txId,\n requestParameters?.withdrawOrderId,\n requestParameters?.network,\n requestParameters?.coin,\n requestParameters?.travelRuleStatus,\n requestParameters?.offset,\n requestParameters?.limit,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.recvWindow\n );\n return sendRequest<WithdrawHistoryV1Response>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * `network` may not be in the response for old withdraw.\n * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less\n * If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days.\n * If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default.\n * Maximum support trId,txId number is 45.\n * WithdrawOrderId only support 1.\n * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.\n *\n * Weight: 1\n *\n * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {WithdrawHistoryV2Request} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<WithdrawHistoryV2Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw-History-V2 Binance API Documentation}\n */\n public async withdrawHistoryV2(\n requestParameters: WithdrawHistoryV2Request = {}\n ): Promise<RestApiResponse<WithdrawHistoryV2Response>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawHistoryV2(\n requestParameters?.trId,\n requestParameters?.txId,\n requestParameters?.withdrawOrderId,\n requestParameters?.network,\n requestParameters?.coin,\n requestParameters?.travelRuleStatus,\n requestParameters?.offset,\n requestParameters?.limit,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.recvWindow\n );\n return sendRequest<WithdrawHistoryV2Response>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Submit a withdrawal request for local entities that required travel rule.\n *\n * If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * You can get `network` and `isDefault` in `networkList` of a coin in the response\n * Questionnaire is different for each local entity, please refer to\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Withdraw (for local entities that require travel rule) (USER_DATA)\n * @param {WithdrawTravelRuleRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<WithdrawTravelRuleResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw Binance API Documentation}\n */\n public async withdrawTravelRule(\n requestParameters: WithdrawTravelRuleRequest\n ): Promise<RestApiResponse<WithdrawTravelRuleResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawTravelRule(\n requestParameters?.coin,\n requestParameters?.address,\n requestParameters?.amount,\n requestParameters?.questionnaire,\n requestParameters?.withdrawOrderId,\n requestParameters?.network,\n requestParameters?.addressTag,\n requestParameters?.transactionFeeFlag,\n requestParameters?.name,\n requestParameters?.walletType,\n requestParameters?.recvWindow\n );\n return sendRequest<WithdrawTravelRuleResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n}\n","/**\n * Binance Wallet REST API\n *\n * OpenAPI Specification for the Binance Wallet REST API\n *\n * The version of the OpenAPI document: 1.0.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { ConfigurationRestAPI, RestApiResponse, sendRequest } from '@binance/common';\nimport { AccountApi } from './modules/account-api';\nimport { AssetApi } from './modules/asset-api';\nimport { CapitalApi } from './modules/capital-api';\nimport { OthersApi } from './modules/others-api';\nimport { TravelRuleApi } from './modules/travel-rule-api';\n\nimport type {\n AccountApiTradingStatusRequest,\n AccountInfoRequest,\n AccountStatusRequest,\n DailyAccountSnapshotRequest,\n DisableFastWithdrawSwitchRequest,\n EnableFastWithdrawSwitchRequest,\n GetApiKeyPermissionRequest,\n} from './modules/account-api';\nimport type {\n AssetDetailRequest,\n AssetDividendRecordRequest,\n DustConvertRequest,\n DustConvertibleAssetsRequest,\n DustTransferRequest,\n DustlogRequest,\n FundingWalletRequest,\n GetAssetsThatCanBeConvertedIntoBnbRequest,\n GetCloudMiningPaymentAndRefundHistoryRequest,\n QueryUserDelegationHistoryRequest,\n QueryUserUniversalTransferHistoryRequest,\n QueryUserWalletBalanceRequest,\n ToggleBnbBurnOnSpotTradeAndMarginInterestRequest,\n TradeFeeRequest,\n UserAssetRequest,\n UserUniversalTransferRequest,\n} from './modules/asset-api';\nimport type {\n AllCoinsInformationRequest,\n DepositAddressRequest,\n DepositHistoryRequest,\n FetchDepositAddressListWithNetworkRequest,\n OneClickArrivalDepositApplyRequest,\n WithdrawRequest,\n WithdrawHistoryRequest,\n} from './modules/capital-api';\nimport type { GetSymbolsDelistScheduleForSpotRequest } from './modules/others-api';\nimport type {\n BrokerWithdrawRequest,\n CheckQuestionnaireRequirementsRequest,\n DepositHistoryTravelRuleRequest,\n DepositHistoryV2Request,\n FetchAddressVerificationListRequest,\n GetRegionListRequest,\n SubmitDepositQuestionnaireRequest,\n SubmitDepositQuestionnaireTravelRuleRequest,\n SubmitDepositQuestionnaireV2Request,\n VaspListRequest,\n WithdrawHistoryV1Request,\n WithdrawHistoryV2Request,\n WithdrawTravelRuleRequest,\n} from './modules/travel-rule-api';\n\nimport type {\n AccountApiTradingStatusResponse,\n AccountInfoResponse,\n AccountStatusResponse,\n DailyAccountSnapshotResponse,\n GetApiKeyPermissionResponse,\n} from './types';\nimport type {\n AssetDetailResponse,\n AssetDividendRecordResponse,\n DustConvertResponse,\n DustConvertibleAssetsResponse,\n DustTransferResponse,\n DustlogResponse,\n FundingWalletResponse,\n GetAssetsThatCanBeConvertedIntoBnbResponse,\n GetCloudMiningPaymentAndRefundHistoryResponse,\n GetOpenSymbolListResponse,\n QueryUserDelegationHistoryResponse,\n QueryUserUniversalTransferHistoryResponse,\n QueryUserWalletBalanceResponse,\n ToggleBnbBurnOnSpotTradeAndMarginInterestResponse,\n TradeFeeResponse,\n UserAssetResponse,\n UserUniversalTransferResponse,\n} from './types';\nimport type {\n AllCoinsInformationResponse,\n DepositAddressResponse,\n DepositHistoryResponse,\n FetchDepositAddressListWithNetworkResponse,\n FetchWithdrawAddressListResponse,\n FetchWithdrawQuotaResponse,\n OneClickArrivalDepositApplyResponse,\n WithdrawResponse,\n WithdrawHistoryResponse,\n} from './types';\nimport type { GetSymbolsDelistScheduleForSpotResponse, SystemStatusResponse } from './types';\nimport type {\n BrokerWithdrawResponse,\n CheckQuestionnaireRequirementsResponse,\n DepositHistoryTravelRuleResponse,\n DepositHistoryV2Response,\n FetchAddressVerificationListResponse,\n GetCountryListResponse,\n GetRegionListResponse,\n SubmitDepositQuestionnaireResponse,\n SubmitDepositQuestionnaireTravelRuleResponse,\n SubmitDepositQuestionnaireV2Response,\n VaspListResponse,\n WithdrawHistoryV1Response,\n WithdrawHistoryV2Response,\n WithdrawTravelRuleResponse,\n} from './types';\n\nexport class RestAPI {\n private configuration: ConfigurationRestAPI;\n private accountApi: AccountApi;\n private assetApi: AssetApi;\n private capitalApi: CapitalApi;\n private othersApi: OthersApi;\n private travelRuleApi: TravelRuleApi;\n\n constructor(configuration: ConfigurationRestAPI) {\n this.configuration = configuration;\n this.accountApi = new AccountApi(configuration);\n this.assetApi = new AssetApi(configuration);\n this.capitalApi = new CapitalApi(configuration);\n this.othersApi = new OthersApi(configuration);\n this.travelRuleApi = new TravelRuleApi(configuration);\n }\n\n /**\n * Generic function to send a request.\n * @param endpoint - The API endpoint to call.\n * @param method - HTTP method to use (GET, POST, DELETE, etc.).\n * @param queryParams - Query parameters for the request.\n * @param bodyParams - Body parameters for the request.\n *\n * @returns A promise resolving to the response data object.\n */\n sendRequest<T>(\n endpoint: string,\n method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH',\n queryParams: Record<string, unknown> = {},\n bodyParams: Record<string, unknown> = {}\n ): Promise<RestApiResponse<T>> {\n return sendRequest<T>(\n this.configuration,\n endpoint,\n method,\n queryParams,\n bodyParams,\n undefined,\n undefined\n );\n }\n\n /**\n * Generic function to send a signed request.\n * @param endpoint - The API endpoint to call.\n * @param method - HTTP method to use (GET, POST, DELETE, etc.).\n * @param queryParams - Query parameters for the request.\n * @param bodyParams - Body parameters for the request.\n *\n * @returns A promise resolving to the response data object.\n */\n sendSignedRequest<T>(\n endpoint: string,\n method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH',\n queryParams: Record<string, unknown> = {},\n bodyParams: Record<string, unknown> = {}\n ): Promise<RestApiResponse<T>> {\n return sendRequest<T>(\n this.configuration,\n endpoint,\n method,\n queryParams,\n bodyParams,\n undefined,\n undefined,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch account api trading status detail.\n *\n * Weight: 1\n *\n * @summary Account API Trading Status (USER_DATA)\n * @param {AccountApiTradingStatusRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<AccountApiTradingStatusResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/account/Account-API-Trading-Status Binance API Documentation}\n */\n accountApiTradingStatus(\n requestParameters: AccountApiTradingStatusRequest = {}\n ): Promise<RestApiResponse<AccountApiTradingStatusResponse>> {\n return this.accountApi.accountApiTradingStatus(requestParameters);\n }\n\n /**\n * Fetch account info detail.\n *\n * Weight: 1\n *\n * @summary Account info (USER_DATA)\n * @param {AccountInfoRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<AccountInfoResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/account/Account-info Binance API Documentation}\n */\n accountInfo(\n requestParameters: AccountInfoRequest = {}\n ): Promise<RestApiResponse<AccountInfoResponse>> {\n return this.accountApi.accountInfo(requestParameters);\n }\n\n /**\n * Fetch account status detail.\n *\n * Weight: 1\n *\n * @summary Account Status (USER_DATA)\n * @param {AccountStatusRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<AccountStatusResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/account/Account-Status Binance API Documentation}\n */\n accountStatus(\n requestParameters: AccountStatusRequest = {}\n ): Promise<RestApiResponse<AccountStatusResponse>> {\n return this.accountApi.accountStatus(requestParameters);\n }\n\n /**\n * Daily account snapshot\n *\n * The query time period must be less then 30 days\n * Support query within the last one month only\n * If startTimeand endTime not sent, return records of the last 7 days by default\n *\n * Weight: 2400\n *\n * @summary Daily Account Snapshot (USER_DATA)\n * @param {DailyAccountSnapshotRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DailyAccountSnapshotResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/account/daily-account-snapshoot Binance API Documentation}\n */\n dailyAccountSnapshot(\n requestParameters: DailyAccountSnapshotRequest\n ): Promise<RestApiResponse<DailyAccountSnapshotResponse>> {\n return this.accountApi.dailyAccountSnapshot(requestParameters);\n }\n\n /**\n *\n * Weight: 1\n *\n * @summary Disable Fast Withdraw Switch (USER_DATA)\n * @param {DisableFastWithdrawSwitchRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<void>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/account/Disable-Fast-Withdraw-Switch Binance API Documentation}\n */\n disableFastWithdrawSwitch(\n requestParameters: DisableFastWithdrawSwitchRequest = {}\n ): Promise<RestApiResponse<void>> {\n return this.accountApi.disableFastWithdrawSwitch(requestParameters);\n }\n\n /**\n * Enable Fast Withdraw Switch (USER_DATA)\n *\n * This request will enable fastwithdraw switch under your account. <br></br>\n * 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.\n *\n * Weight: 1\n *\n * @summary Enable Fast Withdraw Switch (USER_DATA)\n * @param {EnableFastWithdrawSwitchRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<void>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/account/Enable-Fast-Withdraw-Switch Binance API Documentation}\n */\n enableFastWithdrawSwitch(\n requestParameters: EnableFastWithdrawSwitchRequest = {}\n ): Promise<RestApiResponse<void>> {\n return this.accountApi.enableFastWithdrawSwitch(requestParameters);\n }\n\n /**\n * Get API Key Permission\n *\n * Weight: 1\n *\n * @summary Get API Key Permission (USER_DATA)\n * @param {GetApiKeyPermissionRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<GetApiKeyPermissionResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/account/api-key-permission Binance API Documentation}\n */\n getApiKeyPermission(\n requestParameters: GetApiKeyPermissionRequest = {}\n ): Promise<RestApiResponse<GetApiKeyPermissionResponse>> {\n return this.accountApi.getApiKeyPermission(requestParameters);\n }\n\n /**\n * Fetch details of assets supported on Binance.\n *\n *\n * Please get network and other deposit or withdraw details from ``GET /sapi/v1/capital/config/getall``.\n *\n * Weight: 1\n *\n * @summary Asset Detail (USER_DATA)\n * @param {AssetDetailRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<AssetDetailResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/Asset-Detail Binance API Documentation}\n */\n assetDetail(\n requestParameters: AssetDetailRequest = {}\n ): Promise<RestApiResponse<AssetDetailResponse>> {\n return this.assetApi.assetDetail(requestParameters);\n }\n\n /**\n * Query asset dividend record.\n *\n *\n * There cannot be more than 180 days between parameter `startTime` and `endTime`.\n *\n * Weight: 10\n *\n * @summary Asset Dividend Record (USER_DATA)\n * @param {AssetDividendRecordRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<AssetDividendRecordResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/assets-divided-record Binance API Documentation}\n */\n assetDividendRecord(\n requestParameters: AssetDividendRecordRequest = {}\n ): Promise<RestApiResponse<AssetDividendRecordResponse>> {\n return this.assetApi.assetDividendRecord(requestParameters);\n }\n\n /**\n * Convert dust assets\n *\n * Weight: 10\n *\n * @summary Dust Convert (USER_DATA)\n * @param {DustConvertRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DustConvertResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Convert Binance API Documentation}\n */\n dustConvert(\n requestParameters: DustConvertRequest\n ): Promise<RestApiResponse<DustConvertResponse>> {\n return this.assetApi.dustConvert(requestParameters);\n }\n\n /**\n * Query dust convertible assets\n *\n * Weight: 1\n *\n * @summary Dust Convertible Assets (USER_DATA)\n * @param {DustConvertibleAssetsRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DustConvertibleAssetsResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Convertible-Assets Binance API Documentation}\n */\n dustConvertibleAssets(\n requestParameters: DustConvertibleAssetsRequest\n ): Promise<RestApiResponse<DustConvertibleAssetsResponse>> {\n return this.assetApi.dustConvertibleAssets(requestParameters);\n }\n\n /**\n * Convert dust assets to BNB.\n *\n * You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.\n *\n * Weight: 10\n *\n * @summary Dust Transfer (USER_DATA)\n * @param {DustTransferRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DustTransferResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/Dust-Transfer Binance API Documentation}\n */\n dustTransfer(\n requestParameters: DustTransferRequest\n ): Promise<RestApiResponse<DustTransferResponse>> {\n return this.assetApi.dustTransfer(requestParameters);\n }\n\n /**\n * Dustlog\n *\n * Only return last 100 records\n * Only return records after 2020/12/01\n *\n * Weight: 1\n *\n * @summary DustLog(USER_DATA)\n * @param {DustlogRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DustlogResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/dust-log Binance API Documentation}\n */\n dustlog(requestParameters: DustlogRequest = {}): Promise<RestApiResponse<DustlogResponse>> {\n return this.assetApi.dustlog(requestParameters);\n }\n\n /**\n * Query Funding Wallet\n *\n *\n * Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token\n *\n * Weight: 1\n *\n * @summary Funding Wallet (USER_DATA)\n * @param {FundingWalletRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<FundingWalletResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/Funding-Wallet Binance API Documentation}\n */\n fundingWallet(\n requestParameters: FundingWalletRequest = {}\n ): Promise<RestApiResponse<FundingWalletResponse>> {\n return this.assetApi.fundingWallet(requestParameters);\n }\n\n /**\n * Get Assets That Can Be Converted Into BNB\n *\n * Weight: 1\n *\n * @summary Get Assets That Can Be Converted Into BNB (USER_DATA)\n * @param {GetAssetsThatCanBeConvertedIntoBnbRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<GetAssetsThatCanBeConvertedIntoBnbResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/assets-can-convert-bnb Binance API Documentation}\n */\n getAssetsThatCanBeConvertedIntoBnb(\n requestParameters: GetAssetsThatCanBeConvertedIntoBnbRequest = {}\n ): Promise<RestApiResponse<GetAssetsThatCanBeConvertedIntoBnbResponse>> {\n return this.assetApi.getAssetsThatCanBeConvertedIntoBnb(requestParameters);\n }\n\n /**\n * The query of Cloud-Mining payment and refund history\n *\n * Just return the SUCCESS records of payment and refund.\n * For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS.\n *\n * Weight: 600\n *\n * @summary Get Cloud-Mining payment and refund history (USER_DATA)\n * @param {GetCloudMiningPaymentAndRefundHistoryRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<GetCloudMiningPaymentAndRefundHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/cloud-mining-payment-and-refund-history Binance API Documentation}\n */\n getCloudMiningPaymentAndRefundHistory(\n requestParameters: GetCloudMiningPaymentAndRefundHistoryRequest\n ): Promise<RestApiResponse<GetCloudMiningPaymentAndRefundHistoryResponse>> {\n return this.assetApi.getCloudMiningPaymentAndRefundHistory(requestParameters);\n }\n\n /**\n * Get the list of symbols that are scheduled to be opened for trading in the market.\n *\n * Weight: 100\n *\n * @summary Get Open Symbol List (MARKET_DATA)\n *\n * @returns {Promise<RestApiResponse<GetOpenSymbolListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/open-symbol-list Binance API Documentation}\n */\n getOpenSymbolList(): Promise<RestApiResponse<GetOpenSymbolListResponse>> {\n return this.assetApi.getOpenSymbolList();\n }\n\n /**\n * Query User Delegation History\n *\n * Weight: 60\n *\n * @summary Query User Delegation History(For Master Account)(USER_DATA)\n * @param {QueryUserDelegationHistoryRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<QueryUserDelegationHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/query-user-delegation Binance API Documentation}\n */\n queryUserDelegationHistory(\n requestParameters: QueryUserDelegationHistoryRequest\n ): Promise<RestApiResponse<QueryUserDelegationHistoryResponse>> {\n return this.assetApi.queryUserDelegationHistory(requestParameters);\n }\n\n /**\n * Query User Universal Transfer History\n *\n *\n * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * Support query within the last 6 months only\n * If `startTime`and `endTime` not sent, return records of the last 7 days by default\n *\n * Weight: 1\n *\n * @summary Query User Universal Transfer History(USER_DATA)\n * @param {QueryUserUniversalTransferHistoryRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<QueryUserUniversalTransferHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/query-user-universal-transfer Binance API Documentation}\n */\n queryUserUniversalTransferHistory(\n requestParameters: QueryUserUniversalTransferHistoryRequest\n ): Promise<RestApiResponse<QueryUserUniversalTransferHistoryResponse>> {\n return this.assetApi.queryUserUniversalTransferHistory(requestParameters);\n }\n\n /**\n * Query User Wallet Balance\n *\n * Weight: 60\n *\n * @summary Query User Wallet Balance (USER_DATA)\n * @param {QueryUserWalletBalanceRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<QueryUserWalletBalanceResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/Query-User-Wallet-Balance Binance API Documentation}\n */\n queryUserWalletBalance(\n requestParameters: QueryUserWalletBalanceRequest = {}\n ): Promise<RestApiResponse<QueryUserWalletBalanceResponse>> {\n return this.assetApi.queryUserWalletBalance(requestParameters);\n }\n\n /**\n * Toggle BNB Burn On Spot Trade And Margin Interest\n *\n * \"spotBNBBurn\" and \"interestBNBBurn\" should be sent at least one.\n *\n * Weight: 1(IP)\n *\n * @summary Toggle BNB Burn On Spot Trade And Margin Interest (USER_DATA)\n * @param {ToggleBnbBurnOnSpotTradeAndMarginInterestRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/Toggle-BNB-Burn-On-Spot-Trade-And-Margin-Interest Binance API Documentation}\n */\n toggleBnbBurnOnSpotTradeAndMarginInterest(\n requestParameters: ToggleBnbBurnOnSpotTradeAndMarginInterestRequest = {}\n ): Promise<RestApiResponse<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>> {\n return this.assetApi.toggleBnbBurnOnSpotTradeAndMarginInterest(requestParameters);\n }\n\n /**\n * Fetch trade fee\n *\n * Weight: 1\n *\n * @summary Trade Fee (USER_DATA)\n * @param {TradeFeeRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<TradeFeeResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/Trade-Fee Binance API Documentation}\n */\n tradeFee(requestParameters: TradeFeeRequest = {}): Promise<RestApiResponse<TradeFeeResponse>> {\n return this.assetApi.tradeFee(requestParameters);\n }\n\n /**\n * Get user assets, just for positive data.\n *\n * If asset is set, then return this asset, otherwise return all assets positive.\n * If needBtcValuation is set, then return btcValudation.\n *\n * Weight: 5\n *\n * @summary User Asset (USER_DATA)\n * @param {UserAssetRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<UserAssetResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/user-assets Binance API Documentation}\n */\n userAsset(\n requestParameters: UserAssetRequest = {}\n ): Promise<RestApiResponse<UserAssetResponse>> {\n return this.assetApi.userAsset(requestParameters);\n }\n\n /**\n * user universal transfer\n *\n * `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * ENUM of transfer types:\n * MAIN_UMFUTURE Spot account transfer to USDⓈ-M Futures account\n * MAIN_CMFUTURE Spot account transfer to COIN-M Futures account\n * MAIN_MARGIN Spot account transfer to Margin(cross)account\n * UMFUTURE_MAIN USDⓈ-M Futures account transfer to Spot account\n * UMFUTURE_MARGIN USDⓈ-M Futures account transfer to Margin(cross)account\n * CMFUTURE_MAIN COIN-M Futures account transfer to Spot account\n * CMFUTURE_MARGIN COIN-M Futures account transfer to Margin(cross) account\n * MARGIN_MAIN Margin(cross)account transfer to Spot account\n * MARGIN_UMFUTURE Margin(cross)account transfer to USDⓈ-M Futures\n * MARGIN_CMFUTURE Margin(cross)account transfer to COIN-M Futures\n * ISOLATEDMARGIN_MARGIN Isolated margin account transfer to Margin(cross) account\n * MARGIN_ISOLATEDMARGIN Margin(cross) account transfer to Isolated margin account\n * ISOLATEDMARGIN_ISOLATEDMARGIN Isolated margin account transfer to Isolated margin account\n * MAIN_FUNDING Spot account transfer to Funding account\n * FUNDING_MAIN Funding account transfer to Spot account\n * FUNDING_UMFUTURE Funding account transfer to UMFUTURE account\n * UMFUTURE_FUNDING UMFUTURE account transfer to Funding account\n * MARGIN_FUNDING MARGIN account transfer to Funding account\n * FUNDING_MARGIN Funding account transfer to Margin account\n * FUNDING_CMFUTURE Funding account transfer to CMFUTURE account\n * CMFUTURE_FUNDING CMFUTURE account transfer to Funding account\n * MAIN_OPTION Spot account transfer to Options account\n * OPTION_MAIN Options account transfer to Spot account\n * UMFUTURE_OPTION USDⓈ-M Futures account transfer to Options account\n * OPTION_UMFUTURE Options account transfer to USDⓈ-M Futures account\n * MARGIN_OPTION Margin(cross)account transfer to Options account\n * OPTION_MARGIN Options account transfer to Margin(cross)account\n * FUNDING_OPTION Funding account transfer to Options account\n * OPTION_FUNDING Options account transfer to Funding account\n * MAIN_PORTFOLIO_MARGIN Spot account transfer to Portfolio Margin account\n * PORTFOLIO_MARGIN_MAIN Portfolio Margin account transfer to Spot account\n *\n * Weight: 900\n *\n * @summary User Universal Transfer (USER_DATA)\n * @param {UserUniversalTransferRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<UserUniversalTransferResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/asset/User-Universal-Transfer Binance API Documentation}\n */\n userUniversalTransfer(\n requestParameters: UserUniversalTransferRequest\n ): Promise<RestApiResponse<UserUniversalTransferResponse>> {\n return this.assetApi.userUniversalTransfer(requestParameters);\n }\n\n /**\n * Get information of coins (available for deposit and withdraw) for user.\n *\n * Weight: 10\n *\n * @summary All Coins\\' Information (USER_DATA)\n * @param {AllCoinsInformationRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<AllCoinsInformationResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/capital/all-coins-info Binance API Documentation}\n */\n allCoinsInformation(\n requestParameters: AllCoinsInformationRequest = {}\n ): Promise<RestApiResponse<AllCoinsInformationResponse>> {\n return this.capitalApi.allCoinsInformation(requestParameters);\n }\n\n /**\n * Fetch deposit address with network.\n *\n * If `network` is not send, return with default network of the coin.\n * You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * `amount` needs to be sent if using LIGHTNING network\n *\n * Weight: 10\n *\n * @summary Deposit Address(supporting network) (USER_DATA)\n * @param {DepositAddressRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DepositAddressResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/capital/deposite-address Binance API Documentation}\n */\n depositAddress(\n requestParameters: DepositAddressRequest\n ): Promise<RestApiResponse<DepositAddressResponse>> {\n return this.capitalApi.depositAddress(requestParameters);\n }\n\n /**\n * Fetch deposit history.\n *\n *\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must be less than 90 days.\n *\n * Weight: 1\n *\n * @summary Deposit History (supporting network) (USER_DATA)\n * @param {DepositHistoryRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DepositHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/capital/deposite-history Binance API Documentation}\n */\n depositHistory(\n requestParameters: DepositHistoryRequest = {}\n ): Promise<RestApiResponse<DepositHistoryResponse>> {\n return this.capitalApi.depositHistory(requestParameters);\n }\n\n /**\n * Fetch deposit address list with network.\n *\n *\n * If network is not send, return with default network of the coin.\n * You can get network and isDefault in networkList in the response of `Get /sapi/v1/capital/config/getall`.\n *\n * Weight: 10\n *\n * @summary Fetch deposit address list with network(USER_DATA)\n * @param {FetchDepositAddressListWithNetworkRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<FetchDepositAddressListWithNetworkResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-deposit-address-list-with-network Binance API Documentation}\n */\n fetchDepositAddressListWithNetwork(\n requestParameters: FetchDepositAddressListWithNetworkRequest\n ): Promise<RestApiResponse<FetchDepositAddressListWithNetworkResponse>> {\n return this.capitalApi.fetchDepositAddressListWithNetwork(requestParameters);\n }\n\n /**\n * Fetch withdraw address list\n *\n * Weight: 10\n *\n * @summary Fetch withdraw address list (USER_DATA)\n *\n * @returns {Promise<RestApiResponse<FetchWithdrawAddressListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/capital/fetch-withdraw-address Binance API Documentation}\n */\n fetchWithdrawAddressList(): Promise<RestApiResponse<FetchWithdrawAddressListResponse>> {\n return this.capitalApi.fetchWithdrawAddressList();\n }\n\n /**\n * Fetch withdraw quota\n *\n * Weight: 10\n *\n * @summary Fetch withdraw quota (USER_DATA)\n *\n * @returns {Promise<RestApiResponse<FetchWithdrawQuotaResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/capital/Fetch-withdraw-quota Binance API Documentation}\n */\n fetchWithdrawQuota(): Promise<RestApiResponse<FetchWithdrawQuotaResponse>> {\n return this.capitalApi.fetchWithdrawQuota();\n }\n\n /**\n * Apply deposit credit for expired address (One click arrival)\n *\n * Params need to be in the POST body\n *\n * Weight: 1\n *\n * @summary One click arrival deposit apply (for expired address deposit) (USER_DATA)\n * @param {OneClickArrivalDepositApplyRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<OneClickArrivalDepositApplyResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/capital/one-click-arrival-deposite-apply Binance API Documentation}\n */\n oneClickArrivalDepositApply(\n requestParameters: OneClickArrivalDepositApplyRequest = {}\n ): Promise<RestApiResponse<OneClickArrivalDepositApplyResponse>> {\n return this.capitalApi.oneClickArrivalDepositApply(requestParameters);\n }\n\n /**\n * Submit a withdraw request.\n *\n *\n * If `network` not send, return with default network of the coin.\n * You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * 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.\n * 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`:\n * If `withdrawTag` = `true` → memo/tag is required.\n * If `withdrawTag` = `false` → memo/tag is not supported; omit `addressTag`.\n *\n * Weight: 900\n *\n * @summary Withdraw(USER_DATA)\n * @param {WithdrawRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<WithdrawResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/capital/Withdraw Binance API Documentation}\n */\n withdraw(requestParameters: WithdrawRequest): Promise<RestApiResponse<WithdrawResponse>> {\n return this.capitalApi.withdraw(requestParameters);\n }\n\n /**\n * Fetch withdraw history.\n *\n * `network` may not be in the response for old withdraw.\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n * If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days.\n * If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default.\n * Maximum support `idList` number is 45.\n *\n * Weight: 18000\n * Request limit: 10 requests per second\n *\n * @summary Withdraw History (supporting network) (USER_DATA)\n * @param {WithdrawHistoryRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<WithdrawHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/capital/Withdraw-History Binance API Documentation}\n */\n withdrawHistory(\n requestParameters: WithdrawHistoryRequest = {}\n ): Promise<RestApiResponse<WithdrawHistoryResponse>> {\n return this.capitalApi.withdrawHistory(requestParameters);\n }\n\n /**\n * Get symbols delist schedule for spot\n *\n * Weight: 100\n *\n * @summary Get symbols delist schedule for spot (MARKET_DATA)\n * @param {GetSymbolsDelistScheduleForSpotRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<GetSymbolsDelistScheduleForSpotResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/others/delist-schedule Binance API Documentation}\n */\n getSymbolsDelistScheduleForSpot(\n requestParameters: GetSymbolsDelistScheduleForSpotRequest = {}\n ): Promise<RestApiResponse<GetSymbolsDelistScheduleForSpotResponse>> {\n return this.othersApi.getSymbolsDelistScheduleForSpot(requestParameters);\n }\n\n /**\n * Fetch system status.\n *\n * Weight: 1\n *\n * @summary System Status (System)\n *\n * @returns {Promise<RestApiResponse<SystemStatusResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/others/System-Status Binance API Documentation}\n */\n systemStatus(): Promise<RestApiResponse<SystemStatusResponse>> {\n return this.othersApi.systemStatus();\n }\n\n /**\n * Submit a withdrawal request for brokers of local entities that required travel rule.\n *\n * If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * You can get `network` in `networkList` of a coin in the response\n * Questionnaire is different for each local entity, please refer to\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA)\n * @param {BrokerWithdrawRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<BrokerWithdrawResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Broker-Withdraw Binance API Documentation}\n */\n brokerWithdraw(\n requestParameters: BrokerWithdrawRequest\n ): Promise<RestApiResponse<BrokerWithdrawResponse>> {\n return this.travelRuleApi.brokerWithdraw(requestParameters);\n }\n\n /**\n * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current API key.\n *\n * Weight: 1\n *\n * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/questionnaire-requirements Binance API Documentation}\n */\n checkQuestionnaireRequirements(\n requestParameters: CheckQuestionnaireRequirementsRequest = {}\n ): Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>> {\n return this.travelRuleApi.checkQuestionnaireRequirements(requestParameters);\n }\n\n /**\n * Fetch deposit history for local entities that required travel rule.\n *\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must\n * Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * Weight: 1\n *\n * @summary Deposit History (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {DepositHistoryTravelRuleRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DepositHistoryTravelRuleResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History Binance API Documentation}\n */\n depositHistoryTravelRule(\n requestParameters: DepositHistoryTravelRuleRequest = {}\n ): Promise<RestApiResponse<DepositHistoryTravelRuleResponse>> {\n return this.travelRuleApi.depositHistoryTravelRule(requestParameters);\n }\n\n /**\n * Fetch deposit history for local entities that with required travel rule information.\n *\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both ``startTime`` and ``endTime`` are sent, time between ``startTime`` and ``endTime`` must\n * Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * Weight: 1\n *\n * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {DepositHistoryV2Request} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DepositHistoryV2Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Deposit-History-V2 Binance API Documentation}\n */\n depositHistoryV2(\n requestParameters: DepositHistoryV2Request = {}\n ): Promise<RestApiResponse<DepositHistoryV2Response>> {\n return this.travelRuleApi.depositHistoryV2(requestParameters);\n }\n\n /**\n * Fetch address verification list for user to check on status and other details for the addresses stored in Address Book.\n *\n * Weight: 1\n *\n * @summary Fetch address verification list (USER_DATA)\n * @param {FetchAddressVerificationListRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<FetchAddressVerificationListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/address-verification-list Binance API Documentation}\n */\n fetchAddressVerificationList(\n requestParameters: FetchAddressVerificationListRequest = {}\n ): Promise<RestApiResponse<FetchAddressVerificationListResponse>> {\n return this.travelRuleApi.fetchAddressVerificationList(requestParameters);\n }\n\n /**\n * Query the active country list for travel rule questionnaires. Currently, only supports AU entity.\n *\n * Weight: 1\n *\n * @summary Get Country List (USER_DATA)\n *\n * @returns {Promise<RestApiResponse<GetCountryListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/country-list Binance API Documentation}\n */\n getCountryList(): Promise<RestApiResponse<GetCountryListResponse>> {\n return this.travelRuleApi.getCountryList();\n }\n\n /**\n * Query the active region/city list for a given country. Currently, only supports AU entity.\n *\n * Weight: 1\n *\n * @summary Get Region List (USER_DATA)\n * @param {GetRegionListRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<GetRegionListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/region-list Binance API Documentation}\n */\n getRegionList(\n requestParameters: GetRegionListRequest\n ): Promise<RestApiResponse<GetRegionListResponse>> {\n return this.travelRuleApi.getRegionList(requestParameters);\n }\n\n /**\n * Submit questionnaire for brokers of local entities that require travel rule.\n * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Questionnaire is different for each local entity, please refer\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info Binance API Documentation}\n */\n submitDepositQuestionnaire(\n requestParameters: SubmitDepositQuestionnaireRequest\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireResponse>> {\n return this.travelRuleApi.submitDepositQuestionnaire(requestParameters);\n }\n\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Questionnaire is different for each local entity, please refer\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireTravelRuleRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info Binance API Documentation}\n */\n submitDepositQuestionnaireTravelRule(\n requestParameters: SubmitDepositQuestionnaireTravelRuleRequest\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>> {\n return this.travelRuleApi.submitDepositQuestionnaireTravelRule(requestParameters);\n }\n\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Questionnaire is different for each local entity, please refer\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireV2Request} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireV2Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/deposit-provide-info-v2 Binance API Documentation}\n */\n submitDepositQuestionnaireV2(\n requestParameters: SubmitDepositQuestionnaireV2Request\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireV2Response>> {\n return this.travelRuleApi.submitDepositQuestionnaireV2(requestParameters);\n }\n\n /**\n * Fetch the VASP list for local entities.\n *\n * Weight: 1\n *\n * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {VaspListRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<VaspListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/onboarded-vasp-list Binance API Documentation}\n */\n vaspList(requestParameters: VaspListRequest = {}): Promise<RestApiResponse<VaspListResponse>> {\n return this.travelRuleApi.vaspList(requestParameters);\n }\n\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * `network` may not be in the response for old withdraw.\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less\n *\n * Weight: 1\n *\n * @summary Withdraw History (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {WithdrawHistoryV1Request} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<WithdrawHistoryV1Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw-History Binance API Documentation}\n */\n withdrawHistoryV1(\n requestParameters: WithdrawHistoryV1Request = {}\n ): Promise<RestApiResponse<WithdrawHistoryV1Response>> {\n return this.travelRuleApi.withdrawHistoryV1(requestParameters);\n }\n\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * `network` may not be in the response for old withdraw.\n * Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.\n * Please notice the default `startTime` and `endTime` to make sure that time interval is within\n * If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less\n * If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days.\n * If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default.\n * Maximum support trId,txId number is 45.\n * WithdrawOrderId only support 1.\n * If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.\n *\n * Weight: 1\n *\n * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {WithdrawHistoryV2Request} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<WithdrawHistoryV2Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw-History-V2 Binance API Documentation}\n */\n withdrawHistoryV2(\n requestParameters: WithdrawHistoryV2Request = {}\n ): Promise<RestApiResponse<WithdrawHistoryV2Response>> {\n return this.travelRuleApi.withdrawHistoryV2(requestParameters);\n }\n\n /**\n * Submit a withdrawal request for local entities that required travel rule.\n *\n * If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * You can get `network` and `isDefault` in `networkList` of a coin in the response\n * Questionnaire is different for each local entity, please refer to\n * If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`,\n *\n * Weight: 600\n *\n * @summary Withdraw (for local entities that require travel rule) (USER_DATA)\n * @param {WithdrawTravelRuleRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<WithdrawTravelRuleResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/docs/wallet/travel-rule/Withdraw Binance API Documentation}\n */\n withdrawTravelRule(\n requestParameters: WithdrawTravelRuleRequest\n ): Promise<RestApiResponse<WithdrawTravelRuleResponse>> {\n return this.travelRuleApi.withdrawTravelRule(requestParameters);\n }\n}\n","/**\n * Binance Wallet REST API\n *\n * OpenAPI Specification for the Binance Wallet REST API\n *\n * The version of the OpenAPI document: 1.0.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nexport * from './types';\nexport * from './modules';\nexport * from './rest-api';\n","import { buildUserAgent, ConfigurationRestAPI, WALLET_REST_API_PROD_URL } from '@binance/common';\nimport { name, version } from '../package.json';\nimport { RestAPI } from './rest-api';\n\nexport interface ConfigurationWallet {\n configurationRestAPI?: ConfigurationRestAPI;\n}\n\nexport class Wallet {\n public restAPI!: RestAPI;\n\n constructor(config: ConfigurationWallet) {\n const userAgent = buildUserAgent(name, version);\n\n if (config?.configurationRestAPI) {\n const configRestAPI = new ConfigurationRestAPI(\n config.configurationRestAPI\n ) as ConfigurationRestAPI & {\n baseOptions: Record<string, unknown>;\n };\n configRestAPI.basePath = configRestAPI.basePath || WALLET_REST_API_PROD_URL;\n configRestAPI.baseOptions = configRestAPI.baseOptions || {};\n configRestAPI.baseOptions.headers = {\n ...(configRestAPI.baseOptions.headers || {}),\n 'User-Agent': userAgent,\n };\n this.restAPI = new RestAPI(configRestAPI);\n }\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;WACY;cAEG;;;;;;;;;;;;;;;;;;;AC6Bf,MAAM,8BAA8B,SAAU,eAAqC;AAC/E,QAAO;EAWH,yBAAyB,OAAO,eAAuD;GACnF,MAAMA,yBAAkD,EAAE;GAC1D,MAAMC,wBAAiD,EAAE;GACzD,MAAMC,0BAAmD,EAAE;AAE3D,OAAI,eAAe,UAAa,eAAe,KAC3C,wBAAuB,gBAAgB;GAG3C,IAAIC;AACJ,OAAI,cAAc,cAAe,aAAY,cAAc;AAE3D,UAAO;IACH,UAAU;IACV,QAAQ;IACR,aAAa;IACb,YAAY;IACZ,cAAc;IACd,UAAU;IACb;;EAYL,aAAa,OAAO,eAAuD;GACvE,MAAMH,yBAAkD,EAAE;GAC1D,MAAMC,wBAAiD,EAAE;GACzD,MAAMC,0BAAmD,EAAE;AAE3D,OAAI,eAAe,UAAa,eAAe,KAC3C,wBAAuB,gBAAgB;GAG3C,IAAIC;AACJ,OAAI,cAAc,cAAe,aAAY,cAAc;AAE3D,UAAO;IACH,UAAU;IACV,QAAQ;IACR,aAAa;IACb,YAAY;IACZ,cAAc;IACd,UAAU;IACb;;EAYL,eAAe,OAAO,eAAuD;GACzE,MAAMH,yBAAkD,EAAE;GAC1D,MAAMC,wBAAiD,EAAE;GACzD,MAAMC,0BAAmD,EAAE;AAE3D,OAAI,eAAe,U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ACI,mBACoD;AACpD,SAAO,KAAK,cAAc,mBAAmB,kBAAkB;;;;;;;;;;;;;;;;;AExqCvE,IAAa,SAAb,MAAoB;CAGhB,YAAY,QAA6B;EACrC,MAAM,iDAA2B,MAAM,QAAQ;AAE/C,MAAI,QAAQ,sBAAsB;GAC9B,MAAM,gBAAgB,IAAIE,sCACtB,OAAO,qBACV;AAGD,iBAAc,WAAW,cAAc,YAAYC;AACnD,iBAAc,cAAc,cAAc,eAAe,EAAE;AAC3D,iBAAc,YAAY,UAAU;IAChC,GAAI,cAAc,YAAY,WAAW,EAAE;IAC3C,cAAc;IACjB;AACD,QAAK,UAAU,IAAI,QAAQ,cAAc"}
1
+ {"version":3,"file":"index.js","names":["localVarQueryParameter: Record<string, unknown>","localVarBodyParameter: Record<string, unknown>","localVarHeaderParameter: Record<string, unknown>","_timeUnit: TimeUnit | undefined","localVarQueryParameter: Record<string, unknown>","localVarBodyParameter: Record<string, unknown>","localVarHeaderParameter: Record<string, unknown>","_timeUnit: TimeUnit | undefined","localVarQueryParameter: Record<string, unknown>","localVarBodyParameter: Record<string, unknown>","localVarHeaderParameter: Record<string, unknown>","_timeUnit: TimeUnit | undefined","name","localVarQueryParameter: Record<string, unknown>","localVarBodyParameter: Record<string, unknown>","localVarHeaderParameter: Record<string, unknown>","_timeUnit: TimeUnit | undefined","localVarQueryParameter: Record<string, unknown>","localVarBodyParameter: Record<string, unknown>","localVarHeaderParameter: Record<string, unknown>","_timeUnit: TimeUnit | undefined","name","ConfigurationRestAPI","WALLET_REST_API_PROD_URL"],"sources":["../package.json","../src/rest-api/modules/account-api.ts","../src/rest-api/modules/asset-api.ts","../src/rest-api/modules/capital-api.ts","../src/rest-api/modules/others-api.ts","../src/rest-api/modules/travel-rule-api.ts","../src/rest-api/rest-api.ts","../src/rest-api/index.ts","../src/wallet.ts"],"sourcesContent":["{\n \"name\": \"@binance/wallet\",\n \"description\": \"Official Binance Wallet Connector - A lightweight library that provides a convenient interface to Binance's Wallet REST API.\",\n \"version\": \"22.0.1\",\n \"main\": \"./dist/index.js\",\n \"module\": \"./dist/index.mjs\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"require\": \"./dist/index.js\",\n \"import\": \"./dist/index.mjs\"\n }\n },\n \"scripts\": {\n \"prepublishOnly\": \"npm run build\",\n \"build\": \"npm run clean && tsdown\",\n \"typecheck\": \"tsc --noEmit\",\n \"clean\": \"rm -rf dist\",\n \"test\": \"npx jest --maxWorkers=4 --bail\",\n \"test:watch\": \"npx jest --watch\",\n \"format\": \"npx prettier --ignore-path .prettierignore --write .\",\n \"lint\": \"npx eslint '**/*.ts' --fix\"\n },\n \"keywords\": [\n \"Binance\",\n \"API\",\n \"Wallet\",\n \"Connector\",\n \"REST\",\n \"Trading\"\n ],\n \"author\": \"Binance\",\n \"license\": \"MIT\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/binance/binance-connector-js.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/binance/binance-connector-js/issues\"\n },\n \"homepage\": \"https://github.com/binance/binance-connector-js#readme\",\n \"files\": [\n \"dist\"\n ],\n \"devDependencies\": {\n \"@types/jest\": \"^29.5.4\",\n \"@types/node\": \"^20.17.24\",\n \"eslint\": \"8.57.0\",\n \"jest\": \"^29.6.4\",\n \"json-with-bigint\": \"^3.5.8\",\n \"prettier\": \"^3.3.3\",\n \"ts-jest\": \"^29.1.1\",\n \"ts-node\": \"^10.9.1\",\n \"tsdown\": \"^0.16.5\",\n \"typescript\": \"^5.7.2\",\n \"typescript-eslint\": \"^8.24.0\"\n },\n \"dependencies\": {\n \"@binance/common\": \"2.4.5\",\n \"axios\": \"^1.7.4\"\n }\n}\n","/**\n * Wallet REST API\n *\n * Query balances, manage assets, and perform wallet operations via the Binance Wallet API.\n *\n * The version of the OpenAPI document: 1.0.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nimport {\n ConfigurationRestAPI,\n TimeUnit,\n RestApiResponse,\n assertParamExists,\n sendRequest,\n type RequestArgs,\n} from '@binance/common';\nimport type {\n AccountApiTradingStatusResponse,\n AccountInfoResponse,\n AccountStatusResponse,\n DailyAccountSnapshotResponse,\n GetApiKeyPermissionResponse,\n} from '../types';\n\n/**\n * AccountApi - axios parameter creator\n */\nconst AccountApiAxiosParamCreator = function (configuration: ConfigurationRestAPI) {\n return {\n /**\n * Fetch account api trading status detail.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Account API Trading Status (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n accountApiTradingStatus: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/account/apiTradingStatus',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch account info detail.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Account info (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n accountInfo: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/account/info',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch account status detail.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Account Status (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n accountStatus: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/account/status',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Daily account snapshot\n *\n * Weight(IP): 2400\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - The query time period must be less then 30 days\n * - Support query within the last one month only\n * - If startTimeand endTime not sent, return records of the last 7 days by default\n *\n * @summary Daily Account Snapshot (USER_DATA)\n * @param {DailyAccountSnapshotTypeEnum} type\n * @param {number | bigint} [startTime]\n * @param {number | bigint} [endTime]\n * @param {number | bigint} [limit]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n dailyAccountSnapshot: async (\n type: DailyAccountSnapshotTypeEnum,\n startTime?: number | bigint,\n endTime?: number | bigint,\n limit?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'type' is not null or undefined\n assertParamExists('dailyAccountSnapshot', 'type', type);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (type !== undefined && type !== null) {\n localVarQueryParameter['type'] = type;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/accountSnapshot',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Disable Fast Withdraw Switch\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - This request will disable fastwithdraw switch under your account. You need to enable \"trade\" option for the api key which requests this endpoint.\n *\n * @summary Disable Fast Withdraw Switch (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n disableFastWithdrawSwitch: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/account/disableFastWithdrawSwitch',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Enable Fast Withdraw Switch (USER_DATA)\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - This request will enable fastwithdraw switch under your account. You need to enable \"trade\" option for the api key which requests this endpoint.\n * - 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.\n *\n * @summary Enable Fast Withdraw Switch (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n enableFastWithdrawSwitch: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/account/enableFastWithdrawSwitch',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Get API Key Permission\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get API Key Permission (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n getApiKeyPermission: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/account/apiRestrictions',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n };\n};\n\n/**\n * AccountApi - interface\n * @interface AccountApi\n */\nexport interface AccountApiInterface {\n /**\n * Fetch account api trading status detail.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Account API Trading Status (USER_DATA)\n * @param {AccountApiTradingStatusRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApiInterface\n */\n accountApiTradingStatus(\n requestParameters?: AccountApiTradingStatusRequest\n ): Promise<RestApiResponse<AccountApiTradingStatusResponse>>;\n /**\n * Fetch account info detail.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Account info (USER_DATA)\n * @param {AccountInfoRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApiInterface\n */\n accountInfo(\n requestParameters?: AccountInfoRequest\n ): Promise<RestApiResponse<AccountInfoResponse>>;\n /**\n * Fetch account status detail.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Account Status (USER_DATA)\n * @param {AccountStatusRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApiInterface\n */\n accountStatus(\n requestParameters?: AccountStatusRequest\n ): Promise<RestApiResponse<AccountStatusResponse>>;\n /**\n * Daily account snapshot\n *\n * Weight(IP): 2400\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - The query time period must be less then 30 days\n * - Support query within the last one month only\n * - If startTimeand endTime not sent, return records of the last 7 days by default\n *\n * @summary Daily Account Snapshot (USER_DATA)\n * @param {DailyAccountSnapshotRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApiInterface\n */\n dailyAccountSnapshot(\n requestParameters: DailyAccountSnapshotRequest\n ): Promise<RestApiResponse<DailyAccountSnapshotResponse>>;\n /**\n * Disable Fast Withdraw Switch\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - This request will disable fastwithdraw switch under your account. You need to enable \"trade\" option for the api key which requests this endpoint.\n *\n * @summary Disable Fast Withdraw Switch (USER_DATA)\n * @param {DisableFastWithdrawSwitchRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApiInterface\n */\n disableFastWithdrawSwitch(\n requestParameters?: DisableFastWithdrawSwitchRequest\n ): Promise<RestApiResponse<void>>;\n /**\n * Enable Fast Withdraw Switch (USER_DATA)\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - This request will enable fastwithdraw switch under your account. You need to enable \"trade\" option for the api key which requests this endpoint.\n * - 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.\n *\n * @summary Enable Fast Withdraw Switch (USER_DATA)\n * @param {EnableFastWithdrawSwitchRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApiInterface\n */\n enableFastWithdrawSwitch(\n requestParameters?: EnableFastWithdrawSwitchRequest\n ): Promise<RestApiResponse<void>>;\n /**\n * Get API Key Permission\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get API Key Permission (USER_DATA)\n * @param {GetApiKeyPermissionRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApiInterface\n */\n getApiKeyPermission(\n requestParameters?: GetApiKeyPermissionRequest\n ): Promise<RestApiResponse<GetApiKeyPermissionResponse>>;\n}\n\n/**\n * Request parameters for accountApiTradingStatus operation in AccountApi.\n * @interface AccountApiTradingStatusRequest\n */\nexport interface AccountApiTradingStatusRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiAccountApiTradingStatus\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for accountInfo operation in AccountApi.\n * @interface AccountInfoRequest\n */\nexport interface AccountInfoRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiAccountInfo\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for accountStatus operation in AccountApi.\n * @interface AccountStatusRequest\n */\nexport interface AccountStatusRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiAccountStatus\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for dailyAccountSnapshot operation in AccountApi.\n * @interface DailyAccountSnapshotRequest\n */\nexport interface DailyAccountSnapshotRequest {\n /**\n *\n * @type {'SPOT' | 'MARGIN' | 'FUTURES'}\n * @memberof AccountApiDailyAccountSnapshot\n */\n readonly type: DailyAccountSnapshotTypeEnum;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiDailyAccountSnapshot\n */\n readonly startTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiDailyAccountSnapshot\n */\n readonly endTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiDailyAccountSnapshot\n */\n readonly limit?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiDailyAccountSnapshot\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for disableFastWithdrawSwitch operation in AccountApi.\n * @interface DisableFastWithdrawSwitchRequest\n */\nexport interface DisableFastWithdrawSwitchRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiDisableFastWithdrawSwitch\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for enableFastWithdrawSwitch operation in AccountApi.\n * @interface EnableFastWithdrawSwitchRequest\n */\nexport interface EnableFastWithdrawSwitchRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiEnableFastWithdrawSwitch\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for getApiKeyPermission operation in AccountApi.\n * @interface GetApiKeyPermissionRequest\n */\nexport interface GetApiKeyPermissionRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof AccountApiGetApiKeyPermission\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * AccountApi - object-oriented interface\n * @class AccountApi\n */\nexport class AccountApi implements AccountApiInterface {\n private readonly configuration: ConfigurationRestAPI;\n private localVarAxiosParamCreator;\n\n constructor(configuration: ConfigurationRestAPI) {\n this.configuration = configuration;\n this.localVarAxiosParamCreator = AccountApiAxiosParamCreator(configuration);\n }\n\n /**\n * Fetch account api trading status detail.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Account API Trading Status (USER_DATA)\n * @param {AccountApiTradingStatusRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<AccountApiTradingStatusResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#account-api-trading-status Binance API Documentation}\n */\n public async accountApiTradingStatus(\n requestParameters: AccountApiTradingStatusRequest = {}\n ): Promise<RestApiResponse<AccountApiTradingStatusResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.accountApiTradingStatus(\n requestParameters?.recvWindow\n );\n return sendRequest<AccountApiTradingStatusResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch account info detail.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Account info (USER_DATA)\n * @param {AccountInfoRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<AccountInfoResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#account-info Binance API Documentation}\n */\n public async accountInfo(\n requestParameters: AccountInfoRequest = {}\n ): Promise<RestApiResponse<AccountInfoResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.accountInfo(\n requestParameters?.recvWindow\n );\n return sendRequest<AccountInfoResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch account status detail.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Account Status (USER_DATA)\n * @param {AccountStatusRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<AccountStatusResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#account-status Binance API Documentation}\n */\n public async accountStatus(\n requestParameters: AccountStatusRequest = {}\n ): Promise<RestApiResponse<AccountStatusResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.accountStatus(\n requestParameters?.recvWindow\n );\n return sendRequest<AccountStatusResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Daily account snapshot\n *\n * Weight(IP): 2400\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - The query time period must be less then 30 days\n * - Support query within the last one month only\n * - If startTimeand endTime not sent, return records of the last 7 days by default\n *\n * @summary Daily Account Snapshot (USER_DATA)\n * @param {DailyAccountSnapshotRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DailyAccountSnapshotResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#daily-account-snapshot Binance API Documentation}\n */\n public async dailyAccountSnapshot(\n requestParameters: DailyAccountSnapshotRequest\n ): Promise<RestApiResponse<DailyAccountSnapshotResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.dailyAccountSnapshot(\n requestParameters?.type,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.limit,\n requestParameters?.recvWindow\n );\n return sendRequest<DailyAccountSnapshotResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Disable Fast Withdraw Switch\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - This request will disable fastwithdraw switch under your account. You need to enable \"trade\" option for the api key which requests this endpoint.\n *\n * @summary Disable Fast Withdraw Switch (USER_DATA)\n * @param {DisableFastWithdrawSwitchRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<void>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#disable-fast-withdraw-switch Binance API Documentation}\n */\n public async disableFastWithdrawSwitch(\n requestParameters: DisableFastWithdrawSwitchRequest = {}\n ): Promise<RestApiResponse<void>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.disableFastWithdrawSwitch(\n requestParameters?.recvWindow\n );\n return sendRequest<void>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Enable Fast Withdraw Switch (USER_DATA)\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - This request will enable fastwithdraw switch under your account. You need to enable \"trade\" option for the api key which requests this endpoint.\n * - 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.\n *\n * @summary Enable Fast Withdraw Switch (USER_DATA)\n * @param {EnableFastWithdrawSwitchRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<void>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#enable-fast-withdraw-switch Binance API Documentation}\n */\n public async enableFastWithdrawSwitch(\n requestParameters: EnableFastWithdrawSwitchRequest = {}\n ): Promise<RestApiResponse<void>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.enableFastWithdrawSwitch(\n requestParameters?.recvWindow\n );\n return sendRequest<void>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Get API Key Permission\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get API Key Permission (USER_DATA)\n * @param {GetApiKeyPermissionRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<GetApiKeyPermissionResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AccountApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#get-api-key-permission Binance API Documentation}\n */\n public async getApiKeyPermission(\n requestParameters: GetApiKeyPermissionRequest = {}\n ): Promise<RestApiResponse<GetApiKeyPermissionResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.getApiKeyPermission(\n requestParameters?.recvWindow\n );\n return sendRequest<GetApiKeyPermissionResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n}\n\nexport enum DailyAccountSnapshotTypeEnum {\n SPOT = 'SPOT',\n MARGIN = 'MARGIN',\n FUTURES = 'FUTURES',\n}\n","/**\n * Wallet REST API\n *\n * Query balances, manage assets, and perform wallet operations via the Binance Wallet API.\n *\n * The version of the OpenAPI document: 1.0.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nimport {\n ConfigurationRestAPI,\n TimeUnit,\n RestApiResponse,\n assertParamExists,\n sendRequest,\n type RequestArgs,\n} from '@binance/common';\nimport type {\n AssetDetailResponse,\n AssetDividendRecordResponse,\n DustConvertResponse,\n DustConvertibleAssetsResponse,\n DustTransferResponse,\n DustlogResponse,\n FundingWalletResponse,\n GetAssetsThatCanBeConvertedIntoBnbResponse,\n GetCloudMiningPaymentAndRefundHistoryResponse,\n GetOpenSymbolListResponse,\n QueryUserDelegationHistoryResponse,\n QueryUserUniversalTransferHistoryResponse,\n QueryUserWalletBalanceResponse,\n ToggleBnbBurnOnSpotTradeAndMarginInterestResponse,\n TradeFeeResponse,\n UserAssetResponse,\n UserUniversalTransferResponse,\n} from '../types';\n\n/**\n * AssetApi - axios parameter creator\n */\nconst AssetApiAxiosParamCreator = function (configuration: ConfigurationRestAPI) {\n return {\n /**\n * Fetch details of assets supported on Binance.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please get network and other deposit or withdraw details from `GET /sapi/v1/capital/config/getall`.\n *\n * @summary Asset Detail (USER_DATA)\n * @param {string} [asset]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n assetDetail: async (asset?: string, recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/assetDetail',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query asset dividend record.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - There cannot be more than 180 days between parameter `startTime` and `endTime`.\n *\n * @summary Asset Dividend Record (USER_DATA)\n * @param {string} [asset]\n * @param {number | bigint} [startTime]\n * @param {number | bigint} [endTime]\n * @param {number | bigint} [limit]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n assetDividendRecord: async (\n asset?: string,\n startTime?: number | bigint,\n endTime?: number | bigint,\n limit?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/assetDividend',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Convert dust assets\n *\n * Weight(UID): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Dust Convert (USER_DATA)\n * @param {string} asset\n * @param {string} [accountType] `SPOT` or `MARGIN`, default `SPOT`\n * @param {string} [clientId] A unique id for the request\n * @param {string} [targetAsset]\n * @param {string} [thirdPartyClientId]\n * @param {number} [dustQuotaAssetToTargetAssetPrice]\n *\n * @throws {RequiredError}\n */\n dustConvert: async (\n asset: string,\n accountType?: string,\n clientId?: string,\n targetAsset?: string,\n thirdPartyClientId?: string,\n dustQuotaAssetToTargetAssetPrice?: number\n ): Promise<RequestArgs> => {\n // verify required parameter 'asset' is not null or undefined\n assertParamExists('dustConvert', 'asset', asset);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (accountType !== undefined && accountType !== null) {\n localVarQueryParameter['accountType'] = accountType;\n }\n if (clientId !== undefined && clientId !== null) {\n localVarQueryParameter['clientId'] = clientId;\n }\n if (targetAsset !== undefined && targetAsset !== null) {\n localVarQueryParameter['targetAsset'] = targetAsset;\n }\n if (thirdPartyClientId !== undefined && thirdPartyClientId !== null) {\n localVarQueryParameter['thirdPartyClientId'] = thirdPartyClientId;\n }\n if (\n dustQuotaAssetToTargetAssetPrice !== undefined &&\n dustQuotaAssetToTargetAssetPrice !== null\n ) {\n localVarQueryParameter['dustQuotaAssetToTargetAssetPrice'] =\n dustQuotaAssetToTargetAssetPrice;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/dust-convert/convert',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query dust convertible assets\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Dust Convertible Assets (USER_DATA)\n * @param {string} targetAsset\n * @param {string} [accountType] `SPOT` or `MARGIN`, default `SPOT`\n * @param {number} [dustQuotaAssetToTargetAssetPrice]\n *\n * @throws {RequiredError}\n */\n dustConvertibleAssets: async (\n targetAsset: string,\n accountType?: string,\n dustQuotaAssetToTargetAssetPrice?: number\n ): Promise<RequestArgs> => {\n // verify required parameter 'targetAsset' is not null or undefined\n assertParamExists('dustConvertibleAssets', 'targetAsset', targetAsset);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (accountType !== undefined && accountType !== null) {\n localVarQueryParameter['accountType'] = accountType;\n }\n if (targetAsset !== undefined && targetAsset !== null) {\n localVarQueryParameter['targetAsset'] = targetAsset;\n }\n if (\n dustQuotaAssetToTargetAssetPrice !== undefined &&\n dustQuotaAssetToTargetAssetPrice !== null\n ) {\n localVarQueryParameter['dustQuotaAssetToTargetAssetPrice'] =\n dustQuotaAssetToTargetAssetPrice;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/dust-convert/query-convertible-assets',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Convert dust assets to BNB.\n *\n * Weight(UID): 10\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.\n *\n * @summary Dust Transfer (USER_DATA)\n * @param {string} asset The asset being converted. For example: asset=BTC,USDT\n * @param {DustTransferAccountTypeEnum} [accountType]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n dustTransfer: async (\n asset: string,\n accountType?: DustTransferAccountTypeEnum,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'asset' is not null or undefined\n assertParamExists('dustTransfer', 'asset', asset);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (accountType !== undefined && accountType !== null) {\n localVarQueryParameter['accountType'] = accountType;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/dust',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Dustlog\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Only return last 100 records\n * - Only return records after 2020/12/01\n *\n * @summary DustLog (USER_DATA)\n * @param {DustlogAccountTypeEnum} [accountType]\n * @param {number | bigint} [startTime]\n * @param {number | bigint} [endTime]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n dustlog: async (\n accountType?: DustlogAccountTypeEnum,\n startTime?: number | bigint,\n endTime?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (accountType !== undefined && accountType !== null) {\n localVarQueryParameter['accountType'] = accountType;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/dribblet',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query Funding Wallet\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token\n *\n * @summary Funding Wallet (USER_DATA)\n * @param {string} [asset]\n * @param {boolean} [needBtcValuation]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n fundingWallet: async (\n asset?: string,\n needBtcValuation?: boolean,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (needBtcValuation !== undefined && needBtcValuation !== null) {\n localVarQueryParameter['needBtcValuation'] = needBtcValuation;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/get-funding-asset',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Get Assets That Can Be Converted Into BNB\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get Assets That Can Be Converted Into BNB (USER_DATA)\n * @param {GetAssetsThatCanBeConvertedIntoBnbAccountTypeEnum} [accountType]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n getAssetsThatCanBeConvertedIntoBnb: async (\n accountType?: GetAssetsThatCanBeConvertedIntoBnbAccountTypeEnum,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (accountType !== undefined && accountType !== null) {\n localVarQueryParameter['accountType'] = accountType;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/dust-btc',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * The query of Cloud-Mining payment and refund history\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Just return the SUCCESS records of payment and refund.\n * - For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS.\n *\n * @summary Get Cloud-Mining payment and refund history (USER_DATA)\n * @param {number | bigint} startTime inclusive, unit: ms\n * @param {number | bigint} endTime exclusive, unit: ms\n * @param {number | bigint} [tranId] The transaction id\n * @param {string} [clientTranId] The unique flag\n * @param {string} [asset] If it is blank, we will query all assets\n * @param {number | bigint} [current]\n * @param {number | bigint} [size]\n *\n * @throws {RequiredError}\n */\n getCloudMiningPaymentAndRefundHistory: async (\n startTime: number | bigint,\n endTime: number | bigint,\n tranId?: number | bigint,\n clientTranId?: string,\n asset?: string,\n current?: number | bigint,\n size?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'startTime' is not null or undefined\n assertParamExists('getCloudMiningPaymentAndRefundHistory', 'startTime', startTime);\n // verify required parameter 'endTime' is not null or undefined\n assertParamExists('getCloudMiningPaymentAndRefundHistory', 'endTime', endTime);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (tranId !== undefined && tranId !== null) {\n localVarQueryParameter['tranId'] = tranId;\n }\n if (clientTranId !== undefined && clientTranId !== null) {\n localVarQueryParameter['clientTranId'] = clientTranId;\n }\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (current !== undefined && current !== null) {\n localVarQueryParameter['current'] = current;\n }\n if (size !== undefined && size !== null) {\n localVarQueryParameter['size'] = size;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/ledger-transfer/cloud-mining/queryByPage',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Get the list of symbols that are scheduled to be opened for trading in\n * the market.\n *\n * Weight(IP): 100\n *\n * Security Type: MARKET_DATA\n *\n * @summary Get Open Symbol List (MARKET_DATA)\n *\n * @throws {RequiredError}\n */\n getOpenSymbolList: async (): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/spot/open-symbol-list',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query User Delegation History\n *\n * Weight(IP): 60\n *\n * Security Type: USER_DATA\n *\n * @summary Query User Delegation History(For Master Account) (USER_DATA)\n * @param {string} email\n * @param {number | bigint} startTime\n * @param {number | bigint} endTime\n * @param {QueryUserDelegationHistoryTypeEnum} [type]\n * @param {string} [asset]\n * @param {number | bigint} [current]\n * @param {number | bigint} [size]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n queryUserDelegationHistory: async (\n email: string,\n startTime: number | bigint,\n endTime: number | bigint,\n type?: QueryUserDelegationHistoryTypeEnum,\n asset?: string,\n current?: number | bigint,\n size?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'email' is not null or undefined\n assertParamExists('queryUserDelegationHistory', 'email', email);\n // verify required parameter 'startTime' is not null or undefined\n assertParamExists('queryUserDelegationHistory', 'startTime', startTime);\n // verify required parameter 'endTime' is not null or undefined\n assertParamExists('queryUserDelegationHistory', 'endTime', endTime);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (email !== undefined && email !== null) {\n localVarQueryParameter['email'] = email;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (type !== undefined && type !== null) {\n localVarQueryParameter['type'] = type;\n }\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (current !== undefined && current !== null) {\n localVarQueryParameter['current'] = current;\n }\n if (size !== undefined && size !== null) {\n localVarQueryParameter['size'] = size;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/custody/transfer-history',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query User Universal Transfer History\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * - `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * - Support query within the last 6 months only\n * - If `startTime`and `endTime` not sent, return records of the last 7 days by default\n *\n * @summary Query User Universal Transfer History (USER_DATA)\n * @param {string} type\n * @param {number | bigint} [startTime]\n * @param {number | bigint} [endTime]\n * @param {number | bigint} [current]\n * @param {number | bigint} [size]\n * @param {QueryUserUniversalTransferHistoryFromSymbolEnum} [fromSymbol]\n * @param {QueryUserUniversalTransferHistoryToSymbolEnum} [toSymbol]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n queryUserUniversalTransferHistory: async (\n type: string,\n startTime?: number | bigint,\n endTime?: number | bigint,\n current?: number | bigint,\n size?: number | bigint,\n fromSymbol?: QueryUserUniversalTransferHistoryFromSymbolEnum,\n toSymbol?: QueryUserUniversalTransferHistoryToSymbolEnum,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'type' is not null or undefined\n assertParamExists('queryUserUniversalTransferHistory', 'type', type);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (type !== undefined && type !== null) {\n localVarQueryParameter['type'] = type;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (current !== undefined && current !== null) {\n localVarQueryParameter['current'] = current;\n }\n if (size !== undefined && size !== null) {\n localVarQueryParameter['size'] = size;\n }\n if (fromSymbol !== undefined && fromSymbol !== null) {\n localVarQueryParameter['fromSymbol'] = fromSymbol;\n }\n if (toSymbol !== undefined && toSymbol !== null) {\n localVarQueryParameter['toSymbol'] = toSymbol;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/transfer',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query User Wallet Balance\n *\n * Weight(IP): 60\n *\n * Security Type: USER_DATA\n *\n * @summary Query User Wallet Balance (USER_DATA)\n * @param {string} [quoteAsset]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n queryUserWalletBalance: async (\n quoteAsset?: string,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (quoteAsset !== undefined && quoteAsset !== null) {\n localVarQueryParameter['quoteAsset'] = quoteAsset;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/wallet/balance',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Toggle BNB Burn On Spot Trade And Margin Interest\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - \"spotBNBBurn\" and \"interestBNBBurn\" should be sent at least one.\n *\n * @summary Toggle BNB Burn On Spot Trade And Margin Interest (USER_DATA)\n * @param {string} [spotBNBBurn] Determines whether to use BNB to pay for trading fees on SPOT\n * @param {string} [interestBNBBurn] Determines whether to use BNB to pay for margin loan's interest\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n toggleBnbBurnOnSpotTradeAndMarginInterest: async (\n spotBNBBurn?: string,\n interestBNBBurn?: string,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (spotBNBBurn !== undefined && spotBNBBurn !== null) {\n localVarQueryParameter['spotBNBBurn'] = spotBNBBurn;\n }\n if (interestBNBBurn !== undefined && interestBNBBurn !== null) {\n localVarQueryParameter['interestBNBBurn'] = interestBNBBurn;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/bnbBurn',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch trade fee\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Trade Fee (USER_DATA)\n * @param {string} [symbol]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n tradeFee: async (symbol?: string, recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (symbol !== undefined && symbol !== null) {\n localVarQueryParameter['symbol'] = symbol;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/tradeFee',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Get user assets, just for positive data.\n *\n * Weight(IP): 5\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If asset is set, then return this asset, otherwise return all assets positive.\n * - If needBtcValuation is set, then return btcValudation.\n *\n * @summary User Asset (USER_DATA)\n * @param {string} [asset] If asset is blank, then query all positive assets user have.\n * @param {boolean} [needBtcValuation] Whether need btc valuation or not.\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n userAsset: async (\n asset?: string,\n needBtcValuation?: boolean,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (needBtcValuation !== undefined && needBtcValuation !== null) {\n localVarQueryParameter['needBtcValuation'] = needBtcValuation;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v3/asset/getUserAsset',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * User universal transfer\n *\n * Weight(UID): 900\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - You need to enable Permits Universal Transfer option for the API Key that requests this endpoint.\n * - `fromSymbol` must be sent when type is `ISOLATEDMARGIN_MARGIN` or `ISOLATEDMARGIN_ISOLATEDMARGIN`.\n * - `toSymbol` must be sent when type is `MARGIN_ISOLATEDMARGIN` or `ISOLATEDMARGIN_ISOLATEDMARGIN`.\n * - ENUM of transfer types:\n * - `MAIN_UMFUTURE`: Spot → USDⓈ-M Futures\n * - `MAIN_CMFUTURE`: Spot → COIN-M Futures\n * - `MAIN_MARGIN`: Spot → Margin (cross)\n * - `UMFUTURE_MAIN`: USDⓈ-M Futures → Spot\n * - `UMFUTURE_MARGIN`: USDⓈ-M Futures → Margin (cross)\n * - `CMFUTURE_MAIN`: COIN-M Futures → Spot\n * - `CMFUTURE_MARGIN`: COIN-M Futures → Margin (cross)\n * - `MARGIN_MAIN`: Margin (cross) → Spot\n * - `MARGIN_UMFUTURE`: Margin (cross) → USDⓈ-M Futures\n * - `MARGIN_CMFUTURE`: Margin (cross) → COIN-M Futures\n * - `ISOLATEDMARGIN_MARGIN`: Isolated margin → Margin (cross)\n * - `MARGIN_ISOLATEDMARGIN`: Margin (cross) → Isolated margin\n * - `ISOLATEDMARGIN_ISOLATEDMARGIN`: Isolated margin → Isolated margin\n * - `MAIN_FUNDING`: Spot → Funding\n * - `FUNDING_MAIN`: Funding → Spot\n * - `FUNDING_UMFUTURE`: Funding → USDⓈ-M Futures\n * - `UMFUTURE_FUNDING`: USDⓈ-M Futures → Funding\n * - `MARGIN_FUNDING`: Margin (cross) → Funding\n * - `FUNDING_MARGIN`: Funding → Margin (cross)\n * - `FUNDING_CMFUTURE`: Funding → COIN-M Futures\n * - `CMFUTURE_FUNDING`: COIN-M Futures → Funding\n * - `MAIN_OPTION`: Spot → Options\n * - `OPTION_MAIN`: Options → Spot\n * - `UMFUTURE_OPTION`: USDⓈ-M Futures → Options\n * - `OPTION_UMFUTURE`: Options → USDⓈ-M Futures\n * - `MARGIN_OPTION`: Margin (cross) → Options\n * - `OPTION_MARGIN`: Options → Margin (cross)\n * - `FUNDING_OPTION`: Funding → Options\n * - `OPTION_FUNDING`: Options → Funding\n * - `MAIN_PORTFOLIO_MARGIN`: Spot → Portfolio Margin\n * - `PORTFOLIO_MARGIN_MAIN`: Portfolio Margin → Spot\n *\n * @summary User Universal Transfer (USER_DATA)\n * @param {UserUniversalTransferTypeEnum} type\n * @param {string} asset\n * @param {number} amount\n * @param {UserUniversalTransferFromSymbolEnum} [fromSymbol]\n * @param {UserUniversalTransferToSymbolEnum} [toSymbol]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n userUniversalTransfer: async (\n type: UserUniversalTransferTypeEnum,\n asset: string,\n amount: number,\n fromSymbol?: UserUniversalTransferFromSymbolEnum,\n toSymbol?: UserUniversalTransferToSymbolEnum,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'type' is not null or undefined\n assertParamExists('userUniversalTransfer', 'type', type);\n // verify required parameter 'asset' is not null or undefined\n assertParamExists('userUniversalTransfer', 'asset', asset);\n // verify required parameter 'amount' is not null or undefined\n assertParamExists('userUniversalTransfer', 'amount', amount);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (type !== undefined && type !== null) {\n localVarQueryParameter['type'] = type;\n }\n if (asset !== undefined && asset !== null) {\n localVarQueryParameter['asset'] = asset;\n }\n if (amount !== undefined && amount !== null) {\n localVarQueryParameter['amount'] = amount;\n }\n if (fromSymbol !== undefined && fromSymbol !== null) {\n localVarQueryParameter['fromSymbol'] = fromSymbol;\n }\n if (toSymbol !== undefined && toSymbol !== null) {\n localVarQueryParameter['toSymbol'] = toSymbol;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/asset/transfer',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n };\n};\n\n/**\n * AssetApi - interface\n * @interface AssetApi\n */\nexport interface AssetApiInterface {\n /**\n * Fetch details of assets supported on Binance.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please get network and other deposit or withdraw details from `GET /sapi/v1/capital/config/getall`.\n *\n * @summary Asset Detail (USER_DATA)\n * @param {AssetDetailRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n assetDetail(\n requestParameters?: AssetDetailRequest\n ): Promise<RestApiResponse<AssetDetailResponse>>;\n /**\n * Query asset dividend record.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - There cannot be more than 180 days between parameter `startTime` and `endTime`.\n *\n * @summary Asset Dividend Record (USER_DATA)\n * @param {AssetDividendRecordRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n assetDividendRecord(\n requestParameters?: AssetDividendRecordRequest\n ): Promise<RestApiResponse<AssetDividendRecordResponse>>;\n /**\n * Convert dust assets\n *\n * Weight(UID): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Dust Convert (USER_DATA)\n * @param {DustConvertRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n dustConvert(\n requestParameters: DustConvertRequest\n ): Promise<RestApiResponse<DustConvertResponse>>;\n /**\n * Query dust convertible assets\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Dust Convertible Assets (USER_DATA)\n * @param {DustConvertibleAssetsRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n dustConvertibleAssets(\n requestParameters: DustConvertibleAssetsRequest\n ): Promise<RestApiResponse<DustConvertibleAssetsResponse>>;\n /**\n * Convert dust assets to BNB.\n *\n * Weight(UID): 10\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.\n *\n * @summary Dust Transfer (USER_DATA)\n * @param {DustTransferRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n dustTransfer(\n requestParameters: DustTransferRequest\n ): Promise<RestApiResponse<DustTransferResponse>>;\n /**\n * Dustlog\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Only return last 100 records\n * - Only return records after 2020/12/01\n *\n * @summary DustLog (USER_DATA)\n * @param {DustlogRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n dustlog(requestParameters?: DustlogRequest): Promise<RestApiResponse<DustlogResponse>>;\n /**\n * Query Funding Wallet\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token\n *\n * @summary Funding Wallet (USER_DATA)\n * @param {FundingWalletRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n fundingWallet(\n requestParameters?: FundingWalletRequest\n ): Promise<RestApiResponse<FundingWalletResponse>>;\n /**\n * Get Assets That Can Be Converted Into BNB\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get Assets That Can Be Converted Into BNB (USER_DATA)\n * @param {GetAssetsThatCanBeConvertedIntoBnbRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n getAssetsThatCanBeConvertedIntoBnb(\n requestParameters?: GetAssetsThatCanBeConvertedIntoBnbRequest\n ): Promise<RestApiResponse<GetAssetsThatCanBeConvertedIntoBnbResponse>>;\n /**\n * The query of Cloud-Mining payment and refund history\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Just return the SUCCESS records of payment and refund.\n * - For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS.\n *\n * @summary Get Cloud-Mining payment and refund history (USER_DATA)\n * @param {GetCloudMiningPaymentAndRefundHistoryRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n getCloudMiningPaymentAndRefundHistory(\n requestParameters: GetCloudMiningPaymentAndRefundHistoryRequest\n ): Promise<RestApiResponse<GetCloudMiningPaymentAndRefundHistoryResponse>>;\n /**\n * Get the list of symbols that are scheduled to be opened for trading in\n * the market.\n *\n * Weight(IP): 100\n *\n * Security Type: MARKET_DATA\n *\n * @summary Get Open Symbol List (MARKET_DATA)\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n getOpenSymbolList(): Promise<RestApiResponse<GetOpenSymbolListResponse>>;\n /**\n * Query User Delegation History\n *\n * Weight(IP): 60\n *\n * Security Type: USER_DATA\n *\n * @summary Query User Delegation History(For Master Account) (USER_DATA)\n * @param {QueryUserDelegationHistoryRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n queryUserDelegationHistory(\n requestParameters: QueryUserDelegationHistoryRequest\n ): Promise<RestApiResponse<QueryUserDelegationHistoryResponse>>;\n /**\n * Query User Universal Transfer History\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * - `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * - Support query within the last 6 months only\n * - If `startTime`and `endTime` not sent, return records of the last 7 days by default\n *\n * @summary Query User Universal Transfer History (USER_DATA)\n * @param {QueryUserUniversalTransferHistoryRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n queryUserUniversalTransferHistory(\n requestParameters: QueryUserUniversalTransferHistoryRequest\n ): Promise<RestApiResponse<QueryUserUniversalTransferHistoryResponse>>;\n /**\n * Query User Wallet Balance\n *\n * Weight(IP): 60\n *\n * Security Type: USER_DATA\n *\n * @summary Query User Wallet Balance (USER_DATA)\n * @param {QueryUserWalletBalanceRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n queryUserWalletBalance(\n requestParameters?: QueryUserWalletBalanceRequest\n ): Promise<RestApiResponse<QueryUserWalletBalanceResponse>>;\n /**\n * Toggle BNB Burn On Spot Trade And Margin Interest\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - \"spotBNBBurn\" and \"interestBNBBurn\" should be sent at least one.\n *\n * @summary Toggle BNB Burn On Spot Trade And Margin Interest (USER_DATA)\n * @param {ToggleBnbBurnOnSpotTradeAndMarginInterestRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n toggleBnbBurnOnSpotTradeAndMarginInterest(\n requestParameters?: ToggleBnbBurnOnSpotTradeAndMarginInterestRequest\n ): Promise<RestApiResponse<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>>;\n /**\n * Fetch trade fee\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Trade Fee (USER_DATA)\n * @param {TradeFeeRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n tradeFee(requestParameters?: TradeFeeRequest): Promise<RestApiResponse<TradeFeeResponse>>;\n /**\n * Get user assets, just for positive data.\n *\n * Weight(IP): 5\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If asset is set, then return this asset, otherwise return all assets positive.\n * - If needBtcValuation is set, then return btcValudation.\n *\n * @summary User Asset (USER_DATA)\n * @param {UserAssetRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n userAsset(requestParameters?: UserAssetRequest): Promise<RestApiResponse<UserAssetResponse>>;\n /**\n * User universal transfer\n *\n * Weight(UID): 900\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - You need to enable Permits Universal Transfer option for the API Key that requests this endpoint.\n * - `fromSymbol` must be sent when type is `ISOLATEDMARGIN_MARGIN` or `ISOLATEDMARGIN_ISOLATEDMARGIN`.\n * - `toSymbol` must be sent when type is `MARGIN_ISOLATEDMARGIN` or `ISOLATEDMARGIN_ISOLATEDMARGIN`.\n * - ENUM of transfer types:\n * - `MAIN_UMFUTURE`: Spot → USDⓈ-M Futures\n * - `MAIN_CMFUTURE`: Spot → COIN-M Futures\n * - `MAIN_MARGIN`: Spot → Margin (cross)\n * - `UMFUTURE_MAIN`: USDⓈ-M Futures → Spot\n * - `UMFUTURE_MARGIN`: USDⓈ-M Futures → Margin (cross)\n * - `CMFUTURE_MAIN`: COIN-M Futures → Spot\n * - `CMFUTURE_MARGIN`: COIN-M Futures → Margin (cross)\n * - `MARGIN_MAIN`: Margin (cross) → Spot\n * - `MARGIN_UMFUTURE`: Margin (cross) → USDⓈ-M Futures\n * - `MARGIN_CMFUTURE`: Margin (cross) → COIN-M Futures\n * - `ISOLATEDMARGIN_MARGIN`: Isolated margin → Margin (cross)\n * - `MARGIN_ISOLATEDMARGIN`: Margin (cross) → Isolated margin\n * - `ISOLATEDMARGIN_ISOLATEDMARGIN`: Isolated margin → Isolated margin\n * - `MAIN_FUNDING`: Spot → Funding\n * - `FUNDING_MAIN`: Funding → Spot\n * - `FUNDING_UMFUTURE`: Funding → USDⓈ-M Futures\n * - `UMFUTURE_FUNDING`: USDⓈ-M Futures → Funding\n * - `MARGIN_FUNDING`: Margin (cross) → Funding\n * - `FUNDING_MARGIN`: Funding → Margin (cross)\n * - `FUNDING_CMFUTURE`: Funding → COIN-M Futures\n * - `CMFUTURE_FUNDING`: COIN-M Futures → Funding\n * - `MAIN_OPTION`: Spot → Options\n * - `OPTION_MAIN`: Options → Spot\n * - `UMFUTURE_OPTION`: USDⓈ-M Futures → Options\n * - `OPTION_UMFUTURE`: Options → USDⓈ-M Futures\n * - `MARGIN_OPTION`: Margin (cross) → Options\n * - `OPTION_MARGIN`: Options → Margin (cross)\n * - `FUNDING_OPTION`: Funding → Options\n * - `OPTION_FUNDING`: Options → Funding\n * - `MAIN_PORTFOLIO_MARGIN`: Spot → Portfolio Margin\n * - `PORTFOLIO_MARGIN_MAIN`: Portfolio Margin → Spot\n *\n * @summary User Universal Transfer (USER_DATA)\n * @param {UserUniversalTransferRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApiInterface\n */\n userUniversalTransfer(\n requestParameters: UserUniversalTransferRequest\n ): Promise<RestApiResponse<UserUniversalTransferResponse>>;\n}\n\n/**\n * Request parameters for assetDetail operation in AssetApi.\n * @interface AssetDetailRequest\n */\nexport interface AssetDetailRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiAssetDetail\n */\n readonly asset?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiAssetDetail\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for assetDividendRecord operation in AssetApi.\n * @interface AssetDividendRecordRequest\n */\nexport interface AssetDividendRecordRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiAssetDividendRecord\n */\n readonly asset?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiAssetDividendRecord\n */\n readonly startTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiAssetDividendRecord\n */\n readonly endTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiAssetDividendRecord\n */\n readonly limit?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiAssetDividendRecord\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for dustConvert operation in AssetApi.\n * @interface DustConvertRequest\n */\nexport interface DustConvertRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiDustConvert\n */\n readonly asset: string;\n\n /**\n * `SPOT` or `MARGIN`, default `SPOT`\n * @type {string}\n * @memberof AssetApiDustConvert\n */\n readonly accountType?: string;\n\n /**\n * A unique id for the request\n * @type {string}\n * @memberof AssetApiDustConvert\n */\n readonly clientId?: string;\n\n /**\n *\n * @type {string}\n * @memberof AssetApiDustConvert\n */\n readonly targetAsset?: string;\n\n /**\n *\n * @type {string}\n * @memberof AssetApiDustConvert\n */\n readonly thirdPartyClientId?: string;\n\n /**\n *\n * @type {number}\n * @memberof AssetApiDustConvert\n */\n readonly dustQuotaAssetToTargetAssetPrice?: number;\n}\n\n/**\n * Request parameters for dustConvertibleAssets operation in AssetApi.\n * @interface DustConvertibleAssetsRequest\n */\nexport interface DustConvertibleAssetsRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiDustConvertibleAssets\n */\n readonly targetAsset: string;\n\n /**\n * `SPOT` or `MARGIN`, default `SPOT`\n * @type {string}\n * @memberof AssetApiDustConvertibleAssets\n */\n readonly accountType?: string;\n\n /**\n *\n * @type {number}\n * @memberof AssetApiDustConvertibleAssets\n */\n readonly dustQuotaAssetToTargetAssetPrice?: number;\n}\n\n/**\n * Request parameters for dustTransfer operation in AssetApi.\n * @interface DustTransferRequest\n */\nexport interface DustTransferRequest {\n /**\n * The asset being converted. For example: asset=BTC,USDT\n * @type {string}\n * @memberof AssetApiDustTransfer\n */\n readonly asset: string;\n\n /**\n *\n * @type {'SPOT' | 'MARGIN'}\n * @memberof AssetApiDustTransfer\n */\n readonly accountType?: DustTransferAccountTypeEnum;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiDustTransfer\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for dustlog operation in AssetApi.\n * @interface DustlogRequest\n */\nexport interface DustlogRequest {\n /**\n *\n * @type {'SPOT' | 'MARGIN'}\n * @memberof AssetApiDustlog\n */\n readonly accountType?: DustlogAccountTypeEnum;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiDustlog\n */\n readonly startTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiDustlog\n */\n readonly endTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiDustlog\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for fundingWallet operation in AssetApi.\n * @interface FundingWalletRequest\n */\nexport interface FundingWalletRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiFundingWallet\n */\n readonly asset?: string;\n\n /**\n *\n * @type {boolean}\n * @memberof AssetApiFundingWallet\n */\n readonly needBtcValuation?: boolean;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiFundingWallet\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for getAssetsThatCanBeConvertedIntoBnb operation in AssetApi.\n * @interface GetAssetsThatCanBeConvertedIntoBnbRequest\n */\nexport interface GetAssetsThatCanBeConvertedIntoBnbRequest {\n /**\n *\n * @type {'SPOT' | 'MARGIN'}\n * @memberof AssetApiGetAssetsThatCanBeConvertedIntoBnb\n */\n readonly accountType?: GetAssetsThatCanBeConvertedIntoBnbAccountTypeEnum;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiGetAssetsThatCanBeConvertedIntoBnb\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for getCloudMiningPaymentAndRefundHistory operation in AssetApi.\n * @interface GetCloudMiningPaymentAndRefundHistoryRequest\n */\nexport interface GetCloudMiningPaymentAndRefundHistoryRequest {\n /**\n * inclusive, unit: ms\n * @type {number | bigint}\n * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory\n */\n readonly startTime: number | bigint;\n\n /**\n * exclusive, unit: ms\n * @type {number | bigint}\n * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory\n */\n readonly endTime: number | bigint;\n\n /**\n * The transaction id\n * @type {number | bigint}\n * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory\n */\n readonly tranId?: number | bigint;\n\n /**\n * The unique flag\n * @type {string}\n * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory\n */\n readonly clientTranId?: string;\n\n /**\n * If it is blank, we will query all assets\n * @type {string}\n * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory\n */\n readonly asset?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory\n */\n readonly current?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiGetCloudMiningPaymentAndRefundHistory\n */\n readonly size?: number | bigint;\n}\n\n/**\n * Request parameters for queryUserDelegationHistory operation in AssetApi.\n * @interface QueryUserDelegationHistoryRequest\n */\nexport interface QueryUserDelegationHistoryRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly email: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly startTime: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly endTime: number | bigint;\n\n /**\n *\n * @type {'DELEGATE' | 'UNDELEGATE'}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly type?: QueryUserDelegationHistoryTypeEnum;\n\n /**\n *\n * @type {string}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly asset?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly current?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly size?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserDelegationHistory\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for queryUserUniversalTransferHistory operation in AssetApi.\n * @interface QueryUserUniversalTransferHistoryRequest\n */\nexport interface QueryUserUniversalTransferHistoryRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly type: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly startTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly endTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly current?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly size?: number | bigint;\n\n /**\n *\n * @type {'ISOLATEDMARGIN_MARGIN' | 'ISOLATEDMARGIN_ISOLATEDMARGIN'}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly fromSymbol?: QueryUserUniversalTransferHistoryFromSymbolEnum;\n\n /**\n *\n * @type {'MARGIN_ISOLATEDMARGIN' | 'ISOLATEDMARGIN_ISOLATEDMARGIN'}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly toSymbol?: QueryUserUniversalTransferHistoryToSymbolEnum;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserUniversalTransferHistory\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for queryUserWalletBalance operation in AssetApi.\n * @interface QueryUserWalletBalanceRequest\n */\nexport interface QueryUserWalletBalanceRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiQueryUserWalletBalance\n */\n readonly quoteAsset?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiQueryUserWalletBalance\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for toggleBnbBurnOnSpotTradeAndMarginInterest operation in AssetApi.\n * @interface ToggleBnbBurnOnSpotTradeAndMarginInterestRequest\n */\nexport interface ToggleBnbBurnOnSpotTradeAndMarginInterestRequest {\n /**\n * Determines whether to use BNB to pay for trading fees on SPOT\n * @type {string}\n * @memberof AssetApiToggleBnbBurnOnSpotTradeAndMarginInterest\n */\n readonly spotBNBBurn?: string;\n\n /**\n * Determines whether to use BNB to pay for margin loan's interest\n * @type {string}\n * @memberof AssetApiToggleBnbBurnOnSpotTradeAndMarginInterest\n */\n readonly interestBNBBurn?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiToggleBnbBurnOnSpotTradeAndMarginInterest\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for tradeFee operation in AssetApi.\n * @interface TradeFeeRequest\n */\nexport interface TradeFeeRequest {\n /**\n *\n * @type {string}\n * @memberof AssetApiTradeFee\n */\n readonly symbol?: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiTradeFee\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for userAsset operation in AssetApi.\n * @interface UserAssetRequest\n */\nexport interface UserAssetRequest {\n /**\n * If asset is blank, then query all positive assets user have.\n * @type {string}\n * @memberof AssetApiUserAsset\n */\n readonly asset?: string;\n\n /**\n * Whether need btc valuation or not.\n * @type {boolean}\n * @memberof AssetApiUserAsset\n */\n readonly needBtcValuation?: boolean;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiUserAsset\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for userUniversalTransfer operation in AssetApi.\n * @interface UserUniversalTransferRequest\n */\nexport interface UserUniversalTransferRequest {\n /**\n *\n * @type {'MAIN_UMFUTURE' | 'MAIN_CMFUTURE' | 'MAIN_MARGIN' | 'UMFUTURE_MAIN' | 'UMFUTURE_MARGIN' | 'CMFUTURE_MAIN' | 'CMFUTURE_MARGIN' | 'MARGIN_MAIN' | 'MARGIN_UMFUTURE' | 'MARGIN_CMFUTURE' | 'ISOLATEDMARGIN_MARGIN' | 'MARGIN_ISOLATEDMARGIN' | 'ISOLATEDMARGIN_ISOLATEDMARGIN' | 'MAIN_FUNDING' | 'FUNDING_MAIN' | 'FUNDING_UMFUTURE' | 'UMFUTURE_FUNDING' | 'MARGIN_FUNDING' | 'FUNDING_MARGIN' | 'FUNDING_CMFUTURE' | 'CMFUTURE_FUNDING' | 'MAIN_OPTION' | 'OPTION_MAIN' | 'UMFUTURE_OPTION' | 'OPTION_UMFUTURE' | 'MARGIN_OPTION' | 'OPTION_MARGIN' | 'FUNDING_OPTION' | 'OPTION_FUNDING' | 'MAIN_PORTFOLIO_MARGIN' | 'PORTFOLIO_MARGIN_MAIN'}\n * @memberof AssetApiUserUniversalTransfer\n */\n readonly type: UserUniversalTransferTypeEnum;\n\n /**\n *\n * @type {string}\n * @memberof AssetApiUserUniversalTransfer\n */\n readonly asset: string;\n\n /**\n *\n * @type {number}\n * @memberof AssetApiUserUniversalTransfer\n */\n readonly amount: number;\n\n /**\n *\n * @type {'ISOLATEDMARGIN_MARGIN' | 'ISOLATEDMARGIN_ISOLATEDMARGIN'}\n * @memberof AssetApiUserUniversalTransfer\n */\n readonly fromSymbol?: UserUniversalTransferFromSymbolEnum;\n\n /**\n *\n * @type {'MARGIN_ISOLATEDMARGIN' | 'ISOLATEDMARGIN_ISOLATEDMARGIN'}\n * @memberof AssetApiUserUniversalTransfer\n */\n readonly toSymbol?: UserUniversalTransferToSymbolEnum;\n\n /**\n *\n * @type {number | bigint}\n * @memberof AssetApiUserUniversalTransfer\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * AssetApi - object-oriented interface\n * @class AssetApi\n */\nexport class AssetApi implements AssetApiInterface {\n private readonly configuration: ConfigurationRestAPI;\n private localVarAxiosParamCreator;\n\n constructor(configuration: ConfigurationRestAPI) {\n this.configuration = configuration;\n this.localVarAxiosParamCreator = AssetApiAxiosParamCreator(configuration);\n }\n\n /**\n * Fetch details of assets supported on Binance.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please get network and other deposit or withdraw details from `GET /sapi/v1/capital/config/getall`.\n *\n * @summary Asset Detail (USER_DATA)\n * @param {AssetDetailRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<AssetDetailResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#asset-detail Binance API Documentation}\n */\n public async assetDetail(\n requestParameters: AssetDetailRequest = {}\n ): Promise<RestApiResponse<AssetDetailResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.assetDetail(\n requestParameters?.asset,\n requestParameters?.recvWindow\n );\n return sendRequest<AssetDetailResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Query asset dividend record.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - There cannot be more than 180 days between parameter `startTime` and `endTime`.\n *\n * @summary Asset Dividend Record (USER_DATA)\n * @param {AssetDividendRecordRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<AssetDividendRecordResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#asset-dividend-record Binance API Documentation}\n */\n public async assetDividendRecord(\n requestParameters: AssetDividendRecordRequest = {}\n ): Promise<RestApiResponse<AssetDividendRecordResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.assetDividendRecord(\n requestParameters?.asset,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.limit,\n requestParameters?.recvWindow\n );\n return sendRequest<AssetDividendRecordResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Convert dust assets\n *\n * Weight(UID): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Dust Convert (USER_DATA)\n * @param {DustConvertRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DustConvertResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dust-convert Binance API Documentation}\n */\n public async dustConvert(\n requestParameters: DustConvertRequest\n ): Promise<RestApiResponse<DustConvertResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustConvert(\n requestParameters?.asset,\n requestParameters?.accountType,\n requestParameters?.clientId,\n requestParameters?.targetAsset,\n requestParameters?.thirdPartyClientId,\n requestParameters?.dustQuotaAssetToTargetAssetPrice\n );\n return sendRequest<DustConvertResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Query dust convertible assets\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Dust Convertible Assets (USER_DATA)\n * @param {DustConvertibleAssetsRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DustConvertibleAssetsResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dust-convertible-assets Binance API Documentation}\n */\n public async dustConvertibleAssets(\n requestParameters: DustConvertibleAssetsRequest\n ): Promise<RestApiResponse<DustConvertibleAssetsResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustConvertibleAssets(\n requestParameters?.targetAsset,\n requestParameters?.accountType,\n requestParameters?.dustQuotaAssetToTargetAssetPrice\n );\n return sendRequest<DustConvertibleAssetsResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Convert dust assets to BNB.\n *\n * Weight(UID): 10\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.\n *\n * @summary Dust Transfer (USER_DATA)\n * @param {DustTransferRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DustTransferResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dust-transfer Binance API Documentation}\n */\n public async dustTransfer(\n requestParameters: DustTransferRequest\n ): Promise<RestApiResponse<DustTransferResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustTransfer(\n requestParameters?.asset,\n requestParameters?.accountType,\n requestParameters?.recvWindow\n );\n return sendRequest<DustTransferResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Dustlog\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Only return last 100 records\n * - Only return records after 2020/12/01\n *\n * @summary DustLog (USER_DATA)\n * @param {DustlogRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DustlogResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dustlog Binance API Documentation}\n */\n public async dustlog(\n requestParameters: DustlogRequest = {}\n ): Promise<RestApiResponse<DustlogResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.dustlog(\n requestParameters?.accountType,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.recvWindow\n );\n return sendRequest<DustlogResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Query Funding Wallet\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token\n *\n * @summary Funding Wallet (USER_DATA)\n * @param {FundingWalletRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<FundingWalletResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#funding-wallet Binance API Documentation}\n */\n public async fundingWallet(\n requestParameters: FundingWalletRequest = {}\n ): Promise<RestApiResponse<FundingWalletResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.fundingWallet(\n requestParameters?.asset,\n requestParameters?.needBtcValuation,\n requestParameters?.recvWindow\n );\n return sendRequest<FundingWalletResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Get Assets That Can Be Converted Into BNB\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get Assets That Can Be Converted Into BNB (USER_DATA)\n * @param {GetAssetsThatCanBeConvertedIntoBnbRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<GetAssetsThatCanBeConvertedIntoBnbResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#get-assets-that-can-be-converted-into-bnb Binance API Documentation}\n */\n public async getAssetsThatCanBeConvertedIntoBnb(\n requestParameters: GetAssetsThatCanBeConvertedIntoBnbRequest = {}\n ): Promise<RestApiResponse<GetAssetsThatCanBeConvertedIntoBnbResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.getAssetsThatCanBeConvertedIntoBnb(\n requestParameters?.accountType,\n requestParameters?.recvWindow\n );\n return sendRequest<GetAssetsThatCanBeConvertedIntoBnbResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * The query of Cloud-Mining payment and refund history\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Just return the SUCCESS records of payment and refund.\n * - For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS.\n *\n * @summary Get Cloud-Mining payment and refund history (USER_DATA)\n * @param {GetCloudMiningPaymentAndRefundHistoryRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<GetCloudMiningPaymentAndRefundHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#get-cloud-mining-payment-and-refund-history Binance API Documentation}\n */\n public async getCloudMiningPaymentAndRefundHistory(\n requestParameters: GetCloudMiningPaymentAndRefundHistoryRequest\n ): Promise<RestApiResponse<GetCloudMiningPaymentAndRefundHistoryResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.getCloudMiningPaymentAndRefundHistory(\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.tranId,\n requestParameters?.clientTranId,\n requestParameters?.asset,\n requestParameters?.current,\n requestParameters?.size\n );\n return sendRequest<GetCloudMiningPaymentAndRefundHistoryResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Get the list of symbols that are scheduled to be opened for trading in\n * the market.\n *\n * Weight(IP): 100\n *\n * Security Type: MARKET_DATA\n *\n * @summary Get Open Symbol List (MARKET_DATA)\n * @returns {Promise<RestApiResponse<GetOpenSymbolListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#get-open-symbol-list Binance API Documentation}\n */\n public async getOpenSymbolList(): Promise<RestApiResponse<GetOpenSymbolListResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.getOpenSymbolList();\n return sendRequest<GetOpenSymbolListResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: false }\n );\n }\n\n /**\n * Query User Delegation History\n *\n * Weight(IP): 60\n *\n * Security Type: USER_DATA\n *\n * @summary Query User Delegation History(For Master Account) (USER_DATA)\n * @param {QueryUserDelegationHistoryRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<QueryUserDelegationHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#query-user-delegation-history Binance API Documentation}\n */\n public async queryUserDelegationHistory(\n requestParameters: QueryUserDelegationHistoryRequest\n ): Promise<RestApiResponse<QueryUserDelegationHistoryResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.queryUserDelegationHistory(\n requestParameters?.email,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.type,\n requestParameters?.asset,\n requestParameters?.current,\n requestParameters?.size,\n requestParameters?.recvWindow\n );\n return sendRequest<QueryUserDelegationHistoryResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Query User Universal Transfer History\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * - `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * - Support query within the last 6 months only\n * - If `startTime`and `endTime` not sent, return records of the last 7 days by default\n *\n * @summary Query User Universal Transfer History (USER_DATA)\n * @param {QueryUserUniversalTransferHistoryRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<QueryUserUniversalTransferHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#query-user-universal-transfer-history Binance API Documentation}\n */\n public async queryUserUniversalTransferHistory(\n requestParameters: QueryUserUniversalTransferHistoryRequest\n ): Promise<RestApiResponse<QueryUserUniversalTransferHistoryResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.queryUserUniversalTransferHistory(\n requestParameters?.type,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.current,\n requestParameters?.size,\n requestParameters?.fromSymbol,\n requestParameters?.toSymbol,\n requestParameters?.recvWindow\n );\n return sendRequest<QueryUserUniversalTransferHistoryResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Query User Wallet Balance\n *\n * Weight(IP): 60\n *\n * Security Type: USER_DATA\n *\n * @summary Query User Wallet Balance (USER_DATA)\n * @param {QueryUserWalletBalanceRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<QueryUserWalletBalanceResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#query-user-wallet-balance Binance API Documentation}\n */\n public async queryUserWalletBalance(\n requestParameters: QueryUserWalletBalanceRequest = {}\n ): Promise<RestApiResponse<QueryUserWalletBalanceResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.queryUserWalletBalance(\n requestParameters?.quoteAsset,\n requestParameters?.recvWindow\n );\n return sendRequest<QueryUserWalletBalanceResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Toggle BNB Burn On Spot Trade And Margin Interest\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - \"spotBNBBurn\" and \"interestBNBBurn\" should be sent at least one.\n *\n * @summary Toggle BNB Burn On Spot Trade And Margin Interest (USER_DATA)\n * @param {ToggleBnbBurnOnSpotTradeAndMarginInterestRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#toggle-bnb-burn-on-spot-trade-and-margin-interest Binance API Documentation}\n */\n public async toggleBnbBurnOnSpotTradeAndMarginInterest(\n requestParameters: ToggleBnbBurnOnSpotTradeAndMarginInterestRequest = {}\n ): Promise<RestApiResponse<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.toggleBnbBurnOnSpotTradeAndMarginInterest(\n requestParameters?.spotBNBBurn,\n requestParameters?.interestBNBBurn,\n requestParameters?.recvWindow\n );\n return sendRequest<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch trade fee\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Trade Fee (USER_DATA)\n * @param {TradeFeeRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<TradeFeeResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#trade-fee Binance API Documentation}\n */\n public async tradeFee(\n requestParameters: TradeFeeRequest = {}\n ): Promise<RestApiResponse<TradeFeeResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.tradeFee(\n requestParameters?.symbol,\n requestParameters?.recvWindow\n );\n return sendRequest<TradeFeeResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Get user assets, just for positive data.\n *\n * Weight(IP): 5\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If asset is set, then return this asset, otherwise return all assets positive.\n * - If needBtcValuation is set, then return btcValudation.\n *\n * @summary User Asset (USER_DATA)\n * @param {UserAssetRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<UserAssetResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#user-asset Binance API Documentation}\n */\n public async userAsset(\n requestParameters: UserAssetRequest = {}\n ): Promise<RestApiResponse<UserAssetResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.userAsset(\n requestParameters?.asset,\n requestParameters?.needBtcValuation,\n requestParameters?.recvWindow\n );\n return sendRequest<UserAssetResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * User universal transfer\n *\n * Weight(UID): 900\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - You need to enable Permits Universal Transfer option for the API Key that requests this endpoint.\n * - `fromSymbol` must be sent when type is `ISOLATEDMARGIN_MARGIN` or `ISOLATEDMARGIN_ISOLATEDMARGIN`.\n * - `toSymbol` must be sent when type is `MARGIN_ISOLATEDMARGIN` or `ISOLATEDMARGIN_ISOLATEDMARGIN`.\n * - ENUM of transfer types:\n * - `MAIN_UMFUTURE`: Spot → USDⓈ-M Futures\n * - `MAIN_CMFUTURE`: Spot → COIN-M Futures\n * - `MAIN_MARGIN`: Spot → Margin (cross)\n * - `UMFUTURE_MAIN`: USDⓈ-M Futures → Spot\n * - `UMFUTURE_MARGIN`: USDⓈ-M Futures → Margin (cross)\n * - `CMFUTURE_MAIN`: COIN-M Futures → Spot\n * - `CMFUTURE_MARGIN`: COIN-M Futures → Margin (cross)\n * - `MARGIN_MAIN`: Margin (cross) → Spot\n * - `MARGIN_UMFUTURE`: Margin (cross) → USDⓈ-M Futures\n * - `MARGIN_CMFUTURE`: Margin (cross) → COIN-M Futures\n * - `ISOLATEDMARGIN_MARGIN`: Isolated margin → Margin (cross)\n * - `MARGIN_ISOLATEDMARGIN`: Margin (cross) → Isolated margin\n * - `ISOLATEDMARGIN_ISOLATEDMARGIN`: Isolated margin → Isolated margin\n * - `MAIN_FUNDING`: Spot → Funding\n * - `FUNDING_MAIN`: Funding → Spot\n * - `FUNDING_UMFUTURE`: Funding → USDⓈ-M Futures\n * - `UMFUTURE_FUNDING`: USDⓈ-M Futures → Funding\n * - `MARGIN_FUNDING`: Margin (cross) → Funding\n * - `FUNDING_MARGIN`: Funding → Margin (cross)\n * - `FUNDING_CMFUTURE`: Funding → COIN-M Futures\n * - `CMFUTURE_FUNDING`: COIN-M Futures → Funding\n * - `MAIN_OPTION`: Spot → Options\n * - `OPTION_MAIN`: Options → Spot\n * - `UMFUTURE_OPTION`: USDⓈ-M Futures → Options\n * - `OPTION_UMFUTURE`: Options → USDⓈ-M Futures\n * - `MARGIN_OPTION`: Margin (cross) → Options\n * - `OPTION_MARGIN`: Options → Margin (cross)\n * - `FUNDING_OPTION`: Funding → Options\n * - `OPTION_FUNDING`: Options → Funding\n * - `MAIN_PORTFOLIO_MARGIN`: Spot → Portfolio Margin\n * - `PORTFOLIO_MARGIN_MAIN`: Portfolio Margin → Spot\n *\n * @summary User Universal Transfer (USER_DATA)\n * @param {UserUniversalTransferRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<UserUniversalTransferResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof AssetApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#user-universal-transfer Binance API Documentation}\n */\n public async userUniversalTransfer(\n requestParameters: UserUniversalTransferRequest\n ): Promise<RestApiResponse<UserUniversalTransferResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.userUniversalTransfer(\n requestParameters?.type,\n requestParameters?.asset,\n requestParameters?.amount,\n requestParameters?.fromSymbol,\n requestParameters?.toSymbol,\n requestParameters?.recvWindow\n );\n return sendRequest<UserUniversalTransferResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n}\n\nexport enum DustTransferAccountTypeEnum {\n SPOT = 'SPOT',\n MARGIN = 'MARGIN',\n}\n\nexport enum DustlogAccountTypeEnum {\n SPOT = 'SPOT',\n MARGIN = 'MARGIN',\n}\n\nexport enum GetAssetsThatCanBeConvertedIntoBnbAccountTypeEnum {\n SPOT = 'SPOT',\n MARGIN = 'MARGIN',\n}\n\nexport enum QueryUserDelegationHistoryTypeEnum {\n DELEGATE = 'DELEGATE',\n UNDELEGATE = 'UNDELEGATE',\n}\n\nexport enum QueryUserUniversalTransferHistoryFromSymbolEnum {\n ISOLATEDMARGIN_MARGIN = 'ISOLATEDMARGIN_MARGIN',\n ISOLATEDMARGIN_ISOLATEDMARGIN = 'ISOLATEDMARGIN_ISOLATEDMARGIN',\n}\n\nexport enum QueryUserUniversalTransferHistoryToSymbolEnum {\n MARGIN_ISOLATEDMARGIN = 'MARGIN_ISOLATEDMARGIN',\n ISOLATEDMARGIN_ISOLATEDMARGIN = 'ISOLATEDMARGIN_ISOLATEDMARGIN',\n}\n\nexport enum UserUniversalTransferTypeEnum {\n MAIN_UMFUTURE = 'MAIN_UMFUTURE',\n MAIN_CMFUTURE = 'MAIN_CMFUTURE',\n MAIN_MARGIN = 'MAIN_MARGIN',\n UMFUTURE_MAIN = 'UMFUTURE_MAIN',\n UMFUTURE_MARGIN = 'UMFUTURE_MARGIN',\n CMFUTURE_MAIN = 'CMFUTURE_MAIN',\n CMFUTURE_MARGIN = 'CMFUTURE_MARGIN',\n MARGIN_MAIN = 'MARGIN_MAIN',\n MARGIN_UMFUTURE = 'MARGIN_UMFUTURE',\n MARGIN_CMFUTURE = 'MARGIN_CMFUTURE',\n ISOLATEDMARGIN_MARGIN = 'ISOLATEDMARGIN_MARGIN',\n MARGIN_ISOLATEDMARGIN = 'MARGIN_ISOLATEDMARGIN',\n ISOLATEDMARGIN_ISOLATEDMARGIN = 'ISOLATEDMARGIN_ISOLATEDMARGIN',\n MAIN_FUNDING = 'MAIN_FUNDING',\n FUNDING_MAIN = 'FUNDING_MAIN',\n FUNDING_UMFUTURE = 'FUNDING_UMFUTURE',\n UMFUTURE_FUNDING = 'UMFUTURE_FUNDING',\n MARGIN_FUNDING = 'MARGIN_FUNDING',\n FUNDING_MARGIN = 'FUNDING_MARGIN',\n FUNDING_CMFUTURE = 'FUNDING_CMFUTURE',\n CMFUTURE_FUNDING = 'CMFUTURE_FUNDING',\n MAIN_OPTION = 'MAIN_OPTION',\n OPTION_MAIN = 'OPTION_MAIN',\n UMFUTURE_OPTION = 'UMFUTURE_OPTION',\n OPTION_UMFUTURE = 'OPTION_UMFUTURE',\n MARGIN_OPTION = 'MARGIN_OPTION',\n OPTION_MARGIN = 'OPTION_MARGIN',\n FUNDING_OPTION = 'FUNDING_OPTION',\n OPTION_FUNDING = 'OPTION_FUNDING',\n MAIN_PORTFOLIO_MARGIN = 'MAIN_PORTFOLIO_MARGIN',\n PORTFOLIO_MARGIN_MAIN = 'PORTFOLIO_MARGIN_MAIN',\n}\n\nexport enum UserUniversalTransferFromSymbolEnum {\n ISOLATEDMARGIN_MARGIN = 'ISOLATEDMARGIN_MARGIN',\n ISOLATEDMARGIN_ISOLATEDMARGIN = 'ISOLATEDMARGIN_ISOLATEDMARGIN',\n}\n\nexport enum UserUniversalTransferToSymbolEnum {\n MARGIN_ISOLATEDMARGIN = 'MARGIN_ISOLATEDMARGIN',\n ISOLATEDMARGIN_ISOLATEDMARGIN = 'ISOLATEDMARGIN_ISOLATEDMARGIN',\n}\n","/**\n * Wallet REST API\n *\n * Query balances, manage assets, and perform wallet operations via the Binance Wallet API.\n *\n * The version of the OpenAPI document: 1.0.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nimport {\n ConfigurationRestAPI,\n TimeUnit,\n RestApiResponse,\n assertParamExists,\n sendRequest,\n type RequestArgs,\n} from '@binance/common';\nimport type {\n AllCoinsInformationResponse,\n DepositAddressResponse,\n DepositHistoryResponse,\n FetchDepositAddressListWithNetworkResponse,\n FetchWithdrawAddressListResponse,\n FetchWithdrawQuotaResponse,\n OneClickArrivalDepositApplyResponse,\n WithdrawHistoryResponse,\n WithdrawResponse,\n} from '../types';\n\n/**\n * CapitalApi - axios parameter creator\n */\nconst CapitalApiAxiosParamCreator = function (configuration: ConfigurationRestAPI) {\n return {\n /**\n * Get information of coins (available for deposit and withdraw) for user.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary All Coins\\' Information (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n allCoinsInformation: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/config/getall',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch deposit address with network.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` is not send, return with default network of the coin.\n * - You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - `amount` needs to be sent if using LIGHTNING network\n *\n * @summary Deposit Address(supporting network) (USER_DATA)\n * @param {string} coin `coin` refers to the parent network address format that the address is using\n * @param {string} [network]\n * @param {number} [amount]\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n depositAddress: async (\n coin: string,\n network?: string,\n amount?: number,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'coin' is not null or undefined\n assertParamExists('depositAddress', 'coin', coin);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (amount !== undefined && amount !== null) {\n localVarQueryParameter['amount'] = amount;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/deposit/address',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch deposit history.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.\n *\n * @summary Deposit History (supporting network) (USER_DATA)\n * @param {boolean} [includeSource] return `sourceAddress` field when set to `true`\n * @param {string} [coin]\n * @param {DepositHistoryStatusEnum} [status] 0: pending, 6: credited but cannot withdraw, 7: Wrong Deposit, 8: Waiting User confirm, 1: success\n * @param {number | bigint} [startTime] Default: 90 days from current timestamp\n * @param {number | bigint} [endTime] Default: present timestamp\n * @param {number | bigint} [offset]\n * @param {number | bigint} [limit]\n * @param {number | bigint} [recvWindow]\n * @param {string} [txId]\n *\n * @throws {RequiredError}\n */\n depositHistory: async (\n includeSource?: boolean,\n coin?: string,\n status?: DepositHistoryStatusEnum,\n startTime?: number | bigint,\n endTime?: number | bigint,\n offset?: number | bigint,\n limit?: number | bigint,\n recvWindow?: number | bigint,\n txId?: string\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (includeSource !== undefined && includeSource !== null) {\n localVarQueryParameter['includeSource'] = includeSource;\n }\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (status !== undefined && status !== null) {\n localVarQueryParameter['status'] = status;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (offset !== undefined && offset !== null) {\n localVarQueryParameter['offset'] = offset;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n if (txId !== undefined && txId !== null) {\n localVarQueryParameter['txId'] = txId;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/deposit/hisrec',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch deposit address list with network.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch deposit address list with network (USER_DATA)\n * @param {string} coin Coin name\n * @param {string} [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`\n *\n * @throws {RequiredError}\n */\n fetchDepositAddressListWithNetwork: async (\n coin: string,\n network?: string\n ): Promise<RequestArgs> => {\n // verify required parameter 'coin' is not null or undefined\n assertParamExists('fetchDepositAddressListWithNetwork', 'coin', coin);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/deposit/address/list',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch withdraw address list\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch withdraw address list (USER_DATA)\n *\n * @throws {RequiredError}\n */\n fetchWithdrawAddressList: async (): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/withdraw/address/list',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch withdraw quota\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch withdraw quota (USER_DATA)\n *\n * @throws {RequiredError}\n */\n fetchWithdrawQuota: async (): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/withdraw/quota',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Apply deposit credit for expired address (One click arrival)\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary One click arrival deposit apply (for expired address deposit) (USER_DATA)\n * @param {number | bigint} [depositId] Deposit record Id, priority use\n * @param {string} [txId] Deposit txId, used when depositId is not specified\n * @param {string} [subAccountId] Sub-accountId of Cloud user\n * @param {number | bigint} [subUserId] Sub-userId of parent user\n *\n * @throws {RequiredError}\n */\n oneClickArrivalDepositApply: async (\n depositId?: number | bigint,\n txId?: string,\n subAccountId?: string,\n subUserId?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (depositId !== undefined && depositId !== null) {\n localVarQueryParameter['depositId'] = depositId;\n }\n if (txId !== undefined && txId !== null) {\n localVarQueryParameter['txId'] = txId;\n }\n if (subAccountId !== undefined && subAccountId !== null) {\n localVarQueryParameter['subAccountId'] = subAccountId;\n }\n if (subUserId !== undefined && subUserId !== null) {\n localVarQueryParameter['subUserId'] = subUserId;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/deposit/credit-apply',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Submit a withdraw request\n *\n * Weight(UID): 900\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` not send, return with default network of the coin.\n * - You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - 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.\n * - \"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`.\"\n *\n * @summary Withdraw (USER_DATA)\n * @param {string} coin\n * @param {string} address Withdrawal address\n * @param {number} amount Amount\n * @param {string} [withdrawOrderId] client side id for withdrawal, if provide here, can be used in GET\n * `/sapi/v1/capital/withdraw/history` for query.\n * @param {string} [network] Withdrawal network\n * @param {string} [addressTag] Secondary address identifier for coins like XRP,XMR etc.\n * @param {boolean} [transactionFeeFlag] When making internal transfer, `true` for returning the fee to the destination account; `false` for\n * returning the fee back to the departure account. Default `false`.\n * @param {string} [name]\n * @param {number | bigint} [walletType] The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current\n * \"selected wallet\" under wallet->Fiat and Spot/Funding->Deposit\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n withdraw: async (\n coin: string,\n address: string,\n amount: number,\n withdrawOrderId?: string,\n network?: string,\n addressTag?: string,\n transactionFeeFlag?: boolean,\n name?: string,\n walletType?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'coin' is not null or undefined\n assertParamExists('withdraw', 'coin', coin);\n // verify required parameter 'address' is not null or undefined\n assertParamExists('withdraw', 'address', address);\n // verify required parameter 'amount' is not null or undefined\n assertParamExists('withdraw', 'amount', amount);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (withdrawOrderId !== undefined && withdrawOrderId !== null) {\n localVarQueryParameter['withdrawOrderId'] = withdrawOrderId;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (address !== undefined && address !== null) {\n localVarQueryParameter['address'] = address;\n }\n if (addressTag !== undefined && addressTag !== null) {\n localVarQueryParameter['addressTag'] = addressTag;\n }\n if (amount !== undefined && amount !== null) {\n localVarQueryParameter['amount'] = amount;\n }\n if (transactionFeeFlag !== undefined && transactionFeeFlag !== null) {\n localVarQueryParameter['transactionFeeFlag'] = transactionFeeFlag;\n }\n if (name !== undefined && name !== null) {\n localVarQueryParameter['name'] = name;\n }\n if (walletType !== undefined && walletType !== null) {\n localVarQueryParameter['walletType'] = walletType;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/withdraw/apply',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch withdraw history\n *\n * Weight(UID): 18000 (10 requests per second)\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `network` may not be in the response for old withdraw.\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n * - If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days.\n * - If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default.\n * - Maximum support `idList` number is 45.\n *\n * @summary Withdraw History (supporting network) (USER_DATA)\n * @param {string} [coin]\n * @param {string} [withdrawOrderId] client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for\n * query.\n * @param {number | bigint} [status] 0(0:Email Sent, 2:Awaiting Approval 3:Rejected 4:Processing 6:Completed)\n * @param {number | bigint} [offset] Default: 0\n * @param {number | bigint} [limit]\n * @param {string} [idList] id list returned in the response of POST `/sapi/v1/capital/withdraw/apply`, separated by `,`\n * @param {number | bigint} [startTime] Default: 90 days from current timestamp\n * @param {number | bigint} [endTime] Default: present timestamp\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n withdrawHistory: async (\n coin?: string,\n withdrawOrderId?: string,\n status?: number | bigint,\n offset?: number | bigint,\n limit?: number | bigint,\n idList?: string,\n startTime?: number | bigint,\n endTime?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (withdrawOrderId !== undefined && withdrawOrderId !== null) {\n localVarQueryParameter['withdrawOrderId'] = withdrawOrderId;\n }\n if (status !== undefined && status !== null) {\n localVarQueryParameter['status'] = status;\n }\n if (offset !== undefined && offset !== null) {\n localVarQueryParameter['offset'] = offset;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n if (idList !== undefined && idList !== null) {\n localVarQueryParameter['idList'] = idList;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/capital/withdraw/history',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n };\n};\n\n/**\n * CapitalApi - interface\n * @interface CapitalApi\n */\nexport interface CapitalApiInterface {\n /**\n * Get information of coins (available for deposit and withdraw) for user.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary All Coins\\' Information (USER_DATA)\n * @param {AllCoinsInformationRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n allCoinsInformation(\n requestParameters?: AllCoinsInformationRequest\n ): Promise<RestApiResponse<AllCoinsInformationResponse>>;\n /**\n * Fetch deposit address with network.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` is not send, return with default network of the coin.\n * - You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - `amount` needs to be sent if using LIGHTNING network\n *\n * @summary Deposit Address(supporting network) (USER_DATA)\n * @param {DepositAddressRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n depositAddress(\n requestParameters: DepositAddressRequest\n ): Promise<RestApiResponse<DepositAddressResponse>>;\n /**\n * Fetch deposit history.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.\n *\n * @summary Deposit History (supporting network) (USER_DATA)\n * @param {DepositHistoryRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n depositHistory(\n requestParameters?: DepositHistoryRequest\n ): Promise<RestApiResponse<DepositHistoryResponse>>;\n /**\n * Fetch deposit address list with network.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch deposit address list with network (USER_DATA)\n * @param {FetchDepositAddressListWithNetworkRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n fetchDepositAddressListWithNetwork(\n requestParameters: FetchDepositAddressListWithNetworkRequest\n ): Promise<RestApiResponse<FetchDepositAddressListWithNetworkResponse>>;\n /**\n * Fetch withdraw address list\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch withdraw address list (USER_DATA)\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n fetchWithdrawAddressList(): Promise<RestApiResponse<FetchWithdrawAddressListResponse>>;\n /**\n * Fetch withdraw quota\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch withdraw quota (USER_DATA)\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n fetchWithdrawQuota(): Promise<RestApiResponse<FetchWithdrawQuotaResponse>>;\n /**\n * Apply deposit credit for expired address (One click arrival)\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary One click arrival deposit apply (for expired address deposit) (USER_DATA)\n * @param {OneClickArrivalDepositApplyRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n oneClickArrivalDepositApply(\n requestParameters?: OneClickArrivalDepositApplyRequest\n ): Promise<RestApiResponse<OneClickArrivalDepositApplyResponse>>;\n /**\n * Submit a withdraw request\n *\n * Weight(UID): 900\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` not send, return with default network of the coin.\n * - You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - 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.\n * - \"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`.\"\n *\n * @summary Withdraw (USER_DATA)\n * @param {WithdrawRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n withdraw(requestParameters: WithdrawRequest): Promise<RestApiResponse<WithdrawResponse>>;\n /**\n * Fetch withdraw history\n *\n * Weight(UID): 18000 (10 requests per second)\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `network` may not be in the response for old withdraw.\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n * - If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days.\n * - If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default.\n * - Maximum support `idList` number is 45.\n *\n * @summary Withdraw History (supporting network) (USER_DATA)\n * @param {WithdrawHistoryRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApiInterface\n */\n withdrawHistory(\n requestParameters?: WithdrawHistoryRequest\n ): Promise<RestApiResponse<WithdrawHistoryResponse>>;\n}\n\n/**\n * Request parameters for allCoinsInformation operation in CapitalApi.\n * @interface AllCoinsInformationRequest\n */\nexport interface AllCoinsInformationRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiAllCoinsInformation\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for depositAddress operation in CapitalApi.\n * @interface DepositAddressRequest\n */\nexport interface DepositAddressRequest {\n /**\n * `coin` refers to the parent network address format that the address is using\n * @type {string}\n * @memberof CapitalApiDepositAddress\n */\n readonly coin: string;\n\n /**\n *\n * @type {string}\n * @memberof CapitalApiDepositAddress\n */\n readonly network?: string;\n\n /**\n *\n * @type {number}\n * @memberof CapitalApiDepositAddress\n */\n readonly amount?: number;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiDepositAddress\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for depositHistory operation in CapitalApi.\n * @interface DepositHistoryRequest\n */\nexport interface DepositHistoryRequest {\n /**\n * return `sourceAddress` field when set to `true`\n * @type {boolean}\n * @memberof CapitalApiDepositHistory\n */\n readonly includeSource?: boolean;\n\n /**\n *\n * @type {string}\n * @memberof CapitalApiDepositHistory\n */\n readonly coin?: string;\n\n /**\n * 0: pending, 6: credited but cannot withdraw, 7: Wrong Deposit, 8: Waiting User confirm, 1: success\n * @type {0 | 1 | 2 | 6 | 7 | 8 | bigint}\n * @memberof CapitalApiDepositHistory\n */\n readonly status?: DepositHistoryStatusEnum;\n\n /**\n * Default: 90 days from current timestamp\n * @type {number | bigint}\n * @memberof CapitalApiDepositHistory\n */\n readonly startTime?: number | bigint;\n\n /**\n * Default: present timestamp\n * @type {number | bigint}\n * @memberof CapitalApiDepositHistory\n */\n readonly endTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiDepositHistory\n */\n readonly offset?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiDepositHistory\n */\n readonly limit?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiDepositHistory\n */\n readonly recvWindow?: number | bigint;\n\n /**\n *\n * @type {string}\n * @memberof CapitalApiDepositHistory\n */\n readonly txId?: string;\n}\n\n/**\n * Request parameters for fetchDepositAddressListWithNetwork operation in CapitalApi.\n * @interface FetchDepositAddressListWithNetworkRequest\n */\nexport interface FetchDepositAddressListWithNetworkRequest {\n /**\n * Coin name\n * @type {string}\n * @memberof CapitalApiFetchDepositAddressListWithNetwork\n */\n readonly coin: string;\n\n /**\n * 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`\n * @type {string}\n * @memberof CapitalApiFetchDepositAddressListWithNetwork\n */\n readonly network?: string;\n}\n\n/**\n * Request parameters for oneClickArrivalDepositApply operation in CapitalApi.\n * @interface OneClickArrivalDepositApplyRequest\n */\nexport interface OneClickArrivalDepositApplyRequest {\n /**\n * Deposit record Id, priority use\n * @type {number | bigint}\n * @memberof CapitalApiOneClickArrivalDepositApply\n */\n readonly depositId?: number | bigint;\n\n /**\n * Deposit txId, used when depositId is not specified\n * @type {string}\n * @memberof CapitalApiOneClickArrivalDepositApply\n */\n readonly txId?: string;\n\n /**\n * Sub-accountId of Cloud user\n * @type {string}\n * @memberof CapitalApiOneClickArrivalDepositApply\n */\n readonly subAccountId?: string;\n\n /**\n * Sub-userId of parent user\n * @type {number | bigint}\n * @memberof CapitalApiOneClickArrivalDepositApply\n */\n readonly subUserId?: number | bigint;\n}\n\n/**\n * Request parameters for withdraw operation in CapitalApi.\n * @interface WithdrawRequest\n */\nexport interface WithdrawRequest {\n /**\n *\n * @type {string}\n * @memberof CapitalApiWithdraw\n */\n readonly coin: string;\n\n /**\n * Withdrawal address\n * @type {string}\n * @memberof CapitalApiWithdraw\n */\n readonly address: string;\n\n /**\n * Amount\n * @type {number}\n * @memberof CapitalApiWithdraw\n */\n readonly amount: number;\n\n /**\n * client side id for withdrawal, if provide here, can be used in GET\n * `/sapi/v1/capital/withdraw/history` for query.\n * @type {string}\n * @memberof CapitalApiWithdraw\n */\n readonly withdrawOrderId?: string;\n\n /**\n * Withdrawal network\n * @type {string}\n * @memberof CapitalApiWithdraw\n */\n readonly network?: string;\n\n /**\n * Secondary address identifier for coins like XRP,XMR etc.\n * @type {string}\n * @memberof CapitalApiWithdraw\n */\n readonly addressTag?: string;\n\n /**\n * When making internal transfer, `true` for returning the fee to the destination account; `false` for\n * returning the fee back to the departure account. Default `false`.\n * @type {boolean}\n * @memberof CapitalApiWithdraw\n */\n readonly transactionFeeFlag?: boolean;\n\n /**\n *\n * @type {string}\n * @memberof CapitalApiWithdraw\n */\n readonly name?: string;\n\n /**\n * The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current\n * \"selected wallet\" under wallet->Fiat and Spot/Funding->Deposit\n * @type {number | bigint}\n * @memberof CapitalApiWithdraw\n */\n readonly walletType?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiWithdraw\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for withdrawHistory operation in CapitalApi.\n * @interface WithdrawHistoryRequest\n */\nexport interface WithdrawHistoryRequest {\n /**\n *\n * @type {string}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly coin?: string;\n\n /**\n * client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for\n * query.\n * @type {string}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly withdrawOrderId?: string;\n\n /**\n * 0(0:Email Sent, 2:Awaiting Approval 3:Rejected 4:Processing 6:Completed)\n * @type {number | bigint}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly status?: number | bigint;\n\n /**\n * Default: 0\n * @type {number | bigint}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly offset?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly limit?: number | bigint;\n\n /**\n * id list returned in the response of POST `/sapi/v1/capital/withdraw/apply`, separated by `,`\n * @type {string}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly idList?: string;\n\n /**\n * Default: 90 days from current timestamp\n * @type {number | bigint}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly startTime?: number | bigint;\n\n /**\n * Default: present timestamp\n * @type {number | bigint}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly endTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof CapitalApiWithdrawHistory\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * CapitalApi - object-oriented interface\n * @class CapitalApi\n */\nexport class CapitalApi implements CapitalApiInterface {\n private readonly configuration: ConfigurationRestAPI;\n private localVarAxiosParamCreator;\n\n constructor(configuration: ConfigurationRestAPI) {\n this.configuration = configuration;\n this.localVarAxiosParamCreator = CapitalApiAxiosParamCreator(configuration);\n }\n\n /**\n * Get information of coins (available for deposit and withdraw) for user.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary All Coins\\' Information (USER_DATA)\n * @param {AllCoinsInformationRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<AllCoinsInformationResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#all-coins-information Binance API Documentation}\n */\n public async allCoinsInformation(\n requestParameters: AllCoinsInformationRequest = {}\n ): Promise<RestApiResponse<AllCoinsInformationResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.allCoinsInformation(\n requestParameters?.recvWindow\n );\n return sendRequest<AllCoinsInformationResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch deposit address with network.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` is not send, return with default network of the coin.\n * - You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - `amount` needs to be sent if using LIGHTNING network\n *\n * @summary Deposit Address(supporting network) (USER_DATA)\n * @param {DepositAddressRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DepositAddressResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#deposit-address Binance API Documentation}\n */\n public async depositAddress(\n requestParameters: DepositAddressRequest\n ): Promise<RestApiResponse<DepositAddressResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositAddress(\n requestParameters?.coin,\n requestParameters?.network,\n requestParameters?.amount,\n requestParameters?.recvWindow\n );\n return sendRequest<DepositAddressResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch deposit history.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.\n *\n * @summary Deposit History (supporting network) (USER_DATA)\n * @param {DepositHistoryRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DepositHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#deposit-history Binance API Documentation}\n */\n public async depositHistory(\n requestParameters: DepositHistoryRequest = {}\n ): Promise<RestApiResponse<DepositHistoryResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositHistory(\n requestParameters?.includeSource,\n requestParameters?.coin,\n requestParameters?.status,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.offset,\n requestParameters?.limit,\n requestParameters?.recvWindow,\n requestParameters?.txId\n );\n return sendRequest<DepositHistoryResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch deposit address list with network.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch deposit address list with network (USER_DATA)\n * @param {FetchDepositAddressListWithNetworkRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<FetchDepositAddressListWithNetworkResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#fetch-deposit-address-list-with-network Binance API Documentation}\n */\n public async fetchDepositAddressListWithNetwork(\n requestParameters: FetchDepositAddressListWithNetworkRequest\n ): Promise<RestApiResponse<FetchDepositAddressListWithNetworkResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.fetchDepositAddressListWithNetwork(\n requestParameters?.coin,\n requestParameters?.network\n );\n return sendRequest<FetchDepositAddressListWithNetworkResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch withdraw address list\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch withdraw address list (USER_DATA)\n * @returns {Promise<RestApiResponse<FetchWithdrawAddressListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#fetch-withdraw-address-list Binance API Documentation}\n */\n public async fetchWithdrawAddressList(): Promise<\n RestApiResponse<FetchWithdrawAddressListResponse>\n > {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchWithdrawAddressList();\n return sendRequest<FetchWithdrawAddressListResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch withdraw quota\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch withdraw quota (USER_DATA)\n * @returns {Promise<RestApiResponse<FetchWithdrawQuotaResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#fetch-withdraw-quota Binance API Documentation}\n */\n public async fetchWithdrawQuota(): Promise<RestApiResponse<FetchWithdrawQuotaResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchWithdrawQuota();\n return sendRequest<FetchWithdrawQuotaResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Apply deposit credit for expired address (One click arrival)\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary One click arrival deposit apply (for expired address deposit) (USER_DATA)\n * @param {OneClickArrivalDepositApplyRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<OneClickArrivalDepositApplyResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#one-click-arrival-deposit-apply Binance API Documentation}\n */\n public async oneClickArrivalDepositApply(\n requestParameters: OneClickArrivalDepositApplyRequest = {}\n ): Promise<RestApiResponse<OneClickArrivalDepositApplyResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.oneClickArrivalDepositApply(\n requestParameters?.depositId,\n requestParameters?.txId,\n requestParameters?.subAccountId,\n requestParameters?.subUserId\n );\n return sendRequest<OneClickArrivalDepositApplyResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Submit a withdraw request\n *\n * Weight(UID): 900\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` not send, return with default network of the coin.\n * - You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - 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.\n * - \"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`.\"\n *\n * @summary Withdraw (USER_DATA)\n * @param {WithdrawRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<WithdrawResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#withdraw Binance API Documentation}\n */\n public async withdraw(\n requestParameters: WithdrawRequest\n ): Promise<RestApiResponse<WithdrawResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdraw(\n requestParameters?.coin,\n requestParameters?.address,\n requestParameters?.amount,\n requestParameters?.withdrawOrderId,\n requestParameters?.network,\n requestParameters?.addressTag,\n requestParameters?.transactionFeeFlag,\n requestParameters?.name,\n requestParameters?.walletType,\n requestParameters?.recvWindow\n );\n return sendRequest<WithdrawResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch withdraw history\n *\n * Weight(UID): 18000 (10 requests per second)\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `network` may not be in the response for old withdraw.\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n * - If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days.\n * - If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default.\n * - Maximum support `idList` number is 45.\n *\n * @summary Withdraw History (supporting network) (USER_DATA)\n * @param {WithdrawHistoryRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<WithdrawHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof CapitalApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#withdraw-history Binance API Documentation}\n */\n public async withdrawHistory(\n requestParameters: WithdrawHistoryRequest = {}\n ): Promise<RestApiResponse<WithdrawHistoryResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawHistory(\n requestParameters?.coin,\n requestParameters?.withdrawOrderId,\n requestParameters?.status,\n requestParameters?.offset,\n requestParameters?.limit,\n requestParameters?.idList,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.recvWindow\n );\n return sendRequest<WithdrawHistoryResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n}\n\nexport enum DepositHistoryStatusEnum {\n STATUS_0 = 0,\n STATUS_1 = 1,\n STATUS_2 = 2,\n STATUS_6 = 6,\n STATUS_7 = 7,\n STATUS_8 = 8,\n}\n","/**\n * Wallet REST API\n *\n * Query balances, manage assets, and perform wallet operations via the Binance Wallet API.\n *\n * The version of the OpenAPI document: 1.0.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nimport {\n ConfigurationRestAPI,\n TimeUnit,\n RestApiResponse,\n sendRequest,\n type RequestArgs,\n} from '@binance/common';\nimport type { GetSymbolsDelistScheduleForSpotResponse, SystemStatusResponse } from '../types';\n\n/**\n * OthersApi - axios parameter creator\n */\nconst OthersApiAxiosParamCreator = function (configuration: ConfigurationRestAPI) {\n return {\n /**\n * Get symbols delist schedule for spot\n *\n * Weight(IP): 100\n *\n * Security Type: MARKET_DATA\n *\n * @summary Get Spot Delist Schedule (MARKET_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n getSymbolsDelistScheduleForSpot: async (\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/spot/delist-schedule',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch system status.\n *\n * Weight(IP): 1\n *\n * Security Type: System\n *\n * @summary System Status\n *\n * @throws {RequiredError}\n */\n systemStatus: async (): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/system/status',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n };\n};\n\n/**\n * OthersApi - interface\n * @interface OthersApi\n */\nexport interface OthersApiInterface {\n /**\n * Get symbols delist schedule for spot\n *\n * Weight(IP): 100\n *\n * Security Type: MARKET_DATA\n *\n * @summary Get Spot Delist Schedule (MARKET_DATA)\n * @param {GetSymbolsDelistScheduleForSpotRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof OthersApiInterface\n */\n getSymbolsDelistScheduleForSpot(\n requestParameters?: GetSymbolsDelistScheduleForSpotRequest\n ): Promise<RestApiResponse<GetSymbolsDelistScheduleForSpotResponse>>;\n /**\n * Fetch system status.\n *\n * Weight(IP): 1\n *\n * Security Type: System\n *\n * @summary System Status\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof OthersApiInterface\n */\n systemStatus(): Promise<RestApiResponse<SystemStatusResponse>>;\n}\n\n/**\n * Request parameters for getSymbolsDelistScheduleForSpot operation in OthersApi.\n * @interface GetSymbolsDelistScheduleForSpotRequest\n */\nexport interface GetSymbolsDelistScheduleForSpotRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof OthersApiGetSymbolsDelistScheduleForSpot\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * OthersApi - object-oriented interface\n * @class OthersApi\n */\nexport class OthersApi implements OthersApiInterface {\n private readonly configuration: ConfigurationRestAPI;\n private localVarAxiosParamCreator;\n\n constructor(configuration: ConfigurationRestAPI) {\n this.configuration = configuration;\n this.localVarAxiosParamCreator = OthersApiAxiosParamCreator(configuration);\n }\n\n /**\n * Get symbols delist schedule for spot\n *\n * Weight(IP): 100\n *\n * Security Type: MARKET_DATA\n *\n * @summary Get Spot Delist Schedule (MARKET_DATA)\n * @param {GetSymbolsDelistScheduleForSpotRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<GetSymbolsDelistScheduleForSpotResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof OthersApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/others#get-symbols-delist-schedule-for-spot Binance API Documentation}\n */\n public async getSymbolsDelistScheduleForSpot(\n requestParameters: GetSymbolsDelistScheduleForSpotRequest = {}\n ): Promise<RestApiResponse<GetSymbolsDelistScheduleForSpotResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.getSymbolsDelistScheduleForSpot(\n requestParameters?.recvWindow\n );\n return sendRequest<GetSymbolsDelistScheduleForSpotResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: false }\n );\n }\n\n /**\n * Fetch system status.\n *\n * Weight(IP): 1\n *\n * Security Type: System\n *\n * @summary System Status\n * @returns {Promise<RestApiResponse<SystemStatusResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof OthersApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/others#system-status Binance API Documentation}\n */\n public async systemStatus(): Promise<RestApiResponse<SystemStatusResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.systemStatus();\n return sendRequest<SystemStatusResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: false }\n );\n }\n}\n","/**\n * Wallet REST API\n *\n * Query balances, manage assets, and perform wallet operations via the Binance Wallet API.\n *\n * The version of the OpenAPI document: 1.0.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nimport {\n ConfigurationRestAPI,\n TimeUnit,\n RestApiResponse,\n assertParamExists,\n sendRequest,\n type RequestArgs,\n} from '@binance/common';\nimport type {\n BrokerWithdrawResponse,\n CheckQuestionnaireRequirementsResponse,\n DepositHistoryTravelRuleResponse,\n DepositHistoryV2Response,\n FetchAddressVerificationListResponse,\n GetCountryListResponse,\n GetRegionListResponse,\n SubmitDepositQuestionnaireResponse,\n SubmitDepositQuestionnaireTravelRuleResponse,\n SubmitDepositQuestionnaireV2Response,\n VaspListResponse,\n WithdrawHistoryV1Response,\n WithdrawHistoryV2Response,\n WithdrawTravelRuleResponse,\n} from '../types';\n\n/**\n * TravelRuleApi - axios parameter creator\n */\nconst TravelRuleApiAxiosParamCreator = function (configuration: ConfigurationRestAPI) {\n return {\n /**\n * Submit a withdrawal request for brokers of local entities that required travel rule.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * - You can get `network` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - Questionnaire is different for each local entity, please refer to the `Withdraw Questionnaire Contents` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA)\n * @param {string} address\n * @param {string} coin\n * @param {number} amount\n * @param {string} withdrawOrderId withdrawID defined by the client (i.e. client's internal withdrawID)\n * @param {string} questionnaire JSON format questionnaire answers.\n * @param {string} originatorPii JSON format originator Pii, see StandardPii section below\n * @param {string} [addressTag] Secondary address identifier for coins like XRP,XMR etc.\n * @param {string} [network]\n * @param {string} [addressName] Description of the address. Address book cap is 200, space in name should be encoded into `%20`\n * @param {boolean} [transactionFeeFlag] When making internal transfer, `true` for returning the fee to the destination account; `false` for\n * returning the fee back to the departure account. Default `false`.\n * @param {number | bigint} [walletType] The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current\n * \"selected wallet\" under wallet->Fiat and Spot/Funding->Deposit\n *\n * @throws {RequiredError}\n */\n brokerWithdraw: async (\n address: string,\n coin: string,\n amount: number,\n withdrawOrderId: string,\n questionnaire: string,\n originatorPii: string,\n addressTag?: string,\n network?: string,\n addressName?: string,\n transactionFeeFlag?: boolean,\n walletType?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'address' is not null or undefined\n assertParamExists('brokerWithdraw', 'address', address);\n // verify required parameter 'coin' is not null or undefined\n assertParamExists('brokerWithdraw', 'coin', coin);\n // verify required parameter 'amount' is not null or undefined\n assertParamExists('brokerWithdraw', 'amount', amount);\n // verify required parameter 'withdrawOrderId' is not null or undefined\n assertParamExists('brokerWithdraw', 'withdrawOrderId', withdrawOrderId);\n // verify required parameter 'questionnaire' is not null or undefined\n assertParamExists('brokerWithdraw', 'questionnaire', questionnaire);\n // verify required parameter 'originatorPii' is not null or undefined\n assertParamExists('brokerWithdraw', 'originatorPii', originatorPii);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (address !== undefined && address !== null) {\n localVarQueryParameter['address'] = address;\n }\n if (addressTag !== undefined && addressTag !== null) {\n localVarQueryParameter['addressTag'] = addressTag;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (addressName !== undefined && addressName !== null) {\n localVarQueryParameter['addressName'] = addressName;\n }\n if (amount !== undefined && amount !== null) {\n localVarQueryParameter['amount'] = amount;\n }\n if (withdrawOrderId !== undefined && withdrawOrderId !== null) {\n localVarQueryParameter['withdrawOrderId'] = withdrawOrderId;\n }\n if (transactionFeeFlag !== undefined && transactionFeeFlag !== null) {\n localVarQueryParameter['transactionFeeFlag'] = transactionFeeFlag;\n }\n if (walletType !== undefined && walletType !== null) {\n localVarQueryParameter['walletType'] = walletType;\n }\n if (questionnaire !== undefined && questionnaire !== null) {\n localVarQueryParameter['questionnaire'] = questionnaire;\n }\n if (originatorPii !== undefined && originatorPii !== null) {\n localVarQueryParameter['originatorPii'] = originatorPii;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/broker/withdraw/apply',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current\n * API key.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n checkQuestionnaireRequirements: async (\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/questionnaire-requirements',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch deposit history for local entities that required travel rule.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.\n * - Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * @summary Deposit History Travel Rule (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {string} [trId] Comma(,) separated list of travel rule record Ids.\n * @param {string} [txId] Comma(,) separated list of transaction Ids.\n * @param {string} [tranId] Comma(,) separated list of wallet tran Ids.\n * @param {string} [network]\n * @param {string} [coin]\n * @param {number | bigint} [travelRuleStatus] 0:Completed,1:Pending,2:Failed\n * @param {boolean} [pendingQuestionnaire] true: Only return records that pending deposit questionnaire. false/not provided: return all records.\n * @param {number | bigint} [startTime] Default: 90 days from current timestamp\n * @param {number | bigint} [endTime] Default: present timestamp\n * @param {number | bigint} [offset] Default: 0\n * @param {number | bigint} [limit]\n *\n * @throws {RequiredError}\n */\n depositHistoryTravelRule: async (\n trId?: string,\n txId?: string,\n tranId?: string,\n network?: string,\n coin?: string,\n travelRuleStatus?: number | bigint,\n pendingQuestionnaire?: boolean,\n startTime?: number | bigint,\n endTime?: number | bigint,\n offset?: number | bigint,\n limit?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (trId !== undefined && trId !== null) {\n localVarQueryParameter['trId'] = trId;\n }\n if (txId !== undefined && txId !== null) {\n localVarQueryParameter['txId'] = txId;\n }\n if (tranId !== undefined && tranId !== null) {\n localVarQueryParameter['tranId'] = tranId;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (travelRuleStatus !== undefined && travelRuleStatus !== null) {\n localVarQueryParameter['travelRuleStatus'] = travelRuleStatus;\n }\n if (pendingQuestionnaire !== undefined && pendingQuestionnaire !== null) {\n localVarQueryParameter['pendingQuestionnaire'] = pendingQuestionnaire;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (offset !== undefined && offset !== null) {\n localVarQueryParameter['offset'] = offset;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/deposit/history',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch deposit history for local entities that with required travel rule information.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.\n * - Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {number | bigint} [depositId] Comma(,) separated list of wallet tran Ids.\n * @param {string} [txId] Comma(,) separated list of transaction Ids.\n * @param {string} [network]\n * @param {string} [coin]\n * @param {boolean} [retrieveQuestionnaire] true: return `questionnaire` within response.\n * @param {number | bigint} [startTime] Default: 90 days from current timestamp\n * @param {number | bigint} [endTime] Default: present timestamp\n * @param {number | bigint} [offset]\n * @param {number | bigint} [limit]\n *\n * @throws {RequiredError}\n */\n depositHistoryV2: async (\n depositId?: number | bigint,\n txId?: string,\n network?: string,\n coin?: string,\n retrieveQuestionnaire?: boolean,\n startTime?: number | bigint,\n endTime?: number | bigint,\n offset?: number | bigint,\n limit?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (depositId !== undefined && depositId !== null) {\n localVarQueryParameter['depositId'] = depositId;\n }\n if (txId !== undefined && txId !== null) {\n localVarQueryParameter['txId'] = txId;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (retrieveQuestionnaire !== undefined && retrieveQuestionnaire !== null) {\n localVarQueryParameter['retrieveQuestionnaire'] = retrieveQuestionnaire;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (offset !== undefined && offset !== null) {\n localVarQueryParameter['offset'] = offset;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v2/localentity/deposit/history',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch address verification list for user to check on status and other details for the addresses stored in\n * Address Book.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch address verification list (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n fetchAddressVerificationList: async (\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/addressVerify/list',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query the active country list for travel rule questionnaires. Currently, only supports AU entity.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get Country List (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n getCountryList: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/country/list',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Query the active region/city list for a given country. Currently, only supports AU entity.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get Region List (USER_DATA)\n * @param {string} countryCode ISO 2-digit country code (from Country List API).\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n getRegionList: async (\n countryCode: string,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'countryCode' is not null or undefined\n assertParamExists('getRegionList', 'countryCode', countryCode);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (countryCode !== undefined && countryCode !== null) {\n localVarQueryParameter['countryCode'] = countryCode;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/region/list',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Submit questionnaire for brokers of local entities that require travel rule.\n * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Submit Deposit Questionnaire Broker (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {string} subAccountId External user ID.\n * @param {number | bigint} depositId Wallet deposit ID.\n * @param {string} questionnaire JSON format questionnaire answers.\n * @param {string} beneficiaryPii JSON format beneficiary Pii.\n * @param {string} [network]\n * @param {string} [coin]\n * @param {number} [amount]\n * @param {string} [address]\n * @param {string} [addressTag]\n *\n * @throws {RequiredError}\n */\n submitDepositQuestionnaire: async (\n subAccountId: string,\n depositId: number | bigint,\n questionnaire: string,\n beneficiaryPii: string,\n network?: string,\n coin?: string,\n amount?: number,\n address?: string,\n addressTag?: string\n ): Promise<RequestArgs> => {\n // verify required parameter 'subAccountId' is not null or undefined\n assertParamExists('submitDepositQuestionnaire', 'subAccountId', subAccountId);\n // verify required parameter 'depositId' is not null or undefined\n assertParamExists('submitDepositQuestionnaire', 'depositId', depositId);\n // verify required parameter 'questionnaire' is not null or undefined\n assertParamExists('submitDepositQuestionnaire', 'questionnaire', questionnaire);\n // verify required parameter 'beneficiaryPii' is not null or undefined\n assertParamExists('submitDepositQuestionnaire', 'beneficiaryPii', beneficiaryPii);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (subAccountId !== undefined && subAccountId !== null) {\n localVarQueryParameter['subAccountId'] = subAccountId;\n }\n if (depositId !== undefined && depositId !== null) {\n localVarQueryParameter['depositId'] = depositId;\n }\n if (questionnaire !== undefined && questionnaire !== null) {\n localVarQueryParameter['questionnaire'] = questionnaire;\n }\n if (beneficiaryPii !== undefined && beneficiaryPii !== null) {\n localVarQueryParameter['beneficiaryPii'] = beneficiaryPii;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (amount !== undefined && amount !== null) {\n localVarQueryParameter['amount'] = amount;\n }\n if (address !== undefined && address !== null) {\n localVarQueryParameter['address'] = address;\n }\n if (addressTag !== undefined && addressTag !== null) {\n localVarQueryParameter['addressTag'] = addressTag;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/broker/deposit/provide-info',\n method: 'PUT',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {number | bigint} tranId Wallet tran ID\n * @param {string} questionnaire JSON format questionnaire answers.\n *\n * @throws {RequiredError}\n */\n submitDepositQuestionnaireTravelRule: async (\n tranId: number | bigint,\n questionnaire: string\n ): Promise<RequestArgs> => {\n // verify required parameter 'tranId' is not null or undefined\n assertParamExists('submitDepositQuestionnaireTravelRule', 'tranId', tranId);\n // verify required parameter 'questionnaire' is not null or undefined\n assertParamExists(\n 'submitDepositQuestionnaireTravelRule',\n 'questionnaire',\n questionnaire\n );\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (tranId !== undefined && tranId !== null) {\n localVarQueryParameter['tranId'] = tranId;\n }\n if (questionnaire !== undefined && questionnaire !== null) {\n localVarQueryParameter['questionnaire'] = questionnaire;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/deposit/provide-info',\n method: 'PUT',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {number | bigint} depositId Wallet deposit ID\n * @param {string} questionnaire JSON format questionnaire answers.\n *\n * @throws {RequiredError}\n */\n submitDepositQuestionnaireV2: async (\n depositId: number | bigint,\n questionnaire: string\n ): Promise<RequestArgs> => {\n // verify required parameter 'depositId' is not null or undefined\n assertParamExists('submitDepositQuestionnaireV2', 'depositId', depositId);\n // verify required parameter 'questionnaire' is not null or undefined\n assertParamExists('submitDepositQuestionnaireV2', 'questionnaire', questionnaire);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (depositId !== undefined && depositId !== null) {\n localVarQueryParameter['depositId'] = depositId;\n }\n if (questionnaire !== undefined && questionnaire !== null) {\n localVarQueryParameter['questionnaire'] = questionnaire;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v2/localentity/deposit/provide-info',\n method: 'PUT',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch the VASP list for local entities.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n vaspList: async (recvWindow?: number | bigint): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/vasp',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `network` may not be in the response for old withdraw.\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n *\n * @summary Withdraw History Travel Rule (supporting network) (USER_DATA)\n * @param {string} [trId] Comma(,) separated list of travel rule record Ids.\n * @param {string} [txId] Comma(,) separated list of transaction Ids.\n * @param {string} [withdrawOrderId] client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for\n * query.\n * @param {string} [network]\n * @param {string} [coin]\n * @param {number | bigint} [travelRuleStatus] 0:Completed,1:Pending,2:Failed\n * @param {number | bigint} [offset]\n * @param {number | bigint} [limit]\n * @param {number | bigint} [startTime] Default: 90 days from current timestamp\n * @param {number | bigint} [endTime] Default: present timestamp\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n withdrawHistoryV1: async (\n trId?: string,\n txId?: string,\n withdrawOrderId?: string,\n network?: string,\n coin?: string,\n travelRuleStatus?: number | bigint,\n offset?: number | bigint,\n limit?: number | bigint,\n startTime?: number | bigint,\n endTime?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (trId !== undefined && trId !== null) {\n localVarQueryParameter['trId'] = trId;\n }\n if (txId !== undefined && txId !== null) {\n localVarQueryParameter['txId'] = txId;\n }\n if (withdrawOrderId !== undefined && withdrawOrderId !== null) {\n localVarQueryParameter['withdrawOrderId'] = withdrawOrderId;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (travelRuleStatus !== undefined && travelRuleStatus !== null) {\n localVarQueryParameter['travelRuleStatus'] = travelRuleStatus;\n }\n if (offset !== undefined && offset !== null) {\n localVarQueryParameter['offset'] = offset;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/withdraw/history',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `network` may not be in the response for old withdraw.\n * - Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n * - If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days.\n * - If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default.\n * - Maximum support trId,txId number is 45.\n * - WithdrawOrderId only support 1.\n * - If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.\n *\n * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {string} [trId] Comma(,) separated list of travel rule record Ids.\n * @param {string} [txId] Comma(,) separated list of transaction Ids.\n * @param {string} [withdrawOrderId] client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for\n * query.\n * @param {string} [network]\n * @param {string} [coin]\n * @param {number | bigint} [travelRuleStatus] 0:Completed,1:Pending,2:Failed\n * @param {number | bigint} [offset]\n * @param {number | bigint} [limit]\n * @param {number | bigint} [startTime] Default: 90 days from current timestamp\n * @param {number | bigint} [endTime] Default: present timestamp\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n withdrawHistoryV2: async (\n trId?: string,\n txId?: string,\n withdrawOrderId?: string,\n network?: string,\n coin?: string,\n travelRuleStatus?: number | bigint,\n offset?: number | bigint,\n limit?: number | bigint,\n startTime?: number | bigint,\n endTime?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (trId !== undefined && trId !== null) {\n localVarQueryParameter['trId'] = trId;\n }\n if (txId !== undefined && txId !== null) {\n localVarQueryParameter['txId'] = txId;\n }\n if (withdrawOrderId !== undefined && withdrawOrderId !== null) {\n localVarQueryParameter['withdrawOrderId'] = withdrawOrderId;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (travelRuleStatus !== undefined && travelRuleStatus !== null) {\n localVarQueryParameter['travelRuleStatus'] = travelRuleStatus;\n }\n if (offset !== undefined && offset !== null) {\n localVarQueryParameter['offset'] = offset;\n }\n if (limit !== undefined && limit !== null) {\n localVarQueryParameter['limit'] = limit;\n }\n if (startTime !== undefined && startTime !== null) {\n localVarQueryParameter['startTime'] = startTime;\n }\n if (endTime !== undefined && endTime !== null) {\n localVarQueryParameter['endTime'] = endTime;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v2/localentity/withdraw/history',\n method: 'GET',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n /**\n * Submit a withdrawal request for local entities that required travel rule.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * - You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - Questionnaire is different for each local entity, please refer to the `Withdraw Questionnaire Contents` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Withdraw Travel Rule (USER_DATA)\n * @param {string} coin\n * @param {string} address Withdrawal address\n * @param {number} amount Amount\n * @param {string} questionnaire JSON format questionnaire answers.\n * @param {string} [withdrawOrderId] withdrawID defined by the client (i.e. client's internal withdrawID)\n * @param {string} [network] Withdrawal network\n * @param {string} [addressTag] Secondary address identifier for coins like XRP,XMR etc.\n * @param {boolean} [transactionFeeFlag] When making internal transfer, `true` for returning the fee to the destination account; `false` for\n * returning the fee back to the departure account. Default `false`.\n * @param {string} [name]\n * @param {number | bigint} [walletType] The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current\n * \"selected wallet\" under wallet->Fiat and Spot/Funding->Deposit\n * @param {number | bigint} [recvWindow]\n *\n * @throws {RequiredError}\n */\n withdrawTravelRule: async (\n coin: string,\n address: string,\n amount: number,\n questionnaire: string,\n withdrawOrderId?: string,\n network?: string,\n addressTag?: string,\n transactionFeeFlag?: boolean,\n name?: string,\n walletType?: number | bigint,\n recvWindow?: number | bigint\n ): Promise<RequestArgs> => {\n // verify required parameter 'coin' is not null or undefined\n assertParamExists('withdrawTravelRule', 'coin', coin);\n // verify required parameter 'address' is not null or undefined\n assertParamExists('withdrawTravelRule', 'address', address);\n // verify required parameter 'amount' is not null or undefined\n assertParamExists('withdrawTravelRule', 'amount', amount);\n // verify required parameter 'questionnaire' is not null or undefined\n assertParamExists('withdrawTravelRule', 'questionnaire', questionnaire);\n\n const localVarQueryParameter: Record<string, unknown> = {};\n const localVarBodyParameter: Record<string, unknown> = {};\n const localVarHeaderParameter: Record<string, unknown> = {};\n\n if (coin !== undefined && coin !== null) {\n localVarQueryParameter['coin'] = coin;\n }\n if (withdrawOrderId !== undefined && withdrawOrderId !== null) {\n localVarQueryParameter['withdrawOrderId'] = withdrawOrderId;\n }\n if (network !== undefined && network !== null) {\n localVarQueryParameter['network'] = network;\n }\n if (address !== undefined && address !== null) {\n localVarQueryParameter['address'] = address;\n }\n if (addressTag !== undefined && addressTag !== null) {\n localVarQueryParameter['addressTag'] = addressTag;\n }\n if (amount !== undefined && amount !== null) {\n localVarQueryParameter['amount'] = amount;\n }\n if (transactionFeeFlag !== undefined && transactionFeeFlag !== null) {\n localVarQueryParameter['transactionFeeFlag'] = transactionFeeFlag;\n }\n if (name !== undefined && name !== null) {\n localVarQueryParameter['name'] = name;\n }\n if (walletType !== undefined && walletType !== null) {\n localVarQueryParameter['walletType'] = walletType;\n }\n if (recvWindow !== undefined && recvWindow !== null) {\n localVarQueryParameter['recvWindow'] = recvWindow;\n }\n if (questionnaire !== undefined && questionnaire !== null) {\n localVarQueryParameter['questionnaire'] = questionnaire;\n }\n\n let _timeUnit: TimeUnit | undefined;\n if ('timeUnit' in configuration) _timeUnit = configuration.timeUnit as TimeUnit;\n\n return {\n endpoint: '/sapi/v1/localentity/withdraw/apply',\n method: 'POST',\n queryParams: localVarQueryParameter,\n bodyParams: localVarBodyParameter,\n headerParams: localVarHeaderParameter,\n timeUnit: _timeUnit,\n };\n },\n };\n};\n\n/**\n * TravelRuleApi - interface\n * @interface TravelRuleApi\n */\nexport interface TravelRuleApiInterface {\n /**\n * Submit a withdrawal request for brokers of local entities that required travel rule.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * - You can get `network` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - Questionnaire is different for each local entity, please refer to the `Withdraw Questionnaire Contents` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA)\n * @param {BrokerWithdrawRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n brokerWithdraw(\n requestParameters: BrokerWithdrawRequest\n ): Promise<RestApiResponse<BrokerWithdrawResponse>>;\n /**\n * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current\n * API key.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n checkQuestionnaireRequirements(\n requestParameters?: CheckQuestionnaireRequirementsRequest\n ): Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>;\n /**\n * Fetch deposit history for local entities that required travel rule.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.\n * - Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * @summary Deposit History Travel Rule (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {DepositHistoryTravelRuleRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n depositHistoryTravelRule(\n requestParameters?: DepositHistoryTravelRuleRequest\n ): Promise<RestApiResponse<DepositHistoryTravelRuleResponse>>;\n /**\n * Fetch deposit history for local entities that with required travel rule information.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.\n * - Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {DepositHistoryV2Request} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n depositHistoryV2(\n requestParameters?: DepositHistoryV2Request\n ): Promise<RestApiResponse<DepositHistoryV2Response>>;\n /**\n * Fetch address verification list for user to check on status and other details for the addresses stored in\n * Address Book.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch address verification list (USER_DATA)\n * @param {FetchAddressVerificationListRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n fetchAddressVerificationList(\n requestParameters?: FetchAddressVerificationListRequest\n ): Promise<RestApiResponse<FetchAddressVerificationListResponse>>;\n /**\n * Query the active country list for travel rule questionnaires. Currently, only supports AU entity.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get Country List (USER_DATA)\n * @param {GetCountryListRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n getCountryList(\n requestParameters?: GetCountryListRequest\n ): Promise<RestApiResponse<GetCountryListResponse>>;\n /**\n * Query the active region/city list for a given country. Currently, only supports AU entity.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get Region List (USER_DATA)\n * @param {GetRegionListRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n getRegionList(\n requestParameters: GetRegionListRequest\n ): Promise<RestApiResponse<GetRegionListResponse>>;\n /**\n * Submit questionnaire for brokers of local entities that require travel rule.\n * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Submit Deposit Questionnaire Broker (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n submitDepositQuestionnaire(\n requestParameters: SubmitDepositQuestionnaireRequest\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireResponse>>;\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireTravelRuleRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n submitDepositQuestionnaireTravelRule(\n requestParameters: SubmitDepositQuestionnaireTravelRuleRequest\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>>;\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireV2Request} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n submitDepositQuestionnaireV2(\n requestParameters: SubmitDepositQuestionnaireV2Request\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireV2Response>>;\n /**\n * Fetch the VASP list for local entities.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {VaspListRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n vaspList(requestParameters?: VaspListRequest): Promise<RestApiResponse<VaspListResponse>>;\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `network` may not be in the response for old withdraw.\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n *\n * @summary Withdraw History Travel Rule (supporting network) (USER_DATA)\n * @param {WithdrawHistoryV1Request} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n withdrawHistoryV1(\n requestParameters?: WithdrawHistoryV1Request\n ): Promise<RestApiResponse<WithdrawHistoryV1Response>>;\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `network` may not be in the response for old withdraw.\n * - Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n * - If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days.\n * - If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default.\n * - Maximum support trId,txId number is 45.\n * - WithdrawOrderId only support 1.\n * - If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.\n *\n * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {WithdrawHistoryV2Request} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n withdrawHistoryV2(\n requestParameters?: WithdrawHistoryV2Request\n ): Promise<RestApiResponse<WithdrawHistoryV2Response>>;\n /**\n * Submit a withdrawal request for local entities that required travel rule.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * - You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - Questionnaire is different for each local entity, please refer to the `Withdraw Questionnaire Contents` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Withdraw Travel Rule (USER_DATA)\n * @param {WithdrawTravelRuleRequest} requestParameters Request parameters.\n *\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApiInterface\n */\n withdrawTravelRule(\n requestParameters: WithdrawTravelRuleRequest\n ): Promise<RestApiResponse<WithdrawTravelRuleResponse>>;\n}\n\n/**\n * Request parameters for brokerWithdraw operation in TravelRuleApi.\n * @interface BrokerWithdrawRequest\n */\nexport interface BrokerWithdrawRequest {\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly address: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly coin: string;\n\n /**\n *\n * @type {number}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly amount: number;\n\n /**\n * withdrawID defined by the client (i.e. client's internal withdrawID)\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly withdrawOrderId: string;\n\n /**\n * JSON format questionnaire answers.\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly questionnaire: string;\n\n /**\n * JSON format originator Pii, see StandardPii section below\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly originatorPii: string;\n\n /**\n * Secondary address identifier for coins like XRP,XMR etc.\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly addressTag?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly network?: string;\n\n /**\n * Description of the address. Address book cap is 200, space in name should be encoded into `%20`\n * @type {string}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly addressName?: string;\n\n /**\n * When making internal transfer, `true` for returning the fee to the destination account; `false` for\n * returning the fee back to the departure account. Default `false`.\n * @type {boolean}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly transactionFeeFlag?: boolean;\n\n /**\n * The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current\n * \"selected wallet\" under wallet->Fiat and Spot/Funding->Deposit\n * @type {number | bigint}\n * @memberof TravelRuleApiBrokerWithdraw\n */\n readonly walletType?: number | bigint;\n}\n\n/**\n * Request parameters for checkQuestionnaireRequirements operation in TravelRuleApi.\n * @interface CheckQuestionnaireRequirementsRequest\n */\nexport interface CheckQuestionnaireRequirementsRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiCheckQuestionnaireRequirements\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for depositHistoryTravelRule operation in TravelRuleApi.\n * @interface DepositHistoryTravelRuleRequest\n */\nexport interface DepositHistoryTravelRuleRequest {\n /**\n * Comma(,) separated list of travel rule record Ids.\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly trId?: string;\n\n /**\n * Comma(,) separated list of transaction Ids.\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly txId?: string;\n\n /**\n * Comma(,) separated list of wallet tran Ids.\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly tranId?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly network?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly coin?: string;\n\n /**\n * 0:Completed,1:Pending,2:Failed\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly travelRuleStatus?: number | bigint;\n\n /**\n * true: Only return records that pending deposit questionnaire. false/not provided: return all records.\n * @type {boolean}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly pendingQuestionnaire?: boolean;\n\n /**\n * Default: 90 days from current timestamp\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly startTime?: number | bigint;\n\n /**\n * Default: present timestamp\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly endTime?: number | bigint;\n\n /**\n * Default: 0\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly offset?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryTravelRule\n */\n readonly limit?: number | bigint;\n}\n\n/**\n * Request parameters for depositHistoryV2 operation in TravelRuleApi.\n * @interface DepositHistoryV2Request\n */\nexport interface DepositHistoryV2Request {\n /**\n * Comma(,) separated list of wallet tran Ids.\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly depositId?: number | bigint;\n\n /**\n * Comma(,) separated list of transaction Ids.\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly txId?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly network?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly coin?: string;\n\n /**\n * true: return `questionnaire` within response.\n * @type {boolean}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly retrieveQuestionnaire?: boolean;\n\n /**\n * Default: 90 days from current timestamp\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly startTime?: number | bigint;\n\n /**\n * Default: present timestamp\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly endTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly offset?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiDepositHistoryV2\n */\n readonly limit?: number | bigint;\n}\n\n/**\n * Request parameters for fetchAddressVerificationList operation in TravelRuleApi.\n * @interface FetchAddressVerificationListRequest\n */\nexport interface FetchAddressVerificationListRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiFetchAddressVerificationList\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for getCountryList operation in TravelRuleApi.\n * @interface GetCountryListRequest\n */\nexport interface GetCountryListRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiGetCountryList\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for getRegionList operation in TravelRuleApi.\n * @interface GetRegionListRequest\n */\nexport interface GetRegionListRequest {\n /**\n * ISO 2-digit country code (from Country List API).\n * @type {string}\n * @memberof TravelRuleApiGetRegionList\n */\n readonly countryCode: string;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiGetRegionList\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for submitDepositQuestionnaire operation in TravelRuleApi.\n * @interface SubmitDepositQuestionnaireRequest\n */\nexport interface SubmitDepositQuestionnaireRequest {\n /**\n * External user ID.\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly subAccountId: string;\n\n /**\n * Wallet deposit ID.\n * @type {number | bigint}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly depositId: number | bigint;\n\n /**\n * JSON format questionnaire answers.\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly questionnaire: string;\n\n /**\n * JSON format beneficiary Pii.\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly beneficiaryPii: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly network?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly coin?: string;\n\n /**\n *\n * @type {number}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly amount?: number;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly address?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaire\n */\n readonly addressTag?: string;\n}\n\n/**\n * Request parameters for submitDepositQuestionnaireTravelRule operation in TravelRuleApi.\n * @interface SubmitDepositQuestionnaireTravelRuleRequest\n */\nexport interface SubmitDepositQuestionnaireTravelRuleRequest {\n /**\n * Wallet tran ID\n * @type {number | bigint}\n * @memberof TravelRuleApiSubmitDepositQuestionnaireTravelRule\n */\n readonly tranId: number | bigint;\n\n /**\n * JSON format questionnaire answers.\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaireTravelRule\n */\n readonly questionnaire: string;\n}\n\n/**\n * Request parameters for submitDepositQuestionnaireV2 operation in TravelRuleApi.\n * @interface SubmitDepositQuestionnaireV2Request\n */\nexport interface SubmitDepositQuestionnaireV2Request {\n /**\n * Wallet deposit ID\n * @type {number | bigint}\n * @memberof TravelRuleApiSubmitDepositQuestionnaireV2\n */\n readonly depositId: number | bigint;\n\n /**\n * JSON format questionnaire answers.\n * @type {string}\n * @memberof TravelRuleApiSubmitDepositQuestionnaireV2\n */\n readonly questionnaire: string;\n}\n\n/**\n * Request parameters for vaspList operation in TravelRuleApi.\n * @interface VaspListRequest\n */\nexport interface VaspListRequest {\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiVaspList\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for withdrawHistoryV1 operation in TravelRuleApi.\n * @interface WithdrawHistoryV1Request\n */\nexport interface WithdrawHistoryV1Request {\n /**\n * Comma(,) separated list of travel rule record Ids.\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly trId?: string;\n\n /**\n * Comma(,) separated list of transaction Ids.\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly txId?: string;\n\n /**\n * client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for\n * query.\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly withdrawOrderId?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly network?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly coin?: string;\n\n /**\n * 0:Completed,1:Pending,2:Failed\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly travelRuleStatus?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly offset?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly limit?: number | bigint;\n\n /**\n * Default: 90 days from current timestamp\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly startTime?: number | bigint;\n\n /**\n * Default: present timestamp\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly endTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV1\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for withdrawHistoryV2 operation in TravelRuleApi.\n * @interface WithdrawHistoryV2Request\n */\nexport interface WithdrawHistoryV2Request {\n /**\n * Comma(,) separated list of travel rule record Ids.\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly trId?: string;\n\n /**\n * Comma(,) separated list of transaction Ids.\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly txId?: string;\n\n /**\n * client side id for withdrawal, if provided in POST `/sapi/v1/capital/withdraw/apply`, can be used here for\n * query.\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly withdrawOrderId?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly network?: string;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly coin?: string;\n\n /**\n * 0:Completed,1:Pending,2:Failed\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly travelRuleStatus?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly offset?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly limit?: number | bigint;\n\n /**\n * Default: 90 days from current timestamp\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly startTime?: number | bigint;\n\n /**\n * Default: present timestamp\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly endTime?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawHistoryV2\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * Request parameters for withdrawTravelRule operation in TravelRuleApi.\n * @interface WithdrawTravelRuleRequest\n */\nexport interface WithdrawTravelRuleRequest {\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly coin: string;\n\n /**\n * Withdrawal address\n * @type {string}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly address: string;\n\n /**\n * Amount\n * @type {number}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly amount: number;\n\n /**\n * JSON format questionnaire answers.\n * @type {string}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly questionnaire: string;\n\n /**\n * withdrawID defined by the client (i.e. client's internal withdrawID)\n * @type {string}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly withdrawOrderId?: string;\n\n /**\n * Withdrawal network\n * @type {string}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly network?: string;\n\n /**\n * Secondary address identifier for coins like XRP,XMR etc.\n * @type {string}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly addressTag?: string;\n\n /**\n * When making internal transfer, `true` for returning the fee to the destination account; `false` for\n * returning the fee back to the departure account. Default `false`.\n * @type {boolean}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly transactionFeeFlag?: boolean;\n\n /**\n *\n * @type {string}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly name?: string;\n\n /**\n * The wallet type for withdraw,0-spot wallet ,1-funding wallet. Default walletType is the current\n * \"selected wallet\" under wallet->Fiat and Spot/Funding->Deposit\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly walletType?: number | bigint;\n\n /**\n *\n * @type {number | bigint}\n * @memberof TravelRuleApiWithdrawTravelRule\n */\n readonly recvWindow?: number | bigint;\n}\n\n/**\n * TravelRuleApi - object-oriented interface\n * @class TravelRuleApi\n */\nexport class TravelRuleApi implements TravelRuleApiInterface {\n private readonly configuration: ConfigurationRestAPI;\n private localVarAxiosParamCreator;\n\n constructor(configuration: ConfigurationRestAPI) {\n this.configuration = configuration;\n this.localVarAxiosParamCreator = TravelRuleApiAxiosParamCreator(configuration);\n }\n\n /**\n * Submit a withdrawal request for brokers of local entities that required travel rule.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * - You can get `network` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - Questionnaire is different for each local entity, please refer to the `Withdraw Questionnaire Contents` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA)\n * @param {BrokerWithdrawRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<BrokerWithdrawResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#broker-withdraw Binance API Documentation}\n */\n public async brokerWithdraw(\n requestParameters: BrokerWithdrawRequest\n ): Promise<RestApiResponse<BrokerWithdrawResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.brokerWithdraw(\n requestParameters?.address,\n requestParameters?.coin,\n requestParameters?.amount,\n requestParameters?.withdrawOrderId,\n requestParameters?.questionnaire,\n requestParameters?.originatorPii,\n requestParameters?.addressTag,\n requestParameters?.network,\n requestParameters?.addressName,\n requestParameters?.transactionFeeFlag,\n requestParameters?.walletType\n );\n return sendRequest<BrokerWithdrawResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current\n * API key.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#check-questionnaire-requirements Binance API Documentation}\n */\n public async checkQuestionnaireRequirements(\n requestParameters: CheckQuestionnaireRequirementsRequest = {}\n ): Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.checkQuestionnaireRequirements(\n requestParameters?.recvWindow\n );\n return sendRequest<CheckQuestionnaireRequirementsResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch deposit history for local entities that required travel rule.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.\n * - Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * @summary Deposit History Travel Rule (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {DepositHistoryTravelRuleRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DepositHistoryTravelRuleResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#deposit-history-travel-rule Binance API Documentation}\n */\n public async depositHistoryTravelRule(\n requestParameters: DepositHistoryTravelRuleRequest = {}\n ): Promise<RestApiResponse<DepositHistoryTravelRuleResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositHistoryTravelRule(\n requestParameters?.trId,\n requestParameters?.txId,\n requestParameters?.tranId,\n requestParameters?.network,\n requestParameters?.coin,\n requestParameters?.travelRuleStatus,\n requestParameters?.pendingQuestionnaire,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.offset,\n requestParameters?.limit\n );\n return sendRequest<DepositHistoryTravelRuleResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch deposit history for local entities that with required travel rule information.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.\n * - Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {DepositHistoryV2Request} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<DepositHistoryV2Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#deposit-history-v2 Binance API Documentation}\n */\n public async depositHistoryV2(\n requestParameters: DepositHistoryV2Request = {}\n ): Promise<RestApiResponse<DepositHistoryV2Response>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.depositHistoryV2(\n requestParameters?.depositId,\n requestParameters?.txId,\n requestParameters?.network,\n requestParameters?.coin,\n requestParameters?.retrieveQuestionnaire,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.offset,\n requestParameters?.limit\n );\n return sendRequest<DepositHistoryV2Response>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch address verification list for user to check on status and other details for the addresses stored in\n * Address Book.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch address verification list (USER_DATA)\n * @param {FetchAddressVerificationListRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<FetchAddressVerificationListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#fetch-address-verification-list Binance API Documentation}\n */\n public async fetchAddressVerificationList(\n requestParameters: FetchAddressVerificationListRequest = {}\n ): Promise<RestApiResponse<FetchAddressVerificationListResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.fetchAddressVerificationList(\n requestParameters?.recvWindow\n );\n return sendRequest<FetchAddressVerificationListResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Query the active country list for travel rule questionnaires. Currently, only supports AU entity.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get Country List (USER_DATA)\n * @param {GetCountryListRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<GetCountryListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#get-country-list Binance API Documentation}\n */\n public async getCountryList(\n requestParameters: GetCountryListRequest = {}\n ): Promise<RestApiResponse<GetCountryListResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.getCountryList(\n requestParameters?.recvWindow\n );\n return sendRequest<GetCountryListResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Query the active region/city list for a given country. Currently, only supports AU entity.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get Region List (USER_DATA)\n * @param {GetRegionListRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<GetRegionListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#get-region-list Binance API Documentation}\n */\n public async getRegionList(\n requestParameters: GetRegionListRequest\n ): Promise<RestApiResponse<GetRegionListResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.getRegionList(\n requestParameters?.countryCode,\n requestParameters?.recvWindow\n );\n return sendRequest<GetRegionListResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Submit questionnaire for brokers of local entities that require travel rule.\n * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Submit Deposit Questionnaire Broker (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire Binance API Documentation}\n */\n public async submitDepositQuestionnaire(\n requestParameters: SubmitDepositQuestionnaireRequest\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.submitDepositQuestionnaire(\n requestParameters?.subAccountId,\n requestParameters?.depositId,\n requestParameters?.questionnaire,\n requestParameters?.beneficiaryPii,\n requestParameters?.network,\n requestParameters?.coin,\n requestParameters?.amount,\n requestParameters?.address,\n requestParameters?.addressTag\n );\n return sendRequest<SubmitDepositQuestionnaireResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireTravelRuleRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire-travel-rule Binance API Documentation}\n */\n public async submitDepositQuestionnaireTravelRule(\n requestParameters: SubmitDepositQuestionnaireTravelRuleRequest\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>> {\n const localVarAxiosArgs =\n await this.localVarAxiosParamCreator.submitDepositQuestionnaireTravelRule(\n requestParameters?.tranId,\n requestParameters?.questionnaire\n );\n return sendRequest<SubmitDepositQuestionnaireTravelRuleResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireV2Request} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireV2Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire-v2 Binance API Documentation}\n */\n public async submitDepositQuestionnaireV2(\n requestParameters: SubmitDepositQuestionnaireV2Request\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireV2Response>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.submitDepositQuestionnaireV2(\n requestParameters?.depositId,\n requestParameters?.questionnaire\n );\n return sendRequest<SubmitDepositQuestionnaireV2Response>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch the VASP list for local entities.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {VaspListRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<VaspListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#vasp-list Binance API Documentation}\n */\n public async vaspList(\n requestParameters: VaspListRequest = {}\n ): Promise<RestApiResponse<VaspListResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.vaspList(\n requestParameters?.recvWindow\n );\n return sendRequest<VaspListResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `network` may not be in the response for old withdraw.\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n *\n * @summary Withdraw History Travel Rule (supporting network) (USER_DATA)\n * @param {WithdrawHistoryV1Request} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<WithdrawHistoryV1Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-history-v1 Binance API Documentation}\n */\n public async withdrawHistoryV1(\n requestParameters: WithdrawHistoryV1Request = {}\n ): Promise<RestApiResponse<WithdrawHistoryV1Response>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawHistoryV1(\n requestParameters?.trId,\n requestParameters?.txId,\n requestParameters?.withdrawOrderId,\n requestParameters?.network,\n requestParameters?.coin,\n requestParameters?.travelRuleStatus,\n requestParameters?.offset,\n requestParameters?.limit,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.recvWindow\n );\n return sendRequest<WithdrawHistoryV1Response>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `network` may not be in the response for old withdraw.\n * - Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n * - If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days.\n * - If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default.\n * - Maximum support trId,txId number is 45.\n * - WithdrawOrderId only support 1.\n * - If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.\n *\n * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {WithdrawHistoryV2Request} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<WithdrawHistoryV2Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-history-v2 Binance API Documentation}\n */\n public async withdrawHistoryV2(\n requestParameters: WithdrawHistoryV2Request = {}\n ): Promise<RestApiResponse<WithdrawHistoryV2Response>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawHistoryV2(\n requestParameters?.trId,\n requestParameters?.txId,\n requestParameters?.withdrawOrderId,\n requestParameters?.network,\n requestParameters?.coin,\n requestParameters?.travelRuleStatus,\n requestParameters?.offset,\n requestParameters?.limit,\n requestParameters?.startTime,\n requestParameters?.endTime,\n requestParameters?.recvWindow\n );\n return sendRequest<WithdrawHistoryV2Response>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n\n /**\n * Submit a withdrawal request for local entities that required travel rule.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * - You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - Questionnaire is different for each local entity, please refer to the `Withdraw Questionnaire Contents` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Withdraw Travel Rule (USER_DATA)\n * @param {WithdrawTravelRuleRequest} requestParameters Request parameters.\n * @returns {Promise<RestApiResponse<WithdrawTravelRuleResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @memberof TravelRuleApi\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-travel-rule Binance API Documentation}\n */\n public async withdrawTravelRule(\n requestParameters: WithdrawTravelRuleRequest\n ): Promise<RestApiResponse<WithdrawTravelRuleResponse>> {\n const localVarAxiosArgs = await this.localVarAxiosParamCreator.withdrawTravelRule(\n requestParameters?.coin,\n requestParameters?.address,\n requestParameters?.amount,\n requestParameters?.questionnaire,\n requestParameters?.withdrawOrderId,\n requestParameters?.network,\n requestParameters?.addressTag,\n requestParameters?.transactionFeeFlag,\n requestParameters?.name,\n requestParameters?.walletType,\n requestParameters?.recvWindow\n );\n return sendRequest<WithdrawTravelRuleResponse>(\n this.configuration,\n localVarAxiosArgs.endpoint,\n localVarAxiosArgs.method,\n localVarAxiosArgs.queryParams,\n localVarAxiosArgs.bodyParams,\n localVarAxiosArgs.headerParams,\n localVarAxiosArgs?.timeUnit,\n { isSigned: true }\n );\n }\n}\n","/**\n * Wallet REST API\n *\n * Query balances, manage assets, and perform wallet operations via the Binance Wallet API.\n *\n * The version of the OpenAPI document: 1.0.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport { ConfigurationRestAPI, RestApiResponse, sendRequest } from '@binance/common';\nimport { AccountApi } from './modules/account-api';\nimport { AssetApi } from './modules/asset-api';\nimport { CapitalApi } from './modules/capital-api';\nimport { OthersApi } from './modules/others-api';\nimport { TravelRuleApi } from './modules/travel-rule-api';\n\nimport type {\n AccountApiTradingStatusRequest,\n AccountInfoRequest,\n AccountStatusRequest,\n DailyAccountSnapshotRequest,\n DisableFastWithdrawSwitchRequest,\n EnableFastWithdrawSwitchRequest,\n GetApiKeyPermissionRequest,\n} from './modules/account-api';\nimport type {\n AssetDetailRequest,\n AssetDividendRecordRequest,\n DustConvertRequest,\n DustConvertibleAssetsRequest,\n DustTransferRequest,\n DustlogRequest,\n FundingWalletRequest,\n GetAssetsThatCanBeConvertedIntoBnbRequest,\n GetCloudMiningPaymentAndRefundHistoryRequest,\n QueryUserDelegationHistoryRequest,\n QueryUserUniversalTransferHistoryRequest,\n QueryUserWalletBalanceRequest,\n ToggleBnbBurnOnSpotTradeAndMarginInterestRequest,\n TradeFeeRequest,\n UserAssetRequest,\n UserUniversalTransferRequest,\n} from './modules/asset-api';\nimport type {\n AllCoinsInformationRequest,\n DepositAddressRequest,\n DepositHistoryRequest,\n FetchDepositAddressListWithNetworkRequest,\n OneClickArrivalDepositApplyRequest,\n WithdrawRequest,\n WithdrawHistoryRequest,\n} from './modules/capital-api';\nimport type { GetSymbolsDelistScheduleForSpotRequest } from './modules/others-api';\nimport type {\n BrokerWithdrawRequest,\n CheckQuestionnaireRequirementsRequest,\n DepositHistoryTravelRuleRequest,\n DepositHistoryV2Request,\n FetchAddressVerificationListRequest,\n GetCountryListRequest,\n GetRegionListRequest,\n SubmitDepositQuestionnaireRequest,\n SubmitDepositQuestionnaireTravelRuleRequest,\n SubmitDepositQuestionnaireV2Request,\n VaspListRequest,\n WithdrawHistoryV1Request,\n WithdrawHistoryV2Request,\n WithdrawTravelRuleRequest,\n} from './modules/travel-rule-api';\n\nimport type {\n AccountApiTradingStatusResponse,\n AccountInfoResponse,\n AccountStatusResponse,\n DailyAccountSnapshotResponse,\n GetApiKeyPermissionResponse,\n} from './types';\nimport type {\n AssetDetailResponse,\n AssetDividendRecordResponse,\n DustConvertResponse,\n DustConvertibleAssetsResponse,\n DustTransferResponse,\n DustlogResponse,\n FundingWalletResponse,\n GetAssetsThatCanBeConvertedIntoBnbResponse,\n GetCloudMiningPaymentAndRefundHistoryResponse,\n GetOpenSymbolListResponse,\n QueryUserDelegationHistoryResponse,\n QueryUserUniversalTransferHistoryResponse,\n QueryUserWalletBalanceResponse,\n ToggleBnbBurnOnSpotTradeAndMarginInterestResponse,\n TradeFeeResponse,\n UserAssetResponse,\n UserUniversalTransferResponse,\n} from './types';\nimport type {\n AllCoinsInformationResponse,\n DepositAddressResponse,\n DepositHistoryResponse,\n FetchDepositAddressListWithNetworkResponse,\n FetchWithdrawAddressListResponse,\n FetchWithdrawQuotaResponse,\n OneClickArrivalDepositApplyResponse,\n WithdrawResponse,\n WithdrawHistoryResponse,\n} from './types';\nimport type { GetSymbolsDelistScheduleForSpotResponse, SystemStatusResponse } from './types';\nimport type {\n BrokerWithdrawResponse,\n CheckQuestionnaireRequirementsResponse,\n DepositHistoryTravelRuleResponse,\n DepositHistoryV2Response,\n FetchAddressVerificationListResponse,\n GetCountryListResponse,\n GetRegionListResponse,\n SubmitDepositQuestionnaireResponse,\n SubmitDepositQuestionnaireTravelRuleResponse,\n SubmitDepositQuestionnaireV2Response,\n VaspListResponse,\n WithdrawHistoryV1Response,\n WithdrawHistoryV2Response,\n WithdrawTravelRuleResponse,\n} from './types';\n\nexport class RestAPI {\n private configuration: ConfigurationRestAPI;\n private accountApi: AccountApi;\n private assetApi: AssetApi;\n private capitalApi: CapitalApi;\n private othersApi: OthersApi;\n private travelRuleApi: TravelRuleApi;\n\n constructor(configuration: ConfigurationRestAPI) {\n this.configuration = configuration;\n this.accountApi = new AccountApi(configuration);\n this.assetApi = new AssetApi(configuration);\n this.capitalApi = new CapitalApi(configuration);\n this.othersApi = new OthersApi(configuration);\n this.travelRuleApi = new TravelRuleApi(configuration);\n }\n\n /**\n * Generic function to send a request.\n * @param endpoint - The API endpoint to call.\n * @param method - HTTP method to use (GET, POST, DELETE, etc.).\n * @param queryParams - Query parameters for the request.\n * @param bodyParams - Body parameters for the request.\n *\n * @returns A promise resolving to the response data object.\n */\n sendRequest<T>(\n endpoint: string,\n method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH',\n queryParams: Record<string, unknown> = {},\n bodyParams: Record<string, unknown> = {}\n ): Promise<RestApiResponse<T>> {\n return sendRequest<T>(\n this.configuration,\n endpoint,\n method,\n queryParams,\n bodyParams,\n undefined,\n undefined\n );\n }\n\n /**\n * Generic function to send a signed request.\n * @param endpoint - The API endpoint to call.\n * @param method - HTTP method to use (GET, POST, DELETE, etc.).\n * @param queryParams - Query parameters for the request.\n * @param bodyParams - Body parameters for the request.\n *\n * @returns A promise resolving to the response data object.\n */\n sendSignedRequest<T>(\n endpoint: string,\n method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH',\n queryParams: Record<string, unknown> = {},\n bodyParams: Record<string, unknown> = {}\n ): Promise<RestApiResponse<T>> {\n return sendRequest<T>(\n this.configuration,\n endpoint,\n method,\n queryParams,\n bodyParams,\n undefined,\n undefined,\n { isSigned: true }\n );\n }\n\n /**\n * Fetch account api trading status detail.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Account API Trading Status (USER_DATA)\n * @param {AccountApiTradingStatusRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<AccountApiTradingStatusResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#account-api-trading-status Binance API Documentation}\n */\n accountApiTradingStatus(\n requestParameters: AccountApiTradingStatusRequest = {}\n ): Promise<RestApiResponse<AccountApiTradingStatusResponse>> {\n return this.accountApi.accountApiTradingStatus(requestParameters);\n }\n\n /**\n * Fetch account info detail.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Account info (USER_DATA)\n * @param {AccountInfoRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<AccountInfoResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#account-info Binance API Documentation}\n */\n accountInfo(\n requestParameters: AccountInfoRequest = {}\n ): Promise<RestApiResponse<AccountInfoResponse>> {\n return this.accountApi.accountInfo(requestParameters);\n }\n\n /**\n * Fetch account status detail.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Account Status (USER_DATA)\n * @param {AccountStatusRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<AccountStatusResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#account-status Binance API Documentation}\n */\n accountStatus(\n requestParameters: AccountStatusRequest = {}\n ): Promise<RestApiResponse<AccountStatusResponse>> {\n return this.accountApi.accountStatus(requestParameters);\n }\n\n /**\n * Daily account snapshot\n *\n * Weight(IP): 2400\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - The query time period must be less then 30 days\n * - Support query within the last one month only\n * - If startTimeand endTime not sent, return records of the last 7 days by default\n *\n * @summary Daily Account Snapshot (USER_DATA)\n * @param {DailyAccountSnapshotRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DailyAccountSnapshotResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#daily-account-snapshot Binance API Documentation}\n */\n dailyAccountSnapshot(\n requestParameters: DailyAccountSnapshotRequest\n ): Promise<RestApiResponse<DailyAccountSnapshotResponse>> {\n return this.accountApi.dailyAccountSnapshot(requestParameters);\n }\n\n /**\n * Disable Fast Withdraw Switch\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - This request will disable fastwithdraw switch under your account. You need to enable \"trade\" option for the api key which requests this endpoint.\n *\n * @summary Disable Fast Withdraw Switch (USER_DATA)\n * @param {DisableFastWithdrawSwitchRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<void>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#disable-fast-withdraw-switch Binance API Documentation}\n */\n disableFastWithdrawSwitch(\n requestParameters: DisableFastWithdrawSwitchRequest = {}\n ): Promise<RestApiResponse<void>> {\n return this.accountApi.disableFastWithdrawSwitch(requestParameters);\n }\n\n /**\n * Enable Fast Withdraw Switch (USER_DATA)\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - This request will enable fastwithdraw switch under your account. You need to enable \"trade\" option for the api key which requests this endpoint.\n * - 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.\n *\n * @summary Enable Fast Withdraw Switch (USER_DATA)\n * @param {EnableFastWithdrawSwitchRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<void>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#enable-fast-withdraw-switch Binance API Documentation}\n */\n enableFastWithdrawSwitch(\n requestParameters: EnableFastWithdrawSwitchRequest = {}\n ): Promise<RestApiResponse<void>> {\n return this.accountApi.enableFastWithdrawSwitch(requestParameters);\n }\n\n /**\n * Get API Key Permission\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get API Key Permission (USER_DATA)\n * @param {GetApiKeyPermissionRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<GetApiKeyPermissionResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/account#get-api-key-permission Binance API Documentation}\n */\n getApiKeyPermission(\n requestParameters: GetApiKeyPermissionRequest = {}\n ): Promise<RestApiResponse<GetApiKeyPermissionResponse>> {\n return this.accountApi.getApiKeyPermission(requestParameters);\n }\n\n /**\n * Fetch details of assets supported on Binance.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please get network and other deposit or withdraw details from `GET /sapi/v1/capital/config/getall`.\n *\n * @summary Asset Detail (USER_DATA)\n * @param {AssetDetailRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<AssetDetailResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#asset-detail Binance API Documentation}\n */\n assetDetail(\n requestParameters: AssetDetailRequest = {}\n ): Promise<RestApiResponse<AssetDetailResponse>> {\n return this.assetApi.assetDetail(requestParameters);\n }\n\n /**\n * Query asset dividend record.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - There cannot be more than 180 days between parameter `startTime` and `endTime`.\n *\n * @summary Asset Dividend Record (USER_DATA)\n * @param {AssetDividendRecordRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<AssetDividendRecordResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#asset-dividend-record Binance API Documentation}\n */\n assetDividendRecord(\n requestParameters: AssetDividendRecordRequest = {}\n ): Promise<RestApiResponse<AssetDividendRecordResponse>> {\n return this.assetApi.assetDividendRecord(requestParameters);\n }\n\n /**\n * Convert dust assets\n *\n * Weight(UID): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Dust Convert (USER_DATA)\n * @param {DustConvertRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DustConvertResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dust-convert Binance API Documentation}\n */\n dustConvert(\n requestParameters: DustConvertRequest\n ): Promise<RestApiResponse<DustConvertResponse>> {\n return this.assetApi.dustConvert(requestParameters);\n }\n\n /**\n * Query dust convertible assets\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Dust Convertible Assets (USER_DATA)\n * @param {DustConvertibleAssetsRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DustConvertibleAssetsResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dust-convertible-assets Binance API Documentation}\n */\n dustConvertibleAssets(\n requestParameters: DustConvertibleAssetsRequest\n ): Promise<RestApiResponse<DustConvertibleAssetsResponse>> {\n return this.assetApi.dustConvertibleAssets(requestParameters);\n }\n\n /**\n * Convert dust assets to BNB.\n *\n * Weight(UID): 10\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - You need to open`Enable Spot & Margin Trading` permission for the API Key which requests this endpoint.\n *\n * @summary Dust Transfer (USER_DATA)\n * @param {DustTransferRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DustTransferResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dust-transfer Binance API Documentation}\n */\n dustTransfer(\n requestParameters: DustTransferRequest\n ): Promise<RestApiResponse<DustTransferResponse>> {\n return this.assetApi.dustTransfer(requestParameters);\n }\n\n /**\n * Dustlog\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Only return last 100 records\n * - Only return records after 2020/12/01\n *\n * @summary DustLog (USER_DATA)\n * @param {DustlogRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DustlogResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#dustlog Binance API Documentation}\n */\n dustlog(requestParameters: DustlogRequest = {}): Promise<RestApiResponse<DustlogResponse>> {\n return this.assetApi.dustlog(requestParameters);\n }\n\n /**\n * Query Funding Wallet\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Currently supports querying the following business assets:Binance Pay, Binance Card, Binance Gift Card, Stock Token\n *\n * @summary Funding Wallet (USER_DATA)\n * @param {FundingWalletRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<FundingWalletResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#funding-wallet Binance API Documentation}\n */\n fundingWallet(\n requestParameters: FundingWalletRequest = {}\n ): Promise<RestApiResponse<FundingWalletResponse>> {\n return this.assetApi.fundingWallet(requestParameters);\n }\n\n /**\n * Get Assets That Can Be Converted Into BNB\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get Assets That Can Be Converted Into BNB (USER_DATA)\n * @param {GetAssetsThatCanBeConvertedIntoBnbRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<GetAssetsThatCanBeConvertedIntoBnbResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#get-assets-that-can-be-converted-into-bnb Binance API Documentation}\n */\n getAssetsThatCanBeConvertedIntoBnb(\n requestParameters: GetAssetsThatCanBeConvertedIntoBnbRequest = {}\n ): Promise<RestApiResponse<GetAssetsThatCanBeConvertedIntoBnbResponse>> {\n return this.assetApi.getAssetsThatCanBeConvertedIntoBnb(requestParameters);\n }\n\n /**\n * The query of Cloud-Mining payment and refund history\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Just return the SUCCESS records of payment and refund.\n * - For response, type = 248 means payment, type = 249 means refund, status =S means SUCCESS.\n *\n * @summary Get Cloud-Mining payment and refund history (USER_DATA)\n * @param {GetCloudMiningPaymentAndRefundHistoryRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<GetCloudMiningPaymentAndRefundHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#get-cloud-mining-payment-and-refund-history Binance API Documentation}\n */\n getCloudMiningPaymentAndRefundHistory(\n requestParameters: GetCloudMiningPaymentAndRefundHistoryRequest\n ): Promise<RestApiResponse<GetCloudMiningPaymentAndRefundHistoryResponse>> {\n return this.assetApi.getCloudMiningPaymentAndRefundHistory(requestParameters);\n }\n\n /**\n * Get the list of symbols that are scheduled to be opened for trading in\n * the market.\n *\n * Weight(IP): 100\n *\n * Security Type: MARKET_DATA\n *\n * @summary Get Open Symbol List (MARKET_DATA)\n *\n * @returns {Promise<RestApiResponse<GetOpenSymbolListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#get-open-symbol-list Binance API Documentation}\n */\n getOpenSymbolList(): Promise<RestApiResponse<GetOpenSymbolListResponse>> {\n return this.assetApi.getOpenSymbolList();\n }\n\n /**\n * Query User Delegation History\n *\n * Weight(IP): 60\n *\n * Security Type: USER_DATA\n *\n * @summary Query User Delegation History(For Master Account) (USER_DATA)\n * @param {QueryUserDelegationHistoryRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<QueryUserDelegationHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#query-user-delegation-history Binance API Documentation}\n */\n queryUserDelegationHistory(\n requestParameters: QueryUserDelegationHistoryRequest\n ): Promise<RestApiResponse<QueryUserDelegationHistoryResponse>> {\n return this.assetApi.queryUserDelegationHistory(requestParameters);\n }\n\n /**\n * Query User Universal Transfer History\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `fromSymbol` must be sent when type are ISOLATEDMARGIN_MARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * - `toSymbol` must be sent when type are MARGIN_ISOLATEDMARGIN and ISOLATEDMARGIN_ISOLATEDMARGIN\n * - Support query within the last 6 months only\n * - If `startTime`and `endTime` not sent, return records of the last 7 days by default\n *\n * @summary Query User Universal Transfer History (USER_DATA)\n * @param {QueryUserUniversalTransferHistoryRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<QueryUserUniversalTransferHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#query-user-universal-transfer-history Binance API Documentation}\n */\n queryUserUniversalTransferHistory(\n requestParameters: QueryUserUniversalTransferHistoryRequest\n ): Promise<RestApiResponse<QueryUserUniversalTransferHistoryResponse>> {\n return this.assetApi.queryUserUniversalTransferHistory(requestParameters);\n }\n\n /**\n * Query User Wallet Balance\n *\n * Weight(IP): 60\n *\n * Security Type: USER_DATA\n *\n * @summary Query User Wallet Balance (USER_DATA)\n * @param {QueryUserWalletBalanceRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<QueryUserWalletBalanceResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#query-user-wallet-balance Binance API Documentation}\n */\n queryUserWalletBalance(\n requestParameters: QueryUserWalletBalanceRequest = {}\n ): Promise<RestApiResponse<QueryUserWalletBalanceResponse>> {\n return this.assetApi.queryUserWalletBalance(requestParameters);\n }\n\n /**\n * Toggle BNB Burn On Spot Trade And Margin Interest\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - \"spotBNBBurn\" and \"interestBNBBurn\" should be sent at least one.\n *\n * @summary Toggle BNB Burn On Spot Trade And Margin Interest (USER_DATA)\n * @param {ToggleBnbBurnOnSpotTradeAndMarginInterestRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#toggle-bnb-burn-on-spot-trade-and-margin-interest Binance API Documentation}\n */\n toggleBnbBurnOnSpotTradeAndMarginInterest(\n requestParameters: ToggleBnbBurnOnSpotTradeAndMarginInterestRequest = {}\n ): Promise<RestApiResponse<ToggleBnbBurnOnSpotTradeAndMarginInterestResponse>> {\n return this.assetApi.toggleBnbBurnOnSpotTradeAndMarginInterest(requestParameters);\n }\n\n /**\n * Fetch trade fee\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Trade Fee (USER_DATA)\n * @param {TradeFeeRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<TradeFeeResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#trade-fee Binance API Documentation}\n */\n tradeFee(requestParameters: TradeFeeRequest = {}): Promise<RestApiResponse<TradeFeeResponse>> {\n return this.assetApi.tradeFee(requestParameters);\n }\n\n /**\n * Get user assets, just for positive data.\n *\n * Weight(IP): 5\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If asset is set, then return this asset, otherwise return all assets positive.\n * - If needBtcValuation is set, then return btcValudation.\n *\n * @summary User Asset (USER_DATA)\n * @param {UserAssetRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<UserAssetResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#user-asset Binance API Documentation}\n */\n userAsset(\n requestParameters: UserAssetRequest = {}\n ): Promise<RestApiResponse<UserAssetResponse>> {\n return this.assetApi.userAsset(requestParameters);\n }\n\n /**\n * User universal transfer\n *\n * Weight(UID): 900\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - You need to enable Permits Universal Transfer option for the API Key that requests this endpoint.\n * - `fromSymbol` must be sent when type is `ISOLATEDMARGIN_MARGIN` or `ISOLATEDMARGIN_ISOLATEDMARGIN`.\n * - `toSymbol` must be sent when type is `MARGIN_ISOLATEDMARGIN` or `ISOLATEDMARGIN_ISOLATEDMARGIN`.\n * - ENUM of transfer types:\n * - `MAIN_UMFUTURE`: Spot → USDⓈ-M Futures\n * - `MAIN_CMFUTURE`: Spot → COIN-M Futures\n * - `MAIN_MARGIN`: Spot → Margin (cross)\n * - `UMFUTURE_MAIN`: USDⓈ-M Futures → Spot\n * - `UMFUTURE_MARGIN`: USDⓈ-M Futures → Margin (cross)\n * - `CMFUTURE_MAIN`: COIN-M Futures → Spot\n * - `CMFUTURE_MARGIN`: COIN-M Futures → Margin (cross)\n * - `MARGIN_MAIN`: Margin (cross) → Spot\n * - `MARGIN_UMFUTURE`: Margin (cross) → USDⓈ-M Futures\n * - `MARGIN_CMFUTURE`: Margin (cross) → COIN-M Futures\n * - `ISOLATEDMARGIN_MARGIN`: Isolated margin → Margin (cross)\n * - `MARGIN_ISOLATEDMARGIN`: Margin (cross) → Isolated margin\n * - `ISOLATEDMARGIN_ISOLATEDMARGIN`: Isolated margin → Isolated margin\n * - `MAIN_FUNDING`: Spot → Funding\n * - `FUNDING_MAIN`: Funding → Spot\n * - `FUNDING_UMFUTURE`: Funding → USDⓈ-M Futures\n * - `UMFUTURE_FUNDING`: USDⓈ-M Futures → Funding\n * - `MARGIN_FUNDING`: Margin (cross) → Funding\n * - `FUNDING_MARGIN`: Funding → Margin (cross)\n * - `FUNDING_CMFUTURE`: Funding → COIN-M Futures\n * - `CMFUTURE_FUNDING`: COIN-M Futures → Funding\n * - `MAIN_OPTION`: Spot → Options\n * - `OPTION_MAIN`: Options → Spot\n * - `UMFUTURE_OPTION`: USDⓈ-M Futures → Options\n * - `OPTION_UMFUTURE`: Options → USDⓈ-M Futures\n * - `MARGIN_OPTION`: Margin (cross) → Options\n * - `OPTION_MARGIN`: Options → Margin (cross)\n * - `FUNDING_OPTION`: Funding → Options\n * - `OPTION_FUNDING`: Options → Funding\n * - `MAIN_PORTFOLIO_MARGIN`: Spot → Portfolio Margin\n * - `PORTFOLIO_MARGIN_MAIN`: Portfolio Margin → Spot\n *\n * @summary User Universal Transfer (USER_DATA)\n * @param {UserUniversalTransferRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<UserUniversalTransferResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/asset#user-universal-transfer Binance API Documentation}\n */\n userUniversalTransfer(\n requestParameters: UserUniversalTransferRequest\n ): Promise<RestApiResponse<UserUniversalTransferResponse>> {\n return this.assetApi.userUniversalTransfer(requestParameters);\n }\n\n /**\n * Get information of coins (available for deposit and withdraw) for user.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary All Coins\\' Information (USER_DATA)\n * @param {AllCoinsInformationRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<AllCoinsInformationResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#all-coins-information Binance API Documentation}\n */\n allCoinsInformation(\n requestParameters: AllCoinsInformationRequest = {}\n ): Promise<RestApiResponse<AllCoinsInformationResponse>> {\n return this.capitalApi.allCoinsInformation(requestParameters);\n }\n\n /**\n * Fetch deposit address with network.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` is not send, return with default network of the coin.\n * - You can get `network` and `isDefault` in `networkList` in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - `amount` needs to be sent if using LIGHTNING network\n *\n * @summary Deposit Address(supporting network) (USER_DATA)\n * @param {DepositAddressRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DepositAddressResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#deposit-address Binance API Documentation}\n */\n depositAddress(\n requestParameters: DepositAddressRequest\n ): Promise<RestApiResponse<DepositAddressResponse>> {\n return this.capitalApi.depositAddress(requestParameters);\n }\n\n /**\n * Fetch deposit history.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.\n *\n * @summary Deposit History (supporting network) (USER_DATA)\n * @param {DepositHistoryRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DepositHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#deposit-history Binance API Documentation}\n */\n depositHistory(\n requestParameters: DepositHistoryRequest = {}\n ): Promise<RestApiResponse<DepositHistoryResponse>> {\n return this.capitalApi.depositHistory(requestParameters);\n }\n\n /**\n * Fetch deposit address list with network.\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch deposit address list with network (USER_DATA)\n * @param {FetchDepositAddressListWithNetworkRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<FetchDepositAddressListWithNetworkResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#fetch-deposit-address-list-with-network Binance API Documentation}\n */\n fetchDepositAddressListWithNetwork(\n requestParameters: FetchDepositAddressListWithNetworkRequest\n ): Promise<RestApiResponse<FetchDepositAddressListWithNetworkResponse>> {\n return this.capitalApi.fetchDepositAddressListWithNetwork(requestParameters);\n }\n\n /**\n * Fetch withdraw address list\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch withdraw address list (USER_DATA)\n *\n * @returns {Promise<RestApiResponse<FetchWithdrawAddressListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#fetch-withdraw-address-list Binance API Documentation}\n */\n fetchWithdrawAddressList(): Promise<RestApiResponse<FetchWithdrawAddressListResponse>> {\n return this.capitalApi.fetchWithdrawAddressList();\n }\n\n /**\n * Fetch withdraw quota\n *\n * Weight(IP): 10\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch withdraw quota (USER_DATA)\n *\n * @returns {Promise<RestApiResponse<FetchWithdrawQuotaResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#fetch-withdraw-quota Binance API Documentation}\n */\n fetchWithdrawQuota(): Promise<RestApiResponse<FetchWithdrawQuotaResponse>> {\n return this.capitalApi.fetchWithdrawQuota();\n }\n\n /**\n * Apply deposit credit for expired address (One click arrival)\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary One click arrival deposit apply (for expired address deposit) (USER_DATA)\n * @param {OneClickArrivalDepositApplyRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<OneClickArrivalDepositApplyResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#one-click-arrival-deposit-apply Binance API Documentation}\n */\n oneClickArrivalDepositApply(\n requestParameters: OneClickArrivalDepositApplyRequest = {}\n ): Promise<RestApiResponse<OneClickArrivalDepositApplyResponse>> {\n return this.capitalApi.oneClickArrivalDepositApply(requestParameters);\n }\n\n /**\n * Submit a withdraw request\n *\n * Weight(UID): 900\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` not send, return with default network of the coin.\n * - You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - 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.\n * - \"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`.\"\n *\n * @summary Withdraw (USER_DATA)\n * @param {WithdrawRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<WithdrawResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#withdraw Binance API Documentation}\n */\n withdraw(requestParameters: WithdrawRequest): Promise<RestApiResponse<WithdrawResponse>> {\n return this.capitalApi.withdraw(requestParameters);\n }\n\n /**\n * Fetch withdraw history\n *\n * Weight(UID): 18000 (10 requests per second)\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `network` may not be in the response for old withdraw.\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n * - If `withdrawOrderId` is sent, time between `startTime` and `endTime` must be less than 7 days.\n * - If `withdrawOrderId` is sent, `startTime` and `endTime` are not sent, will return last 7 days records by default.\n * - Maximum support `idList` number is 45.\n *\n * @summary Withdraw History (supporting network) (USER_DATA)\n * @param {WithdrawHistoryRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<WithdrawHistoryResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/capital#withdraw-history Binance API Documentation}\n */\n withdrawHistory(\n requestParameters: WithdrawHistoryRequest = {}\n ): Promise<RestApiResponse<WithdrawHistoryResponse>> {\n return this.capitalApi.withdrawHistory(requestParameters);\n }\n\n /**\n * Get symbols delist schedule for spot\n *\n * Weight(IP): 100\n *\n * Security Type: MARKET_DATA\n *\n * @summary Get Spot Delist Schedule (MARKET_DATA)\n * @param {GetSymbolsDelistScheduleForSpotRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<GetSymbolsDelistScheduleForSpotResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/others#get-symbols-delist-schedule-for-spot Binance API Documentation}\n */\n getSymbolsDelistScheduleForSpot(\n requestParameters: GetSymbolsDelistScheduleForSpotRequest = {}\n ): Promise<RestApiResponse<GetSymbolsDelistScheduleForSpotResponse>> {\n return this.othersApi.getSymbolsDelistScheduleForSpot(requestParameters);\n }\n\n /**\n * Fetch system status.\n *\n * Weight(IP): 1\n *\n * Security Type: System\n *\n * @summary System Status\n *\n * @returns {Promise<RestApiResponse<SystemStatusResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/others#system-status Binance API Documentation}\n */\n systemStatus(): Promise<RestApiResponse<SystemStatusResponse>> {\n return this.othersApi.systemStatus();\n }\n\n /**\n * Submit a withdrawal request for brokers of local entities that required travel rule.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * - You can get `network` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - Questionnaire is different for each local entity, please refer to the `Withdraw Questionnaire Contents` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Broker Withdraw (for brokers of local entities that require travel rule) (USER_DATA)\n * @param {BrokerWithdrawRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<BrokerWithdrawResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#broker-withdraw Binance API Documentation}\n */\n brokerWithdraw(\n requestParameters: BrokerWithdrawRequest\n ): Promise<RestApiResponse<BrokerWithdrawResponse>> {\n return this.travelRuleApi.brokerWithdraw(requestParameters);\n }\n\n /**\n * This API will return user-specific Travel Rule questionnaire requirement information in reference to the current\n * API key.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Check Questionnaire Requirements (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {CheckQuestionnaireRequirementsRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#check-questionnaire-requirements Binance API Documentation}\n */\n checkQuestionnaireRequirements(\n requestParameters: CheckQuestionnaireRequirementsRequest = {}\n ): Promise<RestApiResponse<CheckQuestionnaireRequirementsResponse>> {\n return this.travelRuleApi.checkQuestionnaireRequirements(requestParameters);\n }\n\n /**\n * Fetch deposit history for local entities that required travel rule.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.\n * - Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * @summary Deposit History Travel Rule (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {DepositHistoryTravelRuleRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DepositHistoryTravelRuleResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#deposit-history-travel-rule Binance API Documentation}\n */\n depositHistoryTravelRule(\n requestParameters: DepositHistoryTravelRuleRequest = {}\n ): Promise<RestApiResponse<DepositHistoryTravelRuleResponse>> {\n return this.travelRuleApi.depositHistoryTravelRule(requestParameters);\n }\n\n /**\n * Fetch deposit history for local entities that with required travel rule information.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime` are sent, time between `startTime` and `endTime` must be less than 90 days.\n * - Please, note that due to network-specific characteristics, the returned source address may be inaccurate. If multiple source addresses are found, only the first one will be returned.\n *\n * @summary Deposit History V2 (for local entities that required travel rule) (supporting network) (USER_DATA)\n * @param {DepositHistoryV2Request} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<DepositHistoryV2Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#deposit-history-v2 Binance API Documentation}\n */\n depositHistoryV2(\n requestParameters: DepositHistoryV2Request = {}\n ): Promise<RestApiResponse<DepositHistoryV2Response>> {\n return this.travelRuleApi.depositHistoryV2(requestParameters);\n }\n\n /**\n * Fetch address verification list for user to check on status and other details for the addresses stored in\n * Address Book.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Fetch address verification list (USER_DATA)\n * @param {FetchAddressVerificationListRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<FetchAddressVerificationListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#fetch-address-verification-list Binance API Documentation}\n */\n fetchAddressVerificationList(\n requestParameters: FetchAddressVerificationListRequest = {}\n ): Promise<RestApiResponse<FetchAddressVerificationListResponse>> {\n return this.travelRuleApi.fetchAddressVerificationList(requestParameters);\n }\n\n /**\n * Query the active country list for travel rule questionnaires. Currently, only supports AU entity.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get Country List (USER_DATA)\n * @param {GetCountryListRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<GetCountryListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#get-country-list Binance API Documentation}\n */\n getCountryList(\n requestParameters: GetCountryListRequest = {}\n ): Promise<RestApiResponse<GetCountryListResponse>> {\n return this.travelRuleApi.getCountryList(requestParameters);\n }\n\n /**\n * Query the active region/city list for a given country. Currently, only supports AU entity.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary Get Region List (USER_DATA)\n * @param {GetRegionListRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<GetRegionListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#get-region-list Binance API Documentation}\n */\n getRegionList(\n requestParameters: GetRegionListRequest\n ): Promise<RestApiResponse<GetRegionListResponse>> {\n return this.travelRuleApi.getRegionList(requestParameters);\n }\n\n /**\n * Submit questionnaire for brokers of local entities that require travel rule.\n * The questionnaire is only applies to transactions from un-hosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Submit Deposit Questionnaire Broker (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire Binance API Documentation}\n */\n submitDepositQuestionnaire(\n requestParameters: SubmitDepositQuestionnaireRequest\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireResponse>> {\n return this.travelRuleApi.submitDepositQuestionnaire(requestParameters);\n }\n\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Submit Deposit Questionnaire (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireTravelRuleRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire-travel-rule Binance API Documentation}\n */\n submitDepositQuestionnaireTravelRule(\n requestParameters: SubmitDepositQuestionnaireTravelRuleRequest\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireTravelRuleResponse>> {\n return this.travelRuleApi.submitDepositQuestionnaireTravelRule(requestParameters);\n }\n\n /**\n * Submit questionnaire for local entities that require travel rule.\n * The questionnaire is only applies to transactions from unhosted wallets or VASPs that are not\n * yet onboarded with GTR.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - Questionnaire is different for each local entity, please refer to `Deposit Questionnaire Content` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Submit Deposit Questionnaire V2 (For local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {SubmitDepositQuestionnaireV2Request} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<SubmitDepositQuestionnaireV2Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#submit-deposit-questionnaire-v2 Binance API Documentation}\n */\n submitDepositQuestionnaireV2(\n requestParameters: SubmitDepositQuestionnaireV2Request\n ): Promise<RestApiResponse<SubmitDepositQuestionnaireV2Response>> {\n return this.travelRuleApi.submitDepositQuestionnaireV2(requestParameters);\n }\n\n /**\n * Fetch the VASP list for local entities.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * @summary VASP list (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {VaspListRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<VaspListResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#vasp-list Binance API Documentation}\n */\n vaspList(requestParameters: VaspListRequest = {}): Promise<RestApiResponse<VaspListResponse>> {\n return this.travelRuleApi.vaspList(requestParameters);\n }\n\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `network` may not be in the response for old withdraw.\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n *\n * @summary Withdraw History Travel Rule (supporting network) (USER_DATA)\n * @param {WithdrawHistoryV1Request} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<WithdrawHistoryV1Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-history-v1 Binance API Documentation}\n */\n withdrawHistoryV1(\n requestParameters: WithdrawHistoryV1Request = {}\n ): Promise<RestApiResponse<WithdrawHistoryV1Response>> {\n return this.travelRuleApi.withdrawHistoryV1(requestParameters);\n }\n\n /**\n * Fetch withdraw history for local entities that required travel rule.\n *\n * Weight(IP): 1\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - `network` may not be in the response for old withdraw.\n * - Withdrawal made through /sapi/v1/capital/withdraw/apply may not be in the response.\n * - Please notice the default `startTime` and `endTime` to make sure that time interval is within 0-90 days.\n * - If both `startTime` and `endTime`are sent, time between `startTime`and `endTime`must be less than 90 days.\n * - If withdrawOrderId is sent, time between startTime and endTime must be less than 7 days.\n * - If withdrawOrderId is sent, startTime and endTime are not sent, will return last 7 days records by default.\n * - Maximum support trId,txId number is 45.\n * - WithdrawOrderId only support 1.\n * - If responsible does not include withdrawalStatus, please input trId or txId retrieve the data.\n *\n * @summary Withdraw History V2 (for local entities that require travel rule) (supporting network) (USER_DATA)\n * @param {WithdrawHistoryV2Request} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<WithdrawHistoryV2Response>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-history-v2 Binance API Documentation}\n */\n withdrawHistoryV2(\n requestParameters: WithdrawHistoryV2Request = {}\n ): Promise<RestApiResponse<WithdrawHistoryV2Response>> {\n return this.travelRuleApi.withdrawHistoryV2(requestParameters);\n }\n\n /**\n * Submit a withdrawal request for local entities that required travel rule.\n *\n * Weight(UID): 600\n *\n * Security Type: USER_DATA\n *\n * Notes:\n * - If `network` not send, return with default network of the coin, but if the address could not match default network, the withdraw will be rejected.\n * - You can get `network` and `isDefault` in `networkList` of a coin in the response of `Get /sapi/v1/capital/config/getall (HMAC SHA256)`.\n * - Questionnaire is different for each local entity, please refer to the `Withdraw Questionnaire Contents` page.\n * - If getting error like `Questionnaire format not valid.` or `Questionnaire must not be blank`, please try to verify the format of the questionnaire and use URL-encoded format.\n *\n * @summary Withdraw Travel Rule (USER_DATA)\n * @param {WithdrawTravelRuleRequest} requestParameters Request parameters.\n *\n * @returns {Promise<RestApiResponse<WithdrawTravelRuleResponse>>}\n * @throws {RequiredError | ConnectorClientError | UnauthorizedError | ForbiddenError | TooManyRequestsError | RateLimitBanError | ServerError | NotFoundError | NetworkError | BadRequestError}\n * @see {@link https://developers.binance.com/en/docs/catalog/core-trading-wallet/api/rest-api/travel-rule#withdraw-travel-rule Binance API Documentation}\n */\n withdrawTravelRule(\n requestParameters: WithdrawTravelRuleRequest\n ): Promise<RestApiResponse<WithdrawTravelRuleResponse>> {\n return this.travelRuleApi.withdrawTravelRule(requestParameters);\n }\n}\n","/**\n * Wallet REST API\n *\n * Query balances, manage assets, and perform wallet operations via the Binance Wallet API.\n *\n * The version of the OpenAPI document: 1.0.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nexport * from './types';\nexport * from './modules';\nexport * from './rest-api';\n","import { buildUserAgent, ConfigurationRestAPI, WALLET_REST_API_PROD_URL } from '@binance/common';\nimport { name, version } from '../package.json';\nimport { RestAPI } from './rest-api';\n\nexport interface ConfigurationWallet {\n configurationRestAPI?: ConfigurationRestAPI;\n}\n\nexport class Wallet {\n public restAPI!: RestAPI;\n\n constructor(config: ConfigurationWallet) {\n const userAgent = buildUserAgent(name, version);\n\n if (config?.configurationRestAPI) {\n const configRestAPI = new ConfigurationRestAPI(\n config.configurationRestAPI\n ) as ConfigurationRestAPI & {\n baseOptions: Record<string, unknown>;\n };\n configRestAPI.basePath = configRestAPI.basePath || WALLET_REST_API_PROD_URL;\n configRestAPI.baseOptions = configRestAPI.baseOptions || {};\n configRestAPI.baseOptions.headers = {\n ...(configRestAPI.baseOptions.headers || {}),\n 'User-Agent': userAgent,\n };\n this.restAPI = new RestAPI(configRestAPI);\n }\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;WACY;cAEG;;;;;;;;;;;;;;;;;;;AC4Bf,MAAM,8BAA8B,SAAU,eAAqC;AAC/E,QAAO;EAaH,yBAAyB,OAAO,eAAuD;GACnF,MAAMA,yBAAkD,EAAE;GAC1D,MAAMC,wBAAiD,EAAE;GACzD,MAAMC,0BAAmD,EAAE;AAE3D,OAAI,eAAe,UAAa,eAAe,KAC3C,wBAAuB,gBAAgB;GAG3C,IAAIC;AACJ,OAAI,cAAc,cAAe,aAAY,cAAc;AAE3D,UAAO;IACH,UAAU;IACV,QAAQ;IACR,aAAa;IACb,YAAY;IACZ,cAAc;IACd,UAAU;IACb;;EAcL,aAAa,OAAO,eAAuD;GACvE,MAAMH,yBAAkD,EAAE;GAC1D,MAAMC,wBAAiD,EAAE;GACzD,MAAMC,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