Get withdrawal
GEThttps://api.n00.testnet.vega.rocks/api/v2/withdrawal/:id
Get a withdrawal by its ID. A withdrawal's ID will be the SHA3-256 hash of the signature that the withdrawal was submitted with
Request
Path Parameters
id stringrequired
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"
}
- curl
- python
- go
- nodejs
- CURL
curl -L -X GET 'https://api.n00.testnet.vega.rocks/api/v2/withdrawal/:id' \
-H 'Accept: application/json'
ResponseClear