Sponsor a transaction (relayer pays the gas)
robyn_sponsor_7702Price or request an EIP-7702 sponsored transaction: Robyn submits your signed authorization as a type-4 transaction and PAYS THE GAS, so your account needs no native token. Over this HOSTED endpoint the call is a DRY price-check (returns estGas, priceUsd and the exact envelope) — paying the x402 invoice to broadcast requires calling POST /api/7702/sponsor directly with an X-PAYMENT header.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chainId": "<chainId>",
"authorization": "<authorization>"
},
"name": "robyn_sponsor_7702"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | call target (defaults to the delegated account itself) | |
| data | No | calldata hex | |
| chainId | Yes | ||
| authorization | Yes |