Get deposit
Get a deposit by its ID
Path Parameters
id string required
Deposit ID, which can be obtained using the List Deposits query.
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"
}
GET /api/v2/deposit/:id
Request
Request
curl / cURL
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/deposit/:id' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/deposit/:id' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/deposit/:id' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/deposit/:id' \
-H 'Accept: application/json'