remove collateral
POST
{{baseUrl}}/off_exchange/remove
remove collateral, create withdraw request
Body
PARAM
Key |
Datatype |
Required |
Description |
HEADERS
Key |
Datatype |
Required |
Description |
Idempotency-Key
|
string |
|
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
|
Content-Type
|
string |
|
|
Accept
|
string |
|
|
RESPONSES
status OK
{
"id": "<string>",
"status": "<string>",
"systemMessages": {
"type": "WARN",
"message": "<string>"
}
}
|
curl -X POST 'https://api.fireblocks.io/v1/off_exchange/remove' -H 'Idempotency-Key: <string>' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"transactionRequest":{"operation":"TRANSFER","note":"\u003cstring\u003e","externalTxId":"\u003cstring\u003e","assetId":"\u003cstring\u003e","source":{"type":"UNKNOWN","subType":"HUOBI","id":"\u003cstring\u003e","name":"\u003cstring\u003e","walletId":"\u003cuuid\u003e"},"destination":{"type":"END_USER_WALLET","subType":"CRYPTOCOM","id":"\u003cstring\u003e","name":"\u003cstring\u003e","walletId":"\u003cuuid\u003e","oneTimeAddress":{"address":"\u003cstring\u003e","tag":"\u003cstring\u003e"}},"destinations":[{"amount":"\u003cstring\u003e","destination":{"type":"END_USER_WALLET","subType":"BITFINEX","id":"\u003cstring\u003e","name":"\u003cstring\u003e","walletId":"\u003cuuid\u003e","oneTimeAddress":{"address":"\u003cstring\u003e","tag":"\u003cstring\u003e"}}},{"amount":"\u003cstring\u003e","destination":{"type":"EXTERNAL_WALLET","subType":"HUOBI","id":"\u003cstring\u003e","name":"\u003cstring\u003e","walletId":"\u003cuuid\u003e","oneTimeAddress":{"address":"\u003cstring\u003e","tag":"\u003cstring\u003e"}}}],"amount":"\u003cstring\u003e","treatAsGrossAmount":"\u003cboolean\u003e","forceSweep":"\u003cboolean\u003e","feeLevel":"HIGH","fee":"\u003cstring\u003e","priorityFee":"\u003cstring\u003e","failOnLowFee":"\u003cboolean\u003e","maxFee":"\u003cstring\u003e","maxTotalFee":"\u003cstring\u003e","gasLimit":"\u003cstring\u003e","gasPrice":"\u003cstring\u003e","networkFee":"\u003cstring\u003e","replaceTxByHash":"\u003cstring\u003e","customerRefId":"\u003cstring\u003e","travelRuleMessage":{"originator":{"fullName":"\u003cstring\u003e","dateOfBirth":"\u003cstring\u003e","placeOfBirth":"\u003cstring\u003e","address":"\u003cstring\u003e","identificationNumber":"\u003cstring\u003e","nationality":"\u003cstring\u003e","countryOfResidence":"\u003cstring\u003e","taxIdentificationNumber":"\u003cstring\u003e","customerNumber":"\u003cstring\u003e"},"beneficiary":{"fullName":"\u003cstring\u003e","dateOfBirth":"\u003cstring\u003e","placeOfBirth":"\u003cstring\u003e","address":"\u003cstring\u003e","identificationNumber":"\u003cstring\u003e","nationality":"\u003cstring\u003e","countryOfResidence":"\u003cstring\u003e","taxIdentificationNumber":"\u003cstring\u003e","customerNumber":"\u003cstring\u003e"},"originatorVASPdid":"\u003cstring\u003e","beneficiaryVASPdid":"\u003cstring\u003e","beneficiaryVASPname":"\u003cstring\u003e","transactionBlockchainInfo":{"txHash":"\u003cstring\u003e","origin":"\u003cstring\u003e","destination":"\u003cstring\u003e"},"encrypted":"\u003cstring\u003e","protocol":"\u003cstring\u003e","skipBeneficiaryDataValidation":"\u003cboolean\u003e","travelRuleBehavior":"\u003cboolean\u003e","originatorProof":{"type":"\u003cstring\u003e","proof":"\u003cstring\u003e"},"beneficiaryProof":{"type":"\u003cstring\u003e","proof":"\u003cstring\u003e"},"pii":{"fullName":"\u003cstring\u003e","dateOfBirth":"\u003cstring\u003e","placeOfBirth":"\u003cstring\u003e","address":"\u003cstring\u003e","identificationNumber":"\u003cstring\u003e","nationality":"\u003cstring\u003e","countryOfResidence":"\u003cstring\u003e","taxIdentificationNumber":"\u003cstring\u003e","customerNumber":"\u003cstring\u003e"}},"autoStaking":"\u003cboolean\u003e","networkStaking":"\u003cstring\u003e","cpuStaking":"\u003cstring\u003e","useGasless":"\u003cboolean\u003e"},"isDstCollateral":"\u003cboolean\u003e"}'