Skip to content

New pending cryptocurrency withdrawal ​

SEND Server to Client on wss://api.valr.com/ws/account

Sent when an outgoing cryptocurrency withdrawal has been submitted to the blockchain. Includes the destination address, amount, fees, and transaction hash when available.

Authentication ​

This operation requires API key authentication (HMAC-SHA512 via query parameters or in-band AUTHENTICATE message).

Message ​

Event type: NEW_PENDING_SEND

Payload Schema ​

PropertyTypeRequiredDescription
currencystringYes-
sendAddressstringYes-
amountstringYes-
feeAmountstringYes-
transactionHashstringNo-
confirmationsinteger (int32)Yes-
lastConfirmationAtstringNo-
uniqueIdstringYes-
createdAtstringYes-

Example ​

json
"{\n    \"type\": \"NEW_PENDING_SEND\",\n    \"data\": {\n        \"currency\": \"BTC\",\n        \"sendAddress\": \"bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh\",\n        \"amount\": \"0.10000000\",\n        \"feeAmount\": \"0.00005000\",\n        \"transactionHash\": \"d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5\",\n        \"confirmations\": 0,\n        \"lastConfirmationAt\": null,\n        \"uniqueId\": \"c3d4e5f6-a1b2-1234-5678-90abcdef1234\",\n        \"createdAt\": \"2024-09-27T12:05:00.000Z\"\n    }\n}"

Channel ​

Channel: account Address: wss://api.valr.com/ws/account