@waiaas/core 2.13.0 → 2.14.0-rc.3
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/dist/caip/asset-helpers.d.ts.map +1 -1
- package/dist/caip/asset-helpers.js +8 -0
- package/dist/caip/asset-helpers.js.map +1 -1
- package/dist/caip/network-map.d.ts.map +1 -1
- package/dist/caip/network-map.js +4 -0
- package/dist/caip/network-map.js.map +1 -1
- package/dist/enums/chain.d.ts +5 -5
- package/dist/enums/chain.d.ts.map +1 -1
- package/dist/enums/chain.js +5 -2
- package/dist/enums/chain.js.map +1 -1
- package/dist/enums/index.d.ts +1 -1
- package/dist/enums/index.d.ts.map +1 -1
- package/dist/enums/index.js +1 -1
- package/dist/enums/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/interfaces/action-provider.types.d.ts +9 -9
- package/dist/interfaces/chain-adapter.types.d.ts +5 -5
- package/dist/interfaces/chain-adapter.types.d.ts.map +1 -1
- package/dist/interfaces/nft-indexer.types.d.ts +11 -11
- package/dist/interfaces/price-oracle.types.d.ts +6 -6
- package/dist/rpc/built-in-defaults.d.ts +7 -6
- package/dist/rpc/built-in-defaults.d.ts.map +1 -1
- package/dist/rpc/built-in-defaults.js +19 -7
- package/dist/rpc/built-in-defaults.js.map +1 -1
- package/dist/schemas/incoming-transaction.schema.d.ts +3 -3
- package/dist/schemas/policy.schema.d.ts +23 -23
- package/dist/schemas/resolved-action.schema.d.ts +4 -4
- package/dist/schemas/simulation.schema.d.ts +16 -16
- package/dist/schemas/transaction.schema.d.ts +100 -100
- package/dist/schemas/transaction.schema.d.ts.map +1 -1
- package/dist/schemas/transaction.schema.js +2 -2
- package/dist/schemas/transaction.schema.js.map +1 -1
- package/dist/schemas/userop.schema.d.ts +63 -63
- package/dist/schemas/wallet.schema.d.ts +8 -8
- package/dist/utils/chain-constants.d.ts.map +1 -1
- package/dist/utils/chain-constants.js +2 -0
- package/dist/utils/chain-constants.js.map +1 -1
- package/package.json +2 -2
|
@@ -98,11 +98,11 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
98
98
|
amount: z.ZodOptional<z.ZodString>;
|
|
99
99
|
humanAmount: z.ZodOptional<z.ZodString>;
|
|
100
100
|
memo: z.ZodOptional<z.ZodString>;
|
|
101
|
-
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet", unknown>>;
|
|
101
|
+
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet", "xrpl-mainnet", "xrpl-testnet", "xrpl-devnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet", unknown>>;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
103
|
type: "TRANSFER";
|
|
104
104
|
to: string;
|
|
105
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
105
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
106
106
|
amount?: string | undefined;
|
|
107
107
|
memo?: string | undefined;
|
|
108
108
|
humanAmount?: string | undefined;
|
|
@@ -176,7 +176,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
176
176
|
decimals?: number | undefined;
|
|
177
177
|
}>;
|
|
178
178
|
memo: z.ZodOptional<z.ZodString>;
|
|
179
|
-
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet", unknown>>;
|
|
179
|
+
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet", "xrpl-mainnet", "xrpl-testnet", "xrpl-devnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet", unknown>>;
|
|
180
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
181
|
type: "TOKEN_TRANSFER";
|
|
182
182
|
token: {
|
|
@@ -186,7 +186,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
186
186
|
decimals?: number | undefined;
|
|
187
187
|
};
|
|
188
188
|
to: string;
|
|
189
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
189
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
190
190
|
amount?: string | undefined;
|
|
191
191
|
memo?: string | undefined;
|
|
192
192
|
humanAmount?: string | undefined;
|
|
@@ -322,13 +322,13 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
322
322
|
data: string;
|
|
323
323
|
}>, "many">>;
|
|
324
324
|
addressLookupTableAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
325
|
-
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet", unknown>>;
|
|
325
|
+
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet", "xrpl-mainnet", "xrpl-testnet", "xrpl-devnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet", unknown>>;
|
|
326
326
|
actionProvider: z.ZodOptional<z.ZodString>;
|
|
327
327
|
actionName: z.ZodOptional<z.ZodString>;
|
|
328
328
|
}, "strip", z.ZodTypeAny, {
|
|
329
329
|
type: "CONTRACT_CALL";
|
|
330
330
|
to: string;
|
|
331
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
331
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
332
332
|
value?: string | undefined;
|
|
333
333
|
gasCondition?: {
|
|
334
334
|
maxGasPrice?: string | undefined;
|
|
@@ -457,16 +457,16 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
457
457
|
}>;
|
|
458
458
|
amount: z.ZodOptional<z.ZodString>;
|
|
459
459
|
humanAmount: z.ZodOptional<z.ZodString>;
|
|
460
|
-
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet", unknown>>;
|
|
460
|
+
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet", "xrpl-mainnet", "xrpl-testnet", "xrpl-devnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet", unknown>>;
|
|
461
461
|
nft: z.ZodOptional<z.ZodObject<{
|
|
462
462
|
tokenId: z.ZodString;
|
|
463
|
-
standard: z.ZodEnum<["ERC-721", "ERC-1155", "METAPLEX"]>;
|
|
463
|
+
standard: z.ZodEnum<["ERC-721", "ERC-1155", "METAPLEX", "XLS-20"]>;
|
|
464
464
|
}, "strip", z.ZodTypeAny, {
|
|
465
465
|
tokenId: string;
|
|
466
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
466
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
467
467
|
}, {
|
|
468
468
|
tokenId: string;
|
|
469
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
469
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
470
470
|
}>>;
|
|
471
471
|
}, "strip", z.ZodTypeAny, {
|
|
472
472
|
type: "APPROVE";
|
|
@@ -477,7 +477,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
477
477
|
decimals?: number | undefined;
|
|
478
478
|
};
|
|
479
479
|
spender: string;
|
|
480
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
480
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
481
481
|
amount?: string | undefined;
|
|
482
482
|
humanAmount?: string | undefined;
|
|
483
483
|
gasCondition?: {
|
|
@@ -487,7 +487,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
487
487
|
} | undefined;
|
|
488
488
|
nft?: {
|
|
489
489
|
tokenId: string;
|
|
490
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
490
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
491
491
|
} | undefined;
|
|
492
492
|
}, {
|
|
493
493
|
type: "APPROVE";
|
|
@@ -508,7 +508,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
508
508
|
} | undefined;
|
|
509
509
|
nft?: {
|
|
510
510
|
tokenId: string;
|
|
511
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
511
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
512
512
|
} | undefined;
|
|
513
513
|
}>, z.ZodObject<{
|
|
514
514
|
gasCondition: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
@@ -560,10 +560,10 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
560
560
|
amount: z.ZodOptional<z.ZodString>;
|
|
561
561
|
humanAmount: z.ZodOptional<z.ZodString>;
|
|
562
562
|
memo: z.ZodOptional<z.ZodString>;
|
|
563
|
-
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet", unknown>>;
|
|
563
|
+
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet", "xrpl-mainnet", "xrpl-testnet", "xrpl-devnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet", unknown>>;
|
|
564
564
|
}, "type">, "strip", z.ZodTypeAny, {
|
|
565
565
|
to: string;
|
|
566
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
566
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
567
567
|
amount?: string | undefined;
|
|
568
568
|
memo?: string | undefined;
|
|
569
569
|
humanAmount?: string | undefined;
|
|
@@ -636,7 +636,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
636
636
|
decimals?: number | undefined;
|
|
637
637
|
}>;
|
|
638
638
|
memo: z.ZodOptional<z.ZodString>;
|
|
639
|
-
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet", unknown>>;
|
|
639
|
+
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet", "xrpl-mainnet", "xrpl-testnet", "xrpl-devnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet", unknown>>;
|
|
640
640
|
}, "type">, "strip", z.ZodTypeAny, {
|
|
641
641
|
token: {
|
|
642
642
|
symbol?: string | undefined;
|
|
@@ -645,7 +645,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
645
645
|
decimals?: number | undefined;
|
|
646
646
|
};
|
|
647
647
|
to: string;
|
|
648
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
648
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
649
649
|
amount?: string | undefined;
|
|
650
650
|
memo?: string | undefined;
|
|
651
651
|
humanAmount?: string | undefined;
|
|
@@ -780,12 +780,12 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
780
780
|
data: string;
|
|
781
781
|
}>, "many">>;
|
|
782
782
|
addressLookupTableAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
783
|
-
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet", unknown>>;
|
|
783
|
+
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet", "xrpl-mainnet", "xrpl-testnet", "xrpl-devnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet", unknown>>;
|
|
784
784
|
actionProvider: z.ZodOptional<z.ZodString>;
|
|
785
785
|
actionName: z.ZodOptional<z.ZodString>;
|
|
786
786
|
}, "type">, "strip", z.ZodTypeAny, {
|
|
787
787
|
to: string;
|
|
788
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
788
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
789
789
|
value?: string | undefined;
|
|
790
790
|
gasCondition?: {
|
|
791
791
|
maxGasPrice?: string | undefined;
|
|
@@ -913,16 +913,16 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
913
913
|
}>;
|
|
914
914
|
amount: z.ZodOptional<z.ZodString>;
|
|
915
915
|
humanAmount: z.ZodOptional<z.ZodString>;
|
|
916
|
-
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet", unknown>>;
|
|
916
|
+
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet", "xrpl-mainnet", "xrpl-testnet", "xrpl-devnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet", unknown>>;
|
|
917
917
|
nft: z.ZodOptional<z.ZodObject<{
|
|
918
918
|
tokenId: z.ZodString;
|
|
919
|
-
standard: z.ZodEnum<["ERC-721", "ERC-1155", "METAPLEX"]>;
|
|
919
|
+
standard: z.ZodEnum<["ERC-721", "ERC-1155", "METAPLEX", "XLS-20"]>;
|
|
920
920
|
}, "strip", z.ZodTypeAny, {
|
|
921
921
|
tokenId: string;
|
|
922
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
922
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
923
923
|
}, {
|
|
924
924
|
tokenId: string;
|
|
925
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
925
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
926
926
|
}>>;
|
|
927
927
|
}, "type">, "strip", z.ZodTypeAny, {
|
|
928
928
|
token: {
|
|
@@ -932,7 +932,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
932
932
|
decimals?: number | undefined;
|
|
933
933
|
};
|
|
934
934
|
spender: string;
|
|
935
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
935
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
936
936
|
amount?: string | undefined;
|
|
937
937
|
humanAmount?: string | undefined;
|
|
938
938
|
gasCondition?: {
|
|
@@ -942,7 +942,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
942
942
|
} | undefined;
|
|
943
943
|
nft?: {
|
|
944
944
|
tokenId: string;
|
|
945
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
945
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
946
946
|
} | undefined;
|
|
947
947
|
}, {
|
|
948
948
|
token: {
|
|
@@ -962,15 +962,15 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
962
962
|
} | undefined;
|
|
963
963
|
nft?: {
|
|
964
964
|
tokenId: string;
|
|
965
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
965
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
966
966
|
} | undefined;
|
|
967
967
|
}>]>, "many">;
|
|
968
|
-
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet", unknown>>;
|
|
968
|
+
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet", "xrpl-mainnet", "xrpl-testnet", "xrpl-devnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet", unknown>>;
|
|
969
969
|
}, "strip", z.ZodTypeAny, {
|
|
970
970
|
type: "BATCH";
|
|
971
971
|
instructions: ({
|
|
972
972
|
to: string;
|
|
973
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
973
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
974
974
|
amount?: string | undefined;
|
|
975
975
|
memo?: string | undefined;
|
|
976
976
|
humanAmount?: string | undefined;
|
|
@@ -987,7 +987,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
987
987
|
decimals?: number | undefined;
|
|
988
988
|
};
|
|
989
989
|
to: string;
|
|
990
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
990
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
991
991
|
amount?: string | undefined;
|
|
992
992
|
memo?: string | undefined;
|
|
993
993
|
humanAmount?: string | undefined;
|
|
@@ -998,7 +998,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
998
998
|
} | undefined;
|
|
999
999
|
} | {
|
|
1000
1000
|
to: string;
|
|
1001
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1001
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1002
1002
|
value?: string | undefined;
|
|
1003
1003
|
gasCondition?: {
|
|
1004
1004
|
maxGasPrice?: string | undefined;
|
|
@@ -1043,7 +1043,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1043
1043
|
decimals?: number | undefined;
|
|
1044
1044
|
};
|
|
1045
1045
|
spender: string;
|
|
1046
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1046
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1047
1047
|
amount?: string | undefined;
|
|
1048
1048
|
humanAmount?: string | undefined;
|
|
1049
1049
|
gasCondition?: {
|
|
@@ -1053,10 +1053,10 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1053
1053
|
} | undefined;
|
|
1054
1054
|
nft?: {
|
|
1055
1055
|
tokenId: string;
|
|
1056
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
1056
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
1057
1057
|
} | undefined;
|
|
1058
1058
|
})[];
|
|
1059
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1059
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1060
1060
|
gasCondition?: {
|
|
1061
1061
|
maxGasPrice?: string | undefined;
|
|
1062
1062
|
maxPriorityFee?: string | undefined;
|
|
@@ -1149,7 +1149,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1149
1149
|
} | undefined;
|
|
1150
1150
|
nft?: {
|
|
1151
1151
|
tokenId: string;
|
|
1152
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
1152
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
1153
1153
|
} | undefined;
|
|
1154
1154
|
})[];
|
|
1155
1155
|
network?: unknown;
|
|
@@ -1185,32 +1185,32 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1185
1185
|
token: z.ZodObject<{
|
|
1186
1186
|
address: z.ZodString;
|
|
1187
1187
|
tokenId: z.ZodString;
|
|
1188
|
-
standard: z.ZodEnum<["ERC-721", "ERC-1155", "METAPLEX"]>;
|
|
1188
|
+
standard: z.ZodEnum<["ERC-721", "ERC-1155", "METAPLEX", "XLS-20"]>;
|
|
1189
1189
|
assetId: z.ZodOptional<z.ZodString>;
|
|
1190
1190
|
}, "strip", z.ZodTypeAny, {
|
|
1191
1191
|
address: string;
|
|
1192
1192
|
tokenId: string;
|
|
1193
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
1193
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
1194
1194
|
assetId?: string | undefined;
|
|
1195
1195
|
}, {
|
|
1196
1196
|
address: string;
|
|
1197
1197
|
tokenId: string;
|
|
1198
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
1198
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
1199
1199
|
assetId?: string | undefined;
|
|
1200
1200
|
}>;
|
|
1201
1201
|
amount: z.ZodDefault<z.ZodString>;
|
|
1202
|
-
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet", unknown>>;
|
|
1202
|
+
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet", "xrpl-mainnet", "xrpl-testnet", "xrpl-devnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet", unknown>>;
|
|
1203
1203
|
}, "strip", z.ZodTypeAny, {
|
|
1204
1204
|
type: "NFT_TRANSFER";
|
|
1205
1205
|
token: {
|
|
1206
1206
|
address: string;
|
|
1207
1207
|
tokenId: string;
|
|
1208
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
1208
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
1209
1209
|
assetId?: string | undefined;
|
|
1210
1210
|
};
|
|
1211
1211
|
amount: string;
|
|
1212
1212
|
to: string;
|
|
1213
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1213
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1214
1214
|
gasCondition?: {
|
|
1215
1215
|
maxGasPrice?: string | undefined;
|
|
1216
1216
|
maxPriorityFee?: string | undefined;
|
|
@@ -1221,7 +1221,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1221
1221
|
token: {
|
|
1222
1222
|
address: string;
|
|
1223
1223
|
tokenId: string;
|
|
1224
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
1224
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
1225
1225
|
assetId?: string | undefined;
|
|
1226
1226
|
};
|
|
1227
1227
|
to: string;
|
|
@@ -1258,11 +1258,11 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1258
1258
|
bytecode: z.ZodString;
|
|
1259
1259
|
constructorArgs: z.ZodOptional<z.ZodString>;
|
|
1260
1260
|
value: z.ZodOptional<z.ZodString>;
|
|
1261
|
-
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet", unknown>>;
|
|
1261
|
+
network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet", "xrpl-mainnet", "xrpl-testnet", "xrpl-devnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet", unknown>>;
|
|
1262
1262
|
}, "strip", z.ZodTypeAny, {
|
|
1263
1263
|
type: "CONTRACT_DEPLOY";
|
|
1264
1264
|
bytecode: string;
|
|
1265
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1265
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1266
1266
|
value?: string | undefined;
|
|
1267
1267
|
gasCondition?: {
|
|
1268
1268
|
maxGasPrice?: string | undefined;
|
|
@@ -1282,13 +1282,13 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1282
1282
|
} | undefined;
|
|
1283
1283
|
constructorArgs?: string | undefined;
|
|
1284
1284
|
}>]>;
|
|
1285
|
-
network: z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet"]>;
|
|
1285
|
+
network: z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet", "xrpl-mainnet", "xrpl-testnet", "xrpl-devnet"]>;
|
|
1286
1286
|
}, "strip", z.ZodTypeAny, {
|
|
1287
|
-
network: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet";
|
|
1287
|
+
network: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet";
|
|
1288
1288
|
request: {
|
|
1289
1289
|
type: "TRANSFER";
|
|
1290
1290
|
to: string;
|
|
1291
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1291
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1292
1292
|
amount?: string | undefined;
|
|
1293
1293
|
memo?: string | undefined;
|
|
1294
1294
|
humanAmount?: string | undefined;
|
|
@@ -1306,7 +1306,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1306
1306
|
decimals?: number | undefined;
|
|
1307
1307
|
};
|
|
1308
1308
|
to: string;
|
|
1309
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1309
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1310
1310
|
amount?: string | undefined;
|
|
1311
1311
|
memo?: string | undefined;
|
|
1312
1312
|
humanAmount?: string | undefined;
|
|
@@ -1318,7 +1318,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1318
1318
|
} | {
|
|
1319
1319
|
type: "CONTRACT_CALL";
|
|
1320
1320
|
to: string;
|
|
1321
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1321
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1322
1322
|
value?: string | undefined;
|
|
1323
1323
|
gasCondition?: {
|
|
1324
1324
|
maxGasPrice?: string | undefined;
|
|
@@ -1364,7 +1364,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1364
1364
|
decimals?: number | undefined;
|
|
1365
1365
|
};
|
|
1366
1366
|
spender: string;
|
|
1367
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1367
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1368
1368
|
amount?: string | undefined;
|
|
1369
1369
|
humanAmount?: string | undefined;
|
|
1370
1370
|
gasCondition?: {
|
|
@@ -1374,13 +1374,13 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1374
1374
|
} | undefined;
|
|
1375
1375
|
nft?: {
|
|
1376
1376
|
tokenId: string;
|
|
1377
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
1377
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
1378
1378
|
} | undefined;
|
|
1379
1379
|
} | {
|
|
1380
1380
|
type: "BATCH";
|
|
1381
1381
|
instructions: ({
|
|
1382
1382
|
to: string;
|
|
1383
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1383
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1384
1384
|
amount?: string | undefined;
|
|
1385
1385
|
memo?: string | undefined;
|
|
1386
1386
|
humanAmount?: string | undefined;
|
|
@@ -1397,7 +1397,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1397
1397
|
decimals?: number | undefined;
|
|
1398
1398
|
};
|
|
1399
1399
|
to: string;
|
|
1400
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1400
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1401
1401
|
amount?: string | undefined;
|
|
1402
1402
|
memo?: string | undefined;
|
|
1403
1403
|
humanAmount?: string | undefined;
|
|
@@ -1408,7 +1408,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1408
1408
|
} | undefined;
|
|
1409
1409
|
} | {
|
|
1410
1410
|
to: string;
|
|
1411
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1411
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1412
1412
|
value?: string | undefined;
|
|
1413
1413
|
gasCondition?: {
|
|
1414
1414
|
maxGasPrice?: string | undefined;
|
|
@@ -1453,7 +1453,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1453
1453
|
decimals?: number | undefined;
|
|
1454
1454
|
};
|
|
1455
1455
|
spender: string;
|
|
1456
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1456
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1457
1457
|
amount?: string | undefined;
|
|
1458
1458
|
humanAmount?: string | undefined;
|
|
1459
1459
|
gasCondition?: {
|
|
@@ -1463,10 +1463,10 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1463
1463
|
} | undefined;
|
|
1464
1464
|
nft?: {
|
|
1465
1465
|
tokenId: string;
|
|
1466
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
1466
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
1467
1467
|
} | undefined;
|
|
1468
1468
|
})[];
|
|
1469
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1469
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1470
1470
|
gasCondition?: {
|
|
1471
1471
|
maxGasPrice?: string | undefined;
|
|
1472
1472
|
maxPriorityFee?: string | undefined;
|
|
@@ -1477,12 +1477,12 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1477
1477
|
token: {
|
|
1478
1478
|
address: string;
|
|
1479
1479
|
tokenId: string;
|
|
1480
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
1480
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
1481
1481
|
assetId?: string | undefined;
|
|
1482
1482
|
};
|
|
1483
1483
|
amount: string;
|
|
1484
1484
|
to: string;
|
|
1485
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1485
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1486
1486
|
gasCondition?: {
|
|
1487
1487
|
maxGasPrice?: string | undefined;
|
|
1488
1488
|
maxPriorityFee?: string | undefined;
|
|
@@ -1491,7 +1491,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1491
1491
|
} | {
|
|
1492
1492
|
type: "CONTRACT_DEPLOY";
|
|
1493
1493
|
bytecode: string;
|
|
1494
|
-
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1494
|
+
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet" | undefined;
|
|
1495
1495
|
value?: string | undefined;
|
|
1496
1496
|
gasCondition?: {
|
|
1497
1497
|
maxGasPrice?: string | undefined;
|
|
@@ -1501,7 +1501,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1501
1501
|
constructorArgs?: string | undefined;
|
|
1502
1502
|
};
|
|
1503
1503
|
}, {
|
|
1504
|
-
network: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet";
|
|
1504
|
+
network: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | "xrpl-mainnet" | "xrpl-testnet" | "xrpl-devnet";
|
|
1505
1505
|
request: {
|
|
1506
1506
|
type: "TRANSFER";
|
|
1507
1507
|
to: string;
|
|
@@ -1591,7 +1591,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1591
1591
|
} | undefined;
|
|
1592
1592
|
nft?: {
|
|
1593
1593
|
tokenId: string;
|
|
1594
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
1594
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
1595
1595
|
} | undefined;
|
|
1596
1596
|
} | {
|
|
1597
1597
|
type: "BATCH";
|
|
@@ -1680,7 +1680,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1680
1680
|
} | undefined;
|
|
1681
1681
|
nft?: {
|
|
1682
1682
|
tokenId: string;
|
|
1683
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
1683
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
1684
1684
|
} | undefined;
|
|
1685
1685
|
})[];
|
|
1686
1686
|
network?: unknown;
|
|
@@ -1694,7 +1694,7 @@ export declare const UserOpBuildRequestSchema: z.ZodObject<{
|
|
|
1694
1694
|
token: {
|
|
1695
1695
|
address: string;
|
|
1696
1696
|
tokenId: string;
|
|
1697
|
-
standard: "ERC-721" | "ERC-1155" | "METAPLEX";
|
|
1697
|
+
standard: "ERC-721" | "ERC-1155" | "METAPLEX" | "XLS-20";
|
|
1698
1698
|
assetId?: string | undefined;
|
|
1699
1699
|
};
|
|
1700
1700
|
to: string;
|
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const WalletSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
name: z.ZodString;
|
|
5
|
-
chain: z.ZodEnum<["solana", "ethereum"]>;
|
|
5
|
+
chain: z.ZodEnum<["solana", "ethereum", "ripple"]>;
|
|
6
6
|
environment: z.ZodEnum<["testnet", "mainnet"]>;
|
|
7
7
|
publicKey: z.ZodString;
|
|
8
8
|
status: z.ZodEnum<["CREATING", "ACTIVE", "SUSPENDED", "TERMINATING", "TERMINATED"]>;
|
|
@@ -21,7 +21,7 @@ export declare const WalletSchema: z.ZodObject<{
|
|
|
21
21
|
status: "CREATING" | "ACTIVE" | "SUSPENDED" | "TERMINATING" | "TERMINATED";
|
|
22
22
|
id: string;
|
|
23
23
|
name: string;
|
|
24
|
-
chain: "solana" | "ethereum";
|
|
24
|
+
chain: "solana" | "ethereum" | "ripple";
|
|
25
25
|
environment: "testnet" | "mainnet";
|
|
26
26
|
publicKey: string;
|
|
27
27
|
ownerAddress: string | null;
|
|
@@ -39,7 +39,7 @@ export declare const WalletSchema: z.ZodObject<{
|
|
|
39
39
|
status: "CREATING" | "ACTIVE" | "SUSPENDED" | "TERMINATING" | "TERMINATED";
|
|
40
40
|
id: string;
|
|
41
41
|
name: string;
|
|
42
|
-
chain: "solana" | "ethereum";
|
|
42
|
+
chain: "solana" | "ethereum" | "ripple";
|
|
43
43
|
environment: "testnet" | "mainnet";
|
|
44
44
|
publicKey: string;
|
|
45
45
|
ownerAddress: string | null;
|
|
@@ -57,7 +57,7 @@ export declare const WalletSchema: z.ZodObject<{
|
|
|
57
57
|
export type Wallet = z.infer<typeof WalletSchema>;
|
|
58
58
|
export declare const CreateWalletRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
59
59
|
name: z.ZodString;
|
|
60
|
-
chain: z.ZodDefault<z.ZodEnum<["solana", "ethereum"]>>;
|
|
60
|
+
chain: z.ZodDefault<z.ZodEnum<["solana", "ethereum", "ripple"]>>;
|
|
61
61
|
environment: z.ZodDefault<z.ZodEnum<["testnet", "mainnet"]>>;
|
|
62
62
|
createSession: z.ZodDefault<z.ZodBoolean>;
|
|
63
63
|
accountType: z.ZodDefault<z.ZodEnum<["eoa", "smart"]>>;
|
|
@@ -68,7 +68,7 @@ export declare const CreateWalletRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
68
68
|
aaPaymasterPolicyId: z.ZodOptional<z.ZodString>;
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
70
|
name: string;
|
|
71
|
-
chain: "solana" | "ethereum";
|
|
71
|
+
chain: "solana" | "ethereum" | "ripple";
|
|
72
72
|
environment: "testnet" | "mainnet";
|
|
73
73
|
accountType: "eoa" | "smart";
|
|
74
74
|
createSession: boolean;
|
|
@@ -79,7 +79,7 @@ export declare const CreateWalletRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
79
79
|
aaPaymasterPolicyId?: string | undefined;
|
|
80
80
|
}, {
|
|
81
81
|
name: string;
|
|
82
|
-
chain?: "solana" | "ethereum" | undefined;
|
|
82
|
+
chain?: "solana" | "ethereum" | "ripple" | undefined;
|
|
83
83
|
environment?: "testnet" | "mainnet" | undefined;
|
|
84
84
|
accountType?: "eoa" | "smart" | undefined;
|
|
85
85
|
aaProvider?: "pimlico" | "alchemy" | "custom" | undefined;
|
|
@@ -90,7 +90,7 @@ export declare const CreateWalletRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
90
90
|
aaPaymasterPolicyId?: string | undefined;
|
|
91
91
|
}>, {
|
|
92
92
|
name: string;
|
|
93
|
-
chain: "solana" | "ethereum";
|
|
93
|
+
chain: "solana" | "ethereum" | "ripple";
|
|
94
94
|
environment: "testnet" | "mainnet";
|
|
95
95
|
accountType: "eoa" | "smart";
|
|
96
96
|
createSession: boolean;
|
|
@@ -101,7 +101,7 @@ export declare const CreateWalletRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
101
101
|
aaPaymasterPolicyId?: string | undefined;
|
|
102
102
|
}, {
|
|
103
103
|
name: string;
|
|
104
|
-
chain?: "solana" | "ethereum" | undefined;
|
|
104
|
+
chain?: "solana" | "ethereum" | "ripple" | undefined;
|
|
105
105
|
environment?: "testnet" | "mainnet" | undefined;
|
|
106
106
|
accountType?: "eoa" | "smart" | undefined;
|
|
107
107
|
aaProvider?: "pimlico" | "alchemy" | "custom" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain-constants.d.ts","sourceRoot":"","sources":["../../src/utils/chain-constants.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,4EAA4E;AAC5E,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"chain-constants.d.ts","sourceRoot":"","sources":["../../src/utils/chain-constants.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,4EAA4E;AAC5E,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAIlD,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAIjD,CAAC;AAEF,gFAAgF;AAChF,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEpD;AAED,6EAA6E;AAC7E,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAElD"}
|