{s}omniamarkets

@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / ApproveBuilderParams

Interface: ApproveBuilderParams

Defined in: trade.ts:150

Opt a routing/builder frontend in to charge up to maxFeeBpsTimes1k (pool bps×1000 unit) per order the trader submits with that builder code. Set 0 to revoke.

Properties

pool

pool: `0x${string}`

Defined in: trade.ts:152

BinaryPool address.


builder

builder: `0x${string}`

Defined in: trade.ts:154

Builder/routing frontend address.


maxFeeBpsTimes1k

maxFeeBpsTimes1k: bigint

Defined in: trade.ts:156

Max per-order builder fee to allow (pool bps×1000). 0 revokes.


gas?

optional gas?: bigint

Defined in: trade.ts:157