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

{  
  "message": "<string>"
}
{  
  "message": "<string>"
}
{  
  "message": "<string>"
}

Headers

Body

Response