Arka Paymaster
- Introduction to Arka
- Deposit to Arka
- Sponsor A Transaction
- Pay for gas with ERC20 tokens
- Arka testnet Usage
- Arka API calls
- POSTpm_getERC20TokenQuotes
- POSTpm_sponsorUserOperation
- POST/checkWhitelist
- POST/checkWhitelist/v2
- POST/whitelist
- POST/whitelist/v2
- POST/removeWhitelist
- POST/removeWhitelist/v2
- POST/deposit
- POST/deposit/v2
- POST/pimlicoAddress
- POST/getAllWhitelist/v2
- GET/metadata
- POST/add-policy
- DEL/delete-policy/{id}
- PUT/update-policy
- PUT/enable-policy/{id}
- PUT/disable-policy/{id}
- GET/policy
- GET/policy/{id}
- GET/policy/wallet-address/{walletAddress}
- GET/policy/wallet-address/{walletAddress}/ep-version/{epVersion}
- GET/policy/wallet-address/{walletAddress}/ep-version/{epVersion}/chain-id/{chainId}
- GET/policy/wallet-address/{walletAddress}/latest
- GET/policy/wallet-address/{walletAddress}/ep-version/{epVersion}/latest
- GET/policy/wallet-address/{walletAddress}/chain-id/{chainId}/latest
- GET/policy/wallet-address/{walletAddress}/ep-version/{epVersion}/chain-id/{chainId}/latest
- POST
Arka API calls
/deposit/v2
Deposit to paymaster v2
POST
/
deposit
/
v2
apiKey
string
apiKey
string
Arka API key
chainId
string
chainId
string
Chain ID
object
*
params
array
params
array
Example values you can use to demo the API:
{
"apiKey": "arka_public_key",
"chainId": "11155111",
"params": ["0.000001"]
}
Example response:
Value returned: {
"message": "Successfully deposited with transaction Hash 0x79137319a6c9c67827b67dbbc16c0729465305516da4788bce578d5fdf59a52e"
}
Query Parameters
apiKey
string
Arka API key
chainId
string
Chain ID
Body
application/json
params
string[]