cURL
curl --request POST \
--url https://api.relay.link/app-fees/{wallet}/claim \
--header 'Content-Type: application/json' \
--data '
{
"chainId": 123,
"currency": "<string>",
"recipient": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({chainId: 123, currency: '<string>', recipient: '<string>'})
};
fetch('https://api.relay.link/app-fees/{wallet}/claim', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.relay.link/app-fees/{wallet}/claim"
payload = {
"chainId": 123,
"currency": "<string>",
"recipient": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"steps": [
{
"id": "<string>",
"action": "<string>",
"description": "<string>",
"kind": "<string>",
"items": [
{
"status": "<string>",
"data": "<unknown>"
}
]
}
]
}{
"message": "<string>"
}API Reference
Claim App Fees
This API claims app fees for a specific wallet.
POST
/
app-fees
/
{wallet}
/
claim
cURL
curl --request POST \
--url https://api.relay.link/app-fees/{wallet}/claim \
--header 'Content-Type: application/json' \
--data '
{
"chainId": 123,
"currency": "<string>",
"recipient": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({chainId: 123, currency: '<string>', recipient: '<string>'})
};
fetch('https://api.relay.link/app-fees/{wallet}/claim', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.relay.link/app-fees/{wallet}/claim"
payload = {
"chainId": 123,
"currency": "<string>",
"recipient": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"steps": [
{
"id": "<string>",
"action": "<string>",
"description": "<string>",
"kind": "<string>",
"items": [
{
"status": "<string>",
"data": "<unknown>"
}
]
}
]
}{
"message": "<string>"
}What are app fees?
Headers
Optional API key for authentication and higher rate limits.
Path Parameters
Body
application/json
Response
Default Response
An array of steps detailing what needs to be done to claim
Show child attributes
Show child attributes
Was this page helpful?