Unlock Tokens for Bridge Swap
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
The request body for a /defi/v1/bridge/unlock
Parameters
bridgeId
Type:string
Enum:
The unique ID to specify the bridge protocol for routing cross-chain queries or transactions. Find more here.srcChainId
Type:string
Required: Yes
The unique chain ID to specify the source chain. Find more here.dstChainId
Type:string
Required: Yes
The unique chain ID to specify the destination chain. Find more here.dstTokenSymbol
Type:string
Required: Yes
Symbol of the destination token.dstTokenAddress
Type:string
Required: Yes
Address of the destination token.amount
Type:string
Required: Yes
Amount of the token to unlock.gas
Type:string
Maximum gas to be approved for the transaction.gasPriority
Type:string
Priority level for gas: low, medium, or high.receiver
Type:string
Required: Yes
Address of the token receiver.primarySignature
Type:string
Required: Yes
Signature required for EVM to EVM unlock transactions.secondarySignature
Type:string
Signature required for Stellar to EVM or vice versa unlock transactions.lockId
Type:string
Required: Yes
Unique lock ID for the transaction.enableFee
Type:boolean
Flag to include a basis points fee transaction alongside the main transaction when set to true.
Example CURL Request
curl --request POST \
--url https://svc.blockdaemon.com/defi/v1/bridge/unlock \
--header 'accept: application/json' \
--header 'content-type: application/json'
Successful Response Code
``200 Successful response```