Base URLs
- Mainnet
- Testnet
Available Methods
Transaction Submission
| Method | Description |
|---|---|
relayer_sendTransaction | Submit a signed transaction for relay |
relayer_sendTransactionSync | Submit and wait for transaction confirmation |
relayer_sendTransactionMultichain | Submit transactions to multiple chains |
Fee Estimation
| Method | Description |
|---|---|
relayer_getCapabilities | Get supported payment tokens and fee collector addresses |
relayer_getFeeData | Get token exchange rates for manual fee calculation |
relayer_getFeeQuote | Get a fee quote for a specific gas amount |
Status Tracking
| Method | Description |
|---|---|
relayer_getStatus | Check status with full transaction receipt |
Payment Types
Sponsored
The relayer covers gas fees. Requires a valid API key with sufficient Gas Tank balance.Token
User pays fees in a supported ERC-20 token. The transaction must include a transfer to the fee collector.When using token payments, you must first call
relayer_getCapabilities to get the fee collector address and either relayer_getFeeQuote (recommended) or relayer_getFeeData to get the fee amount. These methods are not required for sponsored transactions.Authentication
All requests require an API key passed via theX-API-Key header:
- Mainnet
- Testnet
Status Codes
| Code | Status | Description |
|---|---|---|
100 | Pending | Transaction received, not yet submitted |
110 | Submitted | Transaction broadcast, awaiting inclusion |
200 | Included | Transaction confirmed on-chain |
400 | Rejected | Transaction rejected by relayer |
500 | Reverted | Transaction reverted on-chain |
Error Codes
| Code | Message | Description |
|---|---|---|
-32602 | Invalid params | Missing or malformed parameters |
4100 | Unauthorized | Invalid or missing API key |
4200 | Insufficient Payment | Payment amount too low |
4201 | Invalid Signature | Signature verification failed |
4202 | Unsupported Payment Token | Token not supported |
4204 | Quote Expired | Fee quote has expired |
4205 | Insufficient Balance | User balance too low |
4206 | Unsupported Chain | Chain ID not supported |
4208 | Unknown Transaction ID | Task ID not found |
4211 | Simulation Failed | Transaction simulation failed |