Using Arka

When estmiating a transaction with the SDK on testnets we support we can pass in the testnet api key value as ‘arka_public_key’ and set the mode of the transaction to be sponsored like so:

const op = await primeSdk.estimate({ 
    url: "https://arka.etherspot.io?apiKey=arka_public_key&chainId=11155111",
    context: { mode: 'sponsor' } 
    });

Supported testnets

  • Sepolia
  • Base Sepolia
  • Scroll Sepolia
  • Fuse Sparknet
  • Ancient8 Testnet
  • Flare Coston2
  • Rootstock testnet

This will use testnet funds and a paymaster we have specifically setup for devs to test out before trying sponsored transactions on mainnet.