Description
The guides and the docs are very misleading about this, providing different paths and responses, and I can't get any of them to work. Is there a way to move funds out of the Trading wallet? Or only Fiat USD can be moved out?
For example:
According to the wallets overview page, these are the steps we need to follow

When going to the build API pages and the build guides docs, we find different expected responses.
- According to the first one (Build API pages), the response should be just a
keyDerivationPath
{
"keyDerivationPath": "string"
}
I do not know what to do with it
According to the second one (The guide to initiate transactions), the response should
- Getting a calendar invitation by email (to validate the identity)
- An object with a signature among lots of other info.

The next step, according to this guide, should be sending the transactions (Guide about it here)
However, when actually calling the /tx/build
endpoint, I get none of the responses above ☝🏽 , but a different one.
This is the Body I sent (Trying to withdraw some USDC from the trading account)
{
"recipients": [
{
"address": "<public-address-of-my-bitgo-wallet>",
"amount": "12061478"
}
]
}
and this is the response I get
{
"payload": '{"coin":"ofcusdc","recipients":[{"address":"<public-address>","amount":"12061478"}],"fromAccount":"<walletID>","nonce":"<nonce>","timestamp":"2023-09-19T21:03:04.345Z","feeString":"0","shortCircuitBlockchainTransfer":false,"isIntraJXTransfer":false}',
"feeInfo": { feeString: '0' },
"coin": "ofc",
"token": "ofcusdc"
}
This ☝🏽 is not documented anywhere. What should I do with it? There's a guide to sign transactions but there's no option that documents how to sign with the Trading Wallet

Unless the trading wallet is considered a Multisig cold wallet. In that case, should I use the offline Vault console? There's no mention in the OVC pages about the trading wallet
If we check the /send
endpoint (linked above), there's no mention of any payload or anything. However, the screenshot with the "Transaction flow" mentions that /tx/build
creates an unsigned transaction, and then in /send
the user must send a half-signed transaction. How can we sign this payload? Is there a way? Just converting the payload to HEx does not work (at least for me). I just convert the payload to Hex, and send it as the txHex
property the guides specify, I just get
{
error: 'missing tx payload',
name: 'Invalid',
requestId: '<request-id>,
context: {}
}
I'm testing all of this on mainnet because Bitgo support has told me that withdrawals from the Trading Account in testnet are not enabled.
I've exchanged several emails with support, with no response. I've also tried in their Discord, with no response either.
Thanks in Advance