bridge
Remove Liquidity
Removes user-provided liquidity from one or more blockchain networks in a single transaction, streamlining cross-chain asset management. The response includes details such as chain IDs, addresses, gas limits, payload data, and a unique reference ID for transaction tracking.
💡 Compute Unit Value: 85 (Fixed)
post/defi/v1/bridge/removeliquidity
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/bridge/removeliquidity
- AuthAPI key in header X-API-Key
Request body
Example request
{
"bridgeId": "100",
"srcChainId": "1",
"srcTokenSymbol": "usdt",
"srcTokenAddress": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"amountOut": "1000000000000000000",
"gas": "100000",
"srcChainSymbol": "ETH",
"gasPriority": "low",
"enableFee": false,
"to": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402"
}Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"chainId": "1",
"from": "0xa67e9b68c41b0f26184d64c26e0b2b81466e5994",
"to": "0x8731d54E9D02c286767d56ac03e8037C07e01e98",
"value": "0",
"gas": "400000",
"data": "0xc4de93a500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000989680000000000000000000000000a67e9b68c41b0f26184d64c26e0b2b81466e5994",
"referenceId": "f760743bf970482a9130780cef63e3a6"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.