@circle-fin/app-kit 1.0.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -500,6 +500,8 @@ declare enum Blockchain {
500
500
  Celo_Alfajores_Testnet = "Celo_Alfajores_Testnet",
501
501
  Codex = "Codex",
502
502
  Codex_Testnet = "Codex_Testnet",
503
+ Edge = "Edge",
504
+ Edge_Testnet = "Edge_Testnet",
503
505
  Ethereum = "Ethereum",
504
506
  Ethereum_Sepolia = "Ethereum_Sepolia",
505
507
  Hedera = "Hedera",
@@ -512,6 +514,8 @@ declare enum Blockchain {
512
514
  Linea_Sepolia = "Linea_Sepolia",
513
515
  Monad = "Monad",
514
516
  Monad_Testnet = "Monad_Testnet",
517
+ Morph = "Morph",
518
+ Morph_Testnet = "Morph_Testnet",
515
519
  NEAR = "NEAR",
516
520
  NEAR_Testnet = "NEAR_Testnet",
517
521
  Noble = "Noble",
@@ -731,11 +735,13 @@ declare enum BridgeChain {
731
735
  Avalanche = "Avalanche",
732
736
  Base = "Base",
733
737
  Codex = "Codex",
738
+ Edge = "Edge",
734
739
  Ethereum = "Ethereum",
735
740
  HyperEVM = "HyperEVM",
736
741
  Ink = "Ink",
737
742
  Linea = "Linea",
738
743
  Monad = "Monad",
744
+ Morph = "Morph",
739
745
  Optimism = "Optimism",
740
746
  Plume = "Plume",
741
747
  Polygon = "Polygon",
@@ -750,11 +756,13 @@ declare enum BridgeChain {
750
756
  Avalanche_Fuji = "Avalanche_Fuji",
751
757
  Base_Sepolia = "Base_Sepolia",
752
758
  Codex_Testnet = "Codex_Testnet",
759
+ Edge_Testnet = "Edge_Testnet",
753
760
  Ethereum_Sepolia = "Ethereum_Sepolia",
754
761
  HyperEVM_Testnet = "HyperEVM_Testnet",
755
762
  Ink_Testnet = "Ink_Testnet",
756
763
  Linea_Sepolia = "Linea_Sepolia",
757
764
  Monad_Testnet = "Monad_Testnet",
765
+ Morph_Testnet = "Morph_Testnet",
758
766
  Optimism_Sepolia = "Optimism_Sepolia",
759
767
  Plume_Testnet = "Plume_Testnet",
760
768
  Polygon_Amoy_Testnet = "Polygon_Amoy_Testnet",
@@ -1379,7 +1387,7 @@ declare const Codex: {
1379
1387
  };
1380
1388
  readonly forwarderSupported: {
1381
1389
  readonly source: true;
1382
- readonly destination: false;
1390
+ readonly destination: true;
1383
1391
  };
1384
1392
  };
1385
1393
  readonly kitContracts: {
@@ -1422,7 +1430,95 @@ declare const CodexTestnet: {
1422
1430
  };
1423
1431
  readonly forwarderSupported: {
1424
1432
  readonly source: true;
1425
- readonly destination: false;
1433
+ readonly destination: true;
1434
+ };
1435
+ };
1436
+ readonly kitContracts: {
1437
+ readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
1438
+ };
1439
+ };
1440
+
1441
+ /**
1442
+ * Edge Mainnet chain definition
1443
+ * @remarks
1444
+ * This represents the official production network for the Edge blockchain.
1445
+ * Edge is an EVM-compatible blockchain.
1446
+ */
1447
+ declare const Edge: {
1448
+ readonly type: "evm";
1449
+ readonly chain: Blockchain.Edge;
1450
+ readonly name: "Edge";
1451
+ readonly title: "Edge Mainnet";
1452
+ readonly nativeCurrency: {
1453
+ readonly name: "Ether";
1454
+ readonly symbol: "ETH";
1455
+ readonly decimals: 18;
1456
+ };
1457
+ readonly chainId: 3343;
1458
+ readonly isTestnet: false;
1459
+ readonly explorerUrl: "https://pro.edgex.exchange/en-US/explorer/tx/{hash}";
1460
+ readonly rpcEndpoints: readonly ["https://edge-mainnet.g.alchemy.com/public"];
1461
+ readonly eurcAddress: null;
1462
+ readonly usdcAddress: "0x98d2919b9A214E6Fa5384AC81E6864bA686Ad74c";
1463
+ readonly usdtAddress: null;
1464
+ readonly cctp: {
1465
+ readonly domain: 28;
1466
+ readonly contracts: {
1467
+ readonly v2: {
1468
+ readonly type: "split";
1469
+ readonly tokenMessenger: "0x98706A006bc632Df31CAdFCBD43F38887ce2ca5c";
1470
+ readonly messageTransmitter: "0x5b61381Fc9e58E70EfC13a4A97516997019198ee";
1471
+ readonly confirmations: 65;
1472
+ readonly fastConfirmations: 1;
1473
+ };
1474
+ };
1475
+ readonly forwarderSupported: {
1476
+ readonly source: true;
1477
+ readonly destination: true;
1478
+ };
1479
+ };
1480
+ readonly kitContracts: {
1481
+ readonly bridge: "0x6D1AaE1c34Aeb582022916a67f2A655C6f4eDFF2";
1482
+ };
1483
+ };
1484
+
1485
+ /**
1486
+ * Edge Testnet chain definition
1487
+ * @remarks
1488
+ * This represents the official test network for the Edge blockchain.
1489
+ * Edge is an EVM-compatible blockchain.
1490
+ */
1491
+ declare const EdgeTestnet: {
1492
+ readonly type: "evm";
1493
+ readonly chain: Blockchain.Edge_Testnet;
1494
+ readonly name: "Edge Testnet";
1495
+ readonly title: "Edge Testnet";
1496
+ readonly nativeCurrency: {
1497
+ readonly name: "Ether";
1498
+ readonly symbol: "ETH";
1499
+ readonly decimals: 18;
1500
+ };
1501
+ readonly chainId: 33431;
1502
+ readonly isTestnet: true;
1503
+ readonly explorerUrl: "https://edge-testnet.explorer.alchemy.com/tx/{hash}";
1504
+ readonly rpcEndpoints: readonly ["https://edge-testnet.g.alchemy.com/public"];
1505
+ readonly eurcAddress: null;
1506
+ readonly usdcAddress: "0x2d9F7CAD728051AA35Ecdc472a14cf8cDF5CFD6B";
1507
+ readonly usdtAddress: null;
1508
+ readonly cctp: {
1509
+ readonly domain: 28;
1510
+ readonly contracts: {
1511
+ readonly v2: {
1512
+ readonly type: "split";
1513
+ readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
1514
+ readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
1515
+ readonly confirmations: 65;
1516
+ readonly fastConfirmations: 1;
1517
+ };
1518
+ };
1519
+ readonly forwarderSupported: {
1520
+ readonly source: true;
1521
+ readonly destination: true;
1426
1522
  };
1427
1523
  };
1428
1524
  readonly kitContracts: {
@@ -1596,7 +1692,7 @@ declare const HyperEVM: {
1596
1692
  };
1597
1693
  readonly chainId: 999;
1598
1694
  readonly isTestnet: false;
1599
- readonly explorerUrl: "https://hyperevmscan.io/tx/{hash}";
1695
+ readonly explorerUrl: "https://app.hyperliquid.xyz/explorer/tx/{hash}";
1600
1696
  readonly rpcEndpoints: readonly ["https://rpc.hyperliquid.xyz/evm"];
1601
1697
  readonly eurcAddress: null;
1602
1698
  readonly usdcAddress: "0xb88339CB7199b77E23DB6E890353E22632Ba630f";
@@ -1641,7 +1737,7 @@ declare const HyperEVMTestnet: {
1641
1737
  };
1642
1738
  readonly chainId: 998;
1643
1739
  readonly isTestnet: true;
1644
- readonly explorerUrl: "https://testnet.hyperliquid.xyz/explorer/tx/{hash}";
1740
+ readonly explorerUrl: "https://app.hyperliquid-testnet.xyz/explorer/tx/{hash}";
1645
1741
  readonly rpcEndpoints: readonly ["https://rpc.hyperliquid-testnet.xyz/evm"];
1646
1742
  readonly eurcAddress: null;
1647
1743
  readonly usdcAddress: "0x2B3370eE501B4a559b57D449569354196457D8Ab";
@@ -1935,6 +2031,94 @@ declare const MonadTestnet: {
1935
2031
  };
1936
2032
  };
1937
2033
 
2034
+ /**
2035
+ * Morph Mainnet chain definition
2036
+ * @remarks
2037
+ * This represents the official production network for the Morph blockchain.
2038
+ * Morph is an EVM-compatible Layer-2 blockchain built on the OP Stack.
2039
+ */
2040
+ declare const Morph: {
2041
+ readonly type: "evm";
2042
+ readonly chain: Blockchain.Morph;
2043
+ readonly name: "Morph";
2044
+ readonly title: "Morph Mainnet";
2045
+ readonly nativeCurrency: {
2046
+ readonly name: "Ether";
2047
+ readonly symbol: "ETH";
2048
+ readonly decimals: 18;
2049
+ };
2050
+ readonly chainId: 2818;
2051
+ readonly isTestnet: false;
2052
+ readonly explorerUrl: "https://explorer.morph.network/tx/{hash}";
2053
+ readonly rpcEndpoints: readonly ["https://rpc.morphl2.io"];
2054
+ readonly eurcAddress: null;
2055
+ readonly usdcAddress: "0xCfb1186F4e93D60E60a8bDd997427D1F33bc372B";
2056
+ readonly usdtAddress: null;
2057
+ readonly cctp: {
2058
+ readonly domain: 30;
2059
+ readonly contracts: {
2060
+ readonly v2: {
2061
+ readonly type: "split";
2062
+ readonly tokenMessenger: "0x28b5a0e9C621a5BadaA536219b3a228C8168cf5d";
2063
+ readonly messageTransmitter: "0x81D40F21F12A8F0E3252Bccb954D722d4c464B64";
2064
+ readonly confirmations: 64;
2065
+ readonly fastConfirmations: 1;
2066
+ };
2067
+ };
2068
+ readonly forwarderSupported: {
2069
+ readonly source: false;
2070
+ readonly destination: false;
2071
+ };
2072
+ };
2073
+ readonly kitContracts: {
2074
+ readonly bridge: "0xB3FA262d0fB521cc93bE83d87b322b8A23DAf3F0";
2075
+ };
2076
+ };
2077
+
2078
+ /**
2079
+ * Morph Hoodi Testnet chain definition
2080
+ * @remarks
2081
+ * This represents the official test network for the Morph blockchain.
2082
+ * Morph is an EVM-compatible Layer-2 blockchain built on the OP Stack.
2083
+ */
2084
+ declare const MorphTestnet: {
2085
+ readonly type: "evm";
2086
+ readonly chain: Blockchain.Morph_Testnet;
2087
+ readonly name: "Morph Hoodi";
2088
+ readonly title: "Morph Hoodi Testnet";
2089
+ readonly nativeCurrency: {
2090
+ readonly name: "Ether";
2091
+ readonly symbol: "ETH";
2092
+ readonly decimals: 18;
2093
+ };
2094
+ readonly chainId: 2910;
2095
+ readonly isTestnet: true;
2096
+ readonly explorerUrl: "https://explorer-hoodi.morphl2.io/tx/{hash}";
2097
+ readonly rpcEndpoints: readonly ["https://rpc-hoodi.morphl2.io"];
2098
+ readonly eurcAddress: null;
2099
+ readonly usdcAddress: "0x7433b41C6c5e1d58D4Da99483609520255ab661B";
2100
+ readonly usdtAddress: null;
2101
+ readonly cctp: {
2102
+ readonly domain: 30;
2103
+ readonly contracts: {
2104
+ readonly v2: {
2105
+ readonly type: "split";
2106
+ readonly tokenMessenger: "0x8FE6B999Dc680CcFDD5Bf7EB0974218be2542DAA";
2107
+ readonly messageTransmitter: "0xE737e5cEBEEBa77EFE34D4aa090756590b1CE275";
2108
+ readonly confirmations: 64;
2109
+ readonly fastConfirmations: 1;
2110
+ };
2111
+ };
2112
+ readonly forwarderSupported: {
2113
+ readonly source: false;
2114
+ readonly destination: false;
2115
+ };
2116
+ };
2117
+ readonly kitContracts: {
2118
+ readonly bridge: "0xC5567a5E3370d4DBfB0540025078e283e36A363d";
2119
+ };
2120
+ };
2121
+
1938
2122
  /**
1939
2123
  * NEAR Protocol Mainnet chain definition
1940
2124
  * @remarks
@@ -2193,7 +2377,7 @@ declare const Plume: {
2193
2377
  };
2194
2378
  readonly forwarderSupported: {
2195
2379
  readonly source: true;
2196
- readonly destination: false;
2380
+ readonly destination: true;
2197
2381
  };
2198
2382
  };
2199
2383
  readonly kitContracts: {
@@ -2238,7 +2422,7 @@ declare const PlumeTestnet: {
2238
2422
  };
2239
2423
  readonly forwarderSupported: {
2240
2424
  readonly source: true;
2241
- readonly destination: false;
2425
+ readonly destination: true;
2242
2426
  };
2243
2427
  };
2244
2428
  readonly kitContracts: {
@@ -3013,7 +3197,7 @@ declare const XDC: {
3013
3197
  };
3014
3198
  readonly forwarderSupported: {
3015
3199
  readonly source: true;
3016
- readonly destination: false;
3200
+ readonly destination: true;
3017
3201
  };
3018
3202
  };
3019
3203
  readonly kitContracts: {
@@ -3057,7 +3241,7 @@ declare const XDCApothem: {
3057
3241
  };
3058
3242
  readonly forwarderSupported: {
3059
3243
  readonly source: true;
3060
- readonly destination: false;
3244
+ readonly destination: true;
3061
3245
  };
3062
3246
  };
3063
3247
  readonly kitContracts: {
@@ -3130,6 +3314,8 @@ declare const Chains_Celo: typeof Celo;
3130
3314
  declare const Chains_CeloAlfajoresTestnet: typeof CeloAlfajoresTestnet;
3131
3315
  declare const Chains_Codex: typeof Codex;
3132
3316
  declare const Chains_CodexTestnet: typeof CodexTestnet;
3317
+ declare const Chains_Edge: typeof Edge;
3318
+ declare const Chains_EdgeTestnet: typeof EdgeTestnet;
3133
3319
  declare const Chains_Ethereum: typeof Ethereum;
3134
3320
  declare const Chains_EthereumSepolia: typeof EthereumSepolia;
3135
3321
  declare const Chains_Hedera: typeof Hedera;
@@ -3142,6 +3328,8 @@ declare const Chains_Linea: typeof Linea;
3142
3328
  declare const Chains_LineaSepolia: typeof LineaSepolia;
3143
3329
  declare const Chains_Monad: typeof Monad;
3144
3330
  declare const Chains_MonadTestnet: typeof MonadTestnet;
3331
+ declare const Chains_Morph: typeof Morph;
3332
+ declare const Chains_MorphTestnet: typeof MorphTestnet;
3145
3333
  declare const Chains_NEAR: typeof NEAR;
3146
3334
  declare const Chains_NEARTestnet: typeof NEARTestnet;
3147
3335
  declare const Chains_Noble: typeof Noble;
@@ -3189,6 +3377,8 @@ declare namespace Chains {
3189
3377
  Chains_CeloAlfajoresTestnet as CeloAlfajoresTestnet,
3190
3378
  Chains_Codex as Codex,
3191
3379
  Chains_CodexTestnet as CodexTestnet,
3380
+ Chains_Edge as Edge,
3381
+ Chains_EdgeTestnet as EdgeTestnet,
3192
3382
  Chains_Ethereum as Ethereum,
3193
3383
  Chains_EthereumSepolia as EthereumSepolia,
3194
3384
  Chains_Hedera as Hedera,
@@ -3201,6 +3391,8 @@ declare namespace Chains {
3201
3391
  Chains_LineaSepolia as LineaSepolia,
3202
3392
  Chains_Monad as Monad,
3203
3393
  Chains_MonadTestnet as MonadTestnet,
3394
+ Chains_Morph as Morph,
3395
+ Chains_MorphTestnet as MorphTestnet,
3204
3396
  Chains_NEAR as NEAR,
3205
3397
  Chains_NEARTestnet as NEARTestnet,
3206
3398
  Chains_Noble as Noble,
@@ -3382,6 +3574,32 @@ interface EvmExecuteOverrides extends EvmEstimateOverrides {
3382
3574
  */
3383
3575
  nonce?: number;
3384
3576
  }
3577
+ /**
3578
+ * Raw EVM call data tuple for a single contract interaction.
3579
+ *
3580
+ * Represents the minimal data needed to submit an EVM transaction:
3581
+ * the target contract address, the ABI-encoded calldata, and an
3582
+ * optional native token value. Used by EIP-5792 batched execution
3583
+ * to compose multiple calls into a single `wallet_sendCalls` request.
3584
+ *
3585
+ * @interface EvmCallData
3586
+ *
3587
+ * @example
3588
+ * ```typescript
3589
+ * const callData: EvmCallData = {
3590
+ * to: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
3591
+ * data: '0x095ea7b3000000000000000000000000...',
3592
+ * }
3593
+ * ```
3594
+ */
3595
+ interface EvmCallData {
3596
+ /** The target contract address. */
3597
+ to: `0x${string}`;
3598
+ /** The ABI-encoded function calldata. */
3599
+ data: `0x${string}`;
3600
+ /** Optional native token value to send with the call. */
3601
+ value?: bigint | undefined;
3602
+ }
3385
3603
  /**
3386
3604
  * Prepared contract execution for EVM chains.
3387
3605
  *
@@ -3410,6 +3628,28 @@ interface EvmPreparedChainRequest {
3410
3628
  * @throws If the execution fails
3411
3629
  */
3412
3630
  execute(overrides?: EvmExecuteOverrides): Promise<string>;
3631
+ /**
3632
+ * Return the raw call tuple without executing or estimating.
3633
+ *
3634
+ * Expose the `{ to, data, value }` triple that would be sent on-chain so
3635
+ * callers can feed it into EIP-5792 `wallet_sendCalls` or other batching
3636
+ * mechanisms. This method is optional -- adapters that do not support
3637
+ * calldata extraction (e.g. Ethers v6) may omit it.
3638
+ *
3639
+ * @returns The raw EVM call data for this prepared request.
3640
+ * @throws Never — synchronous accessor with no failure path.
3641
+ * @since 2.0.0
3642
+ *
3643
+ * @example
3644
+ * ```typescript
3645
+ * const prepared = await adapter.prepare(params, ctx)
3646
+ * if (prepared.getCallData) {
3647
+ * const { to, data, value } = prepared.getCallData()
3648
+ * console.log('Target:', to, 'Data:', data)
3649
+ * }
3650
+ * ```
3651
+ */
3652
+ getCallData?(): EvmCallData;
3413
3653
  }
3414
3654
  /**
3415
3655
  * Union type for all supported prepared contract executions.
@@ -8124,6 +8364,21 @@ interface BridgeStep {
8124
8364
  * - `undefined`: Not applicable (non-mint steps)
8125
8365
  */
8126
8366
  forwarded?: boolean;
8367
+ /**
8368
+ * Whether this step was executed as part of an EIP-5792 batched
8369
+ * `wallet_sendCalls` request.
8370
+ *
8371
+ * - `true`: The step was included in a batched call bundle
8372
+ * - `undefined`: The step was executed individually (sequential flow)
8373
+ */
8374
+ batched?: boolean | undefined;
8375
+ /**
8376
+ * The wallet-assigned batch identifier from `wallet_sendCalls`.
8377
+ *
8378
+ * Present only when {@link batched} is `true`. Can be used with
8379
+ * `wallet_getCallsStatus` to query the status of the entire bundle.
8380
+ */
8381
+ batchId?: string | undefined;
8127
8382
  /** Optional human-readable error message */
8128
8383
  errorMessage?: string;
8129
8384
  /** Optional raw error object (can be Viem/Ethers/Chain error) */
@@ -8268,6 +8523,24 @@ interface BridgeConfig {
8268
8523
  * @defaultValue TransferSpeed.FAST
8269
8524
  */
8270
8525
  transferSpeed?: TransferSpeed | `${TransferSpeed}` | undefined;
8526
+ /**
8527
+ * Enable or disable EIP-5792 batched transaction execution.
8528
+ *
8529
+ * When `true` (or `undefined` / omitted), the bridge will attempt to batch
8530
+ * the approve and burn calls into a single `wallet_sendCalls` request if
8531
+ * the connected wallet supports it. Set to `false` to explicitly opt out
8532
+ * and always use the sequential approve -> burn flow.
8533
+ *
8534
+ * @defaultValue `undefined` (batching attempted when the wallet supports it)
8535
+ *
8536
+ * @example
8537
+ * ```typescript
8538
+ * const config: BridgeConfig = {
8539
+ * batchTransactions: false, // force sequential flow
8540
+ * }
8541
+ * ```
8542
+ */
8543
+ batchTransactions?: boolean | undefined;
8271
8544
  /**
8272
8545
  * The maximum fee to pay for the burn operation.
8273
8546
  *
@@ -12314,34 +12587,34 @@ type ActionHandler<T extends {
12314
12587
  * Parameters for sending USDC, USDT, native tokens, or custom ERC-20/SPL tokens.
12315
12588
  *
12316
12589
  * This interface is the canonical input for send operations in App Kit. It supports
12317
- * sending to either a destination {@link AdapterContext} (recipient derives from the adapter's
12318
- * default account) or an explicit recipient `string` address on the destination chain.
12590
+ * sending to either a destination {@link Adapter} (recipient derives from the adapter's
12591
+ * default account) or an explicit recipient `string` address.
12319
12592
  *
12320
12593
  * - The `from` field provides the source signing context and chain.
12321
- * - The `to` field identifies the destination as an adapter context or an explicit address.
12594
+ * - The `to` field identifies the destination as an adapter or an explicit address.
12322
12595
  * - The `amount` field is a human-readable decimal string (for example, `'10.5'`).
12323
12596
  * - The `token` field selects the asset to move and defaults to `'USDC'`.
12324
12597
  *
12325
12598
  * @remarks
12326
- * When `to` is a `string`, the address must be valid for the destination chain. When `to` is an
12327
- * {@link AdapterContext}, the recipient is derived from the adapter's active account.
12599
+ * When `to` is a `string`, the address must be a valid address. When `to` is an
12600
+ * {@link Adapter}, the recipient is derived from the adapter's active account.
12328
12601
  *
12329
12602
  * The `token` field accepts both supported token aliases ('USDC', 'USDT', 'NATIVE') and custom token
12330
12603
  * contract addresses.
12331
12604
  *
12332
12605
  * @example
12333
12606
  * ```typescript
12334
- * // Send using a known alias
12607
+ * // Send USDC to a recipient adapter (address derived on-chain)
12335
12608
  * const params: SendParams = {
12336
- * from: { adapter: sourceAdapter, chain: sourceChain },
12337
- * to: { adapter: destAdapter, chain: destChain },
12609
+ * from: { adapter: sourceAdapter, chain: 'Ethereum' },
12610
+ * to: recipientAdapter,
12338
12611
  * amount: '10.5',
12339
12612
  * token: 'USDC'
12340
12613
  * }
12341
12614
  *
12342
12615
  * // Send using a custom token address (DAI on Ethereum)
12343
12616
  * const paramsCustomToken: SendParams = {
12344
- * from: { adapter: sourceAdapter, chain: sourceChain },
12617
+ * from: { adapter: sourceAdapter, chain: 'Ethereum' },
12345
12618
  * to: '0x1234...abcd',
12346
12619
  * amount: '100.0',
12347
12620
  * token: '0x6B175474E89094C44Da98b954EedeAC495271d0F'
@@ -12584,10 +12857,10 @@ declare class AppKit {
12584
12857
  *
12585
12858
  * @example
12586
12859
  * ```typescript
12587
- * // Send USDC to another adapter
12860
+ * // Send USDC to a recipient adapter (same chain)
12588
12861
  * const result = await kit.send({
12589
- * from: sourceAdapter,
12590
- * to: { adapter: destAdapter, chain: 'Polygon' },
12862
+ * from: { adapter: sourceAdapter, chain: 'Ethereum' },
12863
+ * to: recipientAdapter,
12591
12864
  * amount: '100.50',
12592
12865
  * token: 'USDC'
12593
12866
  * })
@@ -12598,7 +12871,7 @@ declare class AppKit {
12598
12871
  * ```typescript
12599
12872
  * // Send a custom token to an explicit address
12600
12873
  * const result = await kit.send({
12601
- * from: sourceAdapter,
12874
+ * from: { adapter: sourceAdapter, chain: 'Ethereum' },
12602
12875
  * to: '0x742d35Cc4634C0532925a3b8D1d7',
12603
12876
  * amount: '100.50',
12604
12877
  * token: '0x6B175474E89094C44Da98b954EedeAC495271d0F' // DAI on Ethereum
@@ -12610,8 +12883,8 @@ declare class AppKit {
12610
12883
  * ```typescript
12611
12884
  * // Send USDT to an explicit address
12612
12885
  * const result = await kit.send({
12613
- * from: sourceAdapter,
12614
- * to: { address: '0x742d35Cc4634C0532925a3b8D1d7', chain: 'Polygon' },
12886
+ * from: { adapter: sourceAdapter, chain: 'Ethereum' },
12887
+ * to: '0x742d35Cc4634C0532925a3b8D1d7',
12615
12888
  * amount: '50.25',
12616
12889
  * token: 'USDT'
12617
12890
  * })
@@ -12635,8 +12908,8 @@ declare class AppKit {
12635
12908
  * @example
12636
12909
  * ```typescript
12637
12910
  * const estimate = await kit.estimateSend({
12638
- * from: sourceAdapter,
12639
- * to: { adapter: destAdapter, chain: 'Polygon' },
12911
+ * from: { adapter: sourceAdapter, chain: 'Ethereum' },
12912
+ * to: recipientAdapter,
12640
12913
  * amount: '100.50',
12641
12914
  * token: 'USDC'
12642
12915
  * })
@@ -12647,8 +12920,8 @@ declare class AppKit {
12647
12920
  * @example
12648
12921
  * ```typescript
12649
12922
  * const estimate = await kit.estimateSend({
12650
- * from: sourceAdapter,
12651
- * to: { adapter: destAdapter, chain: 'Polygon' },
12923
+ * from: { adapter: sourceAdapter, chain: 'Ethereum' },
12924
+ * to: '0x742d35Cc6634C0532925a3b844Bc454e4438f44e',
12652
12925
  * amount: '50.0',
12653
12926
  * token: 'USDT'
12654
12927
  * })