Get an on-chain order outcome
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.testnet.tayho.io/v1/orders/{orderHash}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.testnet.tayho.io/v1/orders/{orderHash} \
--header 'X-API-Key: <api-key>'{
"data": {
"cancelledAt": "<string>",
"executedAt": "<string>",
"orderHash": "<string>",
"positionId": "<string>",
"sessionKey": "<string>",
"status": "<string>",
"trader": "<string>",
"updatedBlock": "<string>",
"updatedTransactionHash": "<string>"
}
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}Get an on-chain order outcome
GET
/
v1
/
orders
/
{orderHash}
Get an on-chain order outcome
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.testnet.tayho.io/v1/orders/{orderHash}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.testnet.tayho.io/v1/orders/{orderHash} \
--header 'X-API-Key: <api-key>'{
"data": {
"cancelledAt": "<string>",
"executedAt": "<string>",
"orderHash": "<string>",
"positionId": "<string>",
"sessionKey": "<string>",
"status": "<string>",
"trader": "<string>",
"updatedBlock": "<string>",
"updatedTransactionHash": "<string>"
}
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"requestId": "<string>"
}Authorizations
Tayho project API key with the scope declared by the operation.
Path Parameters
Pattern:
^0x[0-9a-fA-F]{64}$Example:
"0x2222222222222222222222222222222222222222222222222222222222222222"
Response
Successful response.
Show child attributes
Show child attributes
Last modified on July 24, 2026
⌘I