Bridge cNGN
Bridge
POST
https://api.cngn.co/v1/api/swap
This endpoint allows you to bridge or move your cNGN between blockchains that cNGN is supported
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Description
destinationAddress
string
Desstination Wallet Address
originNetwork
string
Network you are swapping from
callbackUrl
string
A call Back URL to notify you if swap is successful
Response
{
"status": 200,
"message": "Swap successfully",
"data": "<encrypted response>"
}
Decrypted Response
{
"status": 200,
"message": "Transaction fetched successfully",
"data": {
"receivableAddress": "0xb68459978a9FBD3BB3e45ed5972479c0f7711fe5",
"transactionId": "c46a5f10-de39-4afb-b539-ed5b134a0fcd",
"reference": "REF456198239930"
}
}
Last updated