Gas Policies (Legacy)
Get amount of tokens paid for gas policy (legacy).
Changed onGet the amount of ERC-20 tokens collected by a gas policy.
When using a policy that includes payment of gas in ERC-20 tokens, this endpoint returns the amount of tokens paid for gas. This is specific to a policy that doesn't use your own deposited tokens in the paymaster.
get/v1/policies/{id}/withdraw
Request
- Base URL: https://api.openfort.io
- URL: https://api.openfort.io/v1/policies/{id}/withdraw
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
idstring required
Specifies the unique policy ID (starts with pol_).
Response
Successful response.
Changes
- info
the security scope
fee_sponsorship:readwas added to the endpoint's security schemesk
- info
- info
api operation id
GetPolicyBalanceremoved and replaced withGetGasPolicyBalanceLegacy - info
api tag
Gas Policies (Legacy)added - info
api tag
Policiesremoved
- info