Policy Editor V2 (Beta)
Calculate the AOT quota for a policy rule
Returns the Amount Over Time (AOT) quota calculated for a specific policy rule.
Endpoint Permissions: Owner, Admin, Non-Signing Admin.
post/policy/rules/quota
Request
- Base URLhttps://api.fireblocks.io/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Request body
Example request
{
"ruleId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"initiator": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"source": {
"id": "123",
"type": "VAULT"
},
"destination": {
"id": "123",
"type": "VAULT"
}
}Response
The calculated AOT quota for the rule
Example response
{
"amount": "10000",
"quotaConfig": {
"range": {
"min": "100",
"max": "10000"
},
"currency": "USD",
"timePeriod": {
"seconds": "86400",
"initiator": "PER_SINGLE_MATCH",
"source": "PER_SINGLE_MATCH",
"destination": "PER_SINGLE_MATCH"
}
},
"currency": "USD",
"windowStart": 1699913600,
"windowEnd": 1700000000,
"transactionCount": 5
}Changes
No recorded changes to this operation across all 1 revision of this API.