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 matching the ID from the request.
amount string
asset string
createdTimestamp int64
ext object
Foreign chain specifics.
erc20 object
ERC20 withdrawal details.
receiverAddress string
id string
partyId string
ref string
status Status of the withdrawal
Possible values: [STATUS_UNSPECIFIED
, STATUS_OPEN
, STATUS_REJECTED
, STATUS_FINALIZED
]
txHash string
withdrawnTimestamp int64
{
"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[]
@type string
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
@type string
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
Loading...