Skip to main content
Function:
ABI Object:
Parameters:
  • signer - The account signer
  • subaccount - The Trading Account object
  • builder_addr - The builder address
  • max_fee - Maximum fee (u64) in units of 0.0001% (basis points × 100; e.g. 1000 = 10 bps = 0.1%, the protocol maximum). The TypeScript SDK takes basis points and does this conversion for you. Approvals above the protocol-wide cap of 1000 abort with EINVALID_MAX_FEE
Example: