Skip to content

The Sponsorship Policy object

Attributes

  • id: string

The unique identifier for the sponsorship policy.

  • policy_name: string

The name of the sponsorship policy.

  • policy_status: string

The status of the sponsorship policy. Possible values are active, inactive, and deleted.

  • created_at: string

The date and time the sponsorship policy was created formatted as an ISO 8601 string (e.g. 2024-05-23T15:23:38Z).

  • start_time: string or null

The date and time the sponsorship policy will become active formatted as an ISO 8601 string (e.g. 2024-05-23T15:23:38Z). If null, there is no start time before which the policy is inactive.

  • end_time: string or null

The date and time the sponsorship policy will become inactive formatted as an ISO 8601 string (e.g. 2024-05-23T15:23:38Z). If null, there is no end time after which the policy is inactive.

  • chain_ids: object

An object containing the chain IDs that are allowed to use the sponsorship policy. The object has the following attributes:

  • limits: object

An object containing the spending limits for the sponsorship policy. The object has the following attributes:

Example

{
  "id": "sp_tangible_knight",
  "policy_name": "Pimlico Example Gas Fund",
  "policy_status": "active",
  "created_at": "2024-05-23T15:23:38Z",
  "start_time": null,
  "end_time": null,
  "chain_ids": {
    "allowlist": [
      10,
      8453,
      34443,
      690,
      7777777
    ]
  },
  "limits": {
    "global": {
      "user_operation_spending": {
        "amount": 10000000,
        "currency": "USD"
      }
    }
  }
}