For the complete documentation index, see llms.txt. This page is also available as Markdown.

BSC Block Builder Send Bundle API Reference

Use the BlockRazor BSC Block Builder Send Bundle API. Review the endpoint, parameters, request format, response fields, and integration example.

Introduction

This API is used to receive bundles, with the method name eth_sendBundle.

The block construction algorithm of BlockRazor Builder favors bundles that transfer more native tokens (BNB) to BlockRazor Builder EOA of which address is

0xc7d4187cBda07F4b5be04418B9723b5faF65dB5C

The gas price for transactions within the bundle must be at least the minimum standard required by BSC Validators (Currently at 0.05 gwei).

Request Parameter

Parameters
Mandatory
Format
Example
Description

txs

Mandatory

array[hex]

["0x…4b", "0x…5c"]

List of signed raw transactions

maxBlockNumber

Optional

uint64

39177941

The maximum block number for the bundle to be valid, with the default set to the current block number + 100

minTimestamp

Optional

uint64

1710229370

Expected minimum Unix timestamp (in seconds) for the bundle to be valid

maxTimestamp

Optional

uint64

1710829390

Expected maximum Unix timestamp (in seconds) for the bundle to be valid

revertingTxHashes

Optional

array[hash]

["0x…c7", "0x…b7"]

List of transaction hashes allowed for revert

noMerge

Optional

bool

false

Bundle merge can increase block value and inclusion rate. If not set, the default value is false (allowing bundle merging)

positionFirst

Optional

bool

false

Strictly order bundles by priorityFee. If set to false (default), late-arriving bundles may be appended to the block tail to guarantee inclusion in the current block.

Request Example

curl https://virginia.builder.blockrazor.io \
  -H 'content-type: application/json' \
  -H 'Authorization: <auth-token>' \
  --data '{
    "jsonrpc": "2.0",
    "id": "1",
    "method": "eth_sendBundle",
    "params": [{
      "txs": [
        "0x...4b",
        "0x...5c"
      ],
      "maxBlockNumber": 39177941,
      "minTimestamp": 1710229370,
      "maxTimestamp": 1710829390,
      "revertingTxHashes": [
        "0x44b89abe860142d3c3bda789cf955b69ba00b71882cd968ec407a70f4719ff06",
        "0x7d7652c685e9fda4fe2e41bad017519cffeed8ba03d59aa6401284be2ec4244c"
      ],
      "noMerge": false
    }]
  }'

Response Example

Last updated

Was this helpful?