Arka (Paymaster) API calls
/metadata
Arka (Paymaster) API calls
- 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
Arka (Paymaster) API calls
/metadata
Return paymaster Metadata
GET
/
metadata
apiKey
string
apiKey
string
Arka API key
chainId
string
chainId
string
Chain ID
Example values you can use to demo the API:
{
"apiKey": "arka_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" },
}
}