Batches

Get the Batch API's current limits

Changed on

Returns the limits a batch submission runs against today: the per-batch minimum fee and the metadata caps that create and update both enforce. The minimum fee is 0 when none is configured. orl estimate and orl batches create read this instead of assuming fixed constants, so a limit change on the server reaches them without a CLI release.

Requires the batch.read permission. See Permissions for the roles and API key permissions that include it.

get/v1/batches/limits

Request

  • Base URL
    https://inference.openrelay.inc
  • URL
    https://inference.openrelay.inc/v1/batches/limits
  • Auth
    HTTP bearer

Response

OK

min_fee_nano_usdinteger required

The per-batch minimum charge, in nanoUSD. 0 when no minimum fee is configured.

Changes

    • info

      added the non-success 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 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

      endpoint added