Ask us anything. We're here to help.

Zero Hash Transaction States

Transactions in Zero Hash, which could be one of the followings:

  • Trade [API endpoint]
  • Loan [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 has been settled and each counterparty has been credited with the funds that were owed to them

 

ForPOST /liquidity/execute endpoint 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