response = getApi().getTopTraders(request);
diff --git a/examples/web3-wallet/src/main/java/com/binance/connector/client/web3_wallet/rest/trading/BuildSwapTransactionExample.java b/examples/web3-wallet/src/main/java/com/binance/connector/client/web3_wallet/rest/trading/BuildSwapTransactionExample.java
index 68b911a..a4bc70f 100644
--- a/examples/web3-wallet/src/main/java/com/binance/connector/client/web3_wallet/rest/trading/BuildSwapTransactionExample.java
+++ b/examples/web3-wallet/src/main/java/com/binance/connector/client/web3_wallet/rest/trading/BuildSwapTransactionExample.java
@@ -7,7 +7,10 @@
import com.binance.connector.client.web3_wallet.rest.Web3WalletRestApiUtil;
import com.binance.connector.client.web3_wallet.rest.api.TradingApi;
import com.binance.connector.client.web3_wallet.rest.api.Web3WalletRestApi;
+import com.binance.connector.client.web3_wallet.rest.model.ApproveTransaction;
+import com.binance.connector.client.web3_wallet.rest.model.AutoSlippage;
import com.binance.connector.client.web3_wallet.rest.model.BuildSwapTransactionResponse;
+import com.binance.connector.client.web3_wallet.rest.model.GasLevel;
/** API examples for TradingApi */
public class BuildSwapTransactionExample {
@@ -46,12 +49,12 @@ public void buildSwapTransactionExample() throws ApiException {
String quoteId = "a1b2c3d4e5f64a8b9c0d1e2f3a4b5c6d";
Long recvWindow = 5000L;
String nonce = "unique-nonce-string";
- String approveTransaction = "false";
+ ApproveTransaction approveTransaction = ApproveTransaction.TRUE;
String approveAmount = "1000000";
String gasLimit = "200000";
- String gasLevel = "average";
+ GasLevel gasLevel = GasLevel.slow;
String priceImpactProtectionPercent = "90";
- String autoSlippage = "false";
+ AutoSlippage autoSlippage = AutoSlippage.TRUE;
String maxAutoSlippagePercent = "3";
String computeUnitLimit = "1400000";
String computeUnitPrice = "1000";
diff --git a/examples/web3-wallet/src/main/java/com/binance/connector/client/web3_wallet/rest/transaction/BroadcastTransactionsExample.java b/examples/web3-wallet/src/main/java/com/binance/connector/client/web3_wallet/rest/transaction/BroadcastTransactionsExample.java
index 8b7065b..89b3b15 100644
--- a/examples/web3-wallet/src/main/java/com/binance/connector/client/web3_wallet/rest/transaction/BroadcastTransactionsExample.java
+++ b/examples/web3-wallet/src/main/java/com/binance/connector/client/web3_wallet/rest/transaction/BroadcastTransactionsExample.java
@@ -29,9 +29,9 @@ public Web3WalletRestApi getApi() {
/**
* Broadcast Transactions
*
- * Broadcast a client-signed transaction to the chain via the OnchainOS relay. Returns the
- * transaction hash and an internal `orderId` you can use to track on-chain status via
- * the post-transaction service. Optional MEV protection (EVM chains only) routes the
+ *
Broadcast a client-signed transaction to the chain via the Binance Web3 API relay. Returns
+ * the transaction hash and an internal `orderId` you can use to track on-chain status
+ * via the post-transaction service. Optional MEV protection (EVM chains only) routes the
* transaction through a private mempool to mitigate front-running and sandwich attacks.
*
* @throws ApiException if the Api call fails