Deposit
In short the deposit flow is as follows:
- Create ticket on Discord to get api key and public address to top up to.
- Send funds to public address provided.
- Call the deposit api
- Call whitelist api to whitelist an address.
- Add api key to estimate function like so:
const CHAIN_ID = 11155111;
const ARKA_API_KEY = "etherspot_public_key";
const op = await primeSdk.estimate({ url: `https://rpc.etherspot.io/paymaster?apiKey=${ARKA_API_KEY}&chainId=${CHAIN_ID}`,
context: { mode: 'sponsor' } });
Now any transactions created like this will be sponsored for this address.
Responses are generated using AI and may contain mistakes.