SpendBundle
    SpendBundle
    • /spends
      GET
    • /spends/:id
      DELETE
    • /fees
      POST
    • /singleton
      POST
    • /payment/pay-per-spend
      GET
    • /payment/token
      GET
    • /limits
      GET

      /limits

      GET
      /limits

      Request

      Query Params
      network
      enum<string> 
      required
      Network to get limits for
      Allowed values:
      mainnettestnet11
      Example:
      mainnet
      Header Params
      x-api-key
      string 
      required
      API key for authentication

      Request samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET '/limits?network' \
      --header 'x-api-key;'

      Responses

      🟢200OK
      application/json
      Limits found.
      Body
      concurrentSpends
      object 
      required
      Concurrent spends limit and current usage
      limit
      object  | null 
      required
      Maximum allowed value for this limit
      Example:
      10
      currentValue
      object  | null 
      required
      Current value for this limit. Null if not applicable.
      Example:
      5
      monthlyMojos
      object 
      required
      Monthly mojos limit and current usage
      limit
      object  | null 
      required
      Maximum allowed value for this limit
      Example:
      10
      currentValue
      object  | null 
      required
      Current value for this limit. Null if not applicable.
      Example:
      5
      coinAnnouncementAssertions
      object 
      required
      Coin announcement assertions limit and current usage
      limit
      object  | null 
      required
      Maximum allowed value for this limit
      Example:
      10
      currentValue
      object  | null 
      required
      Current value for this limit. Null if not applicable.
      Example:
      5
      puzzleAnnouncementAssertions
      object 
      required
      Puzzle announcement assertions limit and current usage
      limit
      object  | null 
      required
      Maximum allowed value for this limit
      Example:
      10
      currentValue
      object  | null 
      required
      Current value for this limit. Null if not applicable.
      Example:
      5
      pendingSpendExpirySeconds
      object 
      required
      Pending spend expiry in seconds limit and current value
      limit
      object  | null 
      required
      Maximum allowed value for this limit
      Example:
      10
      currentValue
      object  | null 
      required
      Current value for this limit. Null if not applicable.
      Example:
      5
      Example
      {
          "concurrentSpends": {
              "limit": 10,
              "currentValue": 5
          },
          "monthlyMojos": {
              "limit": 10,
              "currentValue": 5
          },
          "coinAnnouncementAssertions": {
              "limit": 10,
              "currentValue": 5
          },
          "puzzleAnnouncementAssertions": {
              "limit": 10,
              "currentValue": 5
          },
          "pendingSpendExpirySeconds": {
              "limit": 10,
              "currentValue": 5
          }
      }
      🟠400Bad Request
      🟠403Forbidden
      🟠404Record Not Found
      Modified at 2025-03-26 11:47:19
      Previous
      /payment/token
      Built with