Configuring your BitMEX account
To configure your BitMEX account to connect to Fireblocks:
- Refer to the bitmex.com API Documentation to learn how to generate an API key.
- When prompted to do so:
- Name your new API Key “Fireblocks.”
- Enter 52.76.208.129/32 in the CIDR field.
- Check the Withdraw checkbox.
- If enabled, enter your 2FA code into the Two-factor Token field.
- After you confirm the validity of your new API key, copy and keep a record of both the ID and Secret. You will need them when adding this exchange to your workspace.
- Make sure you enable 2FA via Google Authenticator. Copy and keep a record of the Google Authenticator Code, which will later fit into the Two-factor token. You will need it when adding this exchange to your workspace.
- Once you enter the Two-factor token, you are requested to confirm the TOTP token. This token is essential for completing the exchange integration if your BitMex account is configured with a 2FA. The TOTP is the 2FA master key and is accessible only when you set up your 2FA, so you must save it, otherwise, you will not have access to it, and will need to reset your 2FA on BitMex's side in order to get a new one. Also note that after you set up a new 2FA on BitMEX (or reset your 2FA), your withdrawals are blocked for 24 hours. For more info on how to enable 2FA on BitMex, go here.
Configuring Fireblocks
- In the Fireblocks Console, go to Accounts > Exchanges.
- Select + Connect Account.
- Select BitMEX, and then complete the following fields:
-
- Name on Fireblocks: Enter the name you want to give this exchange account on Fireblocks.
- ID: Enter the ID that you saved from BitMEX.
- Secret: Enter the Secret that you saved from BitMEX.
- Two-factor token: Enter the Two-factor token that you saved from BitMEX.
- Select Connect Account.
Note:
The "+ Connect Account" is relevant only if you have an existent exchange account connected to Fireblocks and would like to add another one. If this is your first exchange account connection, add it by selecting "Connect Account" under the Exchanges tab.
The Admin Quorum must approve the new account to make it available for new transfers from your workspace.
Your BitMEX account appears on the Exchanges page along with all managed assets and their balances. Following Admin Quorum approval, transfers are available from your vault accounts, whitelisted addresses, Fireblocks Network connections, and other connected exchange accounts to your BitMEX account.
Enabling withdrawals from BitMEX
To enable exchange account withdrawals, see this procedure.