{
"networkId": "9b2e6a1f-3c4d-4e5f-8a7b-1c2d3e4f5a6b",
"address": "0x8Ba1f109551bD432803012645Ac136ddd64DBA72"
}
curl -X POST "https://api.cngn.co/v1/api/whitelist" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "<base64 AES-256-CBC ciphertext of the plain body>",
"iv": "<base64 16-byte IV>"
}'
{
"status": 200,
"message": "Address whitelisted successfully",
"data": [
{
"id": "7a8b9c0d-1e2f-4a3b-9c4d-5e6f7a8b9c0d",
"networkId": "9b2e6a1f-3c4d-4e5f-8a7b-1c2d3e4f5a6b",
"publicKey": "0x8Ba1f109551bD432803012645Ac136ddd64DBA72",
"internalPublicKey": "0x3cD4e5F6a7B8c9D0e1F2a3B4c5D6e7F8a9B0c1D2",
"created_at": "2026-07-22T10:15:00.000Z",
"updated_at": "2026-07-22T10:15:00.000Z"
}
]
}
Address Whitelisting
Whitelist Address
Whitelist an external wallet address for withdrawals
POST
/
v1
/
api
/
whitelist
{
"networkId": "9b2e6a1f-3c4d-4e5f-8a7b-1c2d3e4f5a6b",
"address": "0x8Ba1f109551bD432803012645Ac136ddd64DBA72"
}
curl -X POST "https://api.cngn.co/v1/api/whitelist" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "<base64 AES-256-CBC ciphertext of the plain body>",
"iv": "<base64 16-byte IV>"
}'
{
"status": 200,
"message": "Address whitelisted successfully",
"data": [
{
"id": "7a8b9c0d-1e2f-4a3b-9c4d-5e6f7a8b9c0d",
"networkId": "9b2e6a1f-3c4d-4e5f-8a7b-1c2d3e4f5a6b",
"publicKey": "0x8Ba1f109551bD432803012645Ac136ddd64DBA72",
"internalPublicKey": "0x3cD4e5F6a7B8c9D0e1F2a3B4c5D6e7F8a9B0c1D2",
"created_at": "2026-07-22T10:15:00.000Z",
"updated_at": "2026-07-22T10:15:00.000Z"
}
]
}
Registers an external wallet address against a network so it can receive withdrawals from your account.
Response (decrypted
Returns your updated list of whitelisted addresses.
The request body must be encrypted.
Body parameters (plain payload, pre-encryption)
string
required
Network the address belongs to. See Get Networks.
string
required
The wallet address to whitelist.
Response (decrypted data)
Returns your updated list of whitelisted addresses.
object[]
Show Whitelisted address object
Show Whitelisted address object
{
"networkId": "9b2e6a1f-3c4d-4e5f-8a7b-1c2d3e4f5a6b",
"address": "0x8Ba1f109551bD432803012645Ac136ddd64DBA72"
}
curl -X POST "https://api.cngn.co/v1/api/whitelist" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "<base64 AES-256-CBC ciphertext of the plain body>",
"iv": "<base64 16-byte IV>"
}'
{
"status": 200,
"message": "Address whitelisted successfully",
"data": [
{
"id": "7a8b9c0d-1e2f-4a3b-9c4d-5e6f7a8b9c0d",
"networkId": "9b2e6a1f-3c4d-4e5f-8a7b-1c2d3e4f5a6b",
"publicKey": "0x8Ba1f109551bD432803012645Ac136ddd64DBA72",
"internalPublicKey": "0x3cD4e5F6a7B8c9D0e1F2a3B4c5D6e7F8a9B0c1D2",
"created_at": "2026-07-22T10:15:00.000Z",
"updated_at": "2026-07-22T10:15:00.000Z"
}
]
}