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=80001",
    context: { mode: 'sponsor' } 
    });

Supported testnets

  • Sepolia
  • Mumbai
  • Base Sepolia
  • Flare Coston2

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