Gas Policy Rules (Legacy)
Update a gas policy rule (legacy - use /v2/fee-sponsorship for new integrations).
post/v1/policy_rules/{id}
Request
- Base URL: https://api.openfort.io
- URL: https://api.openfort.io/v1/policy_rules/{id}
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
idstring required
Specifies the unique policy rule ID (starts with afu_).
Request body
Example request
{
"functionName": "All functions",
"contract": "con_0cddb398-1dc6-4e6f-8726-9ec7cea85f35",
"wildcard": true,
"gasLimit": "1000000000000000000",
"countLimit": 1,
"timeIntervalValue": 1
}Response
Successful response.