Gas Policies (Legacy)

List gas policies (legacy - use /v2/fee-sponsorship for new integrations).

Changed on

Returns a list of gas sponsorship policies.

Returns the latest 10 transaction intents for each policy.

get/v1/policies

Request

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

Query parameters

limitinteger

Specifies the maximum number of records to return.

skipinteger

Specifies the offset for the first records to return.

order'asc' | 'desc'

Specifies the order in which to sort the results.

expandPolicyResponseExpandable[]

Specifies the fields to expand in the response.

namestring

Specifies the name of the policy.

deletedboolean

Specifies whether to include deleted policies.

chainIdinteger

The chain ID of the policy.

enabledboolean

Specifies whether to include enabled policies.

Response

Successful response.

object'list' required
urlstring required
startinteger required
endinteger required
totalinteger required

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