Skip to main content

GET /api/transactions/{address}

Recent transaction history

GET transactions data from transactions service

Endpoint​

GET https://api.web3identity.com/api/transactions/{address}

Parameters​

NameInTypeRequiredDescription
addresspathstringâś…Ethereum address (0x...)

Example Request​

curl -s "https://api.web3identity.com/api/transactions/:address" | jq

Responses​

200 Success​

{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"transactions": [
{
"hash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
"from": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"to": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"value": "1000000000000000000",
"valueETH": 1,
"valueUSD": 3245.67,
"gasUsed": "21000",
"gasPrice": "50000000000",
"timestamp": 1707393600,
"blockNumber": 19234567,
"status": "success",
"type": "transfer"
}
],
"count": 1
}

400 Bad request - invalid parameters​

{
"example": "response"
}

402 Payment required​

404 Resource not found​

{
"example": "response"
}

429 Rate Limited​

{
"example": "response"
}

500 Internal Server Error - Something went wrong on our end​

{
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}

Auto-generated from OpenAPI spec