Arka (Paymaster) API calls
/addPolicy
Creates a new policy with the provided details.
POST
Example values you can use to demo the API:
Example response:
Headers
API key for authentication
Body
application/json
Example:
"0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
Example:
"Sample Policy"
Example:
"This is a sample policy"
Response
201
application/json
Policy created successfully