Skip to main content
POST
Build a transaction that modifies a builder code (owner only)

Body

application/json
caller
string
required

The account sending this transaction (must sign it).

code
string
required

Builder code identifier: a plain string of 1-31 characters or a 32-byte 0x-hex value.

Minimum string length: 1
isPercentFee
required

true = charge feePercent of each trade; false = charge fixedFeeUsdc per trade.

feeCollector
string
required

Address that receives the builder fees.

feePercent

Builder fee as a percent of the trade (1 = 1%); capped by the protocol maximum.

fixedFeeUsdc

Fixed builder fee in USDC per trade; capped by the protocol maximum.

Response

Success envelope: ok is true and data carries the payload documented below.

ok
enum<boolean>
required

Always true on success.

Available options:
true
data
object
required

An unsigned EVM transaction. Sign it with the from key and broadcast it yourself, or submit the signed bytes via POST /v2/relay.