Get deposit
GEThttps://api.testnet.vega.rocks/api/v2/deposit/:id
Get a deposit by its ID
Request
Path Parameters
id stringrequired
Deposit ID to return data for.
Responses
- 200
- 500
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
deposit object
{
"deposit": {
"amount": "string",
"asset": "string",
"createdTimestamp": "string",
"creditedTimestamp": "string",
"id": "string",
"partyId": "string",
"status": "STATUS_UNSPECIFIED",
"txHash": "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 'https://api.testnet.vega.rocks/api/v2/deposit/:id' \
-H 'Accept: application/json'
ResponseClear