Arka (Paymaster) API calls
/whitelist
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
/whitelist
Whitelist an address
POST
/
whitelist
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": ["0x725404c8Eead111d9E6DFE118c535F43402a9511"]
}
Example response:
Value returned: {
"message": "Successfully whitelisted with transaction Hash 0x91575dc46283aee04bab45763b5ea77250ac84232d6a38095f8ed08d1feef5d3"
}
Body
application/json