bex_capabilities

Query the builder's current BEX configuration limits. Use this to understand the constraints before constructing a bex_sendBundle request.

Parameters

None.

Request

{
  "jsonrpc": "2.0",
  "method": "bex_capabilities",
  "params": [],
  "id": 1
}

Response

{
  "jsonrpc": "2.0",
  "result": {
    "maxCalldataBytes": 4096,
    "maxComputeGas": 1000000,
    "maxExecuteGas": 500000
  },
  "id": 1
}
Field
Type
Description

maxCalldataBytes

number

Maximum allowed size in bytes for compute.calldata and execute.prefixArgs

maxComputeGas

number

Maximum gas the builder will spend on the off-chain compute staticcall

maxExecuteGas

number

Maximum gas limit for the on-chain execute transaction

Notes

  • No authentication required.

  • Check these limits before submitting — requests exceeding maxCalldataBytes will be rejected with a -32602 error.

Last updated