cURL
curl --request POST \ --url https://rpc.etherspot.io/paymaster/whitelist \ --header 'Content-Type: application/json' \ --data '{ "params": [ [ "<string>" ] ] }'
Whitelist an address
{ "apiKey": "etherspot_public_key", "chainId": "11155111", "params": ["0x725404c8Eead111d9E6DFE118c535F43402a9511"] }
Value returned: { "message": "Successfully whitelisted with transaction Hash 0x91575dc46283aee04bab45763b5ea77250ac84232d6a38095f8ed08d1feef5d3" }
Arka API key
Chain ID
Check an address is whitelisted
The body is of type object.
object
Successful operation