Skip to main content
Version: v4

ParticipantAuthorizationRecord

A per-Participant VS-operator authorization nested inside a VSOperatorAuthorization.

participant_idinteger<uint64>required
msg_typesstring[]required
spend_limit object[]
  • Array [
  • denomstringrequired
    amountstringrequired
  • ]
  • remaining_spend object[]

    Present when spend_limit is set.

  • Array [
  • denomstringrequired
    amountstringrequired
  • ]
  • fee_spend_limit object[]

    Present iff with_feegrant is true: this record's contribution, per vs_operator_fee_period, to the aggregate vs_operator FeeGrant (see listFeeGrants). Not a balance of its own.

  • Array [
  • denomstringrequired
    amountstringrequired
  • ]
  • with_feegrantbooleanrequired
    expirationstring<date-time>

    End of the current operation-budget cycle; present iff period is set and the cycle has started. Not a validity window end.

    periodstring

    Length of the operation-budget cycle for spend_limit, as a duration (e.g. "86400s"). Never applies to fees.

    ParticipantAuthorizationRecord
    {
    "participant_id": 0,
    "msg_types": [
    "string"
    ],
    "spend_limit": [
    {
    "denom": "string",
    "amount": "string"
    }
    ],
    "remaining_spend": [
    {
    "denom": "string",
    "amount": "string"
    }
    ],
    "fee_spend_limit": [
    {
    "denom": "string",
    "amount": "string"
    }
    ],
    "with_feegrant": true,
    "expiration": "2024-07-29T15:51:28.071Z",
    "period": "string"
    }