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: '', 
api_key: 'arka_public_key', context: { mode: 'sponsor' } });

Supported testnets

  • Goerli
  • Mumbai
  • Flare Coston2
  • Arbitrum Goerli
  • Optimism Goerli

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