Arka (Paymaster) API calls
/metadata/v2
Arka (Paymaster) 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/tokenPaymasterAddress
- POST/getAllWhitelist/v2
- GET/metadata
- GET/metadata/v2
- POST/addPolicy
- DEL/deletePolicy/{id}
- PUT/updatePolicy
- PUT/enablePolicy/{id}
- PUT/disablePolicy/{id}
- GET/policy
- GET/policy/{id}
- GET/policy/walletAddress/{walletAddress}
- GET/policy/walletAddress/{walletAddress}/epVersion/{epVersion}
- GET/policy/walletAddress/{walletAddress}/epVersion/{epVersion}/chainId/{chainId}
- GET/policy/walletAddress/{walletAddress}/latest
- GET/policy/walletAddress/{walletAddress}/epVersion/{epVersion}/latest
- GET/policy/walletAddress/{walletAddress}/chainId/{chainId}/latest
- GET/policy/walletAddress/{walletAddress}/epVersion/{epVersion}/chainId/{chainId}/latest
Arka (Paymaster) API calls
/metadata/v2
Return paymaster Metadata for EP7
GET
/
metadata
/
v2
curl --request GET \
--url https://rpc.etherspot.io/paymaster/metadata/v2
Example values you can use to demo the API:
{
"apiKey": "etherspot_public_key",
"chainId": "11155111",
}
Example response:
{
"sponsorAddress": "0xaeAF09795d8C0e6fA4bB5f89dc9c15EC02021567",
"sponsorWalletBalance": { "type": "BigNumber", "hex": "0x1ed81fac4b400e4d" },
"chainsSupported": [
5, 114,
420, 84532,
84531, 421613,
534351, 11155111,
],
"tokenPaymasters": {
"1": { "USDC": "0x0000000000fABFA8079AB313D1D14Dcf4D15582a" },
"10": { "USDC": "0x0000000000fce6614d3c6f679e48c9cdd09aa634" },
"56": { "USDC": "0x0000000000db7995889f54d72dac9d36a9f7f467" },
}
}
Response
200
Successful operation
curl --request GET \
--url https://rpc.etherspot.io/paymaster/metadata/v2