@waiaas/daemon 2.11.0-rc → 2.11.0-rc.13
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/api/middleware/resolve-asset.d.ts +26 -0
- package/dist/api/middleware/resolve-asset.d.ts.map +1 -0
- package/dist/api/middleware/resolve-asset.js +81 -0
- package/dist/api/middleware/resolve-asset.js.map +1 -0
- package/dist/api/routes/actions.d.ts +4 -0
- package/dist/api/routes/actions.d.ts.map +1 -1
- package/dist/api/routes/actions.js +120 -0
- package/dist/api/routes/actions.js.map +1 -1
- package/dist/api/routes/admin-auth.d.ts.map +1 -1
- package/dist/api/routes/admin-auth.js +4 -1
- package/dist/api/routes/admin-auth.js.map +1 -1
- package/dist/api/routes/admin-credentials.d.ts +20 -0
- package/dist/api/routes/admin-credentials.d.ts.map +1 -0
- package/dist/api/routes/admin-credentials.js +115 -0
- package/dist/api/routes/admin-credentials.js.map +1 -0
- package/dist/api/routes/admin-settings.d.ts.map +1 -1
- package/dist/api/routes/admin-settings.js +70 -1
- package/dist/api/routes/admin-settings.js.map +1 -1
- package/dist/api/routes/admin-wallets.d.ts.map +1 -1
- package/dist/api/routes/admin-wallets.js +27 -14
- package/dist/api/routes/admin-wallets.js.map +1 -1
- package/dist/api/routes/connect-info.d.ts +2 -0
- package/dist/api/routes/connect-info.d.ts.map +1 -1
- package/dist/api/routes/connect-info.js +32 -1
- package/dist/api/routes/connect-info.js.map +1 -1
- package/dist/api/routes/credentials.d.ts +20 -0
- package/dist/api/routes/credentials.d.ts.map +1 -0
- package/dist/api/routes/credentials.js +120 -0
- package/dist/api/routes/credentials.js.map +1 -0
- package/dist/api/routes/defi-positions.d.ts.map +1 -1
- package/dist/api/routes/defi-positions.js +10 -0
- package/dist/api/routes/defi-positions.js.map +1 -1
- package/dist/api/routes/external-actions.d.ts +19 -0
- package/dist/api/routes/external-actions.d.ts.map +1 -0
- package/dist/api/routes/external-actions.js +199 -0
- package/dist/api/routes/external-actions.js.map +1 -0
- package/dist/api/routes/incoming.d.ts.map +1 -1
- package/dist/api/routes/incoming.js +2 -1
- package/dist/api/routes/incoming.js.map +1 -1
- package/dist/api/routes/index.d.ts +3 -0
- package/dist/api/routes/index.d.ts.map +1 -1
- package/dist/api/routes/index.js +3 -0
- package/dist/api/routes/index.js.map +1 -1
- package/dist/api/routes/nfts.js +24 -4
- package/dist/api/routes/nfts.js.map +1 -1
- package/dist/api/routes/openapi-schemas.d.ts +321 -139
- package/dist/api/routes/openapi-schemas.d.ts.map +1 -1
- package/dist/api/routes/openapi-schemas.js +24 -0
- package/dist/api/routes/openapi-schemas.js.map +1 -1
- package/dist/api/routes/rpc-proxy.d.ts +55 -0
- package/dist/api/routes/rpc-proxy.d.ts.map +1 -0
- package/dist/api/routes/rpc-proxy.js +285 -0
- package/dist/api/routes/rpc-proxy.js.map +1 -0
- package/dist/api/routes/staking.d.ts.map +1 -1
- package/dist/api/routes/staking.js +15 -0
- package/dist/api/routes/staking.js.map +1 -1
- package/dist/api/routes/tokens.d.ts.map +1 -1
- package/dist/api/routes/tokens.js +8 -1
- package/dist/api/routes/tokens.js.map +1 -1
- package/dist/api/routes/transactions.d.ts +35 -0
- package/dist/api/routes/transactions.d.ts.map +1 -1
- package/dist/api/routes/transactions.js +220 -20
- package/dist/api/routes/transactions.js.map +1 -1
- package/dist/api/routes/wallet.d.ts.map +1 -1
- package/dist/api/routes/wallet.js +18 -4
- package/dist/api/routes/wallet.js.map +1 -1
- package/dist/api/server.d.ts +2 -0
- package/dist/api/server.d.ts.map +1 -1
- package/dist/api/server.js +52 -1
- package/dist/api/server.js.map +1 -1
- package/dist/infrastructure/action/action-provider-registry.d.ts.map +1 -1
- package/dist/infrastructure/action/action-provider-registry.js +12 -0
- package/dist/infrastructure/action/action-provider-registry.js.map +1 -1
- package/dist/infrastructure/credential/credential-crypto.d.ts +43 -0
- package/dist/infrastructure/credential/credential-crypto.d.ts.map +1 -0
- package/dist/infrastructure/credential/credential-crypto.js +64 -0
- package/dist/infrastructure/credential/credential-crypto.js.map +1 -0
- package/dist/infrastructure/credential/credential-vault.d.ts +42 -0
- package/dist/infrastructure/credential/credential-vault.d.ts.map +1 -0
- package/dist/infrastructure/credential/credential-vault.js +235 -0
- package/dist/infrastructure/credential/credential-vault.js.map +1 -0
- package/dist/infrastructure/credential/index.d.ts +6 -0
- package/dist/infrastructure/credential/index.d.ts.map +1 -0
- package/dist/infrastructure/credential/index.js +6 -0
- package/dist/infrastructure/credential/index.js.map +1 -0
- package/dist/infrastructure/database/migrate.d.ts +1 -1
- package/dist/infrastructure/database/migrate.d.ts.map +1 -1
- package/dist/infrastructure/database/migrate.js +191 -6
- package/dist/infrastructure/database/migrate.js.map +1 -1
- package/dist/infrastructure/database/schema.d.ts +281 -1
- package/dist/infrastructure/database/schema.d.ts.map +1 -1
- package/dist/infrastructure/database/schema.js +34 -3
- package/dist/infrastructure/database/schema.js.map +1 -1
- package/dist/infrastructure/keystore/re-encrypt.d.ts +9 -0
- package/dist/infrastructure/keystore/re-encrypt.d.ts.map +1 -1
- package/dist/infrastructure/keystore/re-encrypt.js +47 -1
- package/dist/infrastructure/keystore/re-encrypt.js.map +1 -1
- package/dist/infrastructure/settings/index.d.ts +2 -2
- package/dist/infrastructure/settings/index.d.ts.map +1 -1
- package/dist/infrastructure/settings/index.js +1 -1
- package/dist/infrastructure/settings/index.js.map +1 -1
- package/dist/infrastructure/settings/setting-keys.d.ts +16 -2
- package/dist/infrastructure/settings/setting-keys.d.ts.map +1 -1
- package/dist/infrastructure/settings/setting-keys.js +296 -206
- package/dist/infrastructure/settings/setting-keys.js.map +1 -1
- package/dist/lifecycle/daemon.d.ts.map +1 -1
- package/dist/lifecycle/daemon.js +31 -0
- package/dist/lifecycle/daemon.js.map +1 -1
- package/dist/notifications/templates/message-templates.d.ts.map +1 -1
- package/dist/notifications/templates/message-templates.js +5 -6
- package/dist/notifications/templates/message-templates.js.map +1 -1
- package/dist/pipeline/database-policy-engine.d.ts +36 -0
- package/dist/pipeline/database-policy-engine.d.ts.map +1 -1
- package/dist/pipeline/database-policy-engine.js +185 -0
- package/dist/pipeline/database-policy-engine.js.map +1 -1
- package/dist/pipeline/external-action-pipeline.d.ts +64 -0
- package/dist/pipeline/external-action-pipeline.d.ts.map +1 -0
- package/dist/pipeline/external-action-pipeline.js +427 -0
- package/dist/pipeline/external-action-pipeline.js.map +1 -0
- package/dist/pipeline/pipeline.d.ts +4 -0
- package/dist/pipeline/pipeline.d.ts.map +1 -1
- package/dist/pipeline/resolve-effective-amount-usd.d.ts.map +1 -1
- package/dist/pipeline/resolve-effective-amount-usd.js +2 -1
- package/dist/pipeline/resolve-effective-amount-usd.js.map +1 -1
- package/dist/pipeline/stages.d.ts.map +1 -1
- package/dist/pipeline/stages.js +59 -10
- package/dist/pipeline/stages.js.map +1 -1
- package/dist/rpc-proxy/completion-waiter.d.ts +35 -0
- package/dist/rpc-proxy/completion-waiter.d.ts.map +1 -0
- package/dist/rpc-proxy/completion-waiter.js +72 -0
- package/dist/rpc-proxy/completion-waiter.js.map +1 -0
- package/dist/rpc-proxy/dispatcher.d.ts +37 -0
- package/dist/rpc-proxy/dispatcher.d.ts.map +1 -0
- package/dist/rpc-proxy/dispatcher.js +54 -0
- package/dist/rpc-proxy/dispatcher.js.map +1 -0
- package/dist/rpc-proxy/index.d.ts +15 -0
- package/dist/rpc-proxy/index.d.ts.map +1 -0
- package/dist/rpc-proxy/index.js +15 -0
- package/dist/rpc-proxy/index.js.map +1 -0
- package/dist/rpc-proxy/json-rpc.d.ts +78 -0
- package/dist/rpc-proxy/json-rpc.d.ts.map +1 -0
- package/dist/rpc-proxy/json-rpc.js +123 -0
- package/dist/rpc-proxy/json-rpc.js.map +1 -0
- package/dist/rpc-proxy/method-handlers.d.ts +54 -0
- package/dist/rpc-proxy/method-handlers.d.ts.map +1 -0
- package/dist/rpc-proxy/method-handlers.js +171 -0
- package/dist/rpc-proxy/method-handlers.js.map +1 -0
- package/dist/rpc-proxy/nonce-tracker.d.ts +39 -0
- package/dist/rpc-proxy/nonce-tracker.d.ts.map +1 -0
- package/dist/rpc-proxy/nonce-tracker.js +80 -0
- package/dist/rpc-proxy/nonce-tracker.js.map +1 -0
- package/dist/rpc-proxy/passthrough.d.ts +37 -0
- package/dist/rpc-proxy/passthrough.d.ts.map +1 -0
- package/dist/rpc-proxy/passthrough.js +86 -0
- package/dist/rpc-proxy/passthrough.js.map +1 -0
- package/dist/rpc-proxy/sync-pipeline.d.ts +40 -0
- package/dist/rpc-proxy/sync-pipeline.d.ts.map +1 -0
- package/dist/rpc-proxy/sync-pipeline.js +74 -0
- package/dist/rpc-proxy/sync-pipeline.js.map +1 -0
- package/dist/rpc-proxy/tx-adapter.d.ts +79 -0
- package/dist/rpc-proxy/tx-adapter.d.ts.map +1 -0
- package/dist/rpc-proxy/tx-adapter.js +117 -0
- package/dist/rpc-proxy/tx-adapter.js.map +1 -0
- package/dist/services/async-polling-service.d.ts.map +1 -1
- package/dist/services/async-polling-service.js +95 -2
- package/dist/services/async-polling-service.js.map +1 -1
- package/dist/signing/bootstrap.d.ts +12 -0
- package/dist/signing/bootstrap.d.ts.map +1 -0
- package/dist/signing/bootstrap.js +15 -0
- package/dist/signing/bootstrap.js.map +1 -0
- package/dist/signing/capabilities/ecdsa-signer.d.ts +7 -0
- package/dist/signing/capabilities/ecdsa-signer.d.ts.map +1 -0
- package/dist/signing/capabilities/ecdsa-signer.js +42 -0
- package/dist/signing/capabilities/ecdsa-signer.js.map +1 -0
- package/dist/signing/capabilities/ed25519-signer.d.ts +7 -0
- package/dist/signing/capabilities/ed25519-signer.d.ts.map +1 -0
- package/dist/signing/capabilities/ed25519-signer.js +39 -0
- package/dist/signing/capabilities/ed25519-signer.js.map +1 -0
- package/dist/signing/capabilities/eip712-signer.d.ts +7 -0
- package/dist/signing/capabilities/eip712-signer.d.ts.map +1 -0
- package/dist/signing/capabilities/eip712-signer.js +35 -0
- package/dist/signing/capabilities/eip712-signer.js.map +1 -0
- package/dist/signing/capabilities/erc8128-signer.d.ts +7 -0
- package/dist/signing/capabilities/erc8128-signer.d.ts.map +1 -0
- package/dist/signing/capabilities/erc8128-signer.js +55 -0
- package/dist/signing/capabilities/erc8128-signer.js.map +1 -0
- package/dist/signing/capabilities/hmac-signer.d.ts +7 -0
- package/dist/signing/capabilities/hmac-signer.d.ts.map +1 -0
- package/dist/signing/capabilities/hmac-signer.js +32 -0
- package/dist/signing/capabilities/hmac-signer.js.map +1 -0
- package/dist/signing/capabilities/index.d.ts +13 -0
- package/dist/signing/capabilities/index.d.ts.map +1 -0
- package/dist/signing/capabilities/index.js +13 -0
- package/dist/signing/capabilities/index.js.map +1 -0
- package/dist/signing/capabilities/personal-signer.d.ts +7 -0
- package/dist/signing/capabilities/personal-signer.d.ts.map +1 -0
- package/dist/signing/capabilities/personal-signer.js +35 -0
- package/dist/signing/capabilities/personal-signer.js.map +1 -0
- package/dist/signing/capabilities/rsa-pss-signer.d.ts +7 -0
- package/dist/signing/capabilities/rsa-pss-signer.d.ts.map +1 -0
- package/dist/signing/capabilities/rsa-pss-signer.js +35 -0
- package/dist/signing/capabilities/rsa-pss-signer.js.map +1 -0
- package/dist/signing/index.d.ts +13 -0
- package/dist/signing/index.d.ts.map +1 -0
- package/dist/signing/index.js +5 -0
- package/dist/signing/index.js.map +1 -0
- package/dist/signing/registry.d.ts +36 -0
- package/dist/signing/registry.d.ts.map +1 -0
- package/dist/signing/registry.js +27 -0
- package/dist/signing/registry.js.map +1 -0
- package/dist/signing/signing-error.d.ts +22 -0
- package/dist/signing/signing-error.d.ts.map +1 -0
- package/dist/signing/signing-error.js +17 -0
- package/dist/signing/signing-error.js.map +1 -0
- package/dist/signing/types.d.ts +91 -0
- package/dist/signing/types.d.ts.map +1 -0
- package/dist/signing/types.js +2 -0
- package/dist/signing/types.js.map +1 -0
- package/package.json +6 -5
- package/public/admin/assets/index-COymjGTe.js +3 -0
- package/public/admin/assets/index-CTHU1J8K.css +1 -0
- package/public/admin/index.html +4 -2
- package/public/admin/assets/index-BpDnuS0k.css +0 -1
- package/public/admin/assets/index-By5VUJ-B.js +0 -3
|
@@ -312,8 +312,11 @@ export declare const WalletBalanceResponseSchema: z.ZodObject<{
|
|
|
312
312
|
balance: z.ZodString;
|
|
313
313
|
decimals: z.ZodNumber;
|
|
314
314
|
symbol: z.ZodString;
|
|
315
|
+
balanceFormatted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
315
316
|
displayBalance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
316
317
|
displayCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
318
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
319
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
317
320
|
}, "strip", z.ZodTypeAny, {
|
|
318
321
|
symbol: string;
|
|
319
322
|
chain: string;
|
|
@@ -322,6 +325,9 @@ export declare const WalletBalanceResponseSchema: z.ZodObject<{
|
|
|
322
325
|
address: string;
|
|
323
326
|
decimals: number;
|
|
324
327
|
balance: string;
|
|
328
|
+
assetId?: string | undefined;
|
|
329
|
+
chainId?: string | undefined;
|
|
330
|
+
balanceFormatted?: string | null | undefined;
|
|
325
331
|
displayBalance?: string | null | undefined;
|
|
326
332
|
displayCurrency?: string | null | undefined;
|
|
327
333
|
}, {
|
|
@@ -332,6 +338,9 @@ export declare const WalletBalanceResponseSchema: z.ZodObject<{
|
|
|
332
338
|
address: string;
|
|
333
339
|
decimals: number;
|
|
334
340
|
balance: string;
|
|
341
|
+
assetId?: string | undefined;
|
|
342
|
+
chainId?: string | undefined;
|
|
343
|
+
balanceFormatted?: string | null | undefined;
|
|
335
344
|
displayBalance?: string | null | undefined;
|
|
336
345
|
displayCurrency?: string | null | undefined;
|
|
337
346
|
}>;
|
|
@@ -524,6 +533,10 @@ export declare const TxDetailResponseSchema: z.ZodObject<{
|
|
|
524
533
|
displayAmount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
525
534
|
displayCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
526
535
|
atomic: z.ZodOptional<z.ZodBoolean>;
|
|
536
|
+
amountFormatted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
537
|
+
amountDecimals: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
538
|
+
amountSymbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
539
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
527
540
|
}, "strip", z.ZodTypeAny, {
|
|
528
541
|
id: string;
|
|
529
542
|
chain: string;
|
|
@@ -537,9 +550,13 @@ export declare const TxDetailResponseSchema: z.ZodObject<{
|
|
|
537
550
|
tier: string | null;
|
|
538
551
|
error: string | null;
|
|
539
552
|
network: string | null;
|
|
553
|
+
chainId?: string | undefined;
|
|
540
554
|
displayCurrency?: string | null | undefined;
|
|
541
555
|
displayAmount?: string | null | undefined;
|
|
542
556
|
atomic?: boolean | undefined;
|
|
557
|
+
amountFormatted?: string | null | undefined;
|
|
558
|
+
amountDecimals?: number | null | undefined;
|
|
559
|
+
amountSymbol?: string | null | undefined;
|
|
543
560
|
}, {
|
|
544
561
|
id: string;
|
|
545
562
|
chain: string;
|
|
@@ -553,9 +570,13 @@ export declare const TxDetailResponseSchema: z.ZodObject<{
|
|
|
553
570
|
tier: string | null;
|
|
554
571
|
error: string | null;
|
|
555
572
|
network: string | null;
|
|
573
|
+
chainId?: string | undefined;
|
|
556
574
|
displayCurrency?: string | null | undefined;
|
|
557
575
|
displayAmount?: string | null | undefined;
|
|
558
576
|
atomic?: boolean | undefined;
|
|
577
|
+
amountFormatted?: string | null | undefined;
|
|
578
|
+
amountDecimals?: number | null | undefined;
|
|
579
|
+
amountSymbol?: string | null | undefined;
|
|
559
580
|
}>;
|
|
560
581
|
export declare const TxApproveResponseSchema: z.ZodObject<{
|
|
561
582
|
id: z.ZodString;
|
|
@@ -1049,37 +1070,37 @@ export declare const SendTransactionRequestOpenAPI: z.ZodObject<{
|
|
|
1049
1070
|
}>;
|
|
1050
1071
|
export declare const CreatePolicyRequestOpenAPI: z.ZodEffects<z.ZodObject<{
|
|
1051
1072
|
walletId: z.ZodOptional<z.ZodString>;
|
|
1052
|
-
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"]>;
|
|
1073
|
+
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"]>;
|
|
1053
1074
|
rules: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1054
1075
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
1055
1076
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1056
1077
|
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"]>>;
|
|
1057
1078
|
}, "strip", z.ZodTypeAny, {
|
|
1058
|
-
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";
|
|
1079
|
+
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";
|
|
1059
1080
|
enabled: boolean;
|
|
1060
1081
|
rules: Record<string, unknown>;
|
|
1061
1082
|
priority: number;
|
|
1062
|
-
walletId?: string | undefined;
|
|
1063
1083
|
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;
|
|
1084
|
+
walletId?: string | undefined;
|
|
1064
1085
|
}, {
|
|
1065
|
-
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";
|
|
1086
|
+
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";
|
|
1066
1087
|
rules: Record<string, unknown>;
|
|
1067
|
-
walletId?: string | undefined;
|
|
1068
1088
|
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;
|
|
1089
|
+
walletId?: string | undefined;
|
|
1069
1090
|
enabled?: boolean | undefined;
|
|
1070
1091
|
priority?: number | undefined;
|
|
1071
1092
|
}>, {
|
|
1072
|
-
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";
|
|
1093
|
+
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";
|
|
1073
1094
|
enabled: boolean;
|
|
1074
1095
|
rules: Record<string, unknown>;
|
|
1075
1096
|
priority: number;
|
|
1076
|
-
walletId?: string | undefined;
|
|
1077
1097
|
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;
|
|
1098
|
+
walletId?: string | undefined;
|
|
1078
1099
|
}, {
|
|
1079
|
-
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";
|
|
1100
|
+
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";
|
|
1080
1101
|
rules: Record<string, unknown>;
|
|
1081
|
-
walletId?: string | undefined;
|
|
1082
1102
|
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;
|
|
1103
|
+
walletId?: string | undefined;
|
|
1083
1104
|
enabled?: boolean | undefined;
|
|
1084
1105
|
priority?: number | undefined;
|
|
1085
1106
|
}>;
|
|
@@ -1138,15 +1159,17 @@ export declare const TransferRequestOpenAPI: z.ZodObject<{
|
|
|
1138
1159
|
}>>;
|
|
1139
1160
|
type: z.ZodLiteral<"TRANSFER">;
|
|
1140
1161
|
to: z.ZodString;
|
|
1141
|
-
amount: z.ZodString
|
|
1162
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
1163
|
+
humanAmount: z.ZodOptional<z.ZodString>;
|
|
1142
1164
|
memo: z.ZodOptional<z.ZodString>;
|
|
1143
1165
|
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>>;
|
|
1144
1166
|
}, "strip", z.ZodTypeAny, {
|
|
1145
1167
|
type: "TRANSFER";
|
|
1146
|
-
amount: string;
|
|
1147
1168
|
to: string;
|
|
1148
1169
|
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;
|
|
1170
|
+
amount?: string | undefined;
|
|
1149
1171
|
memo?: string | undefined;
|
|
1172
|
+
humanAmount?: string | undefined;
|
|
1150
1173
|
gasCondition?: {
|
|
1151
1174
|
maxGasPrice?: string | undefined;
|
|
1152
1175
|
maxPriorityFee?: string | undefined;
|
|
@@ -1154,10 +1177,11 @@ export declare const TransferRequestOpenAPI: z.ZodObject<{
|
|
|
1154
1177
|
} | undefined;
|
|
1155
1178
|
}, {
|
|
1156
1179
|
type: "TRANSFER";
|
|
1157
|
-
amount: string;
|
|
1158
1180
|
to: string;
|
|
1159
1181
|
network?: unknown;
|
|
1182
|
+
amount?: string | undefined;
|
|
1160
1183
|
memo?: string | undefined;
|
|
1184
|
+
humanAmount?: string | undefined;
|
|
1161
1185
|
gasCondition?: {
|
|
1162
1186
|
maxGasPrice?: string | undefined;
|
|
1163
1187
|
maxPriorityFee?: string | undefined;
|
|
@@ -1188,47 +1212,49 @@ export declare const TokenTransferRequestOpenAPI: z.ZodObject<{
|
|
|
1188
1212
|
}>>;
|
|
1189
1213
|
type: z.ZodLiteral<"TOKEN_TRANSFER">;
|
|
1190
1214
|
to: z.ZodString;
|
|
1191
|
-
amount: z.ZodString
|
|
1215
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
humanAmount: z.ZodOptional<z.ZodString>;
|
|
1192
1217
|
token: z.ZodEffects<z.ZodObject<{
|
|
1193
|
-
address: z.ZodString
|
|
1194
|
-
decimals: z.ZodNumber
|
|
1195
|
-
symbol: z.ZodString
|
|
1218
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1219
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1220
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1196
1221
|
assetId: z.ZodOptional<z.ZodString>;
|
|
1197
1222
|
}, "strip", z.ZodTypeAny, {
|
|
1198
|
-
symbol
|
|
1199
|
-
address: string;
|
|
1200
|
-
decimals: number;
|
|
1223
|
+
symbol?: string | undefined;
|
|
1201
1224
|
assetId?: string | undefined;
|
|
1225
|
+
address?: string | undefined;
|
|
1226
|
+
decimals?: number | undefined;
|
|
1202
1227
|
}, {
|
|
1203
|
-
symbol
|
|
1204
|
-
address: string;
|
|
1205
|
-
decimals: number;
|
|
1228
|
+
symbol?: string | undefined;
|
|
1206
1229
|
assetId?: string | undefined;
|
|
1230
|
+
address?: string | undefined;
|
|
1231
|
+
decimals?: number | undefined;
|
|
1207
1232
|
}>, {
|
|
1208
|
-
symbol
|
|
1209
|
-
address: string;
|
|
1210
|
-
decimals: number;
|
|
1233
|
+
symbol?: string | undefined;
|
|
1211
1234
|
assetId?: string | undefined;
|
|
1235
|
+
address?: string | undefined;
|
|
1236
|
+
decimals?: number | undefined;
|
|
1212
1237
|
}, {
|
|
1213
|
-
symbol
|
|
1214
|
-
address: string;
|
|
1215
|
-
decimals: number;
|
|
1238
|
+
symbol?: string | undefined;
|
|
1216
1239
|
assetId?: string | undefined;
|
|
1240
|
+
address?: string | undefined;
|
|
1241
|
+
decimals?: number | undefined;
|
|
1217
1242
|
}>;
|
|
1218
1243
|
memo: z.ZodOptional<z.ZodString>;
|
|
1219
1244
|
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>>;
|
|
1220
1245
|
}, "strip", z.ZodTypeAny, {
|
|
1221
1246
|
type: "TOKEN_TRANSFER";
|
|
1222
1247
|
token: {
|
|
1223
|
-
symbol
|
|
1224
|
-
address: string;
|
|
1225
|
-
decimals: number;
|
|
1248
|
+
symbol?: string | undefined;
|
|
1226
1249
|
assetId?: string | undefined;
|
|
1250
|
+
address?: string | undefined;
|
|
1251
|
+
decimals?: number | undefined;
|
|
1227
1252
|
};
|
|
1228
|
-
amount: string;
|
|
1229
1253
|
to: string;
|
|
1230
1254
|
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;
|
|
1255
|
+
amount?: string | undefined;
|
|
1231
1256
|
memo?: string | undefined;
|
|
1257
|
+
humanAmount?: string | undefined;
|
|
1232
1258
|
gasCondition?: {
|
|
1233
1259
|
maxGasPrice?: string | undefined;
|
|
1234
1260
|
maxPriorityFee?: string | undefined;
|
|
@@ -1237,15 +1263,16 @@ export declare const TokenTransferRequestOpenAPI: z.ZodObject<{
|
|
|
1237
1263
|
}, {
|
|
1238
1264
|
type: "TOKEN_TRANSFER";
|
|
1239
1265
|
token: {
|
|
1240
|
-
symbol
|
|
1241
|
-
address: string;
|
|
1242
|
-
decimals: number;
|
|
1266
|
+
symbol?: string | undefined;
|
|
1243
1267
|
assetId?: string | undefined;
|
|
1268
|
+
address?: string | undefined;
|
|
1269
|
+
decimals?: number | undefined;
|
|
1244
1270
|
};
|
|
1245
|
-
amount: string;
|
|
1246
1271
|
to: string;
|
|
1247
1272
|
network?: unknown;
|
|
1273
|
+
amount?: string | undefined;
|
|
1248
1274
|
memo?: string | undefined;
|
|
1275
|
+
humanAmount?: string | undefined;
|
|
1249
1276
|
gasCondition?: {
|
|
1250
1277
|
maxGasPrice?: string | undefined;
|
|
1251
1278
|
maxPriorityFee?: string | undefined;
|
|
@@ -1333,8 +1360,8 @@ export declare const ContractCallRequestOpenAPI: z.ZodObject<{
|
|
|
1333
1360
|
}, "strip", z.ZodTypeAny, {
|
|
1334
1361
|
type: "CONTRACT_CALL";
|
|
1335
1362
|
to: string;
|
|
1336
|
-
value?: string | undefined;
|
|
1337
1363
|
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;
|
|
1364
|
+
value?: string | undefined;
|
|
1338
1365
|
gasCondition?: {
|
|
1339
1366
|
maxGasPrice?: string | undefined;
|
|
1340
1367
|
maxPriorityFee?: string | undefined;
|
|
@@ -1363,8 +1390,8 @@ export declare const ContractCallRequestOpenAPI: z.ZodObject<{
|
|
|
1363
1390
|
}, {
|
|
1364
1391
|
type: "CONTRACT_CALL";
|
|
1365
1392
|
to: string;
|
|
1366
|
-
value?: string | undefined;
|
|
1367
1393
|
network?: unknown;
|
|
1394
|
+
value?: string | undefined;
|
|
1368
1395
|
gasCondition?: {
|
|
1369
1396
|
maxGasPrice?: string | undefined;
|
|
1370
1397
|
maxPriorityFee?: string | undefined;
|
|
@@ -1416,32 +1443,33 @@ export declare const ApproveRequestOpenAPI: z.ZodObject<{
|
|
|
1416
1443
|
type: z.ZodLiteral<"APPROVE">;
|
|
1417
1444
|
spender: z.ZodString;
|
|
1418
1445
|
token: z.ZodEffects<z.ZodObject<{
|
|
1419
|
-
address: z.ZodString
|
|
1420
|
-
decimals: z.ZodNumber
|
|
1421
|
-
symbol: z.ZodString
|
|
1446
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1447
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1448
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1422
1449
|
assetId: z.ZodOptional<z.ZodString>;
|
|
1423
1450
|
}, "strip", z.ZodTypeAny, {
|
|
1424
|
-
symbol
|
|
1425
|
-
address: string;
|
|
1426
|
-
decimals: number;
|
|
1451
|
+
symbol?: string | undefined;
|
|
1427
1452
|
assetId?: string | undefined;
|
|
1453
|
+
address?: string | undefined;
|
|
1454
|
+
decimals?: number | undefined;
|
|
1428
1455
|
}, {
|
|
1429
|
-
symbol
|
|
1430
|
-
address: string;
|
|
1431
|
-
decimals: number;
|
|
1456
|
+
symbol?: string | undefined;
|
|
1432
1457
|
assetId?: string | undefined;
|
|
1458
|
+
address?: string | undefined;
|
|
1459
|
+
decimals?: number | undefined;
|
|
1433
1460
|
}>, {
|
|
1434
|
-
symbol
|
|
1435
|
-
address: string;
|
|
1436
|
-
decimals: number;
|
|
1461
|
+
symbol?: string | undefined;
|
|
1437
1462
|
assetId?: string | undefined;
|
|
1463
|
+
address?: string | undefined;
|
|
1464
|
+
decimals?: number | undefined;
|
|
1438
1465
|
}, {
|
|
1439
|
-
symbol
|
|
1440
|
-
address: string;
|
|
1441
|
-
decimals: number;
|
|
1466
|
+
symbol?: string | undefined;
|
|
1442
1467
|
assetId?: string | undefined;
|
|
1468
|
+
address?: string | undefined;
|
|
1469
|
+
decimals?: number | undefined;
|
|
1443
1470
|
}>;
|
|
1444
|
-
amount: z.ZodString
|
|
1471
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
1472
|
+
humanAmount: z.ZodOptional<z.ZodString>;
|
|
1445
1473
|
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>>;
|
|
1446
1474
|
nft: z.ZodOptional<z.ZodObject<{
|
|
1447
1475
|
tokenId: z.ZodString;
|
|
@@ -1456,14 +1484,15 @@ export declare const ApproveRequestOpenAPI: z.ZodObject<{
|
|
|
1456
1484
|
}, "strip", z.ZodTypeAny, {
|
|
1457
1485
|
type: "APPROVE";
|
|
1458
1486
|
token: {
|
|
1459
|
-
symbol
|
|
1460
|
-
address: string;
|
|
1461
|
-
decimals: number;
|
|
1487
|
+
symbol?: string | undefined;
|
|
1462
1488
|
assetId?: string | undefined;
|
|
1489
|
+
address?: string | undefined;
|
|
1490
|
+
decimals?: number | undefined;
|
|
1463
1491
|
};
|
|
1464
|
-
amount: string;
|
|
1465
1492
|
spender: string;
|
|
1466
1493
|
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
|
+
amount?: string | undefined;
|
|
1495
|
+
humanAmount?: string | undefined;
|
|
1467
1496
|
gasCondition?: {
|
|
1468
1497
|
maxGasPrice?: string | undefined;
|
|
1469
1498
|
maxPriorityFee?: string | undefined;
|
|
@@ -1476,14 +1505,15 @@ export declare const ApproveRequestOpenAPI: z.ZodObject<{
|
|
|
1476
1505
|
}, {
|
|
1477
1506
|
type: "APPROVE";
|
|
1478
1507
|
token: {
|
|
1479
|
-
symbol
|
|
1480
|
-
address: string;
|
|
1481
|
-
decimals: number;
|
|
1508
|
+
symbol?: string | undefined;
|
|
1482
1509
|
assetId?: string | undefined;
|
|
1510
|
+
address?: string | undefined;
|
|
1511
|
+
decimals?: number | undefined;
|
|
1483
1512
|
};
|
|
1484
|
-
amount: string;
|
|
1485
1513
|
spender: string;
|
|
1486
1514
|
network?: unknown;
|
|
1515
|
+
amount?: string | undefined;
|
|
1516
|
+
humanAmount?: string | undefined;
|
|
1487
1517
|
gasCondition?: {
|
|
1488
1518
|
maxGasPrice?: string | undefined;
|
|
1489
1519
|
maxPriorityFee?: string | undefined;
|
|
@@ -1541,24 +1571,27 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1541
1571
|
}>>;
|
|
1542
1572
|
type: z.ZodLiteral<"TRANSFER">;
|
|
1543
1573
|
to: z.ZodString;
|
|
1544
|
-
amount: z.ZodString
|
|
1574
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
1575
|
+
humanAmount: z.ZodOptional<z.ZodString>;
|
|
1545
1576
|
memo: z.ZodOptional<z.ZodString>;
|
|
1546
1577
|
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>>;
|
|
1547
1578
|
}, "type">, "strip", z.ZodTypeAny, {
|
|
1548
|
-
amount: string;
|
|
1549
1579
|
to: string;
|
|
1550
1580
|
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;
|
|
1581
|
+
amount?: string | undefined;
|
|
1551
1582
|
memo?: string | undefined;
|
|
1583
|
+
humanAmount?: string | undefined;
|
|
1552
1584
|
gasCondition?: {
|
|
1553
1585
|
maxGasPrice?: string | undefined;
|
|
1554
1586
|
maxPriorityFee?: string | undefined;
|
|
1555
1587
|
timeout?: number | undefined;
|
|
1556
1588
|
} | undefined;
|
|
1557
1589
|
}, {
|
|
1558
|
-
amount: string;
|
|
1559
1590
|
to: string;
|
|
1560
1591
|
network?: unknown;
|
|
1592
|
+
amount?: string | undefined;
|
|
1561
1593
|
memo?: string | undefined;
|
|
1594
|
+
humanAmount?: string | undefined;
|
|
1562
1595
|
gasCondition?: {
|
|
1563
1596
|
maxGasPrice?: string | undefined;
|
|
1564
1597
|
maxPriorityFee?: string | undefined;
|
|
@@ -1588,46 +1621,48 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1588
1621
|
}>>;
|
|
1589
1622
|
type: z.ZodLiteral<"TOKEN_TRANSFER">;
|
|
1590
1623
|
to: z.ZodString;
|
|
1591
|
-
amount: z.ZodString
|
|
1624
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
1625
|
+
humanAmount: z.ZodOptional<z.ZodString>;
|
|
1592
1626
|
token: z.ZodEffects<z.ZodObject<{
|
|
1593
|
-
address: z.ZodString
|
|
1594
|
-
decimals: z.ZodNumber
|
|
1595
|
-
symbol: z.ZodString
|
|
1627
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1628
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1629
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1596
1630
|
assetId: z.ZodOptional<z.ZodString>;
|
|
1597
1631
|
}, "strip", z.ZodTypeAny, {
|
|
1598
|
-
symbol
|
|
1599
|
-
address: string;
|
|
1600
|
-
decimals: number;
|
|
1632
|
+
symbol?: string | undefined;
|
|
1601
1633
|
assetId?: string | undefined;
|
|
1634
|
+
address?: string | undefined;
|
|
1635
|
+
decimals?: number | undefined;
|
|
1602
1636
|
}, {
|
|
1603
|
-
symbol
|
|
1604
|
-
address: string;
|
|
1605
|
-
decimals: number;
|
|
1637
|
+
symbol?: string | undefined;
|
|
1606
1638
|
assetId?: string | undefined;
|
|
1639
|
+
address?: string | undefined;
|
|
1640
|
+
decimals?: number | undefined;
|
|
1607
1641
|
}>, {
|
|
1608
|
-
symbol
|
|
1609
|
-
address: string;
|
|
1610
|
-
decimals: number;
|
|
1642
|
+
symbol?: string | undefined;
|
|
1611
1643
|
assetId?: string | undefined;
|
|
1644
|
+
address?: string | undefined;
|
|
1645
|
+
decimals?: number | undefined;
|
|
1612
1646
|
}, {
|
|
1613
|
-
symbol
|
|
1614
|
-
address: string;
|
|
1615
|
-
decimals: number;
|
|
1647
|
+
symbol?: string | undefined;
|
|
1616
1648
|
assetId?: string | undefined;
|
|
1649
|
+
address?: string | undefined;
|
|
1650
|
+
decimals?: number | undefined;
|
|
1617
1651
|
}>;
|
|
1618
1652
|
memo: z.ZodOptional<z.ZodString>;
|
|
1619
1653
|
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>>;
|
|
1620
1654
|
}, "type">, "strip", z.ZodTypeAny, {
|
|
1621
1655
|
token: {
|
|
1622
|
-
symbol
|
|
1623
|
-
address: string;
|
|
1624
|
-
decimals: number;
|
|
1656
|
+
symbol?: string | undefined;
|
|
1625
1657
|
assetId?: string | undefined;
|
|
1658
|
+
address?: string | undefined;
|
|
1659
|
+
decimals?: number | undefined;
|
|
1626
1660
|
};
|
|
1627
|
-
amount: string;
|
|
1628
1661
|
to: string;
|
|
1629
1662
|
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;
|
|
1663
|
+
amount?: string | undefined;
|
|
1630
1664
|
memo?: string | undefined;
|
|
1665
|
+
humanAmount?: string | undefined;
|
|
1631
1666
|
gasCondition?: {
|
|
1632
1667
|
maxGasPrice?: string | undefined;
|
|
1633
1668
|
maxPriorityFee?: string | undefined;
|
|
@@ -1635,15 +1670,16 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1635
1670
|
} | undefined;
|
|
1636
1671
|
}, {
|
|
1637
1672
|
token: {
|
|
1638
|
-
symbol
|
|
1639
|
-
address: string;
|
|
1640
|
-
decimals: number;
|
|
1673
|
+
symbol?: string | undefined;
|
|
1641
1674
|
assetId?: string | undefined;
|
|
1675
|
+
address?: string | undefined;
|
|
1676
|
+
decimals?: number | undefined;
|
|
1642
1677
|
};
|
|
1643
|
-
amount: string;
|
|
1644
1678
|
to: string;
|
|
1645
1679
|
network?: unknown;
|
|
1680
|
+
amount?: string | undefined;
|
|
1646
1681
|
memo?: string | undefined;
|
|
1682
|
+
humanAmount?: string | undefined;
|
|
1647
1683
|
gasCondition?: {
|
|
1648
1684
|
maxGasPrice?: string | undefined;
|
|
1649
1685
|
maxPriorityFee?: string | undefined;
|
|
@@ -1729,8 +1765,8 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1729
1765
|
actionName: z.ZodOptional<z.ZodString>;
|
|
1730
1766
|
}, "type">, "strip", z.ZodTypeAny, {
|
|
1731
1767
|
to: string;
|
|
1732
|
-
value?: string | undefined;
|
|
1733
1768
|
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;
|
|
1769
|
+
value?: string | undefined;
|
|
1734
1770
|
gasCondition?: {
|
|
1735
1771
|
maxGasPrice?: string | undefined;
|
|
1736
1772
|
maxPriorityFee?: string | undefined;
|
|
@@ -1758,8 +1794,8 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1758
1794
|
actionName?: string | undefined;
|
|
1759
1795
|
}, {
|
|
1760
1796
|
to: string;
|
|
1761
|
-
value?: string | undefined;
|
|
1762
1797
|
network?: unknown;
|
|
1798
|
+
value?: string | undefined;
|
|
1763
1799
|
gasCondition?: {
|
|
1764
1800
|
maxGasPrice?: string | undefined;
|
|
1765
1801
|
maxPriorityFee?: string | undefined;
|
|
@@ -1810,32 +1846,33 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1810
1846
|
type: z.ZodLiteral<"APPROVE">;
|
|
1811
1847
|
spender: z.ZodString;
|
|
1812
1848
|
token: z.ZodEffects<z.ZodObject<{
|
|
1813
|
-
address: z.ZodString
|
|
1814
|
-
decimals: z.ZodNumber
|
|
1815
|
-
symbol: z.ZodString
|
|
1849
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1850
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1851
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1816
1852
|
assetId: z.ZodOptional<z.ZodString>;
|
|
1817
1853
|
}, "strip", z.ZodTypeAny, {
|
|
1818
|
-
symbol
|
|
1819
|
-
address: string;
|
|
1820
|
-
decimals: number;
|
|
1854
|
+
symbol?: string | undefined;
|
|
1821
1855
|
assetId?: string | undefined;
|
|
1856
|
+
address?: string | undefined;
|
|
1857
|
+
decimals?: number | undefined;
|
|
1822
1858
|
}, {
|
|
1823
|
-
symbol
|
|
1824
|
-
address: string;
|
|
1825
|
-
decimals: number;
|
|
1859
|
+
symbol?: string | undefined;
|
|
1826
1860
|
assetId?: string | undefined;
|
|
1861
|
+
address?: string | undefined;
|
|
1862
|
+
decimals?: number | undefined;
|
|
1827
1863
|
}>, {
|
|
1828
|
-
symbol
|
|
1829
|
-
address: string;
|
|
1830
|
-
decimals: number;
|
|
1864
|
+
symbol?: string | undefined;
|
|
1831
1865
|
assetId?: string | undefined;
|
|
1866
|
+
address?: string | undefined;
|
|
1867
|
+
decimals?: number | undefined;
|
|
1832
1868
|
}, {
|
|
1833
|
-
symbol
|
|
1834
|
-
address: string;
|
|
1835
|
-
decimals: number;
|
|
1869
|
+
symbol?: string | undefined;
|
|
1836
1870
|
assetId?: string | undefined;
|
|
1871
|
+
address?: string | undefined;
|
|
1872
|
+
decimals?: number | undefined;
|
|
1837
1873
|
}>;
|
|
1838
|
-
amount: z.ZodString
|
|
1874
|
+
amount: z.ZodOptional<z.ZodString>;
|
|
1875
|
+
humanAmount: z.ZodOptional<z.ZodString>;
|
|
1839
1876
|
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>>;
|
|
1840
1877
|
nft: z.ZodOptional<z.ZodObject<{
|
|
1841
1878
|
tokenId: z.ZodString;
|
|
@@ -1849,14 +1886,15 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1849
1886
|
}>>;
|
|
1850
1887
|
}, "type">, "strip", z.ZodTypeAny, {
|
|
1851
1888
|
token: {
|
|
1852
|
-
symbol
|
|
1853
|
-
address: string;
|
|
1854
|
-
decimals: number;
|
|
1889
|
+
symbol?: string | undefined;
|
|
1855
1890
|
assetId?: string | undefined;
|
|
1891
|
+
address?: string | undefined;
|
|
1892
|
+
decimals?: number | undefined;
|
|
1856
1893
|
};
|
|
1857
|
-
amount: string;
|
|
1858
1894
|
spender: string;
|
|
1859
1895
|
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;
|
|
1896
|
+
amount?: string | undefined;
|
|
1897
|
+
humanAmount?: string | undefined;
|
|
1860
1898
|
gasCondition?: {
|
|
1861
1899
|
maxGasPrice?: string | undefined;
|
|
1862
1900
|
maxPriorityFee?: string | undefined;
|
|
@@ -1868,14 +1906,15 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1868
1906
|
} | undefined;
|
|
1869
1907
|
}, {
|
|
1870
1908
|
token: {
|
|
1871
|
-
symbol
|
|
1872
|
-
address: string;
|
|
1873
|
-
decimals: number;
|
|
1909
|
+
symbol?: string | undefined;
|
|
1874
1910
|
assetId?: string | undefined;
|
|
1911
|
+
address?: string | undefined;
|
|
1912
|
+
decimals?: number | undefined;
|
|
1875
1913
|
};
|
|
1876
|
-
amount: string;
|
|
1877
1914
|
spender: string;
|
|
1878
1915
|
network?: unknown;
|
|
1916
|
+
amount?: string | undefined;
|
|
1917
|
+
humanAmount?: string | undefined;
|
|
1879
1918
|
gasCondition?: {
|
|
1880
1919
|
maxGasPrice?: string | undefined;
|
|
1881
1920
|
maxPriorityFee?: string | undefined;
|
|
@@ -1890,10 +1929,11 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1890
1929
|
}, "strip", z.ZodTypeAny, {
|
|
1891
1930
|
type: "BATCH";
|
|
1892
1931
|
instructions: ({
|
|
1893
|
-
amount: string;
|
|
1894
1932
|
to: string;
|
|
1895
1933
|
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;
|
|
1934
|
+
amount?: string | undefined;
|
|
1896
1935
|
memo?: string | undefined;
|
|
1936
|
+
humanAmount?: string | undefined;
|
|
1897
1937
|
gasCondition?: {
|
|
1898
1938
|
maxGasPrice?: string | undefined;
|
|
1899
1939
|
maxPriorityFee?: string | undefined;
|
|
@@ -1901,15 +1941,16 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1901
1941
|
} | undefined;
|
|
1902
1942
|
} | {
|
|
1903
1943
|
token: {
|
|
1904
|
-
symbol
|
|
1905
|
-
address: string;
|
|
1906
|
-
decimals: number;
|
|
1944
|
+
symbol?: string | undefined;
|
|
1907
1945
|
assetId?: string | undefined;
|
|
1946
|
+
address?: string | undefined;
|
|
1947
|
+
decimals?: number | undefined;
|
|
1908
1948
|
};
|
|
1909
|
-
amount: string;
|
|
1910
1949
|
to: string;
|
|
1911
1950
|
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;
|
|
1951
|
+
amount?: string | undefined;
|
|
1912
1952
|
memo?: string | undefined;
|
|
1953
|
+
humanAmount?: string | undefined;
|
|
1913
1954
|
gasCondition?: {
|
|
1914
1955
|
maxGasPrice?: string | undefined;
|
|
1915
1956
|
maxPriorityFee?: string | undefined;
|
|
@@ -1917,8 +1958,8 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1917
1958
|
} | undefined;
|
|
1918
1959
|
} | {
|
|
1919
1960
|
to: string;
|
|
1920
|
-
value?: string | undefined;
|
|
1921
1961
|
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;
|
|
1962
|
+
value?: string | undefined;
|
|
1922
1963
|
gasCondition?: {
|
|
1923
1964
|
maxGasPrice?: string | undefined;
|
|
1924
1965
|
maxPriorityFee?: string | undefined;
|
|
@@ -1946,14 +1987,15 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1946
1987
|
actionName?: string | undefined;
|
|
1947
1988
|
} | {
|
|
1948
1989
|
token: {
|
|
1949
|
-
symbol
|
|
1950
|
-
address: string;
|
|
1951
|
-
decimals: number;
|
|
1990
|
+
symbol?: string | undefined;
|
|
1952
1991
|
assetId?: string | undefined;
|
|
1992
|
+
address?: string | undefined;
|
|
1993
|
+
decimals?: number | undefined;
|
|
1953
1994
|
};
|
|
1954
|
-
amount: string;
|
|
1955
1995
|
spender: string;
|
|
1956
1996
|
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;
|
|
1997
|
+
amount?: string | undefined;
|
|
1998
|
+
humanAmount?: string | undefined;
|
|
1957
1999
|
gasCondition?: {
|
|
1958
2000
|
maxGasPrice?: string | undefined;
|
|
1959
2001
|
maxPriorityFee?: string | undefined;
|
|
@@ -1973,10 +2015,11 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1973
2015
|
}, {
|
|
1974
2016
|
type: "BATCH";
|
|
1975
2017
|
instructions: ({
|
|
1976
|
-
amount: string;
|
|
1977
2018
|
to: string;
|
|
1978
2019
|
network?: unknown;
|
|
2020
|
+
amount?: string | undefined;
|
|
1979
2021
|
memo?: string | undefined;
|
|
2022
|
+
humanAmount?: string | undefined;
|
|
1980
2023
|
gasCondition?: {
|
|
1981
2024
|
maxGasPrice?: string | undefined;
|
|
1982
2025
|
maxPriorityFee?: string | undefined;
|
|
@@ -1984,15 +2027,16 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1984
2027
|
} | undefined;
|
|
1985
2028
|
} | {
|
|
1986
2029
|
token: {
|
|
1987
|
-
symbol
|
|
1988
|
-
address: string;
|
|
1989
|
-
decimals: number;
|
|
2030
|
+
symbol?: string | undefined;
|
|
1990
2031
|
assetId?: string | undefined;
|
|
2032
|
+
address?: string | undefined;
|
|
2033
|
+
decimals?: number | undefined;
|
|
1991
2034
|
};
|
|
1992
|
-
amount: string;
|
|
1993
2035
|
to: string;
|
|
1994
2036
|
network?: unknown;
|
|
2037
|
+
amount?: string | undefined;
|
|
1995
2038
|
memo?: string | undefined;
|
|
2039
|
+
humanAmount?: string | undefined;
|
|
1996
2040
|
gasCondition?: {
|
|
1997
2041
|
maxGasPrice?: string | undefined;
|
|
1998
2042
|
maxPriorityFee?: string | undefined;
|
|
@@ -2000,8 +2044,8 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
2000
2044
|
} | undefined;
|
|
2001
2045
|
} | {
|
|
2002
2046
|
to: string;
|
|
2003
|
-
value?: string | undefined;
|
|
2004
2047
|
network?: unknown;
|
|
2048
|
+
value?: string | undefined;
|
|
2005
2049
|
gasCondition?: {
|
|
2006
2050
|
maxGasPrice?: string | undefined;
|
|
2007
2051
|
maxPriorityFee?: string | undefined;
|
|
@@ -2029,14 +2073,15 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
2029
2073
|
actionName?: string | undefined;
|
|
2030
2074
|
} | {
|
|
2031
2075
|
token: {
|
|
2032
|
-
symbol
|
|
2033
|
-
address: string;
|
|
2034
|
-
decimals: number;
|
|
2076
|
+
symbol?: string | undefined;
|
|
2035
2077
|
assetId?: string | undefined;
|
|
2078
|
+
address?: string | undefined;
|
|
2079
|
+
decimals?: number | undefined;
|
|
2036
2080
|
};
|
|
2037
|
-
amount: string;
|
|
2038
2081
|
spender: string;
|
|
2039
2082
|
network?: unknown;
|
|
2083
|
+
amount?: string | undefined;
|
|
2084
|
+
humanAmount?: string | undefined;
|
|
2040
2085
|
gasCondition?: {
|
|
2041
2086
|
maxGasPrice?: string | undefined;
|
|
2042
2087
|
maxPriorityFee?: string | undefined;
|
|
@@ -2083,6 +2128,8 @@ export declare const WalletAssetsResponseSchema: z.ZodObject<{
|
|
|
2083
2128
|
isNative: z.ZodBoolean;
|
|
2084
2129
|
usdValue: z.ZodOptional<z.ZodNumber>;
|
|
2085
2130
|
displayValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2131
|
+
balanceFormatted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2132
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
2086
2133
|
}, "strip", z.ZodTypeAny, {
|
|
2087
2134
|
symbol: string;
|
|
2088
2135
|
name: string;
|
|
@@ -2090,6 +2137,8 @@ export declare const WalletAssetsResponseSchema: z.ZodObject<{
|
|
|
2090
2137
|
balance: string;
|
|
2091
2138
|
mint: string;
|
|
2092
2139
|
isNative: boolean;
|
|
2140
|
+
assetId?: string | undefined;
|
|
2141
|
+
balanceFormatted?: string | null | undefined;
|
|
2093
2142
|
usdValue?: number | undefined;
|
|
2094
2143
|
displayValue?: string | null | undefined;
|
|
2095
2144
|
}, {
|
|
@@ -2099,10 +2148,13 @@ export declare const WalletAssetsResponseSchema: z.ZodObject<{
|
|
|
2099
2148
|
balance: string;
|
|
2100
2149
|
mint: string;
|
|
2101
2150
|
isNative: boolean;
|
|
2151
|
+
assetId?: string | undefined;
|
|
2152
|
+
balanceFormatted?: string | null | undefined;
|
|
2102
2153
|
usdValue?: number | undefined;
|
|
2103
2154
|
displayValue?: string | null | undefined;
|
|
2104
2155
|
}>, "many">;
|
|
2105
2156
|
displayCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2157
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
2106
2158
|
}, "strip", z.ZodTypeAny, {
|
|
2107
2159
|
chain: string;
|
|
2108
2160
|
walletId: string;
|
|
@@ -2114,9 +2166,12 @@ export declare const WalletAssetsResponseSchema: z.ZodObject<{
|
|
|
2114
2166
|
balance: string;
|
|
2115
2167
|
mint: string;
|
|
2116
2168
|
isNative: boolean;
|
|
2169
|
+
assetId?: string | undefined;
|
|
2170
|
+
balanceFormatted?: string | null | undefined;
|
|
2117
2171
|
usdValue?: number | undefined;
|
|
2118
2172
|
displayValue?: string | null | undefined;
|
|
2119
2173
|
}[];
|
|
2174
|
+
chainId?: string | undefined;
|
|
2120
2175
|
displayCurrency?: string | null | undefined;
|
|
2121
2176
|
}, {
|
|
2122
2177
|
chain: string;
|
|
@@ -2129,9 +2184,12 @@ export declare const WalletAssetsResponseSchema: z.ZodObject<{
|
|
|
2129
2184
|
balance: string;
|
|
2130
2185
|
mint: string;
|
|
2131
2186
|
isNative: boolean;
|
|
2187
|
+
assetId?: string | undefined;
|
|
2188
|
+
balanceFormatted?: string | null | undefined;
|
|
2132
2189
|
usdValue?: number | undefined;
|
|
2133
2190
|
displayValue?: string | null | undefined;
|
|
2134
2191
|
}[];
|
|
2192
|
+
chainId?: string | undefined;
|
|
2135
2193
|
displayCurrency?: string | null | undefined;
|
|
2136
2194
|
}>;
|
|
2137
2195
|
export declare const TxListResponseSchema: z.ZodObject<{
|
|
@@ -2151,6 +2209,10 @@ export declare const TxListResponseSchema: z.ZodObject<{
|
|
|
2151
2209
|
displayAmount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2152
2210
|
displayCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2153
2211
|
atomic: z.ZodOptional<z.ZodBoolean>;
|
|
2212
|
+
amountFormatted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2213
|
+
amountDecimals: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2214
|
+
amountSymbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2215
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
2154
2216
|
}, "strip", z.ZodTypeAny, {
|
|
2155
2217
|
id: string;
|
|
2156
2218
|
chain: string;
|
|
@@ -2164,9 +2226,13 @@ export declare const TxListResponseSchema: z.ZodObject<{
|
|
|
2164
2226
|
tier: string | null;
|
|
2165
2227
|
error: string | null;
|
|
2166
2228
|
network: string | null;
|
|
2229
|
+
chainId?: string | undefined;
|
|
2167
2230
|
displayCurrency?: string | null | undefined;
|
|
2168
2231
|
displayAmount?: string | null | undefined;
|
|
2169
2232
|
atomic?: boolean | undefined;
|
|
2233
|
+
amountFormatted?: string | null | undefined;
|
|
2234
|
+
amountDecimals?: number | null | undefined;
|
|
2235
|
+
amountSymbol?: string | null | undefined;
|
|
2170
2236
|
}, {
|
|
2171
2237
|
id: string;
|
|
2172
2238
|
chain: string;
|
|
@@ -2180,9 +2246,13 @@ export declare const TxListResponseSchema: z.ZodObject<{
|
|
|
2180
2246
|
tier: string | null;
|
|
2181
2247
|
error: string | null;
|
|
2182
2248
|
network: string | null;
|
|
2249
|
+
chainId?: string | undefined;
|
|
2183
2250
|
displayCurrency?: string | null | undefined;
|
|
2184
2251
|
displayAmount?: string | null | undefined;
|
|
2185
2252
|
atomic?: boolean | undefined;
|
|
2253
|
+
amountFormatted?: string | null | undefined;
|
|
2254
|
+
amountDecimals?: number | null | undefined;
|
|
2255
|
+
amountSymbol?: string | null | undefined;
|
|
2186
2256
|
}>, "many">;
|
|
2187
2257
|
cursor: z.ZodNullable<z.ZodString>;
|
|
2188
2258
|
hasMore: z.ZodBoolean;
|
|
@@ -2200,9 +2270,13 @@ export declare const TxListResponseSchema: z.ZodObject<{
|
|
|
2200
2270
|
tier: string | null;
|
|
2201
2271
|
error: string | null;
|
|
2202
2272
|
network: string | null;
|
|
2273
|
+
chainId?: string | undefined;
|
|
2203
2274
|
displayCurrency?: string | null | undefined;
|
|
2204
2275
|
displayAmount?: string | null | undefined;
|
|
2205
2276
|
atomic?: boolean | undefined;
|
|
2277
|
+
amountFormatted?: string | null | undefined;
|
|
2278
|
+
amountDecimals?: number | null | undefined;
|
|
2279
|
+
amountSymbol?: string | null | undefined;
|
|
2206
2280
|
}[];
|
|
2207
2281
|
cursor: string | null;
|
|
2208
2282
|
hasMore: boolean;
|
|
@@ -2220,9 +2294,13 @@ export declare const TxListResponseSchema: z.ZodObject<{
|
|
|
2220
2294
|
tier: string | null;
|
|
2221
2295
|
error: string | null;
|
|
2222
2296
|
network: string | null;
|
|
2297
|
+
chainId?: string | undefined;
|
|
2223
2298
|
displayCurrency?: string | null | undefined;
|
|
2224
2299
|
displayAmount?: string | null | undefined;
|
|
2225
2300
|
atomic?: boolean | undefined;
|
|
2301
|
+
amountFormatted?: string | null | undefined;
|
|
2302
|
+
amountDecimals?: number | null | undefined;
|
|
2303
|
+
amountSymbol?: string | null | undefined;
|
|
2226
2304
|
}[];
|
|
2227
2305
|
cursor: string | null;
|
|
2228
2306
|
hasMore: boolean;
|
|
@@ -2244,6 +2322,10 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
|
|
|
2244
2322
|
displayAmount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2245
2323
|
displayCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2246
2324
|
atomic: z.ZodOptional<z.ZodBoolean>;
|
|
2325
|
+
amountFormatted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2326
|
+
amountDecimals: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2327
|
+
amountSymbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2328
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
2247
2329
|
}, "strip", z.ZodTypeAny, {
|
|
2248
2330
|
id: string;
|
|
2249
2331
|
chain: string;
|
|
@@ -2257,9 +2339,13 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
|
|
|
2257
2339
|
tier: string | null;
|
|
2258
2340
|
error: string | null;
|
|
2259
2341
|
network: string | null;
|
|
2342
|
+
chainId?: string | undefined;
|
|
2260
2343
|
displayCurrency?: string | null | undefined;
|
|
2261
2344
|
displayAmount?: string | null | undefined;
|
|
2262
2345
|
atomic?: boolean | undefined;
|
|
2346
|
+
amountFormatted?: string | null | undefined;
|
|
2347
|
+
amountDecimals?: number | null | undefined;
|
|
2348
|
+
amountSymbol?: string | null | undefined;
|
|
2263
2349
|
}, {
|
|
2264
2350
|
id: string;
|
|
2265
2351
|
chain: string;
|
|
@@ -2273,9 +2359,13 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
|
|
|
2273
2359
|
tier: string | null;
|
|
2274
2360
|
error: string | null;
|
|
2275
2361
|
network: string | null;
|
|
2362
|
+
chainId?: string | undefined;
|
|
2276
2363
|
displayCurrency?: string | null | undefined;
|
|
2277
2364
|
displayAmount?: string | null | undefined;
|
|
2278
2365
|
atomic?: boolean | undefined;
|
|
2366
|
+
amountFormatted?: string | null | undefined;
|
|
2367
|
+
amountDecimals?: number | null | undefined;
|
|
2368
|
+
amountSymbol?: string | null | undefined;
|
|
2279
2369
|
}>, "many">;
|
|
2280
2370
|
}, "strip", z.ZodTypeAny, {
|
|
2281
2371
|
items: {
|
|
@@ -2291,9 +2381,13 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
|
|
|
2291
2381
|
tier: string | null;
|
|
2292
2382
|
error: string | null;
|
|
2293
2383
|
network: string | null;
|
|
2384
|
+
chainId?: string | undefined;
|
|
2294
2385
|
displayCurrency?: string | null | undefined;
|
|
2295
2386
|
displayAmount?: string | null | undefined;
|
|
2296
2387
|
atomic?: boolean | undefined;
|
|
2388
|
+
amountFormatted?: string | null | undefined;
|
|
2389
|
+
amountDecimals?: number | null | undefined;
|
|
2390
|
+
amountSymbol?: string | null | undefined;
|
|
2297
2391
|
}[];
|
|
2298
2392
|
}, {
|
|
2299
2393
|
items: {
|
|
@@ -2309,9 +2403,13 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
|
|
|
2309
2403
|
tier: string | null;
|
|
2310
2404
|
error: string | null;
|
|
2311
2405
|
network: string | null;
|
|
2406
|
+
chainId?: string | undefined;
|
|
2312
2407
|
displayCurrency?: string | null | undefined;
|
|
2313
2408
|
displayAmount?: string | null | undefined;
|
|
2314
2409
|
atomic?: boolean | undefined;
|
|
2410
|
+
amountFormatted?: string | null | undefined;
|
|
2411
|
+
amountDecimals?: number | null | undefined;
|
|
2412
|
+
amountSymbol?: string | null | undefined;
|
|
2315
2413
|
}[];
|
|
2316
2414
|
}>;
|
|
2317
2415
|
export declare const NonceResponseSchema: z.ZodObject<{
|
|
@@ -3149,6 +3247,7 @@ export declare const TokenRegistryItemSchema: z.ZodObject<{
|
|
|
3149
3247
|
decimals: z.ZodNumber;
|
|
3150
3248
|
source: z.ZodEnum<["builtin", "custom"]>;
|
|
3151
3249
|
assetId: z.ZodNullable<z.ZodString>;
|
|
3250
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
3152
3251
|
}, "strip", z.ZodTypeAny, {
|
|
3153
3252
|
symbol: string;
|
|
3154
3253
|
name: string;
|
|
@@ -3156,6 +3255,7 @@ export declare const TokenRegistryItemSchema: z.ZodObject<{
|
|
|
3156
3255
|
address: string;
|
|
3157
3256
|
decimals: number;
|
|
3158
3257
|
assetId: string | null;
|
|
3258
|
+
chainId?: string | undefined;
|
|
3159
3259
|
}, {
|
|
3160
3260
|
symbol: string;
|
|
3161
3261
|
name: string;
|
|
@@ -3163,6 +3263,7 @@ export declare const TokenRegistryItemSchema: z.ZodObject<{
|
|
|
3163
3263
|
address: string;
|
|
3164
3264
|
decimals: number;
|
|
3165
3265
|
assetId: string | null;
|
|
3266
|
+
chainId?: string | undefined;
|
|
3166
3267
|
}>;
|
|
3167
3268
|
export declare const TokenRegistryListResponseSchema: z.ZodObject<{
|
|
3168
3269
|
network: z.ZodString;
|
|
@@ -3173,6 +3274,7 @@ export declare const TokenRegistryListResponseSchema: z.ZodObject<{
|
|
|
3173
3274
|
decimals: z.ZodNumber;
|
|
3174
3275
|
source: z.ZodEnum<["builtin", "custom"]>;
|
|
3175
3276
|
assetId: z.ZodNullable<z.ZodString>;
|
|
3277
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
3176
3278
|
}, "strip", z.ZodTypeAny, {
|
|
3177
3279
|
symbol: string;
|
|
3178
3280
|
name: string;
|
|
@@ -3180,6 +3282,7 @@ export declare const TokenRegistryListResponseSchema: z.ZodObject<{
|
|
|
3180
3282
|
address: string;
|
|
3181
3283
|
decimals: number;
|
|
3182
3284
|
assetId: string | null;
|
|
3285
|
+
chainId?: string | undefined;
|
|
3183
3286
|
}, {
|
|
3184
3287
|
symbol: string;
|
|
3185
3288
|
name: string;
|
|
@@ -3187,6 +3290,7 @@ export declare const TokenRegistryListResponseSchema: z.ZodObject<{
|
|
|
3187
3290
|
address: string;
|
|
3188
3291
|
decimals: number;
|
|
3189
3292
|
assetId: string | null;
|
|
3293
|
+
chainId?: string | undefined;
|
|
3190
3294
|
}>, "many">;
|
|
3191
3295
|
}, "strip", z.ZodTypeAny, {
|
|
3192
3296
|
network: string;
|
|
@@ -3197,6 +3301,7 @@ export declare const TokenRegistryListResponseSchema: z.ZodObject<{
|
|
|
3197
3301
|
address: string;
|
|
3198
3302
|
decimals: number;
|
|
3199
3303
|
assetId: string | null;
|
|
3304
|
+
chainId?: string | undefined;
|
|
3200
3305
|
}[];
|
|
3201
3306
|
}, {
|
|
3202
3307
|
network: string;
|
|
@@ -3207,6 +3312,7 @@ export declare const TokenRegistryListResponseSchema: z.ZodObject<{
|
|
|
3207
3312
|
address: string;
|
|
3208
3313
|
decimals: number;
|
|
3209
3314
|
assetId: string | null;
|
|
3315
|
+
chainId?: string | undefined;
|
|
3210
3316
|
}[];
|
|
3211
3317
|
}>;
|
|
3212
3318
|
export declare const AddTokenRequestSchema: z.ZodObject<{
|
|
@@ -3520,15 +3626,15 @@ export declare const TxSignResponseSchema: z.ZodObject<{
|
|
|
3520
3626
|
amount?: string | null | undefined;
|
|
3521
3627
|
method?: string | null | undefined;
|
|
3522
3628
|
to?: string | null | undefined;
|
|
3523
|
-
token?: string | null | undefined;
|
|
3524
3629
|
programId?: string | null | undefined;
|
|
3630
|
+
token?: string | null | undefined;
|
|
3525
3631
|
}, {
|
|
3526
3632
|
type: string;
|
|
3527
3633
|
amount?: string | null | undefined;
|
|
3528
3634
|
method?: string | null | undefined;
|
|
3529
3635
|
to?: string | null | undefined;
|
|
3530
|
-
token?: string | null | undefined;
|
|
3531
3636
|
programId?: string | null | undefined;
|
|
3637
|
+
token?: string | null | undefined;
|
|
3532
3638
|
}>, "many">;
|
|
3533
3639
|
policyResult: z.ZodObject<{
|
|
3534
3640
|
tier: z.ZodString;
|
|
@@ -3546,8 +3652,8 @@ export declare const TxSignResponseSchema: z.ZodObject<{
|
|
|
3546
3652
|
amount?: string | null | undefined;
|
|
3547
3653
|
method?: string | null | undefined;
|
|
3548
3654
|
to?: string | null | undefined;
|
|
3549
|
-
token?: string | null | undefined;
|
|
3550
3655
|
programId?: string | null | undefined;
|
|
3656
|
+
token?: string | null | undefined;
|
|
3551
3657
|
}[];
|
|
3552
3658
|
policyResult: {
|
|
3553
3659
|
tier: string;
|
|
@@ -3561,8 +3667,8 @@ export declare const TxSignResponseSchema: z.ZodObject<{
|
|
|
3561
3667
|
amount?: string | null | undefined;
|
|
3562
3668
|
method?: string | null | undefined;
|
|
3563
3669
|
to?: string | null | undefined;
|
|
3564
|
-
token?: string | null | undefined;
|
|
3565
3670
|
programId?: string | null | undefined;
|
|
3671
|
+
token?: string | null | undefined;
|
|
3566
3672
|
}[];
|
|
3567
3673
|
policyResult: {
|
|
3568
3674
|
tier: string;
|
|
@@ -4304,6 +4410,17 @@ export declare const ConnectInfoResponseSchema: z.ZodObject<{
|
|
|
4304
4410
|
version: string;
|
|
4305
4411
|
baseUrl: string;
|
|
4306
4412
|
}>;
|
|
4413
|
+
rpcProxy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4414
|
+
enabled: z.ZodBoolean;
|
|
4415
|
+
baseUrl: z.ZodString;
|
|
4416
|
+
}, "strip", z.ZodTypeAny, {
|
|
4417
|
+
enabled: boolean;
|
|
4418
|
+
baseUrl: string;
|
|
4419
|
+
}, {
|
|
4420
|
+
enabled: boolean;
|
|
4421
|
+
baseUrl: string;
|
|
4422
|
+
}>>>;
|
|
4423
|
+
supportedChainIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4307
4424
|
prompt: z.ZodString;
|
|
4308
4425
|
}, "strip", z.ZodTypeAny, {
|
|
4309
4426
|
wallets: {
|
|
@@ -4344,6 +4461,11 @@ export declare const ConnectInfoResponseSchema: z.ZodObject<{
|
|
|
4344
4461
|
tokenApprovals: boolean;
|
|
4345
4462
|
x402Domains: boolean;
|
|
4346
4463
|
};
|
|
4464
|
+
rpcProxy?: {
|
|
4465
|
+
enabled: boolean;
|
|
4466
|
+
baseUrl: string;
|
|
4467
|
+
} | null | undefined;
|
|
4468
|
+
supportedChainIds?: string[] | undefined;
|
|
4347
4469
|
}, {
|
|
4348
4470
|
wallets: {
|
|
4349
4471
|
id: string;
|
|
@@ -4383,6 +4505,11 @@ export declare const ConnectInfoResponseSchema: z.ZodObject<{
|
|
|
4383
4505
|
tokenApprovals: boolean;
|
|
4384
4506
|
x402Domains: boolean;
|
|
4385
4507
|
};
|
|
4508
|
+
rpcProxy?: {
|
|
4509
|
+
enabled: boolean;
|
|
4510
|
+
baseUrl: string;
|
|
4511
|
+
} | null | undefined;
|
|
4512
|
+
supportedChainIds?: string[] | undefined;
|
|
4386
4513
|
}>;
|
|
4387
4514
|
export declare const IncomingTxItemSchema: z.ZodObject<{
|
|
4388
4515
|
id: z.ZodString;
|
|
@@ -4398,6 +4525,8 @@ export declare const IncomingTxItemSchema: z.ZodObject<{
|
|
|
4398
4525
|
detectedAt: z.ZodNumber;
|
|
4399
4526
|
confirmedAt: z.ZodNullable<z.ZodNumber>;
|
|
4400
4527
|
suspicious: z.ZodBoolean;
|
|
4528
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
4529
|
+
assetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4401
4530
|
}, "strip", z.ZodTypeAny, {
|
|
4402
4531
|
id: string;
|
|
4403
4532
|
chain: string;
|
|
@@ -4412,6 +4541,8 @@ export declare const IncomingTxItemSchema: z.ZodObject<{
|
|
|
4412
4541
|
detectedAt: number;
|
|
4413
4542
|
confirmedAt: number | null;
|
|
4414
4543
|
suspicious: boolean;
|
|
4544
|
+
assetId?: string | null | undefined;
|
|
4545
|
+
chainId?: string | undefined;
|
|
4415
4546
|
}, {
|
|
4416
4547
|
id: string;
|
|
4417
4548
|
chain: string;
|
|
@@ -4426,6 +4557,8 @@ export declare const IncomingTxItemSchema: z.ZodObject<{
|
|
|
4426
4557
|
detectedAt: number;
|
|
4427
4558
|
confirmedAt: number | null;
|
|
4428
4559
|
suspicious: boolean;
|
|
4560
|
+
assetId?: string | null | undefined;
|
|
4561
|
+
chainId?: string | undefined;
|
|
4429
4562
|
}>;
|
|
4430
4563
|
export declare const IncomingTxListResponseSchema: z.ZodObject<{
|
|
4431
4564
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -4442,6 +4575,8 @@ export declare const IncomingTxListResponseSchema: z.ZodObject<{
|
|
|
4442
4575
|
detectedAt: z.ZodNumber;
|
|
4443
4576
|
confirmedAt: z.ZodNullable<z.ZodNumber>;
|
|
4444
4577
|
suspicious: z.ZodBoolean;
|
|
4578
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
4579
|
+
assetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4445
4580
|
}, "strip", z.ZodTypeAny, {
|
|
4446
4581
|
id: string;
|
|
4447
4582
|
chain: string;
|
|
@@ -4456,6 +4591,8 @@ export declare const IncomingTxListResponseSchema: z.ZodObject<{
|
|
|
4456
4591
|
detectedAt: number;
|
|
4457
4592
|
confirmedAt: number | null;
|
|
4458
4593
|
suspicious: boolean;
|
|
4594
|
+
assetId?: string | null | undefined;
|
|
4595
|
+
chainId?: string | undefined;
|
|
4459
4596
|
}, {
|
|
4460
4597
|
id: string;
|
|
4461
4598
|
chain: string;
|
|
@@ -4470,6 +4607,8 @@ export declare const IncomingTxListResponseSchema: z.ZodObject<{
|
|
|
4470
4607
|
detectedAt: number;
|
|
4471
4608
|
confirmedAt: number | null;
|
|
4472
4609
|
suspicious: boolean;
|
|
4610
|
+
assetId?: string | null | undefined;
|
|
4611
|
+
chainId?: string | undefined;
|
|
4473
4612
|
}>, "many">;
|
|
4474
4613
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
4475
4614
|
hasMore: z.ZodBoolean;
|
|
@@ -4488,6 +4627,8 @@ export declare const IncomingTxListResponseSchema: z.ZodObject<{
|
|
|
4488
4627
|
detectedAt: number;
|
|
4489
4628
|
confirmedAt: number | null;
|
|
4490
4629
|
suspicious: boolean;
|
|
4630
|
+
assetId?: string | null | undefined;
|
|
4631
|
+
chainId?: string | undefined;
|
|
4491
4632
|
}[];
|
|
4492
4633
|
hasMore: boolean;
|
|
4493
4634
|
nextCursor: string | null;
|
|
@@ -4506,6 +4647,8 @@ export declare const IncomingTxListResponseSchema: z.ZodObject<{
|
|
|
4506
4647
|
detectedAt: number;
|
|
4507
4648
|
confirmedAt: number | null;
|
|
4508
4649
|
suspicious: boolean;
|
|
4650
|
+
assetId?: string | null | undefined;
|
|
4651
|
+
chainId?: string | undefined;
|
|
4509
4652
|
}[];
|
|
4510
4653
|
hasMore: boolean;
|
|
4511
4654
|
nextCursor: string | null;
|
|
@@ -4606,6 +4749,8 @@ export declare const StakingPositionSchema: z.ZodObject<{
|
|
|
4606
4749
|
amount: string;
|
|
4607
4750
|
requestedAt: number | null;
|
|
4608
4751
|
}>>;
|
|
4752
|
+
network: z.ZodOptional<z.ZodString>;
|
|
4753
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
4609
4754
|
}, "strip", z.ZodTypeAny, {
|
|
4610
4755
|
chain: "solana" | "ethereum";
|
|
4611
4756
|
balance: string;
|
|
@@ -4618,6 +4763,8 @@ export declare const StakingPositionSchema: z.ZodObject<{
|
|
|
4618
4763
|
amount: string;
|
|
4619
4764
|
requestedAt: number | null;
|
|
4620
4765
|
} | null;
|
|
4766
|
+
network?: string | undefined;
|
|
4767
|
+
chainId?: string | undefined;
|
|
4621
4768
|
}, {
|
|
4622
4769
|
chain: "solana" | "ethereum";
|
|
4623
4770
|
balance: string;
|
|
@@ -4630,6 +4777,8 @@ export declare const StakingPositionSchema: z.ZodObject<{
|
|
|
4630
4777
|
amount: string;
|
|
4631
4778
|
requestedAt: number | null;
|
|
4632
4779
|
} | null;
|
|
4780
|
+
network?: string | undefined;
|
|
4781
|
+
chainId?: string | undefined;
|
|
4633
4782
|
}>;
|
|
4634
4783
|
export declare const StakingPositionsResponseSchema: z.ZodObject<{
|
|
4635
4784
|
walletId: z.ZodString;
|
|
@@ -4653,6 +4802,8 @@ export declare const StakingPositionsResponseSchema: z.ZodObject<{
|
|
|
4653
4802
|
amount: string;
|
|
4654
4803
|
requestedAt: number | null;
|
|
4655
4804
|
}>>;
|
|
4805
|
+
network: z.ZodOptional<z.ZodString>;
|
|
4806
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
4656
4807
|
}, "strip", z.ZodTypeAny, {
|
|
4657
4808
|
chain: "solana" | "ethereum";
|
|
4658
4809
|
balance: string;
|
|
@@ -4665,6 +4816,8 @@ export declare const StakingPositionsResponseSchema: z.ZodObject<{
|
|
|
4665
4816
|
amount: string;
|
|
4666
4817
|
requestedAt: number | null;
|
|
4667
4818
|
} | null;
|
|
4819
|
+
network?: string | undefined;
|
|
4820
|
+
chainId?: string | undefined;
|
|
4668
4821
|
}, {
|
|
4669
4822
|
chain: "solana" | "ethereum";
|
|
4670
4823
|
balance: string;
|
|
@@ -4677,6 +4830,8 @@ export declare const StakingPositionsResponseSchema: z.ZodObject<{
|
|
|
4677
4830
|
amount: string;
|
|
4678
4831
|
requestedAt: number | null;
|
|
4679
4832
|
} | null;
|
|
4833
|
+
network?: string | undefined;
|
|
4834
|
+
chainId?: string | undefined;
|
|
4680
4835
|
}>, "many">;
|
|
4681
4836
|
}, "strip", z.ZodTypeAny, {
|
|
4682
4837
|
walletId: string;
|
|
@@ -4692,6 +4847,8 @@ export declare const StakingPositionsResponseSchema: z.ZodObject<{
|
|
|
4692
4847
|
amount: string;
|
|
4693
4848
|
requestedAt: number | null;
|
|
4694
4849
|
} | null;
|
|
4850
|
+
network?: string | undefined;
|
|
4851
|
+
chainId?: string | undefined;
|
|
4695
4852
|
}[];
|
|
4696
4853
|
}, {
|
|
4697
4854
|
walletId: string;
|
|
@@ -4707,6 +4864,8 @@ export declare const StakingPositionsResponseSchema: z.ZodObject<{
|
|
|
4707
4864
|
amount: string;
|
|
4708
4865
|
requestedAt: number | null;
|
|
4709
4866
|
} | null;
|
|
4867
|
+
network?: string | undefined;
|
|
4868
|
+
chainId?: string | undefined;
|
|
4710
4869
|
}[];
|
|
4711
4870
|
}>;
|
|
4712
4871
|
export declare const DeFiPositionSchema: z.ZodObject<{
|
|
@@ -4722,6 +4881,7 @@ export declare const DeFiPositionSchema: z.ZodObject<{
|
|
|
4722
4881
|
status: z.ZodString;
|
|
4723
4882
|
openedAt: z.ZodNumber;
|
|
4724
4883
|
lastSyncedAt: z.ZodNumber;
|
|
4884
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
4725
4885
|
}, "strip", z.ZodTypeAny, {
|
|
4726
4886
|
id: string;
|
|
4727
4887
|
chain: string;
|
|
@@ -4735,6 +4895,7 @@ export declare const DeFiPositionSchema: z.ZodObject<{
|
|
|
4735
4895
|
openedAt: number;
|
|
4736
4896
|
lastSyncedAt: number;
|
|
4737
4897
|
metadata?: unknown;
|
|
4898
|
+
chainId?: string | undefined;
|
|
4738
4899
|
}, {
|
|
4739
4900
|
id: string;
|
|
4740
4901
|
chain: string;
|
|
@@ -4748,6 +4909,7 @@ export declare const DeFiPositionSchema: z.ZodObject<{
|
|
|
4748
4909
|
openedAt: number;
|
|
4749
4910
|
lastSyncedAt: number;
|
|
4750
4911
|
metadata?: unknown;
|
|
4912
|
+
chainId?: string | undefined;
|
|
4751
4913
|
}>;
|
|
4752
4914
|
export declare const DeFiPositionsResponseSchema: z.ZodObject<{
|
|
4753
4915
|
walletId: z.ZodString;
|
|
@@ -4764,6 +4926,7 @@ export declare const DeFiPositionsResponseSchema: z.ZodObject<{
|
|
|
4764
4926
|
status: z.ZodString;
|
|
4765
4927
|
openedAt: z.ZodNumber;
|
|
4766
4928
|
lastSyncedAt: z.ZodNumber;
|
|
4929
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
4767
4930
|
}, "strip", z.ZodTypeAny, {
|
|
4768
4931
|
id: string;
|
|
4769
4932
|
chain: string;
|
|
@@ -4777,6 +4940,7 @@ export declare const DeFiPositionsResponseSchema: z.ZodObject<{
|
|
|
4777
4940
|
openedAt: number;
|
|
4778
4941
|
lastSyncedAt: number;
|
|
4779
4942
|
metadata?: unknown;
|
|
4943
|
+
chainId?: string | undefined;
|
|
4780
4944
|
}, {
|
|
4781
4945
|
id: string;
|
|
4782
4946
|
chain: string;
|
|
@@ -4790,6 +4954,7 @@ export declare const DeFiPositionsResponseSchema: z.ZodObject<{
|
|
|
4790
4954
|
openedAt: number;
|
|
4791
4955
|
lastSyncedAt: number;
|
|
4792
4956
|
metadata?: unknown;
|
|
4957
|
+
chainId?: string | undefined;
|
|
4793
4958
|
}>, "many">;
|
|
4794
4959
|
totalValueUsd: z.ZodNullable<z.ZodNumber>;
|
|
4795
4960
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4807,6 +4972,7 @@ export declare const DeFiPositionsResponseSchema: z.ZodObject<{
|
|
|
4807
4972
|
openedAt: number;
|
|
4808
4973
|
lastSyncedAt: number;
|
|
4809
4974
|
metadata?: unknown;
|
|
4975
|
+
chainId?: string | undefined;
|
|
4810
4976
|
}[];
|
|
4811
4977
|
totalValueUsd: number | null;
|
|
4812
4978
|
}, {
|
|
@@ -4824,6 +4990,7 @@ export declare const DeFiPositionsResponseSchema: z.ZodObject<{
|
|
|
4824
4990
|
openedAt: number;
|
|
4825
4991
|
lastSyncedAt: number;
|
|
4826
4992
|
metadata?: unknown;
|
|
4993
|
+
chainId?: string | undefined;
|
|
4827
4994
|
}[];
|
|
4828
4995
|
totalValueUsd: number | null;
|
|
4829
4996
|
}>;
|
|
@@ -5068,6 +5235,7 @@ export declare const NftListResponseSchema: z.ZodObject<{
|
|
|
5068
5235
|
slug?: string | undefined;
|
|
5069
5236
|
}>>;
|
|
5070
5237
|
assetId: z.ZodOptional<z.ZodString>;
|
|
5238
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
5071
5239
|
}, "strip", z.ZodTypeAny, {
|
|
5072
5240
|
amount: string;
|
|
5073
5241
|
contractAddress: string;
|
|
@@ -5075,6 +5243,7 @@ export declare const NftListResponseSchema: z.ZodObject<{
|
|
|
5075
5243
|
standard: string;
|
|
5076
5244
|
name?: string | undefined;
|
|
5077
5245
|
assetId?: string | undefined;
|
|
5246
|
+
chainId?: string | undefined;
|
|
5078
5247
|
description?: string | undefined;
|
|
5079
5248
|
image?: string | undefined;
|
|
5080
5249
|
collection?: {
|
|
@@ -5088,6 +5257,7 @@ export declare const NftListResponseSchema: z.ZodObject<{
|
|
|
5088
5257
|
standard: string;
|
|
5089
5258
|
name?: string | undefined;
|
|
5090
5259
|
assetId?: string | undefined;
|
|
5260
|
+
chainId?: string | undefined;
|
|
5091
5261
|
description?: string | undefined;
|
|
5092
5262
|
image?: string | undefined;
|
|
5093
5263
|
collection?: {
|
|
@@ -5105,6 +5275,7 @@ export declare const NftListResponseSchema: z.ZodObject<{
|
|
|
5105
5275
|
standard: string;
|
|
5106
5276
|
name?: string | undefined;
|
|
5107
5277
|
assetId?: string | undefined;
|
|
5278
|
+
chainId?: string | undefined;
|
|
5108
5279
|
description?: string | undefined;
|
|
5109
5280
|
image?: string | undefined;
|
|
5110
5281
|
collection?: {
|
|
@@ -5122,6 +5293,7 @@ export declare const NftListResponseSchema: z.ZodObject<{
|
|
|
5122
5293
|
standard: string;
|
|
5123
5294
|
name?: string | undefined;
|
|
5124
5295
|
assetId?: string | undefined;
|
|
5296
|
+
chainId?: string | undefined;
|
|
5125
5297
|
description?: string | undefined;
|
|
5126
5298
|
image?: string | undefined;
|
|
5127
5299
|
collection?: {
|
|
@@ -5169,6 +5341,7 @@ export declare const NftListGroupedResponseSchema: z.ZodObject<{
|
|
|
5169
5341
|
slug?: string | undefined;
|
|
5170
5342
|
}>>;
|
|
5171
5343
|
assetId: z.ZodOptional<z.ZodString>;
|
|
5344
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
5172
5345
|
}, "strip", z.ZodTypeAny, {
|
|
5173
5346
|
amount: string;
|
|
5174
5347
|
contractAddress: string;
|
|
@@ -5176,6 +5349,7 @@ export declare const NftListGroupedResponseSchema: z.ZodObject<{
|
|
|
5176
5349
|
standard: string;
|
|
5177
5350
|
name?: string | undefined;
|
|
5178
5351
|
assetId?: string | undefined;
|
|
5352
|
+
chainId?: string | undefined;
|
|
5179
5353
|
description?: string | undefined;
|
|
5180
5354
|
image?: string | undefined;
|
|
5181
5355
|
collection?: {
|
|
@@ -5189,6 +5363,7 @@ export declare const NftListGroupedResponseSchema: z.ZodObject<{
|
|
|
5189
5363
|
standard: string;
|
|
5190
5364
|
name?: string | undefined;
|
|
5191
5365
|
assetId?: string | undefined;
|
|
5366
|
+
chainId?: string | undefined;
|
|
5192
5367
|
description?: string | undefined;
|
|
5193
5368
|
image?: string | undefined;
|
|
5194
5369
|
collection?: {
|
|
@@ -5210,6 +5385,7 @@ export declare const NftListGroupedResponseSchema: z.ZodObject<{
|
|
|
5210
5385
|
standard: string;
|
|
5211
5386
|
name?: string | undefined;
|
|
5212
5387
|
assetId?: string | undefined;
|
|
5388
|
+
chainId?: string | undefined;
|
|
5213
5389
|
description?: string | undefined;
|
|
5214
5390
|
image?: string | undefined;
|
|
5215
5391
|
collection?: {
|
|
@@ -5231,6 +5407,7 @@ export declare const NftListGroupedResponseSchema: z.ZodObject<{
|
|
|
5231
5407
|
standard: string;
|
|
5232
5408
|
name?: string | undefined;
|
|
5233
5409
|
assetId?: string | undefined;
|
|
5410
|
+
chainId?: string | undefined;
|
|
5234
5411
|
description?: string | undefined;
|
|
5235
5412
|
image?: string | undefined;
|
|
5236
5413
|
collection?: {
|
|
@@ -5255,6 +5432,7 @@ export declare const NftListGroupedResponseSchema: z.ZodObject<{
|
|
|
5255
5432
|
standard: string;
|
|
5256
5433
|
name?: string | undefined;
|
|
5257
5434
|
assetId?: string | undefined;
|
|
5435
|
+
chainId?: string | undefined;
|
|
5258
5436
|
description?: string | undefined;
|
|
5259
5437
|
image?: string | undefined;
|
|
5260
5438
|
collection?: {
|
|
@@ -5279,6 +5457,7 @@ export declare const NftListGroupedResponseSchema: z.ZodObject<{
|
|
|
5279
5457
|
standard: string;
|
|
5280
5458
|
name?: string | undefined;
|
|
5281
5459
|
assetId?: string | undefined;
|
|
5460
|
+
chainId?: string | undefined;
|
|
5282
5461
|
description?: string | undefined;
|
|
5283
5462
|
image?: string | undefined;
|
|
5284
5463
|
collection?: {
|
|
@@ -5308,6 +5487,7 @@ export declare const NftMetadataResponseSchema: z.ZodObject<{
|
|
|
5308
5487
|
slug?: string | undefined;
|
|
5309
5488
|
}>>;
|
|
5310
5489
|
assetId: z.ZodOptional<z.ZodString>;
|
|
5490
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
5311
5491
|
attributes: z.ZodArray<z.ZodObject<{
|
|
5312
5492
|
trait_type: z.ZodString;
|
|
5313
5493
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
@@ -5331,6 +5511,7 @@ export declare const NftMetadataResponseSchema: z.ZodObject<{
|
|
|
5331
5511
|
}[];
|
|
5332
5512
|
name?: string | undefined;
|
|
5333
5513
|
assetId?: string | undefined;
|
|
5514
|
+
chainId?: string | undefined;
|
|
5334
5515
|
description?: string | undefined;
|
|
5335
5516
|
image?: string | undefined;
|
|
5336
5517
|
collection?: {
|
|
@@ -5350,6 +5531,7 @@ export declare const NftMetadataResponseSchema: z.ZodObject<{
|
|
|
5350
5531
|
}[];
|
|
5351
5532
|
name?: string | undefined;
|
|
5352
5533
|
assetId?: string | undefined;
|
|
5534
|
+
chainId?: string | undefined;
|
|
5353
5535
|
description?: string | undefined;
|
|
5354
5536
|
image?: string | undefined;
|
|
5355
5537
|
collection?: {
|