Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Search Transaction On Blockchain

Search for a transaction on the blockchain by hash and network.

Endpoint: POST /transaction/search-blockchain-txhash

Authentication: Required (x-api-key for live, x-staging-api-key for test)

Request Parameters

Parameter
Type
Required
Description

tx_hash

string

Yes

Blockchain transaction hash

network

string

Yes

Network code to parse in requests (e.g. erc20, bep20, bitcoin, trc20, solana, xrp, base)

Example Request

curl -X POST https://service.roqqu.com/v1/transaction/search-blockchain-txhash \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "tx_hash=0x9ffd7f17177b6f517195bb5c3e8a769eff276ff56e875ffbba703ee6a940c23b" \
  -d "network=erc20"

Example Response (Success)

Shape varies by network. For EVM networks (erc20, bep20, base), data may be a JSON string of the chain receipt:

{
  "status": "success",
  "message": "Transaction retrieved successfully",
  "data": "{\"transactionHash\":\"0x9ffd7f...\",\"status\":true,\"blockNumber\":\"123456\"}"
}

For networks such as bitcoin / trc20 / solana / xrp, data is typically a parsed object:

Error Responses

Unsupported network:

Transaction not found on chain:

Missing fields:

Last updated