Get withdrawal
Get a withdrawal by its ID. Use the withdrawals list query to get withdrawal IDs
Path Parameters
id string required
Withdrawal ID to retrieve data for.
Responses
- 200
- 500
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
withdrawal object
{
"withdrawal": {
"amount": "string",
"asset": "string",
"createdTimestamp": "string",
"ext": {
"erc20": {
"receiverAddress": "string"
}
},
"id": "string",
"partyId": "string",
"ref": "string",
"status": "STATUS_UNSPECIFIED",
"txHash": "string",
"withdrawnTimestamp": "string"
}
}
An internal server error
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
GET /api/v2/withdrawal/:id
Request
Request
curl / cURL
curl -L -X GET 'https://api.n06.testnet.vega.xyz/api/v2/withdrawal/:id' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'https://api.n06.testnet.vega.xyz/api/v2/withdrawal/:id' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'https://api.n06.testnet.vega.xyz/api/v2/withdrawal/:id' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET 'https://api.n06.testnet.vega.xyz/api/v2/withdrawal/:id' \
-H 'Accept: application/json'