Arka Paymaster
Sponsor A Transaction
The below example shows full working code of a transaction being sponsored.
Note: The ‘useVp’ parameter is passed so that the system uses the deployed Verifying Paymaster that you deployed using developer dashboard if not it will error out as ‘Paymaster not deployed’ message. And by default, the value is false and will use EtherspotPaymaster contract which is only for EntryPoint v6
You must change the values in primeSdk.estimate() with your own API key.