tx-error-details
Less than 1 minute
Get Transaction Error Details
API Information
- Method: GET
- URL:
/api/v1/tx/error-details/{tx_hash}
- Base URL:
https://api.flashblock.trade
- Authentication: Not required
Request Example
# Replace {tx_hash} with the actual transaction hash you want to query
curl https://api.flashblock.trade/api/v1/tx/error-details/{tx_hash}
Parameter Description
{tx_hash}
: The transaction hash you want to query for error details
Successful Response
{
"success": true,
"code": 200,
"message": [
"Transaction failed: Transaction is not recent"
]
}
Error Response
{
"success": false,
"code": 500,
"message": "Transaction not found"
}
Response Description
success
: Boolean indicating if the query was successfulcode
: HTTP status code (200 for success, 500 for error)message
: Array of error messages (for successful queries) or error description (for failed queries)
Usage Notes
- No authentication is required for this endpoint
- The endpoint returns detailed error information for failed transactions
- If the transaction is not found, it will return a 500 error
- The error messages array may contain multiple error details