Gas Policies (Legacy)

Get a gas policy (legacy - use /v2/fee-sponsorship for new integrations).

Changed on

Retrieves the details of a gas sponsorship policy that has previously been created.

Returns the latest 10 transaction intents that used this policy.

get/v1/policies/{id}

Request

  • Base URL: https://api.openfort.io
  • URL: https://api.openfort.io/v1/policies/{id}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring required

Specifies the unique policy ID (starts with pol_).

Query parameters

expandPolicyResponseExpandable[]

Specifies the fields to expand.

Response

Successful response.

idstring required
object'policy' required
createdAtinteger required
namestring nullable required
deletedboolean required
enabledboolean required
chainIdinteger required

The chain ID.

Changes

    • info

      removed from the ////// response property anyOf list for the response status

    • info

      removed the zkSync enum value from the ////// response property for the response status

    • breaking

      the /////// response's property type changed from no type to object for status

    • info

      the security scope fee_sponsorship:read was added to the endpoint's security scheme sk

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the optional property //////// to the response with the status

    • info

      added the required property //////// to the response with the status