Introduction
Security Considerations
How-To Guides
ERC-2771 (Recommended)
- Overview
- SponsoredCall ERC-2771
- CallwithSyncFee ERC-2771
Non-ERC2771
- SponsoredCall
- CallwithSyncFee
Subscription & Payments
API & Fee Oracle
Additional Resources
Relay v2
Place a relay v2 callWithSyncFeeERC2771 request
Please find more information here
POST
/
relays
/
v2
/
call-with-sync-fee-erc2771
Copy
Ask AI
curl --request POST \
--url https://api.gelato.digital/relays/v2/call-with-sync-fee-erc2771 \
--header 'Content-Type: application/json' \
--data '{
"chainId": 123,
"target": "<string>",
"data": "<string>",
"user": "<string>",
"userNonce": 123,
"userDeadline": 123,
"userSignature": "<string>",
"feeToken": "<string>",
"isRelayContext": true,
"gasLimit": "<string>",
"retries": 123
}'
Copy
Ask AI
{
"taskId": "<string>"
}
Body
application/json
Response
201
application/json
Successfully placed a callWithSyncFeeERC2771 request
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://api.gelato.digital/relays/v2/call-with-sync-fee-erc2771 \
--header 'Content-Type: application/json' \
--data '{
"chainId": 123,
"target": "<string>",
"data": "<string>",
"user": "<string>",
"userNonce": 123,
"userDeadline": 123,
"userSignature": "<string>",
"feeToken": "<string>",
"isRelayContext": true,
"gasLimit": "<string>",
"retries": 123
}'
Copy
Ask AI
{
"taskId": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.