Transactions Index - Relay
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \
--url https://api.relay.link/transactions/index \
--header 'Content-Type: application/json' \
--data '\n{\n "chainId": "<string>",\n "txHash": "<string>"\n}\n'
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({chainId: '<string>', txHash: '<string>'})
};
fetch('https://api.relay.link/transactions/index', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests
url = "https://api.relay.link/transactions/index"
payload = {
"chainId": "<string>",
"txHash": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
Response Codes
- 200
- 400
- 404
{
"message": "<string>"
}
{
"message": "<string>"
}
{
"message": "<string>"
}
Headers
- x-api-key
string
Optional API key for authentication and higher rate limits.
Body
application/json
chainId
string
requiredtxHash
string
requiredrequestId
string
Response
200
- application/json
Default Response
- message
string
- message