readOneTransaction
GET/api/v1/transactions/:id/
Get a Transaction by id
Request
Path Parameters
id stringrequired
Responses
- 200
- 404
Default Response
- application/json
- Schema
- Example (from schema)
Schema
error booleanrequired
Possible values: [false
]
statusCode numberrequired
Possible values: [200
]
data objectrequired
id stringrequired
hash stringrequired
from stringrequired
to stringrequired
value stringrequired
blockchainId integerrequired
vaultId stringrequired
contractId stringrequired
status stringrequired
Possible values: [TO_BE_SENT
, FAILED_TO_SEND
, SENT
, CONFIRMED
, FAILED
]
{
"error": false,
"statusCode": 200,
"data": {
"id": "string",
"hash": "string",
"from": "string",
"to": "string",
"value": "string",
"blockchainId": 0,
"vaultId": "string",
"contractId": "string",
"status": "TO_BE_SENT"
}
}
Default Response
- application/json
- Schema
- Example (from schema)
Schema
error booleanrequired
Possible values: [true
]
statusCode numberrequired
Possible values: [404
]
code stringrequired
Possible values: [errors.transaction.notFound
]
data required
{
"error": true,
"statusCode": 404,
"code": "errors.transaction.notFound",
"data": {}
}
Loading...