Transaction Detail
Get detailed transaction data by transaction hash on a supported chain.
| Property | Value |
|---|---|
| Endpoint | /api/transaction/detail |
| Method | POST |
| Credits | 1 |
Request Body
chainstring|number, requiredChain name, alias, or CHAIN ID value.
txHashstring, requiredTransaction hash to inspect.
iTypestring|number, optionalLayer type filter: 0 native transfer, 1 internal native transfer, 2 token transfer.
Example
curl -X POST https://kittyhome.pages.dev/api/transaction/detail \
-H "Authorization: Bearer kk_your_key" \
-H "Content-Type: application/json" \
-d '{"chain": "Ethereum", "txHash": "0x...", "iType": "0"}'
Response Data
{
"chainId": "1",
"blockHeight": "24993273",
"txTime": "1777556315000",
"txHash": "0x...",
"status": "success",
"gasLimit": "248576",
"gasUsed": "137707",
"gasPrice": "9678081858",
"txFee": "0.001332739618419606",
"nonce": "4174",
"amount": "0",
"symbol": "ETH",
"methodId": "0x791ac947",
"l1OriginHash": null,
"from": [{ "address": "0x...", "isContract": false, "amount": null }],
"to": [{ "address": "0x...", "isContract": true, "amount": null }],
"internalTransactions": [{ "from": "0x...", "to": "0x...", "amount": "0.1", "status": "success" }],
"tokenTransfers": [{ "from": "0x...", "to": "0x...", "tokenContractAddress": "0x...", "symbol": "USDC", "amount": "12.5" }]
}