Transactions Single - 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/single \
--header 'Content-Type: application/json' \
--data '
{
"requestId": "<string>",
"chainId": "<string>",
"tx": "<string>"
}
'
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({requestId: '<string>', chainId: '<string>', tx: '<string>'})
};
fetch('https://api.relay.link/transactions/single', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests
url = "https://api.relay.link/transactions/single"
payload = {
"requestId": "<string>",
"chainId": "<string>",
"tx": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
Response
200
{
"message": "<string>"
}
Headers
x-api-key
string
Optional API key for authentication and higher rate limits.
Body
application/json
requestId
string
required
chainId
string
required
tx
string
required
Response
200 - application/json
Default Response
message
string