Public Relayer
Public Relayer: First JSON-RPC Call
Submit a baseline call against the public relayer endpoint.
Full TypeScript example
Below are two complete examples showing how to do end-to-end gas abstracted transactions on the testnet relayer. You can copy them to a local project. You will need the @viem and @metamask/smart-accounts-kit packages installed. You can get testnet USDC from the Circle faucet to pay for the transactions.
Loading example...