OrderBuilder class for more in-depth details on each function.ConditionalTokens) and ERC-20 (USDB). This can be achieved by sending a transaction to the respective contracts (see the Contracts section) and approving both the CTF_EXCHANGE and the NEG_RISK_CTF_EXCHANGE or via the SDK utils.Constants.ts file or in the Deployed Contracts documentation.OrderBuilder: Instantiate the OrderBuilder class by calling OrderBuilder.make.predictAccount address, which is also known as the deposit address.getLimitOrderAmounts to calculate order amounts.buildOrder to generate a LIMIT strategy order.feeRateBps via the GET /markets endpoint on the REST APIsigner and maker to the predictAccount address, NOT the signer/privy wallet address.buildTypedData to generate typed data for the order.SignedOrder object by calling signTypedDataOrder.buildTypedDataHash.LIMIT strategy buy order:OrderBuilder: Instantiate the OrderBuilder class by calling OrderBuilder.make.getLimitOrderAmounts to calculate order amounts.buildOrder to generate a LIMIT strategy order.feeRateBps via the GET /markets endpoint on the REST APIbuildTypedData to generate typed data for the order.SignedOrder object by calling signTypedDataOrder.buildTypedDataHash.MARKET sell order:OrderBuilder: Instantiate the OrderBuilder class by calling OrderBuilder.make.getMarketOrderAmounts to calculate order amounts.buildOrder to generate a MARKET strategy order.feeRateBps via the GET /markets endpoint on the REST APIbuildTypedData to create typed data for the order.SignedOrder object by calling signTypedDataOrder.buildTypedDataHash.OrderBuilder class provides methods to redeem your positions on the Predict protocol. Depending on the type of market you're interacting with, you can use either redeemPositions for standard markets or redeemNegRiskPositions for NegRisk markets.OrderBuilder: Instantiate the OrderBuilder class by calling the static make method.redeemPositions method with the appropriate conditionId and indexSet.conditionId and indexSet can be fetched from the GET /positions endpoint.balanceOf allows to easily check the current USDB balance of the connected signer.GET /orders.POST /orders/cancel with orderIds and cancel orders from the orderbookisNegRisk: Separate orders based on the isNegRisk property.isNegRisk).