/update-policy
Updates an existing sponsorship policy based on the provided information.
Example values you can use to demo the API:
Example response:
Headers
API key for authentication
Body
ID of the policy
The wallet address associated with the API key
Name of the sponsorship policy
Description of the sponsorship policy
Flag to indicate if the policy is public
Flag to indicate if the policy is enabled
Flag to indicate if the policy is universal
Array of enabled chain IDs
Array of supported entry point versions
Flag to indicate if the policy is perpetual
Optional start date for the policy
Optional end date for the policy
Flag to indicate if the global maximum is applicable
Optional global maximum USD limit
Optional global maximum native limit
Optional global maximum operation count
Flag to indicate if the per user maximum is applicable
Optional per user maximum USD limit
Optional per user maximum native limit
Optional per user maximum operation count
Flag to indicate if the per operation maximum is applicable
Optional per operation maximum USD limit
Optional per operation maximum native limit
Optional array of allowed addresses
Optional array of blocked addresses
Flag to indicate if the policy is expired
Flag to indicate if the policy is current
Flag to indicate if the policy is applicable
Date the policy was created
Date the policy was last updated
Response
ID of the policy
The wallet address associated with the API key
Name of the sponsorship policy
Description of the sponsorship policy
Flag to indicate if the policy is public
Flag to indicate if the policy is enabled
Flag to indicate if the policy is universal
Array of enabled chain IDs
Array of supported entry point versions
Flag to indicate if the policy is perpetual
Optional start date for the policy
Optional end date for the policy
Flag to indicate if the global maximum is applicable
Optional global maximum USD limit
Optional global maximum native limit
Optional global maximum operation count
Flag to indicate if the per user maximum is applicable
Optional per user maximum USD limit
Optional per user maximum native limit
Optional per user maximum operation count
Flag to indicate if the per operation maximum is applicable
Optional per operation maximum USD limit
Optional per operation maximum native limit
Optional array of allowed addresses
Optional array of blocked addresses
Flag to indicate if the policy is expired
Flag to indicate if the policy is current
Flag to indicate if the policy is applicable
Date the policy was created
Date the policy was last updated