Transactions in Zero Hash, which could be one of the followings:
- Trade [API endpoint]
- Reward [API endpoint]
- Award [API endpoint]
For Trade API endpoints, there are three possible states:
State | Description |
Accepted | The transaction has been received by Zero Hash |
Active | Zero Hash has attempted to settle the transaction but was unable to. Typically this is due to one or both of the counterparties being underfunded |
Terminated |
The transaction is in a terminal state, and has a
|
ForPOST /liquidity/execute
and POST /convert_withdraw/execute
endpoints related to trades, there is one possible status:
Status | Description |
Completed |
This is an execution confirmation status. It means that the liquidity execution is completed successfully. You can use GET/trades after to check the settlement status once you see the 'Completed' status. For any HTTP errors, you can refer here API Error Handling. |
For Reward or Award API endpoints, there is one possible status:
Status | Description |
Completed |
The rewards have been added to the specific participant successfully. For any HTTP errors, you can refer here API Error Handling. |