Paymasters are used to sponsor transactions and enable paying for gas with ERC20 Tokens.
This section will cover how to use Arka within the SDK, for a more detailed look at Arka and it’s API calls and how to send requests manually, you can check out this part of the docs.
This takes the chainId, Arka API key, and Arka Paymaster URL as parameters.
Here is a list of the functions we can call and what they do.
Returns information about the paymaster.
Example output:
Accepts a string of a token ticker as input and outputs the address of the token paymaster if it is supported.
Accepts an array of strings (valid addresses) and whitelists them on the paymaster.
Accepts an array of strings (valid addresses) and removes them from the whitelist.
Accepts a valid address as a string and returns whether or not an address is whitelisted.
Accepts a number and deposits this to the paymaster.
Paymasters are used to sponsor transactions and enable paying for gas with ERC20 Tokens.
This section will cover how to use Arka within the SDK, for a more detailed look at Arka and it’s API calls and how to send requests manually, you can check out this part of the docs.
This takes the chainId, Arka API key, and Arka Paymaster URL as parameters.
Here is a list of the functions we can call and what they do.
Returns information about the paymaster.
Example output:
Accepts a string of a token ticker as input and outputs the address of the token paymaster if it is supported.
Accepts an array of strings (valid addresses) and whitelists them on the paymaster.
Accepts an array of strings (valid addresses) and removes them from the whitelist.
Accepts a valid address as a string and returns whether or not an address is whitelisted.
Accepts a number and deposits this to the paymaster.