@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"built-in-defaults.d.ts","sourceRoot":"","sources":["../../src/rpc/built-in-defaults.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH
|
|
1
|
+
{"version":3,"file":"built-in-defaults.d.ts","sourceRoot":"","sources":["../../src/rpc/built-in-defaults.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAgFpE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Built-in RPC defaults for
|
|
2
|
+
* Built-in RPC defaults for 18 networks (9 mainnet + 9 testnet).
|
|
3
3
|
*
|
|
4
4
|
* These are public, free-tier RPC endpoints. They provide a working
|
|
5
5
|
* out-of-the-box experience without any configuration. Users should
|
|
@@ -10,14 +10,15 @@
|
|
|
10
10
|
/**
|
|
11
11
|
* Built-in default RPC URLs for all supported networks.
|
|
12
12
|
*
|
|
13
|
-
* - **Mainnet (
|
|
14
|
-
* optimism-mainnet, base-mainnet, polygon-mainnet, hyperevm-mainnet
|
|
15
|
-
*
|
|
13
|
+
* - **Mainnet (9):** solana-mainnet, ethereum-mainnet, arbitrum-mainnet,
|
|
14
|
+
* optimism-mainnet, base-mainnet, polygon-mainnet, hyperevm-mainnet,
|
|
15
|
+
* xrpl-mainnet
|
|
16
|
+
* - **Testnet (9):** solana-devnet, solana-testnet, ethereum-sepolia,
|
|
16
17
|
* arbitrum-sepolia, optimism-sepolia, base-sepolia, polygon-amoy,
|
|
17
|
-
* hyperevm-testnet
|
|
18
|
+
* hyperevm-testnet, xrpl-testnet, xrpl-devnet
|
|
18
19
|
*
|
|
19
20
|
* URLs are ordered by priority (index 0 = highest priority).
|
|
20
|
-
* All URLs use https:// protocol.
|
|
21
|
+
* All URLs use https:// (or wss:// for XRPL) protocol.
|
|
21
22
|
*/
|
|
22
23
|
export const BUILT_IN_RPC_DEFAULTS = {
|
|
23
24
|
// ─── Mainnet (8 networks) ──────────────────────────────────────
|
|
@@ -52,7 +53,12 @@ export const BUILT_IN_RPC_DEFAULTS = {
|
|
|
52
53
|
'hyperevm-mainnet': [
|
|
53
54
|
'https://rpc.hyperliquid.xyz/evm',
|
|
54
55
|
],
|
|
55
|
-
|
|
56
|
+
'xrpl-mainnet': [
|
|
57
|
+
'wss://xrplcluster.com',
|
|
58
|
+
'wss://s1.ripple.com',
|
|
59
|
+
'wss://s2.ripple.com',
|
|
60
|
+
],
|
|
61
|
+
// ─── Testnet (9 networks) ─────────────────────────────────────
|
|
56
62
|
'solana-devnet': [
|
|
57
63
|
'https://api.devnet.solana.com',
|
|
58
64
|
'https://rpc.ankr.com/solana_devnet',
|
|
@@ -87,5 +93,11 @@ export const BUILT_IN_RPC_DEFAULTS = {
|
|
|
87
93
|
'hyperevm-testnet': [
|
|
88
94
|
'https://rpc.hyperliquid-testnet.xyz/evm',
|
|
89
95
|
],
|
|
96
|
+
'xrpl-testnet': [
|
|
97
|
+
'wss://s.altnet.rippletest.net:51233',
|
|
98
|
+
],
|
|
99
|
+
'xrpl-devnet': [
|
|
100
|
+
'wss://s.devnet.rippletest.net:51233',
|
|
101
|
+
],
|
|
90
102
|
};
|
|
91
103
|
//# sourceMappingURL=built-in-defaults.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"built-in-defaults.js","sourceRoot":"","sources":["../../src/rpc/built-in-defaults.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH
|
|
1
|
+
{"version":3,"file":"built-in-defaults.js","sourceRoot":"","sources":["../../src/rpc/built-in-defaults.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgD;IAChF,kEAAkE;IAClE,gBAAgB,EAAE;QAChB,qCAAqC;QACrC,6BAA6B;QAC7B,yBAAyB;KAC1B;IACD,kBAAkB,EAAE;QAClB,sBAAsB;QACtB,0BAA0B;QAC1B,iCAAiC;KAClC;IACD,kBAAkB,EAAE;QAClB,2BAA2B;QAC3B,iCAAiC;KAClC;IACD,kBAAkB,EAAE;QAClB,2BAA2B;QAC3B,6BAA6B;QAC7B,iCAAiC;KAClC;IACD,cAAc,EAAE;QACd,uBAAuB;QACvB,6BAA6B;KAC9B;IACD,iBAAiB,EAAE;QACjB,0BAA0B;QAC1B,yBAAyB;QACzB,gCAAgC;KACjC;IACD,kBAAkB,EAAE;QAClB,iCAAiC;KAClC;IACD,cAAc,EAAE;QACd,uBAAuB;QACvB,qBAAqB;QACrB,qBAAqB;KACtB;IAED,iEAAiE;IACjE,eAAe,EAAE;QACf,+BAA+B;QAC/B,oCAAoC;KACrC;IACD,gBAAgB,EAAE;QAChB,gCAAgC;KACjC;IACD,kBAAkB,EAAE;QAClB,yBAAyB;QACzB,sBAAsB;QACtB,6CAA6C;QAC7C,0BAA0B;QAC1B,yBAAyB;KAC1B;IACD,kBAAkB,EAAE;QAClB,mCAAmC;QACnC,6CAA6C;KAC9C;IACD,kBAAkB,EAAE;QAClB,mCAAmC;QACnC,6CAA6C;KAC9C;IACD,cAAc,EAAE;QACd,+BAA+B;QAC/B,yCAAyC;KAC1C;IACD,cAAc,EAAE;QACd,+BAA+B;QAC/B,qCAAqC;QACrC,6CAA6C;KAC9C;IACD,kBAAkB,EAAE;QAClB,yCAAyC;KAC1C;IACD,cAAc,EAAE;QACd,qCAAqC;KACtC;IACD,aAAa,EAAE;QACb,qCAAqC;KACtC;CACO,CAAC"}
|
|
@@ -13,7 +13,7 @@ export declare const IncomingTransactionSchema: z.ZodObject<{
|
|
|
13
13
|
fromAddress: z.ZodString;
|
|
14
14
|
amount: z.ZodString;
|
|
15
15
|
tokenAddress: z.ZodNullable<z.ZodString>;
|
|
16
|
-
chain: z.ZodEnum<["solana", "ethereum"]>;
|
|
16
|
+
chain: z.ZodEnum<["solana", "ethereum", "ripple"]>;
|
|
17
17
|
network: z.ZodString;
|
|
18
18
|
status: z.ZodEnum<["DETECTED", "CONFIRMED"]>;
|
|
19
19
|
blockNumber: z.ZodNullable<z.ZodNumber>;
|
|
@@ -24,7 +24,7 @@ export declare const IncomingTransactionSchema: z.ZodObject<{
|
|
|
24
24
|
network: string;
|
|
25
25
|
status: "CONFIRMED" | "DETECTED";
|
|
26
26
|
id: string;
|
|
27
|
-
chain: "solana" | "ethereum";
|
|
27
|
+
chain: "solana" | "ethereum" | "ripple";
|
|
28
28
|
walletId: string;
|
|
29
29
|
fromAddress: string;
|
|
30
30
|
amount: string;
|
|
@@ -38,7 +38,7 @@ export declare const IncomingTransactionSchema: z.ZodObject<{
|
|
|
38
38
|
network: string;
|
|
39
39
|
status: "CONFIRMED" | "DETECTED";
|
|
40
40
|
id: string;
|
|
41
|
-
chain: "solana" | "ethereum";
|
|
41
|
+
chain: "solana" | "ethereum" | "ripple";
|
|
42
42
|
walletId: string;
|
|
43
43
|
fromAddress: string;
|
|
44
44
|
amount: string;
|
|
@@ -5,11 +5,11 @@ export declare const PolicySchema: z.ZodObject<{
|
|
|
5
5
|
type: z.ZodEnum<["SPENDING_LIMIT", "WHITELIST", "TIME_RESTRICTION", "RATE_LIMIT", "ALLOWED_TOKENS", "CONTRACT_WHITELIST", "METHOD_WHITELIST", "APPROVED_SPENDERS", "APPROVE_AMOUNT_LIMIT", "APPROVE_TIER_OVERRIDE", "ALLOWED_NETWORKS", "X402_ALLOWED_DOMAINS", "LENDING_LTV_LIMIT", "LENDING_ASSET_WHITELIST", "PERP_MAX_LEVERAGE", "PERP_MAX_POSITION_USD", "PERP_ALLOWED_MARKETS", "REPUTATION_THRESHOLD", "ERC8128_ALLOWED_DOMAINS", "VENUE_WHITELIST", "ACTION_CATEGORY_LIMIT"]>;
|
|
6
6
|
ruleConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
7
7
|
enabled: z.ZodBoolean;
|
|
8
|
-
network: z.ZodNullable<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"]>>;
|
|
8
|
+
network: z.ZodNullable<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"]>>;
|
|
9
9
|
createdAt: z.ZodNumber;
|
|
10
10
|
updatedAt: z.ZodNumber;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
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" | null;
|
|
12
|
+
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" | null;
|
|
13
13
|
type: "SPENDING_LIMIT" | "WHITELIST" | "TIME_RESTRICTION" | "RATE_LIMIT" | "ALLOWED_TOKENS" | "CONTRACT_WHITELIST" | "METHOD_WHITELIST" | "APPROVED_SPENDERS" | "APPROVE_AMOUNT_LIMIT" | "APPROVE_TIER_OVERRIDE" | "ALLOWED_NETWORKS" | "X402_ALLOWED_DOMAINS" | "LENDING_LTV_LIMIT" | "LENDING_ASSET_WHITELIST" | "PERP_MAX_LEVERAGE" | "PERP_MAX_POSITION_USD" | "PERP_ALLOWED_MARKETS" | "REPUTATION_THRESHOLD" | "ERC8128_ALLOWED_DOMAINS" | "VENUE_WHITELIST" | "ACTION_CATEGORY_LIMIT";
|
|
14
14
|
id: string;
|
|
15
15
|
createdAt: number;
|
|
@@ -18,7 +18,7 @@ export declare const PolicySchema: z.ZodObject<{
|
|
|
18
18
|
ruleConfig: Record<string, unknown>;
|
|
19
19
|
enabled: boolean;
|
|
20
20
|
}, {
|
|
21
|
-
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" | null;
|
|
21
|
+
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" | null;
|
|
22
22
|
type: "SPENDING_LIMIT" | "WHITELIST" | "TIME_RESTRICTION" | "RATE_LIMIT" | "ALLOWED_TOKENS" | "CONTRACT_WHITELIST" | "METHOD_WHITELIST" | "APPROVED_SPENDERS" | "APPROVE_AMOUNT_LIMIT" | "APPROVE_TIER_OVERRIDE" | "ALLOWED_NETWORKS" | "X402_ALLOWED_DOMAINS" | "LENDING_LTV_LIMIT" | "LENDING_ASSET_WHITELIST" | "PERP_MAX_LEVERAGE" | "PERP_MAX_POSITION_USD" | "PERP_ALLOWED_MARKETS" | "REPUTATION_THRESHOLD" | "ERC8128_ALLOWED_DOMAINS" | "VENUE_WHITELIST" | "ACTION_CATEGORY_LIMIT";
|
|
23
23
|
id: string;
|
|
24
24
|
createdAt: number;
|
|
@@ -33,31 +33,31 @@ export declare const AllowedTokensRulesSchema: z.ZodObject<{
|
|
|
33
33
|
tokens: z.ZodArray<z.ZodObject<{
|
|
34
34
|
address: z.ZodString;
|
|
35
35
|
symbol: z.ZodOptional<z.ZodString>;
|
|
36
|
-
chain: z.ZodOptional<z.ZodEnum<["solana", "ethereum"]>>;
|
|
36
|
+
chain: z.ZodOptional<z.ZodEnum<["solana", "ethereum", "ripple"]>>;
|
|
37
37
|
assetId: z.ZodOptional<z.ZodString>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
address: string;
|
|
40
40
|
symbol?: string | undefined;
|
|
41
|
-
chain?: "solana" | "ethereum" | undefined;
|
|
41
|
+
chain?: "solana" | "ethereum" | "ripple" | undefined;
|
|
42
42
|
assetId?: string | undefined;
|
|
43
43
|
}, {
|
|
44
44
|
address: string;
|
|
45
45
|
symbol?: string | undefined;
|
|
46
|
-
chain?: "solana" | "ethereum" | undefined;
|
|
46
|
+
chain?: "solana" | "ethereum" | "ripple" | undefined;
|
|
47
47
|
assetId?: string | undefined;
|
|
48
48
|
}>, "many">;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
50
|
tokens: {
|
|
51
51
|
address: string;
|
|
52
52
|
symbol?: string | undefined;
|
|
53
|
-
chain?: "solana" | "ethereum" | undefined;
|
|
53
|
+
chain?: "solana" | "ethereum" | "ripple" | undefined;
|
|
54
54
|
assetId?: string | undefined;
|
|
55
55
|
}[];
|
|
56
56
|
}, {
|
|
57
57
|
tokens: {
|
|
58
58
|
address: string;
|
|
59
59
|
symbol?: string | undefined;
|
|
60
|
-
chain?: "solana" | "ethereum" | undefined;
|
|
60
|
+
chain?: "solana" | "ethereum" | "ripple" | undefined;
|
|
61
61
|
assetId?: string | undefined;
|
|
62
62
|
}[];
|
|
63
63
|
}>;
|
|
@@ -66,27 +66,27 @@ export declare const ContractWhitelistRulesSchema: z.ZodObject<{
|
|
|
66
66
|
contracts: z.ZodArray<z.ZodObject<{
|
|
67
67
|
address: z.ZodString;
|
|
68
68
|
name: z.ZodOptional<z.ZodString>;
|
|
69
|
-
chain: z.ZodOptional<z.ZodEnum<["solana", "ethereum"]>>;
|
|
69
|
+
chain: z.ZodOptional<z.ZodEnum<["solana", "ethereum", "ripple"]>>;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
71
|
address: string;
|
|
72
72
|
name?: string | undefined;
|
|
73
|
-
chain?: "solana" | "ethereum" | undefined;
|
|
73
|
+
chain?: "solana" | "ethereum" | "ripple" | undefined;
|
|
74
74
|
}, {
|
|
75
75
|
address: string;
|
|
76
76
|
name?: string | undefined;
|
|
77
|
-
chain?: "solana" | "ethereum" | undefined;
|
|
77
|
+
chain?: "solana" | "ethereum" | "ripple" | undefined;
|
|
78
78
|
}>, "many">;
|
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
|
80
80
|
contracts: {
|
|
81
81
|
address: string;
|
|
82
82
|
name?: string | undefined;
|
|
83
|
-
chain?: "solana" | "ethereum" | undefined;
|
|
83
|
+
chain?: "solana" | "ethereum" | "ripple" | undefined;
|
|
84
84
|
}[];
|
|
85
85
|
}, {
|
|
86
86
|
contracts: {
|
|
87
87
|
address: string;
|
|
88
88
|
name?: string | undefined;
|
|
89
|
-
chain?: "solana" | "ethereum" | undefined;
|
|
89
|
+
chain?: "solana" | "ethereum" | "ripple" | undefined;
|
|
90
90
|
}[];
|
|
91
91
|
}>;
|
|
92
92
|
/** METHOD_WHITELIST: rules.methods array (contract-specific allowed methods). */
|
|
@@ -278,23 +278,23 @@ export type SpendingLimitRules = z.infer<typeof SpendingLimitRulesSchema>;
|
|
|
278
278
|
/** ALLOWED_NETWORKS: rules.networks array (permitted networks for wallet). */
|
|
279
279
|
export declare const AllowedNetworksRulesSchema: z.ZodObject<{
|
|
280
280
|
networks: z.ZodArray<z.ZodObject<{
|
|
281
|
-
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"]>;
|
|
281
|
+
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"]>;
|
|
282
282
|
name: z.ZodOptional<z.ZodString>;
|
|
283
283
|
}, "strip", z.ZodTypeAny, {
|
|
284
|
-
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";
|
|
284
|
+
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";
|
|
285
285
|
name?: string | undefined;
|
|
286
286
|
}, {
|
|
287
|
-
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";
|
|
287
|
+
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";
|
|
288
288
|
name?: string | undefined;
|
|
289
289
|
}>, "many">;
|
|
290
290
|
}, "strip", z.ZodTypeAny, {
|
|
291
291
|
networks: {
|
|
292
|
-
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";
|
|
292
|
+
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";
|
|
293
293
|
name?: string | undefined;
|
|
294
294
|
}[];
|
|
295
295
|
}, {
|
|
296
296
|
networks: {
|
|
297
|
-
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";
|
|
297
|
+
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";
|
|
298
298
|
name?: string | undefined;
|
|
299
299
|
}[];
|
|
300
300
|
}>;
|
|
@@ -527,18 +527,18 @@ export declare const CreatePolicyRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
527
527
|
rules: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
528
528
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
529
529
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
530
|
-
network: z.ZodOptional<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"]>>;
|
|
530
|
+
network: z.ZodOptional<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"]>>;
|
|
531
531
|
}, "strip", z.ZodTypeAny, {
|
|
532
532
|
type: "SPENDING_LIMIT" | "WHITELIST" | "TIME_RESTRICTION" | "RATE_LIMIT" | "ALLOWED_TOKENS" | "CONTRACT_WHITELIST" | "METHOD_WHITELIST" | "APPROVED_SPENDERS" | "APPROVE_AMOUNT_LIMIT" | "APPROVE_TIER_OVERRIDE" | "ALLOWED_NETWORKS" | "X402_ALLOWED_DOMAINS" | "LENDING_LTV_LIMIT" | "LENDING_ASSET_WHITELIST" | "PERP_MAX_LEVERAGE" | "PERP_MAX_POSITION_USD" | "PERP_ALLOWED_MARKETS" | "REPUTATION_THRESHOLD" | "ERC8128_ALLOWED_DOMAINS" | "VENUE_WHITELIST" | "ACTION_CATEGORY_LIMIT";
|
|
533
533
|
enabled: boolean;
|
|
534
534
|
rules: Record<string, unknown>;
|
|
535
535
|
priority: number;
|
|
536
|
-
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;
|
|
536
|
+
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;
|
|
537
537
|
walletId?: string | undefined;
|
|
538
538
|
}, {
|
|
539
539
|
type: "SPENDING_LIMIT" | "WHITELIST" | "TIME_RESTRICTION" | "RATE_LIMIT" | "ALLOWED_TOKENS" | "CONTRACT_WHITELIST" | "METHOD_WHITELIST" | "APPROVED_SPENDERS" | "APPROVE_AMOUNT_LIMIT" | "APPROVE_TIER_OVERRIDE" | "ALLOWED_NETWORKS" | "X402_ALLOWED_DOMAINS" | "LENDING_LTV_LIMIT" | "LENDING_ASSET_WHITELIST" | "PERP_MAX_LEVERAGE" | "PERP_MAX_POSITION_USD" | "PERP_ALLOWED_MARKETS" | "REPUTATION_THRESHOLD" | "ERC8128_ALLOWED_DOMAINS" | "VENUE_WHITELIST" | "ACTION_CATEGORY_LIMIT";
|
|
540
540
|
rules: Record<string, unknown>;
|
|
541
|
-
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;
|
|
541
|
+
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;
|
|
542
542
|
walletId?: string | undefined;
|
|
543
543
|
enabled?: boolean | undefined;
|
|
544
544
|
priority?: number | undefined;
|
|
@@ -547,12 +547,12 @@ export declare const CreatePolicyRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
547
547
|
enabled: boolean;
|
|
548
548
|
rules: Record<string, unknown>;
|
|
549
549
|
priority: number;
|
|
550
|
-
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;
|
|
550
|
+
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;
|
|
551
551
|
walletId?: string | undefined;
|
|
552
552
|
}, {
|
|
553
553
|
type: "SPENDING_LIMIT" | "WHITELIST" | "TIME_RESTRICTION" | "RATE_LIMIT" | "ALLOWED_TOKENS" | "CONTRACT_WHITELIST" | "METHOD_WHITELIST" | "APPROVED_SPENDERS" | "APPROVE_AMOUNT_LIMIT" | "APPROVE_TIER_OVERRIDE" | "ALLOWED_NETWORKS" | "X402_ALLOWED_DOMAINS" | "LENDING_LTV_LIMIT" | "LENDING_ASSET_WHITELIST" | "PERP_MAX_LEVERAGE" | "PERP_MAX_POSITION_USD" | "PERP_ALLOWED_MARKETS" | "REPUTATION_THRESHOLD" | "ERC8128_ALLOWED_DOMAINS" | "VENUE_WHITELIST" | "ACTION_CATEGORY_LIMIT";
|
|
554
554
|
rules: Record<string, unknown>;
|
|
555
|
-
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;
|
|
555
|
+
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;
|
|
556
556
|
walletId?: string | undefined;
|
|
557
557
|
enabled?: boolean | undefined;
|
|
558
558
|
priority?: number | undefined;
|
|
@@ -338,7 +338,7 @@ export declare const NormalizedContractCallSchema: z.ZodObject<{
|
|
|
338
338
|
data: string;
|
|
339
339
|
}>, "many">>;
|
|
340
340
|
addressLookupTableAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
341
|
-
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>>;
|
|
341
|
+
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>>;
|
|
342
342
|
actionProvider: z.ZodOptional<z.ZodString>;
|
|
343
343
|
actionName: z.ZodOptional<z.ZodString>;
|
|
344
344
|
} & {
|
|
@@ -347,7 +347,7 @@ export declare const NormalizedContractCallSchema: z.ZodObject<{
|
|
|
347
347
|
type: "CONTRACT_CALL";
|
|
348
348
|
to: string;
|
|
349
349
|
kind: "contractCall";
|
|
350
|
-
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;
|
|
350
|
+
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;
|
|
351
351
|
value?: string | undefined;
|
|
352
352
|
gasCondition?: {
|
|
353
353
|
maxGasPrice?: string | undefined;
|
|
@@ -541,7 +541,7 @@ export declare const ResolvedActionSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
541
541
|
data: string;
|
|
542
542
|
}>, "many">>;
|
|
543
543
|
addressLookupTableAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
544
|
-
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>>;
|
|
544
|
+
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>>;
|
|
545
545
|
actionProvider: z.ZodOptional<z.ZodString>;
|
|
546
546
|
actionName: z.ZodOptional<z.ZodString>;
|
|
547
547
|
} & {
|
|
@@ -550,7 +550,7 @@ export declare const ResolvedActionSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
|
|
|
550
550
|
type: "CONTRACT_CALL";
|
|
551
551
|
to: string;
|
|
552
552
|
kind: "contractCall";
|
|
553
|
-
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;
|
|
553
|
+
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;
|
|
554
554
|
value?: string | undefined;
|
|
555
555
|
gasCondition?: {
|
|
556
556
|
maxGasPrice?: string | undefined;
|
|
@@ -141,18 +141,18 @@ export declare const SimulationDetailSchema: z.ZodObject<{
|
|
|
141
141
|
}>;
|
|
142
142
|
/** Request metadata for the simulation. */
|
|
143
143
|
export declare const SimulationMetaSchema: z.ZodObject<{
|
|
144
|
-
chain: z.ZodEnum<["solana", "ethereum"]>;
|
|
145
|
-
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"]>;
|
|
144
|
+
chain: z.ZodEnum<["solana", "ethereum", "ripple"]>;
|
|
145
|
+
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"]>;
|
|
146
146
|
transactionType: z.ZodString;
|
|
147
147
|
durationMs: z.ZodNumber;
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
|
-
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";
|
|
150
|
-
chain: "solana" | "ethereum";
|
|
149
|
+
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";
|
|
150
|
+
chain: "solana" | "ethereum" | "ripple";
|
|
151
151
|
transactionType: string;
|
|
152
152
|
durationMs: number;
|
|
153
153
|
}, {
|
|
154
|
-
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";
|
|
155
|
-
chain: "solana" | "ethereum";
|
|
154
|
+
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";
|
|
155
|
+
chain: "solana" | "ethereum" | "ripple";
|
|
156
156
|
transactionType: string;
|
|
157
157
|
durationMs: number;
|
|
158
158
|
}>;
|
|
@@ -303,18 +303,18 @@ export declare const DryRunSimulationResultSchema: z.ZodObject<{
|
|
|
303
303
|
unitsConsumed: string | null;
|
|
304
304
|
}>;
|
|
305
305
|
meta: z.ZodObject<{
|
|
306
|
-
chain: z.ZodEnum<["solana", "ethereum"]>;
|
|
307
|
-
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"]>;
|
|
306
|
+
chain: z.ZodEnum<["solana", "ethereum", "ripple"]>;
|
|
307
|
+
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"]>;
|
|
308
308
|
transactionType: z.ZodString;
|
|
309
309
|
durationMs: z.ZodNumber;
|
|
310
310
|
}, "strip", z.ZodTypeAny, {
|
|
311
|
-
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";
|
|
312
|
-
chain: "solana" | "ethereum";
|
|
311
|
+
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";
|
|
312
|
+
chain: "solana" | "ethereum" | "ripple";
|
|
313
313
|
transactionType: string;
|
|
314
314
|
durationMs: number;
|
|
315
315
|
}, {
|
|
316
|
-
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";
|
|
317
|
-
chain: "solana" | "ethereum";
|
|
316
|
+
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";
|
|
317
|
+
chain: "solana" | "ethereum" | "ripple";
|
|
318
318
|
transactionType: string;
|
|
319
319
|
durationMs: number;
|
|
320
320
|
}>;
|
|
@@ -381,8 +381,8 @@ export declare const DryRunSimulationResultSchema: z.ZodObject<{
|
|
|
381
381
|
unitsConsumed: string | null;
|
|
382
382
|
};
|
|
383
383
|
meta: {
|
|
384
|
-
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";
|
|
385
|
-
chain: "solana" | "ethereum";
|
|
384
|
+
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";
|
|
385
|
+
chain: "solana" | "ethereum" | "ripple";
|
|
386
386
|
transactionType: string;
|
|
387
387
|
durationMs: number;
|
|
388
388
|
};
|
|
@@ -437,8 +437,8 @@ export declare const DryRunSimulationResultSchema: z.ZodObject<{
|
|
|
437
437
|
unitsConsumed: string | null;
|
|
438
438
|
};
|
|
439
439
|
meta: {
|
|
440
|
-
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";
|
|
441
|
-
chain: "solana" | "ethereum";
|
|
440
|
+
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";
|
|
441
|
+
chain: "solana" | "ethereum" | "ripple";
|
|
442
442
|
transactionType: string;
|
|
443
443
|
durationMs: number;
|
|
444
444
|
};
|