@waiaas/daemon 2.11.0-rc.7 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/api/middleware/address-validation.d.ts +6 -33
- package/dist/api/middleware/address-validation.d.ts.map +1 -1
- package/dist/api/middleware/address-validation.js +5 -129
- package/dist/api/middleware/address-validation.js.map +1 -1
- package/dist/api/middleware/host-guard.d.ts +1 -1
- package/dist/api/middleware/host-guard.js +2 -2
- package/dist/api/middleware/host-guard.js.map +1 -1
- package/dist/api/middleware/index.d.ts +1 -0
- package/dist/api/middleware/index.d.ts.map +1 -1
- package/dist/api/middleware/index.js +1 -0
- package/dist/api/middleware/index.js.map +1 -1
- package/dist/api/middleware/master-auth.d.ts +2 -5
- package/dist/api/middleware/master-auth.d.ts.map +1 -1
- package/dist/api/middleware/master-auth.js.map +1 -1
- package/dist/api/middleware/rate-limiter.d.ts +51 -0
- package/dist/api/middleware/rate-limiter.d.ts.map +1 -0
- package/dist/api/middleware/rate-limiter.js +146 -0
- package/dist/api/middleware/rate-limiter.js.map +1 -0
- 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/middleware/siwe-verify.d.ts +6 -26
- package/dist/api/middleware/siwe-verify.d.ts.map +1 -1
- package/dist/api/middleware/siwe-verify.js +5 -50
- package/dist/api/middleware/siwe-verify.js.map +1 -1
- package/dist/api/routes/actions.d.ts +1 -0
- package/dist/api/routes/actions.d.ts.map +1 -1
- package/dist/api/routes/actions.js +52 -4
- package/dist/api/routes/actions.js.map +1 -1
- package/dist/api/routes/admin-actions.d.ts +1 -0
- package/dist/api/routes/admin-actions.d.ts.map +1 -1
- package/dist/api/routes/admin-actions.js +3 -3
- package/dist/api/routes/admin-actions.js.map +1 -1
- package/dist/api/routes/admin-auth.d.ts.map +1 -1
- package/dist/api/routes/admin-auth.js +12 -7
- package/dist/api/routes/admin-auth.js.map +1 -1
- package/dist/api/routes/admin-credentials.js +2 -2
- package/dist/api/routes/admin-credentials.js.map +1 -1
- package/dist/api/routes/admin-monitoring.d.ts +10 -0
- package/dist/api/routes/admin-monitoring.d.ts.map +1 -1
- package/dist/api/routes/admin-monitoring.js +59 -14
- package/dist/api/routes/admin-monitoring.js.map +1 -1
- package/dist/api/routes/admin-notifications.d.ts.map +1 -1
- package/dist/api/routes/admin-notifications.js +2 -15
- package/dist/api/routes/admin-notifications.js.map +1 -1
- package/dist/api/routes/admin-settings.d.ts.map +1 -1
- package/dist/api/routes/admin-settings.js +90 -1
- package/dist/api/routes/admin-settings.js.map +1 -1
- package/dist/api/routes/admin-wallets.d.ts +16 -1
- package/dist/api/routes/admin-wallets.d.ts.map +1 -1
- package/dist/api/routes/admin-wallets.js +64 -75
- package/dist/api/routes/admin-wallets.js.map +1 -1
- package/dist/api/routes/admin.d.ts +1 -0
- package/dist/api/routes/admin.d.ts.map +1 -1
- package/dist/api/routes/admin.js.map +1 -1
- package/dist/api/routes/connect-info.d.ts.map +1 -1
- package/dist/api/routes/connect-info.js +2 -1
- package/dist/api/routes/connect-info.js.map +1 -1
- package/dist/api/routes/credentials.js +2 -2
- package/dist/api/routes/credentials.js.map +1 -1
- 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/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/nfts.js +24 -4
- package/dist/api/routes/nfts.js.map +1 -1
- package/dist/api/routes/openapi-schemas.d.ts +611 -118
- package/dist/api/routes/openapi-schemas.d.ts.map +1 -1
- package/dist/api/routes/openapi-schemas.js +53 -5
- package/dist/api/routes/openapi-schemas.js.map +1 -1
- package/dist/api/routes/policies.d.ts +2 -0
- package/dist/api/routes/policies.d.ts.map +1 -1
- package/dist/api/routes/policies.js +55 -6
- package/dist/api/routes/policies.js.map +1 -1
- package/dist/api/routes/rpc-proxy.js.map +1 -1
- package/dist/api/routes/sessions.d.ts.map +1 -1
- package/dist/api/routes/sessions.js +47 -28
- package/dist/api/routes/sessions.js.map +1 -1
- package/dist/api/routes/staking.d.ts.map +1 -1
- package/dist/api/routes/staking.js +19 -76
- 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 +3 -0
- package/dist/api/routes/transactions.d.ts.map +1 -1
- package/dist/api/routes/transactions.js +66 -12
- package/dist/api/routes/transactions.js.map +1 -1
- package/dist/api/routes/userop.d.ts.map +1 -1
- package/dist/api/routes/userop.js +0 -2
- package/dist/api/routes/userop.js.map +1 -1
- package/dist/api/routes/wallet-apps.d.ts.map +1 -1
- package/dist/api/routes/wallet-apps.js +20 -13
- package/dist/api/routes/wallet-apps.js.map +1 -1
- package/dist/api/routes/wallet.d.ts.map +1 -1
- package/dist/api/routes/wallet.js +12 -4
- package/dist/api/routes/wallet.js.map +1 -1
- package/dist/api/routes/wallets.d.ts.map +1 -1
- package/dist/api/routes/wallets.js +3 -0
- package/dist/api/routes/wallets.js.map +1 -1
- package/dist/api/routes/wc.d.ts.map +1 -1
- package/dist/api/routes/wc.js +13 -8
- package/dist/api/routes/wc.js.map +1 -1
- package/dist/api/routes/x402.d.ts.map +1 -1
- package/dist/api/routes/x402.js +1 -2
- package/dist/api/routes/x402.js.map +1 -1
- package/dist/api/server.d.ts +8 -4
- package/dist/api/server.d.ts.map +1 -1
- package/dist/api/server.js +47 -5
- package/dist/api/server.js.map +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +1 -1
- package/dist/constants.js.map +1 -1
- package/dist/infrastructure/action/action-provider-registry.d.ts.map +1 -1
- package/dist/infrastructure/action/action-provider-registry.js +2 -3
- package/dist/infrastructure/action/action-provider-registry.js.map +1 -1
- package/dist/infrastructure/action/builtin-metadata.d.ts +22 -0
- package/dist/infrastructure/action/builtin-metadata.d.ts.map +1 -0
- package/dist/infrastructure/action/builtin-metadata.js +29 -0
- package/dist/infrastructure/action/builtin-metadata.js.map +1 -0
- package/dist/infrastructure/adapter-pool.d.ts +2 -1
- package/dist/infrastructure/adapter-pool.d.ts.map +1 -1
- package/dist/infrastructure/adapter-pool.js.map +1 -1
- package/dist/infrastructure/auth/address-validation.d.ts +38 -0
- package/dist/infrastructure/auth/address-validation.d.ts.map +1 -0
- package/dist/infrastructure/auth/address-validation.js +134 -0
- package/dist/infrastructure/auth/address-validation.js.map +1 -0
- package/dist/infrastructure/auth/siwe-verify.d.ts +34 -0
- package/dist/infrastructure/auth/siwe-verify.d.ts.map +1 -0
- package/dist/infrastructure/auth/siwe-verify.js +58 -0
- package/dist/infrastructure/auth/siwe-verify.js.map +1 -0
- package/dist/infrastructure/auth/types.d.ts +12 -0
- package/dist/infrastructure/auth/types.d.ts.map +1 -0
- package/dist/infrastructure/auth/types.js +8 -0
- package/dist/infrastructure/auth/types.js.map +1 -0
- package/dist/infrastructure/config/loader.d.ts +1 -10
- package/dist/infrastructure/config/loader.d.ts.map +1 -1
- package/dist/infrastructure/config/loader.js +0 -2
- package/dist/infrastructure/config/loader.js.map +1 -1
- package/dist/infrastructure/database/migrate.d.ts +6 -18
- package/dist/infrastructure/database/migrate.d.ts.map +1 -1
- package/dist/infrastructure/database/migrate.js +25 -2856
- package/dist/infrastructure/database/migrate.js.map +1 -1
- package/dist/infrastructure/database/migrations/v11-v20.d.ts +17 -0
- package/dist/infrastructure/database/migrations/v11-v20.d.ts.map +1 -0
- package/dist/infrastructure/database/migrations/v11-v20.js +295 -0
- package/dist/infrastructure/database/migrations/v11-v20.js.map +1 -0
- package/dist/infrastructure/database/migrations/v2-v10.d.ts +16 -0
- package/dist/infrastructure/database/migrations/v2-v10.d.ts.map +1 -0
- package/dist/infrastructure/database/migrations/v2-v10.js +539 -0
- package/dist/infrastructure/database/migrations/v2-v10.js.map +1 -0
- package/dist/infrastructure/database/migrations/v21-v30.d.ts +17 -0
- package/dist/infrastructure/database/migrations/v21-v30.d.ts.map +1 -0
- package/dist/infrastructure/database/migrations/v21-v30.js +507 -0
- package/dist/infrastructure/database/migrations/v21-v30.js.map +1 -0
- package/dist/infrastructure/database/migrations/v31-v40.d.ts +17 -0
- package/dist/infrastructure/database/migrations/v31-v40.d.ts.map +1 -0
- package/dist/infrastructure/database/migrations/v31-v40.js +203 -0
- package/dist/infrastructure/database/migrations/v31-v40.js.map +1 -0
- package/dist/infrastructure/database/migrations/v41-v50.d.ts +17 -0
- package/dist/infrastructure/database/migrations/v41-v50.d.ts.map +1 -0
- package/dist/infrastructure/database/migrations/v41-v50.js +188 -0
- package/dist/infrastructure/database/migrations/v41-v50.js.map +1 -0
- package/dist/infrastructure/database/migrations/v51-v59.d.ts +17 -0
- package/dist/infrastructure/database/migrations/v51-v59.d.ts.map +1 -0
- package/dist/infrastructure/database/migrations/v51-v59.js +420 -0
- package/dist/infrastructure/database/migrations/v51-v59.js.map +1 -0
- package/dist/infrastructure/database/schema-ddl.d.ts +24 -0
- package/dist/infrastructure/database/schema-ddl.d.ts.map +1 -0
- package/dist/infrastructure/database/schema-ddl.js +596 -0
- package/dist/infrastructure/database/schema-ddl.js.map +1 -0
- package/dist/infrastructure/database/schema.d.ts +38 -0
- package/dist/infrastructure/database/schema.d.ts.map +1 -1
- package/dist/infrastructure/database/schema.js +2 -0
- package/dist/infrastructure/database/schema.js.map +1 -1
- package/dist/infrastructure/jwt/jwt-secret-manager.d.ts.map +1 -1
- package/dist/infrastructure/jwt/jwt-secret-manager.js +16 -3
- package/dist/infrastructure/jwt/jwt-secret-manager.js.map +1 -1
- package/dist/infrastructure/nft/alchemy-nft-indexer.d.ts.map +1 -1
- package/dist/infrastructure/nft/alchemy-nft-indexer.js +0 -1
- package/dist/infrastructure/nft/alchemy-nft-indexer.js.map +1 -1
- package/dist/infrastructure/nft/helius-nft-indexer.d.ts.map +1 -1
- package/dist/infrastructure/nft/helius-nft-indexer.js +1 -2
- package/dist/infrastructure/nft/helius-nft-indexer.js.map +1 -1
- package/dist/infrastructure/nft/nft-indexer-client.d.ts.map +1 -1
- package/dist/infrastructure/nft/nft-indexer-client.js +0 -2
- package/dist/infrastructure/nft/nft-indexer-client.js.map +1 -1
- package/dist/infrastructure/security/ssrf-guard.d.ts +33 -0
- package/dist/infrastructure/security/ssrf-guard.d.ts.map +1 -0
- package/dist/infrastructure/security/ssrf-guard.js +244 -0
- package/dist/infrastructure/security/ssrf-guard.js.map +1 -0
- package/dist/infrastructure/settings/hot-reload.d.ts +1 -1
- package/dist/infrastructure/settings/hot-reload.d.ts.map +1 -1
- package/dist/infrastructure/settings/hot-reload.js +0 -2
- package/dist/infrastructure/settings/hot-reload.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 +14 -0
- package/dist/infrastructure/settings/setting-keys.d.ts.map +1 -1
- package/dist/infrastructure/settings/setting-keys.js +296 -214
- package/dist/infrastructure/settings/setting-keys.js.map +1 -1
- package/dist/infrastructure/settings/settings-service.d.ts +6 -1
- package/dist/infrastructure/settings/settings-service.d.ts.map +1 -1
- package/dist/infrastructure/settings/settings-service.js +15 -5
- package/dist/infrastructure/settings/settings-service.js.map +1 -1
- package/dist/infrastructure/telegram/telegram-bot-service.d.ts.map +1 -1
- package/dist/infrastructure/telegram/telegram-bot-service.js +3 -2
- package/dist/infrastructure/telegram/telegram-bot-service.js.map +1 -1
- package/dist/infrastructure/token-registry/builtin-tokens.d.ts.map +1 -1
- package/dist/infrastructure/token-registry/builtin-tokens.js +4 -7
- package/dist/infrastructure/token-registry/builtin-tokens.js.map +1 -1
- package/dist/lifecycle/daemon-pipeline.d.ts +49 -0
- package/dist/lifecycle/daemon-pipeline.d.ts.map +1 -0
- package/dist/lifecycle/daemon-pipeline.js +281 -0
- package/dist/lifecycle/daemon-pipeline.js.map +1 -0
- package/dist/lifecycle/daemon-shutdown.d.ts +14 -0
- package/dist/lifecycle/daemon-shutdown.d.ts.map +1 -0
- package/dist/lifecycle/daemon-shutdown.js +176 -0
- package/dist/lifecycle/daemon-shutdown.js.map +1 -0
- package/dist/lifecycle/daemon-startup.d.ts +15 -0
- package/dist/lifecycle/daemon-startup.d.ts.map +1 -0
- package/dist/lifecycle/daemon-startup.js +1527 -0
- package/dist/lifecycle/daemon-startup.js.map +1 -0
- package/dist/lifecycle/daemon.d.ts +171 -114
- package/dist/lifecycle/daemon.d.ts.map +1 -1
- package/dist/lifecycle/daemon.js +22 -1904
- package/dist/lifecycle/daemon.js.map +1 -1
- package/dist/notifications/channels/discord.d.ts.map +1 -1
- package/dist/notifications/channels/discord.js +1 -0
- package/dist/notifications/channels/discord.js.map +1 -1
- package/dist/notifications/channels/slack.d.ts.map +1 -1
- package/dist/notifications/channels/slack.js +1 -0
- package/dist/notifications/channels/slack.js.map +1 -1
- package/dist/notifications/index.d.ts +0 -1
- package/dist/notifications/index.d.ts.map +1 -1
- package/dist/notifications/index.js +0 -1
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications/notification-service.d.ts.map +1 -1
- package/dist/notifications/notification-service.js +8 -6
- package/dist/notifications/notification-service.js.map +1 -1
- package/dist/pipeline/database-policy-engine.d.ts +18 -438
- package/dist/pipeline/database-policy-engine.d.ts.map +1 -1
- package/dist/pipeline/database-policy-engine.js +154 -1321
- package/dist/pipeline/database-policy-engine.js.map +1 -1
- package/dist/pipeline/dry-run.d.ts +5 -2
- package/dist/pipeline/dry-run.d.ts.map +1 -1
- package/dist/pipeline/dry-run.js +102 -8
- package/dist/pipeline/dry-run.js.map +1 -1
- package/dist/pipeline/evaluators/allowed-tokens.d.ts +28 -0
- package/dist/pipeline/evaluators/allowed-tokens.d.ts.map +1 -0
- package/dist/pipeline/evaluators/allowed-tokens.js +129 -0
- package/dist/pipeline/evaluators/allowed-tokens.js.map +1 -0
- package/dist/pipeline/evaluators/approved-spenders.d.ts +26 -0
- package/dist/pipeline/evaluators/approved-spenders.d.ts.map +1 -0
- package/dist/pipeline/evaluators/approved-spenders.js +115 -0
- package/dist/pipeline/evaluators/approved-spenders.js.map +1 -0
- package/dist/pipeline/evaluators/contract-whitelist.d.ts +28 -0
- package/dist/pipeline/evaluators/contract-whitelist.d.ts.map +1 -0
- package/dist/pipeline/evaluators/contract-whitelist.js +168 -0
- package/dist/pipeline/evaluators/contract-whitelist.js.map +1 -0
- package/dist/pipeline/evaluators/helpers.d.ts +9 -0
- package/dist/pipeline/evaluators/helpers.d.ts.map +1 -0
- package/dist/pipeline/evaluators/helpers.js +13 -0
- package/dist/pipeline/evaluators/helpers.js.map +1 -0
- package/dist/pipeline/evaluators/lending-asset-whitelist.d.ts +18 -0
- package/dist/pipeline/evaluators/lending-asset-whitelist.d.ts.map +1 -0
- package/dist/pipeline/evaluators/lending-asset-whitelist.js +44 -0
- package/dist/pipeline/evaluators/lending-asset-whitelist.js.map +1 -0
- package/dist/pipeline/evaluators/lending-ltv-limit.d.ts +24 -0
- package/dist/pipeline/evaluators/lending-ltv-limit.d.ts.map +1 -0
- package/dist/pipeline/evaluators/lending-ltv-limit.js +130 -0
- package/dist/pipeline/evaluators/lending-ltv-limit.js.map +1 -0
- package/dist/pipeline/evaluators/spending-limit.d.ts +46 -0
- package/dist/pipeline/evaluators/spending-limit.d.ts.map +1 -0
- package/dist/pipeline/evaluators/spending-limit.js +241 -0
- package/dist/pipeline/evaluators/spending-limit.js.map +1 -0
- package/dist/pipeline/evaluators/types.d.ts +71 -0
- package/dist/pipeline/evaluators/types.d.ts.map +1 -0
- package/dist/pipeline/evaluators/types.js +7 -0
- package/dist/pipeline/evaluators/types.js.map +1 -0
- package/dist/pipeline/external-action-pipeline.js.map +1 -1
- package/dist/pipeline/gas-condition-tracker.d.ts +1 -1
- package/dist/pipeline/gas-condition-tracker.js +1 -1
- package/dist/pipeline/pipeline-helpers.d.ts +146 -0
- package/dist/pipeline/pipeline-helpers.d.ts.map +1 -0
- package/dist/pipeline/pipeline-helpers.js +260 -0
- package/dist/pipeline/pipeline-helpers.js.map +1 -0
- package/dist/pipeline/pipeline.d.ts +1 -0
- package/dist/pipeline/pipeline.d.ts.map +1 -1
- package/dist/pipeline/pipeline.js +3 -2
- package/dist/pipeline/pipeline.js.map +1 -1
- package/dist/pipeline/resolve-effective-amount-usd.d.ts.map +1 -1
- package/dist/pipeline/resolve-effective-amount-usd.js +4 -10
- package/dist/pipeline/resolve-effective-amount-usd.js.map +1 -1
- package/dist/pipeline/sign-message.js +1 -1
- package/dist/pipeline/sign-message.js.map +1 -1
- package/dist/pipeline/sleep.d.ts +1 -5
- package/dist/pipeline/sleep.d.ts.map +1 -1
- package/dist/pipeline/sleep.js +2 -7
- package/dist/pipeline/sleep.js.map +1 -1
- package/dist/pipeline/stage1-validate.d.ts +8 -0
- package/dist/pipeline/stage1-validate.d.ts.map +1 -0
- package/dist/pipeline/stage1-validate.js +69 -0
- package/dist/pipeline/stage1-validate.js.map +1 -0
- package/dist/pipeline/stage2-auth.d.ts +12 -0
- package/dist/pipeline/stage2-auth.d.ts.map +1 -0
- package/dist/pipeline/stage2-auth.js +18 -0
- package/dist/pipeline/stage2-auth.js.map +1 -0
- package/dist/pipeline/stage3-policy.d.ts +26 -0
- package/dist/pipeline/stage3-policy.d.ts.map +1 -0
- package/dist/pipeline/stage3-policy.js +384 -0
- package/dist/pipeline/stage3-policy.js.map +1 -0
- package/dist/pipeline/stage4-wait.d.ts +8 -0
- package/dist/pipeline/stage4-wait.d.ts.map +1 -0
- package/dist/pipeline/stage4-wait.js +87 -0
- package/dist/pipeline/stage4-wait.js.map +1 -0
- package/dist/pipeline/stage5-execute.d.ts +120 -0
- package/dist/pipeline/stage5-execute.d.ts.map +1 -0
- package/dist/pipeline/stage5-execute.js +1070 -0
- package/dist/pipeline/stage5-execute.js.map +1 -0
- package/dist/pipeline/stage6-confirm.d.ts +11 -0
- package/dist/pipeline/stage6-confirm.d.ts.map +1 -0
- package/dist/pipeline/stage6-confirm.js +110 -0
- package/dist/pipeline/stage6-confirm.js.map +1 -0
- package/dist/pipeline/stages.d.ts +11 -245
- package/dist/pipeline/stages.d.ts.map +1 -1
- package/dist/pipeline/stages.js +11 -1896
- package/dist/pipeline/stages.js.map +1 -1
- package/dist/rpc-proxy/sync-pipeline.js +2 -2
- package/dist/rpc-proxy/sync-pipeline.js.map +1 -1
- package/dist/services/autostop/autostop-service.d.ts +4 -1
- package/dist/services/autostop/autostop-service.d.ts.map +1 -1
- package/dist/services/autostop/autostop-service.js +27 -7
- package/dist/services/autostop/autostop-service.js.map +1 -1
- package/dist/services/defi/position-tracker.d.ts +5 -0
- package/dist/services/defi/position-tracker.d.ts.map +1 -1
- package/dist/services/defi/position-tracker.js +41 -6
- package/dist/services/defi/position-tracker.js.map +1 -1
- package/dist/services/defi/position-write-queue.d.ts.map +1 -1
- package/dist/services/defi/position-write-queue.js +3 -2
- package/dist/services/defi/position-write-queue.js.map +1 -1
- package/dist/services/incoming/__tests__/integration-wiring.test.js +58 -0
- package/dist/services/incoming/__tests__/integration-wiring.test.js.map +1 -1
- package/dist/services/incoming/incoming-tx-monitor-service.d.ts.map +1 -1
- package/dist/services/incoming/incoming-tx-monitor-service.js +11 -14
- package/dist/services/incoming/incoming-tx-monitor-service.js.map +1 -1
- package/dist/services/incoming/incoming-tx-workers.d.ts +2 -2
- package/dist/services/incoming/incoming-tx-workers.d.ts.map +1 -1
- package/dist/services/incoming/incoming-tx-workers.js +1 -1
- package/dist/services/incoming/incoming-tx-workers.js.map +1 -1
- package/dist/services/incoming/safety-rules.d.ts.map +1 -1
- package/dist/services/incoming/safety-rules.js +3 -2
- package/dist/services/incoming/safety-rules.js.map +1 -1
- package/dist/services/incoming/subscription-multiplexer.d.ts +2 -6
- package/dist/services/incoming/subscription-multiplexer.d.ts.map +1 -1
- package/dist/services/incoming/subscription-multiplexer.js +1 -3
- package/dist/services/incoming/subscription-multiplexer.js.map +1 -1
- package/dist/services/monitoring/balance-monitor-service.d.ts.map +1 -1
- package/dist/services/monitoring/balance-monitor-service.js +2 -2
- package/dist/services/monitoring/balance-monitor-service.js.map +1 -1
- package/dist/services/signing-sdk/approval-channel-router.d.ts +7 -7
- package/dist/services/signing-sdk/approval-channel-router.d.ts.map +1 -1
- package/dist/services/signing-sdk/approval-channel-router.js +13 -13
- package/dist/services/signing-sdk/approval-channel-router.js.map +1 -1
- package/dist/services/signing-sdk/channels/index.d.ts +2 -2
- package/dist/services/signing-sdk/channels/index.d.ts.map +1 -1
- package/dist/services/signing-sdk/channels/index.js +1 -1
- package/dist/services/signing-sdk/channels/index.js.map +1 -1
- package/dist/services/signing-sdk/channels/push-relay-signing-channel.d.ts +59 -0
- package/dist/services/signing-sdk/channels/push-relay-signing-channel.d.ts.map +1 -0
- package/dist/services/signing-sdk/channels/push-relay-signing-channel.js +190 -0
- package/dist/services/signing-sdk/channels/push-relay-signing-channel.js.map +1 -0
- package/dist/services/signing-sdk/channels/telegram-signing-channel.d.ts +1 -1
- package/dist/services/signing-sdk/channels/telegram-signing-channel.js +1 -1
- package/dist/services/signing-sdk/channels/wallet-notification-channel.d.ts +6 -7
- package/dist/services/signing-sdk/channels/wallet-notification-channel.d.ts.map +1 -1
- package/dist/services/signing-sdk/channels/wallet-notification-channel.js +38 -55
- package/dist/services/signing-sdk/channels/wallet-notification-channel.js.map +1 -1
- package/dist/services/signing-sdk/index.d.ts +3 -3
- package/dist/services/signing-sdk/index.d.ts.map +1 -1
- package/dist/services/signing-sdk/index.js +2 -2
- package/dist/services/signing-sdk/index.js.map +1 -1
- package/dist/services/signing-sdk/preset-auto-setup.js +2 -2
- package/dist/services/signing-sdk/preset-auto-setup.js.map +1 -1
- package/dist/services/signing-sdk/sign-request-builder.d.ts +2 -2
- package/dist/services/signing-sdk/sign-request-builder.d.ts.map +1 -1
- package/dist/services/signing-sdk/sign-request-builder.js +17 -25
- package/dist/services/signing-sdk/sign-request-builder.js.map +1 -1
- package/dist/services/signing-sdk/wallet-app-service.d.ts +4 -0
- package/dist/services/signing-sdk/wallet-app-service.d.ts.map +1 -1
- package/dist/services/signing-sdk/wallet-app-service.js +12 -5
- package/dist/services/signing-sdk/wallet-app-service.js.map +1 -1
- package/dist/services/staking/aggregate-staking-balance.d.ts +24 -0
- package/dist/services/staking/aggregate-staking-balance.d.ts.map +1 -0
- package/dist/services/staking/aggregate-staking-balance.js +82 -0
- package/dist/services/staking/aggregate-staking-balance.js.map +1 -0
- package/dist/services/wc-session-service.d.ts.map +1 -1
- package/dist/services/wc-session-service.js +2 -1
- package/dist/services/wc-session-service.js.map +1 -1
- package/dist/services/wc-signing-bridge.js +2 -2
- package/dist/services/wc-signing-bridge.js.map +1 -1
- package/dist/services/x402/payment-signer.d.ts.map +1 -1
- package/dist/services/x402/payment-signer.js +2 -5
- package/dist/services/x402/payment-signer.js.map +1 -1
- package/dist/services/x402/ssrf-guard.d.ts +4 -23
- package/dist/services/x402/ssrf-guard.d.ts.map +1 -1
- package/dist/services/x402/ssrf-guard.js +3 -232
- package/dist/services/x402/ssrf-guard.js.map +1 -1
- package/dist/signing/capabilities/eip712-signer.d.ts.map +1 -1
- package/dist/signing/capabilities/eip712-signer.js +2 -0
- package/dist/signing/capabilities/eip712-signer.js.map +1 -1
- package/package.json +5 -5
- package/public/admin/assets/index-CpFF2lCo.js +3 -0
- package/public/admin/index.html +1 -1
- package/dist/notifications/channels/ntfy.d.ts +0 -13
- package/dist/notifications/channels/ntfy.d.ts.map +0 -1
- package/dist/notifications/channels/ntfy.js +0 -74
- package/dist/notifications/channels/ntfy.js.map +0 -1
- package/dist/services/signing-sdk/channels/ntfy-signing-channel.d.ts +0 -66
- package/dist/services/signing-sdk/channels/ntfy-signing-channel.d.ts.map +0 -1
- package/dist/services/signing-sdk/channels/ntfy-signing-channel.js +0 -270
- package/dist/services/signing-sdk/channels/ntfy-signing-channel.js.map +0 -1
- package/public/admin/assets/index-CQ3i4P2U.js +0 -3
|
@@ -315,6 +315,8 @@ export declare const WalletBalanceResponseSchema: z.ZodObject<{
|
|
|
315
315
|
balanceFormatted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
316
316
|
displayBalance: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
317
317
|
displayCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
318
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
319
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
318
320
|
}, "strip", z.ZodTypeAny, {
|
|
319
321
|
symbol: string;
|
|
320
322
|
chain: string;
|
|
@@ -323,6 +325,8 @@ export declare const WalletBalanceResponseSchema: z.ZodObject<{
|
|
|
323
325
|
address: string;
|
|
324
326
|
decimals: number;
|
|
325
327
|
balance: string;
|
|
328
|
+
assetId?: string | undefined;
|
|
329
|
+
chainId?: string | undefined;
|
|
326
330
|
balanceFormatted?: string | null | undefined;
|
|
327
331
|
displayBalance?: string | null | undefined;
|
|
328
332
|
displayCurrency?: string | null | undefined;
|
|
@@ -334,6 +338,8 @@ export declare const WalletBalanceResponseSchema: z.ZodObject<{
|
|
|
334
338
|
address: string;
|
|
335
339
|
decimals: number;
|
|
336
340
|
balance: string;
|
|
341
|
+
assetId?: string | undefined;
|
|
342
|
+
chainId?: string | undefined;
|
|
337
343
|
balanceFormatted?: string | null | undefined;
|
|
338
344
|
displayBalance?: string | null | undefined;
|
|
339
345
|
displayCurrency?: string | null | undefined;
|
|
@@ -427,6 +433,137 @@ export declare const SessionListItemSchema: z.ZodObject<{
|
|
|
427
433
|
walletId: string;
|
|
428
434
|
walletName: string | null;
|
|
429
435
|
}>;
|
|
436
|
+
export declare const PaginationQuerySchema: z.ZodObject<{
|
|
437
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
438
|
+
offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
439
|
+
}, "strip", z.ZodTypeAny, {
|
|
440
|
+
limit?: number | undefined;
|
|
441
|
+
offset?: number | undefined;
|
|
442
|
+
}, {
|
|
443
|
+
limit?: number | undefined;
|
|
444
|
+
offset?: number | undefined;
|
|
445
|
+
}>;
|
|
446
|
+
/**
|
|
447
|
+
* Factory to create paginated response schema wrapping an item schema.
|
|
448
|
+
*/
|
|
449
|
+
export declare function createPaginatedSchema<T extends z.ZodTypeAny>(itemSchema: T, name: string): z.ZodObject<{
|
|
450
|
+
data: z.ZodArray<T, "many">;
|
|
451
|
+
total: z.ZodNumber;
|
|
452
|
+
limit: z.ZodNumber;
|
|
453
|
+
offset: z.ZodNumber;
|
|
454
|
+
}, "strip", z.ZodTypeAny, {
|
|
455
|
+
data: T["_output"][];
|
|
456
|
+
limit: number;
|
|
457
|
+
offset: number;
|
|
458
|
+
total: number;
|
|
459
|
+
}, {
|
|
460
|
+
data: T["_input"][];
|
|
461
|
+
limit: number;
|
|
462
|
+
offset: number;
|
|
463
|
+
total: number;
|
|
464
|
+
}>;
|
|
465
|
+
export declare const PaginatedSessionListSchema: z.ZodObject<{
|
|
466
|
+
data: z.ZodArray<z.ZodObject<{
|
|
467
|
+
id: z.ZodString;
|
|
468
|
+
walletId: z.ZodString;
|
|
469
|
+
walletName: z.ZodNullable<z.ZodString>;
|
|
470
|
+
wallets: z.ZodArray<z.ZodObject<{
|
|
471
|
+
id: z.ZodString;
|
|
472
|
+
name: z.ZodString;
|
|
473
|
+
}, "strip", z.ZodTypeAny, {
|
|
474
|
+
id: string;
|
|
475
|
+
name: string;
|
|
476
|
+
}, {
|
|
477
|
+
id: string;
|
|
478
|
+
name: string;
|
|
479
|
+
}>, "many">;
|
|
480
|
+
status: z.ZodString;
|
|
481
|
+
renewalCount: z.ZodNumber;
|
|
482
|
+
maxRenewals: z.ZodNumber;
|
|
483
|
+
expiresAt: z.ZodNumber;
|
|
484
|
+
absoluteExpiresAt: z.ZodNumber;
|
|
485
|
+
createdAt: z.ZodNumber;
|
|
486
|
+
lastRenewedAt: z.ZodNullable<z.ZodNumber>;
|
|
487
|
+
source: z.ZodEnum<["api", "mcp"]>;
|
|
488
|
+
}, "strip", z.ZodTypeAny, {
|
|
489
|
+
wallets: {
|
|
490
|
+
id: string;
|
|
491
|
+
name: string;
|
|
492
|
+
}[];
|
|
493
|
+
id: string;
|
|
494
|
+
status: string;
|
|
495
|
+
createdAt: number;
|
|
496
|
+
expiresAt: number;
|
|
497
|
+
renewalCount: number;
|
|
498
|
+
maxRenewals: number;
|
|
499
|
+
lastRenewedAt: number | null;
|
|
500
|
+
absoluteExpiresAt: number;
|
|
501
|
+
source: "api" | "mcp";
|
|
502
|
+
walletId: string;
|
|
503
|
+
walletName: string | null;
|
|
504
|
+
}, {
|
|
505
|
+
wallets: {
|
|
506
|
+
id: string;
|
|
507
|
+
name: string;
|
|
508
|
+
}[];
|
|
509
|
+
id: string;
|
|
510
|
+
status: string;
|
|
511
|
+
createdAt: number;
|
|
512
|
+
expiresAt: number;
|
|
513
|
+
renewalCount: number;
|
|
514
|
+
maxRenewals: number;
|
|
515
|
+
lastRenewedAt: number | null;
|
|
516
|
+
absoluteExpiresAt: number;
|
|
517
|
+
source: "api" | "mcp";
|
|
518
|
+
walletId: string;
|
|
519
|
+
walletName: string | null;
|
|
520
|
+
}>, "many">;
|
|
521
|
+
total: z.ZodNumber;
|
|
522
|
+
limit: z.ZodNumber;
|
|
523
|
+
offset: z.ZodNumber;
|
|
524
|
+
}, "strip", z.ZodTypeAny, {
|
|
525
|
+
data: {
|
|
526
|
+
wallets: {
|
|
527
|
+
id: string;
|
|
528
|
+
name: string;
|
|
529
|
+
}[];
|
|
530
|
+
id: string;
|
|
531
|
+
status: string;
|
|
532
|
+
createdAt: number;
|
|
533
|
+
expiresAt: number;
|
|
534
|
+
renewalCount: number;
|
|
535
|
+
maxRenewals: number;
|
|
536
|
+
lastRenewedAt: number | null;
|
|
537
|
+
absoluteExpiresAt: number;
|
|
538
|
+
source: "api" | "mcp";
|
|
539
|
+
walletId: string;
|
|
540
|
+
walletName: string | null;
|
|
541
|
+
}[];
|
|
542
|
+
limit: number;
|
|
543
|
+
offset: number;
|
|
544
|
+
total: number;
|
|
545
|
+
}, {
|
|
546
|
+
data: {
|
|
547
|
+
wallets: {
|
|
548
|
+
id: string;
|
|
549
|
+
name: string;
|
|
550
|
+
}[];
|
|
551
|
+
id: string;
|
|
552
|
+
status: string;
|
|
553
|
+
createdAt: number;
|
|
554
|
+
expiresAt: number;
|
|
555
|
+
renewalCount: number;
|
|
556
|
+
maxRenewals: number;
|
|
557
|
+
lastRenewedAt: number | null;
|
|
558
|
+
absoluteExpiresAt: number;
|
|
559
|
+
source: "api" | "mcp";
|
|
560
|
+
walletId: string;
|
|
561
|
+
walletName: string | null;
|
|
562
|
+
}[];
|
|
563
|
+
limit: number;
|
|
564
|
+
offset: number;
|
|
565
|
+
total: number;
|
|
566
|
+
}>;
|
|
430
567
|
export declare const SessionWalletSchema: z.ZodObject<{
|
|
431
568
|
sessionId: z.ZodString;
|
|
432
569
|
walletId: z.ZodString;
|
|
@@ -530,6 +667,9 @@ export declare const TxDetailResponseSchema: z.ZodObject<{
|
|
|
530
667
|
amountFormatted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
531
668
|
amountDecimals: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
532
669
|
amountSymbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
670
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
671
|
+
contractName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
672
|
+
contractNameSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
533
673
|
}, "strip", z.ZodTypeAny, {
|
|
534
674
|
id: string;
|
|
535
675
|
chain: string;
|
|
@@ -543,12 +683,15 @@ export declare const TxDetailResponseSchema: z.ZodObject<{
|
|
|
543
683
|
tier: string | null;
|
|
544
684
|
error: string | null;
|
|
545
685
|
network: string | null;
|
|
686
|
+
chainId?: string | undefined;
|
|
546
687
|
displayCurrency?: string | null | undefined;
|
|
547
688
|
displayAmount?: string | null | undefined;
|
|
548
689
|
atomic?: boolean | undefined;
|
|
549
690
|
amountFormatted?: string | null | undefined;
|
|
550
691
|
amountDecimals?: number | null | undefined;
|
|
551
692
|
amountSymbol?: string | null | undefined;
|
|
693
|
+
contractName?: string | null | undefined;
|
|
694
|
+
contractNameSource?: string | null | undefined;
|
|
552
695
|
}, {
|
|
553
696
|
id: string;
|
|
554
697
|
chain: string;
|
|
@@ -562,12 +705,15 @@ export declare const TxDetailResponseSchema: z.ZodObject<{
|
|
|
562
705
|
tier: string | null;
|
|
563
706
|
error: string | null;
|
|
564
707
|
network: string | null;
|
|
708
|
+
chainId?: string | undefined;
|
|
565
709
|
displayCurrency?: string | null | undefined;
|
|
566
710
|
displayAmount?: string | null | undefined;
|
|
567
711
|
atomic?: boolean | undefined;
|
|
568
712
|
amountFormatted?: string | null | undefined;
|
|
569
713
|
amountDecimals?: number | null | undefined;
|
|
570
714
|
amountSymbol?: string | null | undefined;
|
|
715
|
+
contractName?: string | null | undefined;
|
|
716
|
+
contractNameSource?: string | null | undefined;
|
|
571
717
|
}>;
|
|
572
718
|
export declare const TxApproveResponseSchema: z.ZodObject<{
|
|
573
719
|
id: z.ZodString;
|
|
@@ -636,6 +782,72 @@ export declare const PolicyResponseSchema: z.ZodObject<{
|
|
|
636
782
|
priority: number;
|
|
637
783
|
enabled: boolean;
|
|
638
784
|
}>;
|
|
785
|
+
export declare const PaginatedPolicyListSchema: z.ZodObject<{
|
|
786
|
+
data: z.ZodArray<z.ZodObject<{
|
|
787
|
+
id: z.ZodString;
|
|
788
|
+
walletId: z.ZodNullable<z.ZodString>;
|
|
789
|
+
type: z.ZodString;
|
|
790
|
+
rules: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
791
|
+
priority: z.ZodNumber;
|
|
792
|
+
enabled: z.ZodBoolean;
|
|
793
|
+
network: z.ZodNullable<z.ZodString>;
|
|
794
|
+
createdAt: z.ZodNumber;
|
|
795
|
+
updatedAt: z.ZodNumber;
|
|
796
|
+
}, "strip", z.ZodTypeAny, {
|
|
797
|
+
id: string;
|
|
798
|
+
createdAt: number;
|
|
799
|
+
updatedAt: number;
|
|
800
|
+
walletId: string | null;
|
|
801
|
+
type: string;
|
|
802
|
+
network: string | null;
|
|
803
|
+
rules: Record<string, unknown>;
|
|
804
|
+
priority: number;
|
|
805
|
+
enabled: boolean;
|
|
806
|
+
}, {
|
|
807
|
+
id: string;
|
|
808
|
+
createdAt: number;
|
|
809
|
+
updatedAt: number;
|
|
810
|
+
walletId: string | null;
|
|
811
|
+
type: string;
|
|
812
|
+
network: string | null;
|
|
813
|
+
rules: Record<string, unknown>;
|
|
814
|
+
priority: number;
|
|
815
|
+
enabled: boolean;
|
|
816
|
+
}>, "many">;
|
|
817
|
+
total: z.ZodNumber;
|
|
818
|
+
limit: z.ZodNumber;
|
|
819
|
+
offset: z.ZodNumber;
|
|
820
|
+
}, "strip", z.ZodTypeAny, {
|
|
821
|
+
data: {
|
|
822
|
+
id: string;
|
|
823
|
+
createdAt: number;
|
|
824
|
+
updatedAt: number;
|
|
825
|
+
walletId: string | null;
|
|
826
|
+
type: string;
|
|
827
|
+
network: string | null;
|
|
828
|
+
rules: Record<string, unknown>;
|
|
829
|
+
priority: number;
|
|
830
|
+
enabled: boolean;
|
|
831
|
+
}[];
|
|
832
|
+
limit: number;
|
|
833
|
+
offset: number;
|
|
834
|
+
total: number;
|
|
835
|
+
}, {
|
|
836
|
+
data: {
|
|
837
|
+
id: string;
|
|
838
|
+
createdAt: number;
|
|
839
|
+
updatedAt: number;
|
|
840
|
+
walletId: string | null;
|
|
841
|
+
type: string;
|
|
842
|
+
network: string | null;
|
|
843
|
+
rules: Record<string, unknown>;
|
|
844
|
+
priority: number;
|
|
845
|
+
enabled: boolean;
|
|
846
|
+
}[];
|
|
847
|
+
limit: number;
|
|
848
|
+
offset: number;
|
|
849
|
+
total: number;
|
|
850
|
+
}>;
|
|
639
851
|
export declare const PolicyDeleteResponseSchema: z.ZodObject<{
|
|
640
852
|
id: z.ZodString;
|
|
641
853
|
deleted: z.ZodBoolean;
|
|
@@ -656,6 +868,7 @@ export declare const WalletAppSchema: z.ZodObject<{
|
|
|
656
868
|
sign_topic: z.ZodNullable<z.ZodString>;
|
|
657
869
|
notify_topic: z.ZodNullable<z.ZodString>;
|
|
658
870
|
subscription_token: z.ZodNullable<z.ZodString>;
|
|
871
|
+
push_relay_url: z.ZodNullable<z.ZodString>;
|
|
659
872
|
used_by: z.ZodArray<z.ZodObject<{
|
|
660
873
|
id: z.ZodString;
|
|
661
874
|
label: z.ZodString;
|
|
@@ -680,6 +893,7 @@ export declare const WalletAppSchema: z.ZodObject<{
|
|
|
680
893
|
sign_topic: string | null;
|
|
681
894
|
notify_topic: string | null;
|
|
682
895
|
subscription_token: string | null;
|
|
896
|
+
push_relay_url: string | null;
|
|
683
897
|
used_by: {
|
|
684
898
|
id: string;
|
|
685
899
|
label: string;
|
|
@@ -696,6 +910,7 @@ export declare const WalletAppSchema: z.ZodObject<{
|
|
|
696
910
|
sign_topic: string | null;
|
|
697
911
|
notify_topic: string | null;
|
|
698
912
|
subscription_token: string | null;
|
|
913
|
+
push_relay_url: string | null;
|
|
699
914
|
used_by: {
|
|
700
915
|
id: string;
|
|
701
916
|
label: string;
|
|
@@ -712,6 +927,7 @@ export declare const WalletAppListResponseSchema: z.ZodObject<{
|
|
|
712
927
|
sign_topic: z.ZodNullable<z.ZodString>;
|
|
713
928
|
notify_topic: z.ZodNullable<z.ZodString>;
|
|
714
929
|
subscription_token: z.ZodNullable<z.ZodString>;
|
|
930
|
+
push_relay_url: z.ZodNullable<z.ZodString>;
|
|
715
931
|
used_by: z.ZodArray<z.ZodObject<{
|
|
716
932
|
id: z.ZodString;
|
|
717
933
|
label: z.ZodString;
|
|
@@ -736,6 +952,7 @@ export declare const WalletAppListResponseSchema: z.ZodObject<{
|
|
|
736
952
|
sign_topic: string | null;
|
|
737
953
|
notify_topic: string | null;
|
|
738
954
|
subscription_token: string | null;
|
|
955
|
+
push_relay_url: string | null;
|
|
739
956
|
used_by: {
|
|
740
957
|
id: string;
|
|
741
958
|
label: string;
|
|
@@ -752,6 +969,7 @@ export declare const WalletAppListResponseSchema: z.ZodObject<{
|
|
|
752
969
|
sign_topic: string | null;
|
|
753
970
|
notify_topic: string | null;
|
|
754
971
|
subscription_token: string | null;
|
|
972
|
+
push_relay_url: string | null;
|
|
755
973
|
used_by: {
|
|
756
974
|
id: string;
|
|
757
975
|
label: string;
|
|
@@ -770,6 +988,7 @@ export declare const WalletAppListResponseSchema: z.ZodObject<{
|
|
|
770
988
|
sign_topic: string | null;
|
|
771
989
|
notify_topic: string | null;
|
|
772
990
|
subscription_token: string | null;
|
|
991
|
+
push_relay_url: string | null;
|
|
773
992
|
used_by: {
|
|
774
993
|
id: string;
|
|
775
994
|
label: string;
|
|
@@ -788,6 +1007,7 @@ export declare const WalletAppListResponseSchema: z.ZodObject<{
|
|
|
788
1007
|
sign_topic: string | null;
|
|
789
1008
|
notify_topic: string | null;
|
|
790
1009
|
subscription_token: string | null;
|
|
1010
|
+
push_relay_url: string | null;
|
|
791
1011
|
used_by: {
|
|
792
1012
|
id: string;
|
|
793
1013
|
label: string;
|
|
@@ -800,18 +1020,21 @@ export declare const WalletAppCreateRequestSchema: z.ZodObject<{
|
|
|
800
1020
|
wallet_type: z.ZodOptional<z.ZodString>;
|
|
801
1021
|
sign_topic: z.ZodOptional<z.ZodString>;
|
|
802
1022
|
notify_topic: z.ZodOptional<z.ZodString>;
|
|
1023
|
+
push_relay_url: z.ZodOptional<z.ZodString>;
|
|
803
1024
|
}, "strip", z.ZodTypeAny, {
|
|
804
1025
|
name: string;
|
|
805
1026
|
display_name: string;
|
|
806
1027
|
wallet_type?: string | undefined;
|
|
807
1028
|
sign_topic?: string | undefined;
|
|
808
1029
|
notify_topic?: string | undefined;
|
|
1030
|
+
push_relay_url?: string | undefined;
|
|
809
1031
|
}, {
|
|
810
1032
|
name: string;
|
|
811
1033
|
display_name: string;
|
|
812
1034
|
wallet_type?: string | undefined;
|
|
813
1035
|
sign_topic?: string | undefined;
|
|
814
1036
|
notify_topic?: string | undefined;
|
|
1037
|
+
push_relay_url?: string | undefined;
|
|
815
1038
|
}>;
|
|
816
1039
|
export declare const WalletAppUpdateRequestSchema: z.ZodObject<{
|
|
817
1040
|
signing_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -819,18 +1042,21 @@ export declare const WalletAppUpdateRequestSchema: z.ZodObject<{
|
|
|
819
1042
|
sign_topic: z.ZodOptional<z.ZodString>;
|
|
820
1043
|
notify_topic: z.ZodOptional<z.ZodString>;
|
|
821
1044
|
subscription_token: z.ZodOptional<z.ZodString>;
|
|
1045
|
+
push_relay_url: z.ZodOptional<z.ZodString>;
|
|
822
1046
|
}, "strip", z.ZodTypeAny, {
|
|
823
1047
|
signing_enabled?: boolean | undefined;
|
|
824
1048
|
alerts_enabled?: boolean | undefined;
|
|
825
1049
|
sign_topic?: string | undefined;
|
|
826
1050
|
notify_topic?: string | undefined;
|
|
827
1051
|
subscription_token?: string | undefined;
|
|
1052
|
+
push_relay_url?: string | undefined;
|
|
828
1053
|
}, {
|
|
829
1054
|
signing_enabled?: boolean | undefined;
|
|
830
1055
|
alerts_enabled?: boolean | undefined;
|
|
831
1056
|
sign_topic?: string | undefined;
|
|
832
1057
|
notify_topic?: string | undefined;
|
|
833
1058
|
subscription_token?: string | undefined;
|
|
1059
|
+
push_relay_url?: string | undefined;
|
|
834
1060
|
}>;
|
|
835
1061
|
export declare const WalletAppResponseSchema: z.ZodObject<{
|
|
836
1062
|
app: z.ZodObject<{
|
|
@@ -843,6 +1069,7 @@ export declare const WalletAppResponseSchema: z.ZodObject<{
|
|
|
843
1069
|
sign_topic: z.ZodNullable<z.ZodString>;
|
|
844
1070
|
notify_topic: z.ZodNullable<z.ZodString>;
|
|
845
1071
|
subscription_token: z.ZodNullable<z.ZodString>;
|
|
1072
|
+
push_relay_url: z.ZodNullable<z.ZodString>;
|
|
846
1073
|
used_by: z.ZodArray<z.ZodObject<{
|
|
847
1074
|
id: z.ZodString;
|
|
848
1075
|
label: z.ZodString;
|
|
@@ -867,6 +1094,7 @@ export declare const WalletAppResponseSchema: z.ZodObject<{
|
|
|
867
1094
|
sign_topic: string | null;
|
|
868
1095
|
notify_topic: string | null;
|
|
869
1096
|
subscription_token: string | null;
|
|
1097
|
+
push_relay_url: string | null;
|
|
870
1098
|
used_by: {
|
|
871
1099
|
id: string;
|
|
872
1100
|
label: string;
|
|
@@ -883,6 +1111,7 @@ export declare const WalletAppResponseSchema: z.ZodObject<{
|
|
|
883
1111
|
sign_topic: string | null;
|
|
884
1112
|
notify_topic: string | null;
|
|
885
1113
|
subscription_token: string | null;
|
|
1114
|
+
push_relay_url: string | null;
|
|
886
1115
|
used_by: {
|
|
887
1116
|
id: string;
|
|
888
1117
|
label: string;
|
|
@@ -901,6 +1130,7 @@ export declare const WalletAppResponseSchema: z.ZodObject<{
|
|
|
901
1130
|
sign_topic: string | null;
|
|
902
1131
|
notify_topic: string | null;
|
|
903
1132
|
subscription_token: string | null;
|
|
1133
|
+
push_relay_url: string | null;
|
|
904
1134
|
used_by: {
|
|
905
1135
|
id: string;
|
|
906
1136
|
label: string;
|
|
@@ -919,6 +1149,7 @@ export declare const WalletAppResponseSchema: z.ZodObject<{
|
|
|
919
1149
|
sign_topic: string | null;
|
|
920
1150
|
notify_topic: string | null;
|
|
921
1151
|
subscription_token: string | null;
|
|
1152
|
+
push_relay_url: string | null;
|
|
922
1153
|
used_by: {
|
|
923
1154
|
id: string;
|
|
924
1155
|
label: string;
|
|
@@ -927,16 +1158,13 @@ export declare const WalletAppResponseSchema: z.ZodObject<{
|
|
|
927
1158
|
}>;
|
|
928
1159
|
export declare const WalletAppTestNotificationResponseSchema: z.ZodObject<{
|
|
929
1160
|
success: z.ZodBoolean;
|
|
930
|
-
topic: z.ZodOptional<z.ZodString>;
|
|
931
1161
|
error: z.ZodOptional<z.ZodString>;
|
|
932
1162
|
}, "strip", z.ZodTypeAny, {
|
|
933
1163
|
success: boolean;
|
|
934
1164
|
error?: string | undefined;
|
|
935
|
-
topic?: string | undefined;
|
|
936
1165
|
}, {
|
|
937
1166
|
success: boolean;
|
|
938
1167
|
error?: string | undefined;
|
|
939
|
-
topic?: string | undefined;
|
|
940
1168
|
}>;
|
|
941
1169
|
/**
|
|
942
1170
|
* Build OpenAPI error response entries from a list of error codes.
|
|
@@ -1071,13 +1299,13 @@ export declare const CreatePolicyRequestOpenAPI: z.ZodEffects<z.ZodObject<{
|
|
|
1071
1299
|
enabled: boolean;
|
|
1072
1300
|
rules: Record<string, unknown>;
|
|
1073
1301
|
priority: number;
|
|
1074
|
-
walletId?: string | undefined;
|
|
1075
1302
|
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;
|
|
1303
|
+
walletId?: string | undefined;
|
|
1076
1304
|
}, {
|
|
1077
1305
|
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";
|
|
1078
1306
|
rules: Record<string, unknown>;
|
|
1079
|
-
walletId?: string | undefined;
|
|
1080
1307
|
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;
|
|
1308
|
+
walletId?: string | undefined;
|
|
1081
1309
|
enabled?: boolean | undefined;
|
|
1082
1310
|
priority?: number | undefined;
|
|
1083
1311
|
}>, {
|
|
@@ -1085,13 +1313,13 @@ export declare const CreatePolicyRequestOpenAPI: z.ZodEffects<z.ZodObject<{
|
|
|
1085
1313
|
enabled: boolean;
|
|
1086
1314
|
rules: Record<string, unknown>;
|
|
1087
1315
|
priority: number;
|
|
1088
|
-
walletId?: string | undefined;
|
|
1089
1316
|
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;
|
|
1317
|
+
walletId?: string | undefined;
|
|
1090
1318
|
}, {
|
|
1091
1319
|
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";
|
|
1092
1320
|
rules: Record<string, unknown>;
|
|
1093
|
-
walletId?: string | undefined;
|
|
1094
1321
|
network?: "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet" | undefined;
|
|
1322
|
+
walletId?: string | undefined;
|
|
1095
1323
|
enabled?: boolean | undefined;
|
|
1096
1324
|
priority?: number | undefined;
|
|
1097
1325
|
}>;
|
|
@@ -1206,40 +1434,40 @@ export declare const TokenTransferRequestOpenAPI: z.ZodObject<{
|
|
|
1206
1434
|
amount: z.ZodOptional<z.ZodString>;
|
|
1207
1435
|
humanAmount: z.ZodOptional<z.ZodString>;
|
|
1208
1436
|
token: z.ZodEffects<z.ZodObject<{
|
|
1209
|
-
address: z.ZodString
|
|
1210
|
-
decimals: z.ZodNumber
|
|
1211
|
-
symbol: z.ZodString
|
|
1437
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1438
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1439
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1212
1440
|
assetId: z.ZodOptional<z.ZodString>;
|
|
1213
1441
|
}, "strip", z.ZodTypeAny, {
|
|
1214
|
-
symbol
|
|
1215
|
-
address: string;
|
|
1216
|
-
decimals: number;
|
|
1442
|
+
symbol?: string | undefined;
|
|
1217
1443
|
assetId?: string | undefined;
|
|
1444
|
+
address?: string | undefined;
|
|
1445
|
+
decimals?: number | undefined;
|
|
1218
1446
|
}, {
|
|
1219
|
-
symbol
|
|
1220
|
-
address: string;
|
|
1221
|
-
decimals: number;
|
|
1447
|
+
symbol?: string | undefined;
|
|
1222
1448
|
assetId?: string | undefined;
|
|
1449
|
+
address?: string | undefined;
|
|
1450
|
+
decimals?: number | undefined;
|
|
1223
1451
|
}>, {
|
|
1224
|
-
symbol
|
|
1225
|
-
address: string;
|
|
1226
|
-
decimals: number;
|
|
1452
|
+
symbol?: string | undefined;
|
|
1227
1453
|
assetId?: string | undefined;
|
|
1454
|
+
address?: string | undefined;
|
|
1455
|
+
decimals?: number | undefined;
|
|
1228
1456
|
}, {
|
|
1229
|
-
symbol
|
|
1230
|
-
address: string;
|
|
1231
|
-
decimals: number;
|
|
1457
|
+
symbol?: string | undefined;
|
|
1232
1458
|
assetId?: string | undefined;
|
|
1459
|
+
address?: string | undefined;
|
|
1460
|
+
decimals?: number | undefined;
|
|
1233
1461
|
}>;
|
|
1234
1462
|
memo: z.ZodOptional<z.ZodString>;
|
|
1235
1463
|
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>>;
|
|
1236
1464
|
}, "strip", z.ZodTypeAny, {
|
|
1237
1465
|
type: "TOKEN_TRANSFER";
|
|
1238
1466
|
token: {
|
|
1239
|
-
symbol
|
|
1240
|
-
address: string;
|
|
1241
|
-
decimals: number;
|
|
1467
|
+
symbol?: string | undefined;
|
|
1242
1468
|
assetId?: string | undefined;
|
|
1469
|
+
address?: string | undefined;
|
|
1470
|
+
decimals?: number | undefined;
|
|
1243
1471
|
};
|
|
1244
1472
|
to: string;
|
|
1245
1473
|
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;
|
|
@@ -1254,10 +1482,10 @@ export declare const TokenTransferRequestOpenAPI: z.ZodObject<{
|
|
|
1254
1482
|
}, {
|
|
1255
1483
|
type: "TOKEN_TRANSFER";
|
|
1256
1484
|
token: {
|
|
1257
|
-
symbol
|
|
1258
|
-
address: string;
|
|
1259
|
-
decimals: number;
|
|
1485
|
+
symbol?: string | undefined;
|
|
1260
1486
|
assetId?: string | undefined;
|
|
1487
|
+
address?: string | undefined;
|
|
1488
|
+
decimals?: number | undefined;
|
|
1261
1489
|
};
|
|
1262
1490
|
to: string;
|
|
1263
1491
|
network?: unknown;
|
|
@@ -1345,14 +1573,48 @@ export declare const ContractCallRequestOpenAPI: z.ZodObject<{
|
|
|
1345
1573
|
}[];
|
|
1346
1574
|
data: string;
|
|
1347
1575
|
}>, "many">>;
|
|
1576
|
+
postInstructions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1577
|
+
programId: z.ZodString;
|
|
1578
|
+
data: z.ZodString;
|
|
1579
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
1580
|
+
pubkey: z.ZodString;
|
|
1581
|
+
isSigner: z.ZodBoolean;
|
|
1582
|
+
isWritable: z.ZodBoolean;
|
|
1583
|
+
}, "strip", z.ZodTypeAny, {
|
|
1584
|
+
pubkey: string;
|
|
1585
|
+
isSigner: boolean;
|
|
1586
|
+
isWritable: boolean;
|
|
1587
|
+
}, {
|
|
1588
|
+
pubkey: string;
|
|
1589
|
+
isSigner: boolean;
|
|
1590
|
+
isWritable: boolean;
|
|
1591
|
+
}>, "many">;
|
|
1592
|
+
}, "strip", z.ZodTypeAny, {
|
|
1593
|
+
programId: string;
|
|
1594
|
+
accounts: {
|
|
1595
|
+
pubkey: string;
|
|
1596
|
+
isSigner: boolean;
|
|
1597
|
+
isWritable: boolean;
|
|
1598
|
+
}[];
|
|
1599
|
+
data: string;
|
|
1600
|
+
}, {
|
|
1601
|
+
programId: string;
|
|
1602
|
+
accounts: {
|
|
1603
|
+
pubkey: string;
|
|
1604
|
+
isSigner: boolean;
|
|
1605
|
+
isWritable: boolean;
|
|
1606
|
+
}[];
|
|
1607
|
+
data: string;
|
|
1608
|
+
}>, "many">>;
|
|
1609
|
+
addressLookupTableAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1348
1610
|
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>>;
|
|
1349
1611
|
actionProvider: z.ZodOptional<z.ZodString>;
|
|
1350
1612
|
actionName: z.ZodOptional<z.ZodString>;
|
|
1351
1613
|
}, "strip", z.ZodTypeAny, {
|
|
1352
1614
|
type: "CONTRACT_CALL";
|
|
1353
1615
|
to: string;
|
|
1354
|
-
value?: string | undefined;
|
|
1355
1616
|
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;
|
|
1617
|
+
value?: string | undefined;
|
|
1356
1618
|
gasCondition?: {
|
|
1357
1619
|
maxGasPrice?: string | undefined;
|
|
1358
1620
|
maxPriorityFee?: string | undefined;
|
|
@@ -1376,13 +1638,23 @@ export declare const ContractCallRequestOpenAPI: z.ZodObject<{
|
|
|
1376
1638
|
}[];
|
|
1377
1639
|
data: string;
|
|
1378
1640
|
}[] | undefined;
|
|
1641
|
+
postInstructions?: {
|
|
1642
|
+
programId: string;
|
|
1643
|
+
accounts: {
|
|
1644
|
+
pubkey: string;
|
|
1645
|
+
isSigner: boolean;
|
|
1646
|
+
isWritable: boolean;
|
|
1647
|
+
}[];
|
|
1648
|
+
data: string;
|
|
1649
|
+
}[] | undefined;
|
|
1650
|
+
addressLookupTableAddresses?: string[] | undefined;
|
|
1379
1651
|
actionProvider?: string | undefined;
|
|
1380
1652
|
actionName?: string | undefined;
|
|
1381
1653
|
}, {
|
|
1382
1654
|
type: "CONTRACT_CALL";
|
|
1383
1655
|
to: string;
|
|
1384
|
-
value?: string | undefined;
|
|
1385
1656
|
network?: unknown;
|
|
1657
|
+
value?: string | undefined;
|
|
1386
1658
|
gasCondition?: {
|
|
1387
1659
|
maxGasPrice?: string | undefined;
|
|
1388
1660
|
maxPriorityFee?: string | undefined;
|
|
@@ -1406,6 +1678,16 @@ export declare const ContractCallRequestOpenAPI: z.ZodObject<{
|
|
|
1406
1678
|
}[];
|
|
1407
1679
|
data: string;
|
|
1408
1680
|
}[] | undefined;
|
|
1681
|
+
postInstructions?: {
|
|
1682
|
+
programId: string;
|
|
1683
|
+
accounts: {
|
|
1684
|
+
pubkey: string;
|
|
1685
|
+
isSigner: boolean;
|
|
1686
|
+
isWritable: boolean;
|
|
1687
|
+
}[];
|
|
1688
|
+
data: string;
|
|
1689
|
+
}[] | undefined;
|
|
1690
|
+
addressLookupTableAddresses?: string[] | undefined;
|
|
1409
1691
|
actionProvider?: string | undefined;
|
|
1410
1692
|
actionName?: string | undefined;
|
|
1411
1693
|
}>;
|
|
@@ -1434,30 +1716,30 @@ export declare const ApproveRequestOpenAPI: z.ZodObject<{
|
|
|
1434
1716
|
type: z.ZodLiteral<"APPROVE">;
|
|
1435
1717
|
spender: z.ZodString;
|
|
1436
1718
|
token: z.ZodEffects<z.ZodObject<{
|
|
1437
|
-
address: z.ZodString
|
|
1438
|
-
decimals: z.ZodNumber
|
|
1439
|
-
symbol: z.ZodString
|
|
1719
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1720
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1721
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1440
1722
|
assetId: z.ZodOptional<z.ZodString>;
|
|
1441
1723
|
}, "strip", z.ZodTypeAny, {
|
|
1442
|
-
symbol
|
|
1443
|
-
address: string;
|
|
1444
|
-
decimals: number;
|
|
1724
|
+
symbol?: string | undefined;
|
|
1445
1725
|
assetId?: string | undefined;
|
|
1726
|
+
address?: string | undefined;
|
|
1727
|
+
decimals?: number | undefined;
|
|
1446
1728
|
}, {
|
|
1447
|
-
symbol
|
|
1448
|
-
address: string;
|
|
1449
|
-
decimals: number;
|
|
1729
|
+
symbol?: string | undefined;
|
|
1450
1730
|
assetId?: string | undefined;
|
|
1731
|
+
address?: string | undefined;
|
|
1732
|
+
decimals?: number | undefined;
|
|
1451
1733
|
}>, {
|
|
1452
|
-
symbol
|
|
1453
|
-
address: string;
|
|
1454
|
-
decimals: number;
|
|
1734
|
+
symbol?: string | undefined;
|
|
1455
1735
|
assetId?: string | undefined;
|
|
1736
|
+
address?: string | undefined;
|
|
1737
|
+
decimals?: number | undefined;
|
|
1456
1738
|
}, {
|
|
1457
|
-
symbol
|
|
1458
|
-
address: string;
|
|
1459
|
-
decimals: number;
|
|
1739
|
+
symbol?: string | undefined;
|
|
1460
1740
|
assetId?: string | undefined;
|
|
1741
|
+
address?: string | undefined;
|
|
1742
|
+
decimals?: number | undefined;
|
|
1461
1743
|
}>;
|
|
1462
1744
|
amount: z.ZodOptional<z.ZodString>;
|
|
1463
1745
|
humanAmount: z.ZodOptional<z.ZodString>;
|
|
@@ -1475,10 +1757,10 @@ export declare const ApproveRequestOpenAPI: z.ZodObject<{
|
|
|
1475
1757
|
}, "strip", z.ZodTypeAny, {
|
|
1476
1758
|
type: "APPROVE";
|
|
1477
1759
|
token: {
|
|
1478
|
-
symbol
|
|
1479
|
-
address: string;
|
|
1480
|
-
decimals: number;
|
|
1760
|
+
symbol?: string | undefined;
|
|
1481
1761
|
assetId?: string | undefined;
|
|
1762
|
+
address?: string | undefined;
|
|
1763
|
+
decimals?: number | undefined;
|
|
1482
1764
|
};
|
|
1483
1765
|
spender: string;
|
|
1484
1766
|
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;
|
|
@@ -1496,10 +1778,10 @@ export declare const ApproveRequestOpenAPI: z.ZodObject<{
|
|
|
1496
1778
|
}, {
|
|
1497
1779
|
type: "APPROVE";
|
|
1498
1780
|
token: {
|
|
1499
|
-
symbol
|
|
1500
|
-
address: string;
|
|
1501
|
-
decimals: number;
|
|
1781
|
+
symbol?: string | undefined;
|
|
1502
1782
|
assetId?: string | undefined;
|
|
1783
|
+
address?: string | undefined;
|
|
1784
|
+
decimals?: number | undefined;
|
|
1503
1785
|
};
|
|
1504
1786
|
spender: string;
|
|
1505
1787
|
network?: unknown;
|
|
@@ -1615,39 +1897,39 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1615
1897
|
amount: z.ZodOptional<z.ZodString>;
|
|
1616
1898
|
humanAmount: z.ZodOptional<z.ZodString>;
|
|
1617
1899
|
token: z.ZodEffects<z.ZodObject<{
|
|
1618
|
-
address: z.ZodString
|
|
1619
|
-
decimals: z.ZodNumber
|
|
1620
|
-
symbol: z.ZodString
|
|
1900
|
+
address: z.ZodOptional<z.ZodString>;
|
|
1901
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1902
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1621
1903
|
assetId: z.ZodOptional<z.ZodString>;
|
|
1622
1904
|
}, "strip", z.ZodTypeAny, {
|
|
1623
|
-
symbol
|
|
1624
|
-
address: string;
|
|
1625
|
-
decimals: number;
|
|
1905
|
+
symbol?: string | undefined;
|
|
1626
1906
|
assetId?: string | undefined;
|
|
1907
|
+
address?: string | undefined;
|
|
1908
|
+
decimals?: number | undefined;
|
|
1627
1909
|
}, {
|
|
1628
|
-
symbol
|
|
1629
|
-
address: string;
|
|
1630
|
-
decimals: number;
|
|
1910
|
+
symbol?: string | undefined;
|
|
1631
1911
|
assetId?: string | undefined;
|
|
1912
|
+
address?: string | undefined;
|
|
1913
|
+
decimals?: number | undefined;
|
|
1632
1914
|
}>, {
|
|
1633
|
-
symbol
|
|
1634
|
-
address: string;
|
|
1635
|
-
decimals: number;
|
|
1915
|
+
symbol?: string | undefined;
|
|
1636
1916
|
assetId?: string | undefined;
|
|
1917
|
+
address?: string | undefined;
|
|
1918
|
+
decimals?: number | undefined;
|
|
1637
1919
|
}, {
|
|
1638
|
-
symbol
|
|
1639
|
-
address: string;
|
|
1640
|
-
decimals: number;
|
|
1920
|
+
symbol?: string | undefined;
|
|
1641
1921
|
assetId?: string | undefined;
|
|
1922
|
+
address?: string | undefined;
|
|
1923
|
+
decimals?: number | undefined;
|
|
1642
1924
|
}>;
|
|
1643
1925
|
memo: z.ZodOptional<z.ZodString>;
|
|
1644
1926
|
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>>;
|
|
1645
1927
|
}, "type">, "strip", z.ZodTypeAny, {
|
|
1646
1928
|
token: {
|
|
1647
|
-
symbol
|
|
1648
|
-
address: string;
|
|
1649
|
-
decimals: number;
|
|
1929
|
+
symbol?: string | undefined;
|
|
1650
1930
|
assetId?: string | undefined;
|
|
1931
|
+
address?: string | undefined;
|
|
1932
|
+
decimals?: number | undefined;
|
|
1651
1933
|
};
|
|
1652
1934
|
to: string;
|
|
1653
1935
|
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;
|
|
@@ -1661,10 +1943,10 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1661
1943
|
} | undefined;
|
|
1662
1944
|
}, {
|
|
1663
1945
|
token: {
|
|
1664
|
-
symbol
|
|
1665
|
-
address: string;
|
|
1666
|
-
decimals: number;
|
|
1946
|
+
symbol?: string | undefined;
|
|
1667
1947
|
assetId?: string | undefined;
|
|
1948
|
+
address?: string | undefined;
|
|
1949
|
+
decimals?: number | undefined;
|
|
1668
1950
|
};
|
|
1669
1951
|
to: string;
|
|
1670
1952
|
network?: unknown;
|
|
@@ -1751,13 +2033,47 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1751
2033
|
}[];
|
|
1752
2034
|
data: string;
|
|
1753
2035
|
}>, "many">>;
|
|
2036
|
+
postInstructions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2037
|
+
programId: z.ZodString;
|
|
2038
|
+
data: z.ZodString;
|
|
2039
|
+
accounts: z.ZodArray<z.ZodObject<{
|
|
2040
|
+
pubkey: z.ZodString;
|
|
2041
|
+
isSigner: z.ZodBoolean;
|
|
2042
|
+
isWritable: z.ZodBoolean;
|
|
2043
|
+
}, "strip", z.ZodTypeAny, {
|
|
2044
|
+
pubkey: string;
|
|
2045
|
+
isSigner: boolean;
|
|
2046
|
+
isWritable: boolean;
|
|
2047
|
+
}, {
|
|
2048
|
+
pubkey: string;
|
|
2049
|
+
isSigner: boolean;
|
|
2050
|
+
isWritable: boolean;
|
|
2051
|
+
}>, "many">;
|
|
2052
|
+
}, "strip", z.ZodTypeAny, {
|
|
2053
|
+
programId: string;
|
|
2054
|
+
accounts: {
|
|
2055
|
+
pubkey: string;
|
|
2056
|
+
isSigner: boolean;
|
|
2057
|
+
isWritable: boolean;
|
|
2058
|
+
}[];
|
|
2059
|
+
data: string;
|
|
2060
|
+
}, {
|
|
2061
|
+
programId: string;
|
|
2062
|
+
accounts: {
|
|
2063
|
+
pubkey: string;
|
|
2064
|
+
isSigner: boolean;
|
|
2065
|
+
isWritable: boolean;
|
|
2066
|
+
}[];
|
|
2067
|
+
data: string;
|
|
2068
|
+
}>, "many">>;
|
|
2069
|
+
addressLookupTableAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1754
2070
|
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>>;
|
|
1755
2071
|
actionProvider: z.ZodOptional<z.ZodString>;
|
|
1756
2072
|
actionName: z.ZodOptional<z.ZodString>;
|
|
1757
2073
|
}, "type">, "strip", z.ZodTypeAny, {
|
|
1758
2074
|
to: string;
|
|
1759
|
-
value?: string | undefined;
|
|
1760
2075
|
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;
|
|
2076
|
+
value?: string | undefined;
|
|
1761
2077
|
gasCondition?: {
|
|
1762
2078
|
maxGasPrice?: string | undefined;
|
|
1763
2079
|
maxPriorityFee?: string | undefined;
|
|
@@ -1781,12 +2097,22 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1781
2097
|
}[];
|
|
1782
2098
|
data: string;
|
|
1783
2099
|
}[] | undefined;
|
|
2100
|
+
postInstructions?: {
|
|
2101
|
+
programId: string;
|
|
2102
|
+
accounts: {
|
|
2103
|
+
pubkey: string;
|
|
2104
|
+
isSigner: boolean;
|
|
2105
|
+
isWritable: boolean;
|
|
2106
|
+
}[];
|
|
2107
|
+
data: string;
|
|
2108
|
+
}[] | undefined;
|
|
2109
|
+
addressLookupTableAddresses?: string[] | undefined;
|
|
1784
2110
|
actionProvider?: string | undefined;
|
|
1785
2111
|
actionName?: string | undefined;
|
|
1786
2112
|
}, {
|
|
1787
2113
|
to: string;
|
|
1788
|
-
value?: string | undefined;
|
|
1789
2114
|
network?: unknown;
|
|
2115
|
+
value?: string | undefined;
|
|
1790
2116
|
gasCondition?: {
|
|
1791
2117
|
maxGasPrice?: string | undefined;
|
|
1792
2118
|
maxPriorityFee?: string | undefined;
|
|
@@ -1810,6 +2136,16 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1810
2136
|
}[];
|
|
1811
2137
|
data: string;
|
|
1812
2138
|
}[] | undefined;
|
|
2139
|
+
postInstructions?: {
|
|
2140
|
+
programId: string;
|
|
2141
|
+
accounts: {
|
|
2142
|
+
pubkey: string;
|
|
2143
|
+
isSigner: boolean;
|
|
2144
|
+
isWritable: boolean;
|
|
2145
|
+
}[];
|
|
2146
|
+
data: string;
|
|
2147
|
+
}[] | undefined;
|
|
2148
|
+
addressLookupTableAddresses?: string[] | undefined;
|
|
1813
2149
|
actionProvider?: string | undefined;
|
|
1814
2150
|
actionName?: string | undefined;
|
|
1815
2151
|
}>, z.ZodObject<Omit<{
|
|
@@ -1837,30 +2173,30 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1837
2173
|
type: z.ZodLiteral<"APPROVE">;
|
|
1838
2174
|
spender: z.ZodString;
|
|
1839
2175
|
token: z.ZodEffects<z.ZodObject<{
|
|
1840
|
-
address: z.ZodString
|
|
1841
|
-
decimals: z.ZodNumber
|
|
1842
|
-
symbol: z.ZodString
|
|
2176
|
+
address: z.ZodOptional<z.ZodString>;
|
|
2177
|
+
decimals: z.ZodOptional<z.ZodNumber>;
|
|
2178
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
1843
2179
|
assetId: z.ZodOptional<z.ZodString>;
|
|
1844
2180
|
}, "strip", z.ZodTypeAny, {
|
|
1845
|
-
symbol
|
|
1846
|
-
address: string;
|
|
1847
|
-
decimals: number;
|
|
2181
|
+
symbol?: string | undefined;
|
|
1848
2182
|
assetId?: string | undefined;
|
|
2183
|
+
address?: string | undefined;
|
|
2184
|
+
decimals?: number | undefined;
|
|
1849
2185
|
}, {
|
|
1850
|
-
symbol
|
|
1851
|
-
address: string;
|
|
1852
|
-
decimals: number;
|
|
2186
|
+
symbol?: string | undefined;
|
|
1853
2187
|
assetId?: string | undefined;
|
|
2188
|
+
address?: string | undefined;
|
|
2189
|
+
decimals?: number | undefined;
|
|
1854
2190
|
}>, {
|
|
1855
|
-
symbol
|
|
1856
|
-
address: string;
|
|
1857
|
-
decimals: number;
|
|
2191
|
+
symbol?: string | undefined;
|
|
1858
2192
|
assetId?: string | undefined;
|
|
2193
|
+
address?: string | undefined;
|
|
2194
|
+
decimals?: number | undefined;
|
|
1859
2195
|
}, {
|
|
1860
|
-
symbol
|
|
1861
|
-
address: string;
|
|
1862
|
-
decimals: number;
|
|
2196
|
+
symbol?: string | undefined;
|
|
1863
2197
|
assetId?: string | undefined;
|
|
2198
|
+
address?: string | undefined;
|
|
2199
|
+
decimals?: number | undefined;
|
|
1864
2200
|
}>;
|
|
1865
2201
|
amount: z.ZodOptional<z.ZodString>;
|
|
1866
2202
|
humanAmount: z.ZodOptional<z.ZodString>;
|
|
@@ -1877,10 +2213,10 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1877
2213
|
}>>;
|
|
1878
2214
|
}, "type">, "strip", z.ZodTypeAny, {
|
|
1879
2215
|
token: {
|
|
1880
|
-
symbol
|
|
1881
|
-
address: string;
|
|
1882
|
-
decimals: number;
|
|
2216
|
+
symbol?: string | undefined;
|
|
1883
2217
|
assetId?: string | undefined;
|
|
2218
|
+
address?: string | undefined;
|
|
2219
|
+
decimals?: number | undefined;
|
|
1884
2220
|
};
|
|
1885
2221
|
spender: string;
|
|
1886
2222
|
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;
|
|
@@ -1897,10 +2233,10 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1897
2233
|
} | undefined;
|
|
1898
2234
|
}, {
|
|
1899
2235
|
token: {
|
|
1900
|
-
symbol
|
|
1901
|
-
address: string;
|
|
1902
|
-
decimals: number;
|
|
2236
|
+
symbol?: string | undefined;
|
|
1903
2237
|
assetId?: string | undefined;
|
|
2238
|
+
address?: string | undefined;
|
|
2239
|
+
decimals?: number | undefined;
|
|
1904
2240
|
};
|
|
1905
2241
|
spender: string;
|
|
1906
2242
|
network?: unknown;
|
|
@@ -1932,10 +2268,10 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1932
2268
|
} | undefined;
|
|
1933
2269
|
} | {
|
|
1934
2270
|
token: {
|
|
1935
|
-
symbol
|
|
1936
|
-
address: string;
|
|
1937
|
-
decimals: number;
|
|
2271
|
+
symbol?: string | undefined;
|
|
1938
2272
|
assetId?: string | undefined;
|
|
2273
|
+
address?: string | undefined;
|
|
2274
|
+
decimals?: number | undefined;
|
|
1939
2275
|
};
|
|
1940
2276
|
to: string;
|
|
1941
2277
|
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;
|
|
@@ -1949,8 +2285,8 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1949
2285
|
} | undefined;
|
|
1950
2286
|
} | {
|
|
1951
2287
|
to: string;
|
|
1952
|
-
value?: string | undefined;
|
|
1953
2288
|
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;
|
|
2289
|
+
value?: string | undefined;
|
|
1954
2290
|
gasCondition?: {
|
|
1955
2291
|
maxGasPrice?: string | undefined;
|
|
1956
2292
|
maxPriorityFee?: string | undefined;
|
|
@@ -1974,14 +2310,24 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
1974
2310
|
}[];
|
|
1975
2311
|
data: string;
|
|
1976
2312
|
}[] | undefined;
|
|
2313
|
+
postInstructions?: {
|
|
2314
|
+
programId: string;
|
|
2315
|
+
accounts: {
|
|
2316
|
+
pubkey: string;
|
|
2317
|
+
isSigner: boolean;
|
|
2318
|
+
isWritable: boolean;
|
|
2319
|
+
}[];
|
|
2320
|
+
data: string;
|
|
2321
|
+
}[] | undefined;
|
|
2322
|
+
addressLookupTableAddresses?: string[] | undefined;
|
|
1977
2323
|
actionProvider?: string | undefined;
|
|
1978
2324
|
actionName?: string | undefined;
|
|
1979
2325
|
} | {
|
|
1980
2326
|
token: {
|
|
1981
|
-
symbol
|
|
1982
|
-
address: string;
|
|
1983
|
-
decimals: number;
|
|
2327
|
+
symbol?: string | undefined;
|
|
1984
2328
|
assetId?: string | undefined;
|
|
2329
|
+
address?: string | undefined;
|
|
2330
|
+
decimals?: number | undefined;
|
|
1985
2331
|
};
|
|
1986
2332
|
spender: string;
|
|
1987
2333
|
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;
|
|
@@ -2018,10 +2364,10 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
2018
2364
|
} | undefined;
|
|
2019
2365
|
} | {
|
|
2020
2366
|
token: {
|
|
2021
|
-
symbol
|
|
2022
|
-
address: string;
|
|
2023
|
-
decimals: number;
|
|
2367
|
+
symbol?: string | undefined;
|
|
2024
2368
|
assetId?: string | undefined;
|
|
2369
|
+
address?: string | undefined;
|
|
2370
|
+
decimals?: number | undefined;
|
|
2025
2371
|
};
|
|
2026
2372
|
to: string;
|
|
2027
2373
|
network?: unknown;
|
|
@@ -2035,8 +2381,8 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
2035
2381
|
} | undefined;
|
|
2036
2382
|
} | {
|
|
2037
2383
|
to: string;
|
|
2038
|
-
value?: string | undefined;
|
|
2039
2384
|
network?: unknown;
|
|
2385
|
+
value?: string | undefined;
|
|
2040
2386
|
gasCondition?: {
|
|
2041
2387
|
maxGasPrice?: string | undefined;
|
|
2042
2388
|
maxPriorityFee?: string | undefined;
|
|
@@ -2060,14 +2406,24 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
|
|
|
2060
2406
|
}[];
|
|
2061
2407
|
data: string;
|
|
2062
2408
|
}[] | undefined;
|
|
2409
|
+
postInstructions?: {
|
|
2410
|
+
programId: string;
|
|
2411
|
+
accounts: {
|
|
2412
|
+
pubkey: string;
|
|
2413
|
+
isSigner: boolean;
|
|
2414
|
+
isWritable: boolean;
|
|
2415
|
+
}[];
|
|
2416
|
+
data: string;
|
|
2417
|
+
}[] | undefined;
|
|
2418
|
+
addressLookupTableAddresses?: string[] | undefined;
|
|
2063
2419
|
actionProvider?: string | undefined;
|
|
2064
2420
|
actionName?: string | undefined;
|
|
2065
2421
|
} | {
|
|
2066
2422
|
token: {
|
|
2067
|
-
symbol
|
|
2068
|
-
address: string;
|
|
2069
|
-
decimals: number;
|
|
2423
|
+
symbol?: string | undefined;
|
|
2070
2424
|
assetId?: string | undefined;
|
|
2425
|
+
address?: string | undefined;
|
|
2426
|
+
decimals?: number | undefined;
|
|
2071
2427
|
};
|
|
2072
2428
|
spender: string;
|
|
2073
2429
|
network?: unknown;
|
|
@@ -2120,6 +2476,7 @@ export declare const WalletAssetsResponseSchema: z.ZodObject<{
|
|
|
2120
2476
|
usdValue: z.ZodOptional<z.ZodNumber>;
|
|
2121
2477
|
displayValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2122
2478
|
balanceFormatted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2479
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
2123
2480
|
}, "strip", z.ZodTypeAny, {
|
|
2124
2481
|
symbol: string;
|
|
2125
2482
|
name: string;
|
|
@@ -2127,6 +2484,7 @@ export declare const WalletAssetsResponseSchema: z.ZodObject<{
|
|
|
2127
2484
|
balance: string;
|
|
2128
2485
|
mint: string;
|
|
2129
2486
|
isNative: boolean;
|
|
2487
|
+
assetId?: string | undefined;
|
|
2130
2488
|
balanceFormatted?: string | null | undefined;
|
|
2131
2489
|
usdValue?: number | undefined;
|
|
2132
2490
|
displayValue?: string | null | undefined;
|
|
@@ -2137,11 +2495,13 @@ export declare const WalletAssetsResponseSchema: z.ZodObject<{
|
|
|
2137
2495
|
balance: string;
|
|
2138
2496
|
mint: string;
|
|
2139
2497
|
isNative: boolean;
|
|
2498
|
+
assetId?: string | undefined;
|
|
2140
2499
|
balanceFormatted?: string | null | undefined;
|
|
2141
2500
|
usdValue?: number | undefined;
|
|
2142
2501
|
displayValue?: string | null | undefined;
|
|
2143
2502
|
}>, "many">;
|
|
2144
2503
|
displayCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2504
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
2145
2505
|
}, "strip", z.ZodTypeAny, {
|
|
2146
2506
|
chain: string;
|
|
2147
2507
|
walletId: string;
|
|
@@ -2153,10 +2513,12 @@ export declare const WalletAssetsResponseSchema: z.ZodObject<{
|
|
|
2153
2513
|
balance: string;
|
|
2154
2514
|
mint: string;
|
|
2155
2515
|
isNative: boolean;
|
|
2516
|
+
assetId?: string | undefined;
|
|
2156
2517
|
balanceFormatted?: string | null | undefined;
|
|
2157
2518
|
usdValue?: number | undefined;
|
|
2158
2519
|
displayValue?: string | null | undefined;
|
|
2159
2520
|
}[];
|
|
2521
|
+
chainId?: string | undefined;
|
|
2160
2522
|
displayCurrency?: string | null | undefined;
|
|
2161
2523
|
}, {
|
|
2162
2524
|
chain: string;
|
|
@@ -2169,10 +2531,12 @@ export declare const WalletAssetsResponseSchema: z.ZodObject<{
|
|
|
2169
2531
|
balance: string;
|
|
2170
2532
|
mint: string;
|
|
2171
2533
|
isNative: boolean;
|
|
2534
|
+
assetId?: string | undefined;
|
|
2172
2535
|
balanceFormatted?: string | null | undefined;
|
|
2173
2536
|
usdValue?: number | undefined;
|
|
2174
2537
|
displayValue?: string | null | undefined;
|
|
2175
2538
|
}[];
|
|
2539
|
+
chainId?: string | undefined;
|
|
2176
2540
|
displayCurrency?: string | null | undefined;
|
|
2177
2541
|
}>;
|
|
2178
2542
|
export declare const TxListResponseSchema: z.ZodObject<{
|
|
@@ -2195,6 +2559,9 @@ export declare const TxListResponseSchema: z.ZodObject<{
|
|
|
2195
2559
|
amountFormatted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2196
2560
|
amountDecimals: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2197
2561
|
amountSymbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2562
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
2563
|
+
contractName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2564
|
+
contractNameSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2198
2565
|
}, "strip", z.ZodTypeAny, {
|
|
2199
2566
|
id: string;
|
|
2200
2567
|
chain: string;
|
|
@@ -2208,12 +2575,15 @@ export declare const TxListResponseSchema: z.ZodObject<{
|
|
|
2208
2575
|
tier: string | null;
|
|
2209
2576
|
error: string | null;
|
|
2210
2577
|
network: string | null;
|
|
2578
|
+
chainId?: string | undefined;
|
|
2211
2579
|
displayCurrency?: string | null | undefined;
|
|
2212
2580
|
displayAmount?: string | null | undefined;
|
|
2213
2581
|
atomic?: boolean | undefined;
|
|
2214
2582
|
amountFormatted?: string | null | undefined;
|
|
2215
2583
|
amountDecimals?: number | null | undefined;
|
|
2216
2584
|
amountSymbol?: string | null | undefined;
|
|
2585
|
+
contractName?: string | null | undefined;
|
|
2586
|
+
contractNameSource?: string | null | undefined;
|
|
2217
2587
|
}, {
|
|
2218
2588
|
id: string;
|
|
2219
2589
|
chain: string;
|
|
@@ -2227,12 +2597,15 @@ export declare const TxListResponseSchema: z.ZodObject<{
|
|
|
2227
2597
|
tier: string | null;
|
|
2228
2598
|
error: string | null;
|
|
2229
2599
|
network: string | null;
|
|
2600
|
+
chainId?: string | undefined;
|
|
2230
2601
|
displayCurrency?: string | null | undefined;
|
|
2231
2602
|
displayAmount?: string | null | undefined;
|
|
2232
2603
|
atomic?: boolean | undefined;
|
|
2233
2604
|
amountFormatted?: string | null | undefined;
|
|
2234
2605
|
amountDecimals?: number | null | undefined;
|
|
2235
2606
|
amountSymbol?: string | null | undefined;
|
|
2607
|
+
contractName?: string | null | undefined;
|
|
2608
|
+
contractNameSource?: string | null | undefined;
|
|
2236
2609
|
}>, "many">;
|
|
2237
2610
|
cursor: z.ZodNullable<z.ZodString>;
|
|
2238
2611
|
hasMore: z.ZodBoolean;
|
|
@@ -2250,12 +2623,15 @@ export declare const TxListResponseSchema: z.ZodObject<{
|
|
|
2250
2623
|
tier: string | null;
|
|
2251
2624
|
error: string | null;
|
|
2252
2625
|
network: string | null;
|
|
2626
|
+
chainId?: string | undefined;
|
|
2253
2627
|
displayCurrency?: string | null | undefined;
|
|
2254
2628
|
displayAmount?: string | null | undefined;
|
|
2255
2629
|
atomic?: boolean | undefined;
|
|
2256
2630
|
amountFormatted?: string | null | undefined;
|
|
2257
2631
|
amountDecimals?: number | null | undefined;
|
|
2258
2632
|
amountSymbol?: string | null | undefined;
|
|
2633
|
+
contractName?: string | null | undefined;
|
|
2634
|
+
contractNameSource?: string | null | undefined;
|
|
2259
2635
|
}[];
|
|
2260
2636
|
cursor: string | null;
|
|
2261
2637
|
hasMore: boolean;
|
|
@@ -2273,12 +2649,15 @@ export declare const TxListResponseSchema: z.ZodObject<{
|
|
|
2273
2649
|
tier: string | null;
|
|
2274
2650
|
error: string | null;
|
|
2275
2651
|
network: string | null;
|
|
2652
|
+
chainId?: string | undefined;
|
|
2276
2653
|
displayCurrency?: string | null | undefined;
|
|
2277
2654
|
displayAmount?: string | null | undefined;
|
|
2278
2655
|
atomic?: boolean | undefined;
|
|
2279
2656
|
amountFormatted?: string | null | undefined;
|
|
2280
2657
|
amountDecimals?: number | null | undefined;
|
|
2281
2658
|
amountSymbol?: string | null | undefined;
|
|
2659
|
+
contractName?: string | null | undefined;
|
|
2660
|
+
contractNameSource?: string | null | undefined;
|
|
2282
2661
|
}[];
|
|
2283
2662
|
cursor: string | null;
|
|
2284
2663
|
hasMore: boolean;
|
|
@@ -2303,6 +2682,9 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
|
|
|
2303
2682
|
amountFormatted: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2304
2683
|
amountDecimals: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2305
2684
|
amountSymbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2685
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
2686
|
+
contractName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2687
|
+
contractNameSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2306
2688
|
}, "strip", z.ZodTypeAny, {
|
|
2307
2689
|
id: string;
|
|
2308
2690
|
chain: string;
|
|
@@ -2316,12 +2698,15 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
|
|
|
2316
2698
|
tier: string | null;
|
|
2317
2699
|
error: string | null;
|
|
2318
2700
|
network: string | null;
|
|
2701
|
+
chainId?: string | undefined;
|
|
2319
2702
|
displayCurrency?: string | null | undefined;
|
|
2320
2703
|
displayAmount?: string | null | undefined;
|
|
2321
2704
|
atomic?: boolean | undefined;
|
|
2322
2705
|
amountFormatted?: string | null | undefined;
|
|
2323
2706
|
amountDecimals?: number | null | undefined;
|
|
2324
2707
|
amountSymbol?: string | null | undefined;
|
|
2708
|
+
contractName?: string | null | undefined;
|
|
2709
|
+
contractNameSource?: string | null | undefined;
|
|
2325
2710
|
}, {
|
|
2326
2711
|
id: string;
|
|
2327
2712
|
chain: string;
|
|
@@ -2335,12 +2720,15 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
|
|
|
2335
2720
|
tier: string | null;
|
|
2336
2721
|
error: string | null;
|
|
2337
2722
|
network: string | null;
|
|
2723
|
+
chainId?: string | undefined;
|
|
2338
2724
|
displayCurrency?: string | null | undefined;
|
|
2339
2725
|
displayAmount?: string | null | undefined;
|
|
2340
2726
|
atomic?: boolean | undefined;
|
|
2341
2727
|
amountFormatted?: string | null | undefined;
|
|
2342
2728
|
amountDecimals?: number | null | undefined;
|
|
2343
2729
|
amountSymbol?: string | null | undefined;
|
|
2730
|
+
contractName?: string | null | undefined;
|
|
2731
|
+
contractNameSource?: string | null | undefined;
|
|
2344
2732
|
}>, "many">;
|
|
2345
2733
|
}, "strip", z.ZodTypeAny, {
|
|
2346
2734
|
items: {
|
|
@@ -2356,12 +2744,15 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
|
|
|
2356
2744
|
tier: string | null;
|
|
2357
2745
|
error: string | null;
|
|
2358
2746
|
network: string | null;
|
|
2747
|
+
chainId?: string | undefined;
|
|
2359
2748
|
displayCurrency?: string | null | undefined;
|
|
2360
2749
|
displayAmount?: string | null | undefined;
|
|
2361
2750
|
atomic?: boolean | undefined;
|
|
2362
2751
|
amountFormatted?: string | null | undefined;
|
|
2363
2752
|
amountDecimals?: number | null | undefined;
|
|
2364
2753
|
amountSymbol?: string | null | undefined;
|
|
2754
|
+
contractName?: string | null | undefined;
|
|
2755
|
+
contractNameSource?: string | null | undefined;
|
|
2365
2756
|
}[];
|
|
2366
2757
|
}, {
|
|
2367
2758
|
items: {
|
|
@@ -2377,12 +2768,15 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
|
|
|
2377
2768
|
tier: string | null;
|
|
2378
2769
|
error: string | null;
|
|
2379
2770
|
network: string | null;
|
|
2771
|
+
chainId?: string | undefined;
|
|
2380
2772
|
displayCurrency?: string | null | undefined;
|
|
2381
2773
|
displayAmount?: string | null | undefined;
|
|
2382
2774
|
atomic?: boolean | undefined;
|
|
2383
2775
|
amountFormatted?: string | null | undefined;
|
|
2384
2776
|
amountDecimals?: number | null | undefined;
|
|
2385
2777
|
amountSymbol?: string | null | undefined;
|
|
2778
|
+
contractName?: string | null | undefined;
|
|
2779
|
+
contractNameSource?: string | null | undefined;
|
|
2386
2780
|
}[];
|
|
2387
2781
|
}>;
|
|
2388
2782
|
export declare const NonceResponseSchema: z.ZodObject<{
|
|
@@ -2631,16 +3025,16 @@ export declare const WalletNetworksResponseSchema: z.ZodObject<{
|
|
|
2631
3025
|
}>;
|
|
2632
3026
|
export declare const SetOwnerRequestSchema: z.ZodObject<{
|
|
2633
3027
|
owner_address: z.ZodString;
|
|
2634
|
-
approval_method: z.ZodOptional<z.ZodNullable<z.ZodEnum<["
|
|
3028
|
+
approval_method: z.ZodOptional<z.ZodNullable<z.ZodEnum<["sdk_push", "sdk_telegram", "walletconnect", "telegram_bot", "rest"]>>>;
|
|
2635
3029
|
wallet_type: z.ZodOptional<z.ZodEnum<["dcent"]>>;
|
|
2636
3030
|
}, "strip", z.ZodTypeAny, {
|
|
2637
3031
|
owner_address: string;
|
|
2638
3032
|
wallet_type?: "dcent" | undefined;
|
|
2639
|
-
approval_method?: "walletconnect" | "
|
|
3033
|
+
approval_method?: "walletconnect" | "sdk_push" | "sdk_telegram" | "telegram_bot" | "rest" | null | undefined;
|
|
2640
3034
|
}, {
|
|
2641
3035
|
owner_address: string;
|
|
2642
3036
|
wallet_type?: "dcent" | undefined;
|
|
2643
|
-
approval_method?: "walletconnect" | "
|
|
3037
|
+
approval_method?: "walletconnect" | "sdk_push" | "sdk_telegram" | "telegram_bot" | "rest" | null | undefined;
|
|
2644
3038
|
}>;
|
|
2645
3039
|
export declare const UpdateWalletRequestSchema: z.ZodObject<{
|
|
2646
3040
|
name: z.ZodString;
|
|
@@ -3185,6 +3579,7 @@ export declare const NotificationLogResponseSchema: z.ZodObject<{
|
|
|
3185
3579
|
page: z.ZodNumber;
|
|
3186
3580
|
pageSize: z.ZodNumber;
|
|
3187
3581
|
}, "strip", z.ZodTypeAny, {
|
|
3582
|
+
total: number;
|
|
3188
3583
|
logs: {
|
|
3189
3584
|
id: string;
|
|
3190
3585
|
status: string;
|
|
@@ -3195,10 +3590,10 @@ export declare const NotificationLogResponseSchema: z.ZodObject<{
|
|
|
3195
3590
|
channel: string;
|
|
3196
3591
|
message: string | null;
|
|
3197
3592
|
}[];
|
|
3198
|
-
total: number;
|
|
3199
3593
|
page: number;
|
|
3200
3594
|
pageSize: number;
|
|
3201
3595
|
}, {
|
|
3596
|
+
total: number;
|
|
3202
3597
|
logs: {
|
|
3203
3598
|
id: string;
|
|
3204
3599
|
status: string;
|
|
@@ -3209,7 +3604,6 @@ export declare const NotificationLogResponseSchema: z.ZodObject<{
|
|
|
3209
3604
|
channel: string;
|
|
3210
3605
|
message: string | null;
|
|
3211
3606
|
}[];
|
|
3212
|
-
total: number;
|
|
3213
3607
|
page: number;
|
|
3214
3608
|
pageSize: number;
|
|
3215
3609
|
}>;
|
|
@@ -3220,6 +3614,7 @@ export declare const TokenRegistryItemSchema: z.ZodObject<{
|
|
|
3220
3614
|
decimals: z.ZodNumber;
|
|
3221
3615
|
source: z.ZodEnum<["builtin", "custom"]>;
|
|
3222
3616
|
assetId: z.ZodNullable<z.ZodString>;
|
|
3617
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
3223
3618
|
}, "strip", z.ZodTypeAny, {
|
|
3224
3619
|
symbol: string;
|
|
3225
3620
|
name: string;
|
|
@@ -3227,6 +3622,7 @@ export declare const TokenRegistryItemSchema: z.ZodObject<{
|
|
|
3227
3622
|
address: string;
|
|
3228
3623
|
decimals: number;
|
|
3229
3624
|
assetId: string | null;
|
|
3625
|
+
chainId?: string | undefined;
|
|
3230
3626
|
}, {
|
|
3231
3627
|
symbol: string;
|
|
3232
3628
|
name: string;
|
|
@@ -3234,6 +3630,7 @@ export declare const TokenRegistryItemSchema: z.ZodObject<{
|
|
|
3234
3630
|
address: string;
|
|
3235
3631
|
decimals: number;
|
|
3236
3632
|
assetId: string | null;
|
|
3633
|
+
chainId?: string | undefined;
|
|
3237
3634
|
}>;
|
|
3238
3635
|
export declare const TokenRegistryListResponseSchema: z.ZodObject<{
|
|
3239
3636
|
network: z.ZodString;
|
|
@@ -3244,6 +3641,7 @@ export declare const TokenRegistryListResponseSchema: z.ZodObject<{
|
|
|
3244
3641
|
decimals: z.ZodNumber;
|
|
3245
3642
|
source: z.ZodEnum<["builtin", "custom"]>;
|
|
3246
3643
|
assetId: z.ZodNullable<z.ZodString>;
|
|
3644
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
3247
3645
|
}, "strip", z.ZodTypeAny, {
|
|
3248
3646
|
symbol: string;
|
|
3249
3647
|
name: string;
|
|
@@ -3251,6 +3649,7 @@ export declare const TokenRegistryListResponseSchema: z.ZodObject<{
|
|
|
3251
3649
|
address: string;
|
|
3252
3650
|
decimals: number;
|
|
3253
3651
|
assetId: string | null;
|
|
3652
|
+
chainId?: string | undefined;
|
|
3254
3653
|
}, {
|
|
3255
3654
|
symbol: string;
|
|
3256
3655
|
name: string;
|
|
@@ -3258,6 +3657,7 @@ export declare const TokenRegistryListResponseSchema: z.ZodObject<{
|
|
|
3258
3657
|
address: string;
|
|
3259
3658
|
decimals: number;
|
|
3260
3659
|
assetId: string | null;
|
|
3660
|
+
chainId?: string | undefined;
|
|
3261
3661
|
}>, "many">;
|
|
3262
3662
|
}, "strip", z.ZodTypeAny, {
|
|
3263
3663
|
network: string;
|
|
@@ -3268,6 +3668,7 @@ export declare const TokenRegistryListResponseSchema: z.ZodObject<{
|
|
|
3268
3668
|
address: string;
|
|
3269
3669
|
decimals: number;
|
|
3270
3670
|
assetId: string | null;
|
|
3671
|
+
chainId?: string | undefined;
|
|
3271
3672
|
}[];
|
|
3272
3673
|
}, {
|
|
3273
3674
|
network: string;
|
|
@@ -3278,6 +3679,7 @@ export declare const TokenRegistryListResponseSchema: z.ZodObject<{
|
|
|
3278
3679
|
address: string;
|
|
3279
3680
|
decimals: number;
|
|
3280
3681
|
assetId: string | null;
|
|
3682
|
+
chainId?: string | undefined;
|
|
3281
3683
|
}[];
|
|
3282
3684
|
}>;
|
|
3283
3685
|
export declare const AddTokenRequestSchema: z.ZodObject<{
|
|
@@ -3551,12 +3953,12 @@ export declare const EncodeCalldataResponseSchema: z.ZodObject<{
|
|
|
3551
3953
|
selector: z.ZodString;
|
|
3552
3954
|
functionName: z.ZodString;
|
|
3553
3955
|
}, "strip", z.ZodTypeAny, {
|
|
3554
|
-
functionName: string;
|
|
3555
3956
|
calldata: string;
|
|
3957
|
+
functionName: string;
|
|
3556
3958
|
selector: string;
|
|
3557
3959
|
}, {
|
|
3558
|
-
functionName: string;
|
|
3559
3960
|
calldata: string;
|
|
3961
|
+
functionName: string;
|
|
3560
3962
|
selector: string;
|
|
3561
3963
|
}>;
|
|
3562
3964
|
export declare const TxSignRequestSchema: z.ZodObject<{
|
|
@@ -3900,6 +4302,25 @@ export declare const DryRunSimulationResultOpenAPI: z.ZodObject<{
|
|
|
3900
4302
|
transactionType: string;
|
|
3901
4303
|
durationMs: number;
|
|
3902
4304
|
}>;
|
|
4305
|
+
gasCondition: z.ZodOptional<z.ZodObject<{
|
|
4306
|
+
met: z.ZodBoolean;
|
|
4307
|
+
currentGasPrice: z.ZodString;
|
|
4308
|
+
currentPriorityFee: z.ZodOptional<z.ZodString>;
|
|
4309
|
+
maxGasPrice: z.ZodOptional<z.ZodString>;
|
|
4310
|
+
maxPriorityFee: z.ZodOptional<z.ZodString>;
|
|
4311
|
+
}, "strip", z.ZodTypeAny, {
|
|
4312
|
+
currentGasPrice: string;
|
|
4313
|
+
met: boolean;
|
|
4314
|
+
maxGasPrice?: string | undefined;
|
|
4315
|
+
maxPriorityFee?: string | undefined;
|
|
4316
|
+
currentPriorityFee?: string | undefined;
|
|
4317
|
+
}, {
|
|
4318
|
+
currentGasPrice: string;
|
|
4319
|
+
met: boolean;
|
|
4320
|
+
maxGasPrice?: string | undefined;
|
|
4321
|
+
maxPriorityFee?: string | undefined;
|
|
4322
|
+
currentPriorityFee?: string | undefined;
|
|
4323
|
+
}>>;
|
|
3903
4324
|
}, "strip", z.ZodTypeAny, {
|
|
3904
4325
|
policy: {
|
|
3905
4326
|
tier: string;
|
|
@@ -3949,6 +4370,13 @@ export declare const DryRunSimulationResultOpenAPI: z.ZodObject<{
|
|
|
3949
4370
|
transactionType: string;
|
|
3950
4371
|
durationMs: number;
|
|
3951
4372
|
};
|
|
4373
|
+
gasCondition?: {
|
|
4374
|
+
currentGasPrice: string;
|
|
4375
|
+
met: boolean;
|
|
4376
|
+
maxGasPrice?: string | undefined;
|
|
4377
|
+
maxPriorityFee?: string | undefined;
|
|
4378
|
+
currentPriorityFee?: string | undefined;
|
|
4379
|
+
} | undefined;
|
|
3952
4380
|
}, {
|
|
3953
4381
|
policy: {
|
|
3954
4382
|
tier: string;
|
|
@@ -3998,6 +4426,13 @@ export declare const DryRunSimulationResultOpenAPI: z.ZodObject<{
|
|
|
3998
4426
|
transactionType: string;
|
|
3999
4427
|
durationMs: number;
|
|
4000
4428
|
};
|
|
4429
|
+
gasCondition?: {
|
|
4430
|
+
currentGasPrice: string;
|
|
4431
|
+
met: boolean;
|
|
4432
|
+
maxGasPrice?: string | undefined;
|
|
4433
|
+
maxPriorityFee?: string | undefined;
|
|
4434
|
+
currentPriorityFee?: string | undefined;
|
|
4435
|
+
} | undefined;
|
|
4001
4436
|
}>;
|
|
4002
4437
|
export declare const OracleStatusResponseSchema: z.ZodObject<{
|
|
4003
4438
|
cache: z.ZodObject<{
|
|
@@ -4242,6 +4677,7 @@ export declare const WithdrawResponseSchema: z.ZodObject<{
|
|
|
4242
4677
|
}>, "many">;
|
|
4243
4678
|
}, "strip", z.ZodTypeAny, {
|
|
4244
4679
|
failed: number;
|
|
4680
|
+
total: number;
|
|
4245
4681
|
results: {
|
|
4246
4682
|
status: "failed" | "success";
|
|
4247
4683
|
amount: string;
|
|
@@ -4249,10 +4685,10 @@ export declare const WithdrawResponseSchema: z.ZodObject<{
|
|
|
4249
4685
|
txHash?: string | undefined;
|
|
4250
4686
|
error?: string | undefined;
|
|
4251
4687
|
}[];
|
|
4252
|
-
total: number;
|
|
4253
4688
|
succeeded: number;
|
|
4254
4689
|
}, {
|
|
4255
4690
|
failed: number;
|
|
4691
|
+
total: number;
|
|
4256
4692
|
results: {
|
|
4257
4693
|
status: "failed" | "success";
|
|
4258
4694
|
amount: string;
|
|
@@ -4260,7 +4696,6 @@ export declare const WithdrawResponseSchema: z.ZodObject<{
|
|
|
4260
4696
|
txHash?: string | undefined;
|
|
4261
4697
|
error?: string | undefined;
|
|
4262
4698
|
}[];
|
|
4263
|
-
total: number;
|
|
4264
4699
|
succeeded: number;
|
|
4265
4700
|
}>;
|
|
4266
4701
|
export declare const ConnectInfoResponseSchema: z.ZodObject<{
|
|
@@ -4385,6 +4820,7 @@ export declare const ConnectInfoResponseSchema: z.ZodObject<{
|
|
|
4385
4820
|
enabled: boolean;
|
|
4386
4821
|
baseUrl: string;
|
|
4387
4822
|
}>>>;
|
|
4823
|
+
supportedChainIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4388
4824
|
prompt: z.ZodString;
|
|
4389
4825
|
}, "strip", z.ZodTypeAny, {
|
|
4390
4826
|
wallets: {
|
|
@@ -4429,6 +4865,7 @@ export declare const ConnectInfoResponseSchema: z.ZodObject<{
|
|
|
4429
4865
|
enabled: boolean;
|
|
4430
4866
|
baseUrl: string;
|
|
4431
4867
|
} | null | undefined;
|
|
4868
|
+
supportedChainIds?: string[] | undefined;
|
|
4432
4869
|
}, {
|
|
4433
4870
|
wallets: {
|
|
4434
4871
|
id: string;
|
|
@@ -4472,6 +4909,7 @@ export declare const ConnectInfoResponseSchema: z.ZodObject<{
|
|
|
4472
4909
|
enabled: boolean;
|
|
4473
4910
|
baseUrl: string;
|
|
4474
4911
|
} | null | undefined;
|
|
4912
|
+
supportedChainIds?: string[] | undefined;
|
|
4475
4913
|
}>;
|
|
4476
4914
|
export declare const IncomingTxItemSchema: z.ZodObject<{
|
|
4477
4915
|
id: z.ZodString;
|
|
@@ -4487,6 +4925,8 @@ export declare const IncomingTxItemSchema: z.ZodObject<{
|
|
|
4487
4925
|
detectedAt: z.ZodNumber;
|
|
4488
4926
|
confirmedAt: z.ZodNullable<z.ZodNumber>;
|
|
4489
4927
|
suspicious: z.ZodBoolean;
|
|
4928
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
4929
|
+
assetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4490
4930
|
}, "strip", z.ZodTypeAny, {
|
|
4491
4931
|
id: string;
|
|
4492
4932
|
chain: string;
|
|
@@ -4501,6 +4941,8 @@ export declare const IncomingTxItemSchema: z.ZodObject<{
|
|
|
4501
4941
|
detectedAt: number;
|
|
4502
4942
|
confirmedAt: number | null;
|
|
4503
4943
|
suspicious: boolean;
|
|
4944
|
+
assetId?: string | null | undefined;
|
|
4945
|
+
chainId?: string | undefined;
|
|
4504
4946
|
}, {
|
|
4505
4947
|
id: string;
|
|
4506
4948
|
chain: string;
|
|
@@ -4515,6 +4957,8 @@ export declare const IncomingTxItemSchema: z.ZodObject<{
|
|
|
4515
4957
|
detectedAt: number;
|
|
4516
4958
|
confirmedAt: number | null;
|
|
4517
4959
|
suspicious: boolean;
|
|
4960
|
+
assetId?: string | null | undefined;
|
|
4961
|
+
chainId?: string | undefined;
|
|
4518
4962
|
}>;
|
|
4519
4963
|
export declare const IncomingTxListResponseSchema: z.ZodObject<{
|
|
4520
4964
|
data: z.ZodArray<z.ZodObject<{
|
|
@@ -4531,6 +4975,8 @@ export declare const IncomingTxListResponseSchema: z.ZodObject<{
|
|
|
4531
4975
|
detectedAt: z.ZodNumber;
|
|
4532
4976
|
confirmedAt: z.ZodNullable<z.ZodNumber>;
|
|
4533
4977
|
suspicious: z.ZodBoolean;
|
|
4978
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
4979
|
+
assetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4534
4980
|
}, "strip", z.ZodTypeAny, {
|
|
4535
4981
|
id: string;
|
|
4536
4982
|
chain: string;
|
|
@@ -4545,6 +4991,8 @@ export declare const IncomingTxListResponseSchema: z.ZodObject<{
|
|
|
4545
4991
|
detectedAt: number;
|
|
4546
4992
|
confirmedAt: number | null;
|
|
4547
4993
|
suspicious: boolean;
|
|
4994
|
+
assetId?: string | null | undefined;
|
|
4995
|
+
chainId?: string | undefined;
|
|
4548
4996
|
}, {
|
|
4549
4997
|
id: string;
|
|
4550
4998
|
chain: string;
|
|
@@ -4559,6 +5007,8 @@ export declare const IncomingTxListResponseSchema: z.ZodObject<{
|
|
|
4559
5007
|
detectedAt: number;
|
|
4560
5008
|
confirmedAt: number | null;
|
|
4561
5009
|
suspicious: boolean;
|
|
5010
|
+
assetId?: string | null | undefined;
|
|
5011
|
+
chainId?: string | undefined;
|
|
4562
5012
|
}>, "many">;
|
|
4563
5013
|
nextCursor: z.ZodNullable<z.ZodString>;
|
|
4564
5014
|
hasMore: z.ZodBoolean;
|
|
@@ -4577,6 +5027,8 @@ export declare const IncomingTxListResponseSchema: z.ZodObject<{
|
|
|
4577
5027
|
detectedAt: number;
|
|
4578
5028
|
confirmedAt: number | null;
|
|
4579
5029
|
suspicious: boolean;
|
|
5030
|
+
assetId?: string | null | undefined;
|
|
5031
|
+
chainId?: string | undefined;
|
|
4580
5032
|
}[];
|
|
4581
5033
|
hasMore: boolean;
|
|
4582
5034
|
nextCursor: string | null;
|
|
@@ -4595,6 +5047,8 @@ export declare const IncomingTxListResponseSchema: z.ZodObject<{
|
|
|
4595
5047
|
detectedAt: number;
|
|
4596
5048
|
confirmedAt: number | null;
|
|
4597
5049
|
suspicious: boolean;
|
|
5050
|
+
assetId?: string | null | undefined;
|
|
5051
|
+
chainId?: string | undefined;
|
|
4598
5052
|
}[];
|
|
4599
5053
|
hasMore: boolean;
|
|
4600
5054
|
nextCursor: string | null;
|
|
@@ -4695,6 +5149,8 @@ export declare const StakingPositionSchema: z.ZodObject<{
|
|
|
4695
5149
|
amount: string;
|
|
4696
5150
|
requestedAt: number | null;
|
|
4697
5151
|
}>>;
|
|
5152
|
+
network: z.ZodOptional<z.ZodString>;
|
|
5153
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
4698
5154
|
}, "strip", z.ZodTypeAny, {
|
|
4699
5155
|
chain: "solana" | "ethereum";
|
|
4700
5156
|
balance: string;
|
|
@@ -4707,6 +5163,8 @@ export declare const StakingPositionSchema: z.ZodObject<{
|
|
|
4707
5163
|
amount: string;
|
|
4708
5164
|
requestedAt: number | null;
|
|
4709
5165
|
} | null;
|
|
5166
|
+
network?: string | undefined;
|
|
5167
|
+
chainId?: string | undefined;
|
|
4710
5168
|
}, {
|
|
4711
5169
|
chain: "solana" | "ethereum";
|
|
4712
5170
|
balance: string;
|
|
@@ -4719,6 +5177,8 @@ export declare const StakingPositionSchema: z.ZodObject<{
|
|
|
4719
5177
|
amount: string;
|
|
4720
5178
|
requestedAt: number | null;
|
|
4721
5179
|
} | null;
|
|
5180
|
+
network?: string | undefined;
|
|
5181
|
+
chainId?: string | undefined;
|
|
4722
5182
|
}>;
|
|
4723
5183
|
export declare const StakingPositionsResponseSchema: z.ZodObject<{
|
|
4724
5184
|
walletId: z.ZodString;
|
|
@@ -4742,6 +5202,8 @@ export declare const StakingPositionsResponseSchema: z.ZodObject<{
|
|
|
4742
5202
|
amount: string;
|
|
4743
5203
|
requestedAt: number | null;
|
|
4744
5204
|
}>>;
|
|
5205
|
+
network: z.ZodOptional<z.ZodString>;
|
|
5206
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
4745
5207
|
}, "strip", z.ZodTypeAny, {
|
|
4746
5208
|
chain: "solana" | "ethereum";
|
|
4747
5209
|
balance: string;
|
|
@@ -4754,6 +5216,8 @@ export declare const StakingPositionsResponseSchema: z.ZodObject<{
|
|
|
4754
5216
|
amount: string;
|
|
4755
5217
|
requestedAt: number | null;
|
|
4756
5218
|
} | null;
|
|
5219
|
+
network?: string | undefined;
|
|
5220
|
+
chainId?: string | undefined;
|
|
4757
5221
|
}, {
|
|
4758
5222
|
chain: "solana" | "ethereum";
|
|
4759
5223
|
balance: string;
|
|
@@ -4766,6 +5230,8 @@ export declare const StakingPositionsResponseSchema: z.ZodObject<{
|
|
|
4766
5230
|
amount: string;
|
|
4767
5231
|
requestedAt: number | null;
|
|
4768
5232
|
} | null;
|
|
5233
|
+
network?: string | undefined;
|
|
5234
|
+
chainId?: string | undefined;
|
|
4769
5235
|
}>, "many">;
|
|
4770
5236
|
}, "strip", z.ZodTypeAny, {
|
|
4771
5237
|
walletId: string;
|
|
@@ -4781,6 +5247,8 @@ export declare const StakingPositionsResponseSchema: z.ZodObject<{
|
|
|
4781
5247
|
amount: string;
|
|
4782
5248
|
requestedAt: number | null;
|
|
4783
5249
|
} | null;
|
|
5250
|
+
network?: string | undefined;
|
|
5251
|
+
chainId?: string | undefined;
|
|
4784
5252
|
}[];
|
|
4785
5253
|
}, {
|
|
4786
5254
|
walletId: string;
|
|
@@ -4796,6 +5264,8 @@ export declare const StakingPositionsResponseSchema: z.ZodObject<{
|
|
|
4796
5264
|
amount: string;
|
|
4797
5265
|
requestedAt: number | null;
|
|
4798
5266
|
} | null;
|
|
5267
|
+
network?: string | undefined;
|
|
5268
|
+
chainId?: string | undefined;
|
|
4799
5269
|
}[];
|
|
4800
5270
|
}>;
|
|
4801
5271
|
export declare const DeFiPositionSchema: z.ZodObject<{
|
|
@@ -4811,6 +5281,7 @@ export declare const DeFiPositionSchema: z.ZodObject<{
|
|
|
4811
5281
|
status: z.ZodString;
|
|
4812
5282
|
openedAt: z.ZodNumber;
|
|
4813
5283
|
lastSyncedAt: z.ZodNumber;
|
|
5284
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
4814
5285
|
}, "strip", z.ZodTypeAny, {
|
|
4815
5286
|
id: string;
|
|
4816
5287
|
chain: string;
|
|
@@ -4824,6 +5295,7 @@ export declare const DeFiPositionSchema: z.ZodObject<{
|
|
|
4824
5295
|
openedAt: number;
|
|
4825
5296
|
lastSyncedAt: number;
|
|
4826
5297
|
metadata?: unknown;
|
|
5298
|
+
chainId?: string | undefined;
|
|
4827
5299
|
}, {
|
|
4828
5300
|
id: string;
|
|
4829
5301
|
chain: string;
|
|
@@ -4837,6 +5309,7 @@ export declare const DeFiPositionSchema: z.ZodObject<{
|
|
|
4837
5309
|
openedAt: number;
|
|
4838
5310
|
lastSyncedAt: number;
|
|
4839
5311
|
metadata?: unknown;
|
|
5312
|
+
chainId?: string | undefined;
|
|
4840
5313
|
}>;
|
|
4841
5314
|
export declare const DeFiPositionsResponseSchema: z.ZodObject<{
|
|
4842
5315
|
walletId: z.ZodString;
|
|
@@ -4853,6 +5326,7 @@ export declare const DeFiPositionsResponseSchema: z.ZodObject<{
|
|
|
4853
5326
|
status: z.ZodString;
|
|
4854
5327
|
openedAt: z.ZodNumber;
|
|
4855
5328
|
lastSyncedAt: z.ZodNumber;
|
|
5329
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
4856
5330
|
}, "strip", z.ZodTypeAny, {
|
|
4857
5331
|
id: string;
|
|
4858
5332
|
chain: string;
|
|
@@ -4866,6 +5340,7 @@ export declare const DeFiPositionsResponseSchema: z.ZodObject<{
|
|
|
4866
5340
|
openedAt: number;
|
|
4867
5341
|
lastSyncedAt: number;
|
|
4868
5342
|
metadata?: unknown;
|
|
5343
|
+
chainId?: string | undefined;
|
|
4869
5344
|
}, {
|
|
4870
5345
|
id: string;
|
|
4871
5346
|
chain: string;
|
|
@@ -4879,6 +5354,7 @@ export declare const DeFiPositionsResponseSchema: z.ZodObject<{
|
|
|
4879
5354
|
openedAt: number;
|
|
4880
5355
|
lastSyncedAt: number;
|
|
4881
5356
|
metadata?: unknown;
|
|
5357
|
+
chainId?: string | undefined;
|
|
4882
5358
|
}>, "many">;
|
|
4883
5359
|
totalValueUsd: z.ZodNullable<z.ZodNumber>;
|
|
4884
5360
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4896,6 +5372,7 @@ export declare const DeFiPositionsResponseSchema: z.ZodObject<{
|
|
|
4896
5372
|
openedAt: number;
|
|
4897
5373
|
lastSyncedAt: number;
|
|
4898
5374
|
metadata?: unknown;
|
|
5375
|
+
chainId?: string | undefined;
|
|
4899
5376
|
}[];
|
|
4900
5377
|
totalValueUsd: number | null;
|
|
4901
5378
|
}, {
|
|
@@ -4913,6 +5390,7 @@ export declare const DeFiPositionsResponseSchema: z.ZodObject<{
|
|
|
4913
5390
|
openedAt: number;
|
|
4914
5391
|
lastSyncedAt: number;
|
|
4915
5392
|
metadata?: unknown;
|
|
5393
|
+
chainId?: string | undefined;
|
|
4916
5394
|
}[];
|
|
4917
5395
|
totalValueUsd: number | null;
|
|
4918
5396
|
}>;
|
|
@@ -5157,6 +5635,7 @@ export declare const NftListResponseSchema: z.ZodObject<{
|
|
|
5157
5635
|
slug?: string | undefined;
|
|
5158
5636
|
}>>;
|
|
5159
5637
|
assetId: z.ZodOptional<z.ZodString>;
|
|
5638
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
5160
5639
|
}, "strip", z.ZodTypeAny, {
|
|
5161
5640
|
amount: string;
|
|
5162
5641
|
contractAddress: string;
|
|
@@ -5164,6 +5643,7 @@ export declare const NftListResponseSchema: z.ZodObject<{
|
|
|
5164
5643
|
standard: string;
|
|
5165
5644
|
name?: string | undefined;
|
|
5166
5645
|
assetId?: string | undefined;
|
|
5646
|
+
chainId?: string | undefined;
|
|
5167
5647
|
description?: string | undefined;
|
|
5168
5648
|
image?: string | undefined;
|
|
5169
5649
|
collection?: {
|
|
@@ -5177,6 +5657,7 @@ export declare const NftListResponseSchema: z.ZodObject<{
|
|
|
5177
5657
|
standard: string;
|
|
5178
5658
|
name?: string | undefined;
|
|
5179
5659
|
assetId?: string | undefined;
|
|
5660
|
+
chainId?: string | undefined;
|
|
5180
5661
|
description?: string | undefined;
|
|
5181
5662
|
image?: string | undefined;
|
|
5182
5663
|
collection?: {
|
|
@@ -5194,6 +5675,7 @@ export declare const NftListResponseSchema: z.ZodObject<{
|
|
|
5194
5675
|
standard: string;
|
|
5195
5676
|
name?: string | undefined;
|
|
5196
5677
|
assetId?: string | undefined;
|
|
5678
|
+
chainId?: string | undefined;
|
|
5197
5679
|
description?: string | undefined;
|
|
5198
5680
|
image?: string | undefined;
|
|
5199
5681
|
collection?: {
|
|
@@ -5211,6 +5693,7 @@ export declare const NftListResponseSchema: z.ZodObject<{
|
|
|
5211
5693
|
standard: string;
|
|
5212
5694
|
name?: string | undefined;
|
|
5213
5695
|
assetId?: string | undefined;
|
|
5696
|
+
chainId?: string | undefined;
|
|
5214
5697
|
description?: string | undefined;
|
|
5215
5698
|
image?: string | undefined;
|
|
5216
5699
|
collection?: {
|
|
@@ -5258,6 +5741,7 @@ export declare const NftListGroupedResponseSchema: z.ZodObject<{
|
|
|
5258
5741
|
slug?: string | undefined;
|
|
5259
5742
|
}>>;
|
|
5260
5743
|
assetId: z.ZodOptional<z.ZodString>;
|
|
5744
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
5261
5745
|
}, "strip", z.ZodTypeAny, {
|
|
5262
5746
|
amount: string;
|
|
5263
5747
|
contractAddress: string;
|
|
@@ -5265,6 +5749,7 @@ export declare const NftListGroupedResponseSchema: z.ZodObject<{
|
|
|
5265
5749
|
standard: string;
|
|
5266
5750
|
name?: string | undefined;
|
|
5267
5751
|
assetId?: string | undefined;
|
|
5752
|
+
chainId?: string | undefined;
|
|
5268
5753
|
description?: string | undefined;
|
|
5269
5754
|
image?: string | undefined;
|
|
5270
5755
|
collection?: {
|
|
@@ -5278,6 +5763,7 @@ export declare const NftListGroupedResponseSchema: z.ZodObject<{
|
|
|
5278
5763
|
standard: string;
|
|
5279
5764
|
name?: string | undefined;
|
|
5280
5765
|
assetId?: string | undefined;
|
|
5766
|
+
chainId?: string | undefined;
|
|
5281
5767
|
description?: string | undefined;
|
|
5282
5768
|
image?: string | undefined;
|
|
5283
5769
|
collection?: {
|
|
@@ -5299,6 +5785,7 @@ export declare const NftListGroupedResponseSchema: z.ZodObject<{
|
|
|
5299
5785
|
standard: string;
|
|
5300
5786
|
name?: string | undefined;
|
|
5301
5787
|
assetId?: string | undefined;
|
|
5788
|
+
chainId?: string | undefined;
|
|
5302
5789
|
description?: string | undefined;
|
|
5303
5790
|
image?: string | undefined;
|
|
5304
5791
|
collection?: {
|
|
@@ -5320,6 +5807,7 @@ export declare const NftListGroupedResponseSchema: z.ZodObject<{
|
|
|
5320
5807
|
standard: string;
|
|
5321
5808
|
name?: string | undefined;
|
|
5322
5809
|
assetId?: string | undefined;
|
|
5810
|
+
chainId?: string | undefined;
|
|
5323
5811
|
description?: string | undefined;
|
|
5324
5812
|
image?: string | undefined;
|
|
5325
5813
|
collection?: {
|
|
@@ -5344,6 +5832,7 @@ export declare const NftListGroupedResponseSchema: z.ZodObject<{
|
|
|
5344
5832
|
standard: string;
|
|
5345
5833
|
name?: string | undefined;
|
|
5346
5834
|
assetId?: string | undefined;
|
|
5835
|
+
chainId?: string | undefined;
|
|
5347
5836
|
description?: string | undefined;
|
|
5348
5837
|
image?: string | undefined;
|
|
5349
5838
|
collection?: {
|
|
@@ -5368,6 +5857,7 @@ export declare const NftListGroupedResponseSchema: z.ZodObject<{
|
|
|
5368
5857
|
standard: string;
|
|
5369
5858
|
name?: string | undefined;
|
|
5370
5859
|
assetId?: string | undefined;
|
|
5860
|
+
chainId?: string | undefined;
|
|
5371
5861
|
description?: string | undefined;
|
|
5372
5862
|
image?: string | undefined;
|
|
5373
5863
|
collection?: {
|
|
@@ -5397,6 +5887,7 @@ export declare const NftMetadataResponseSchema: z.ZodObject<{
|
|
|
5397
5887
|
slug?: string | undefined;
|
|
5398
5888
|
}>>;
|
|
5399
5889
|
assetId: z.ZodOptional<z.ZodString>;
|
|
5890
|
+
chainId: z.ZodOptional<z.ZodString>;
|
|
5400
5891
|
attributes: z.ZodArray<z.ZodObject<{
|
|
5401
5892
|
trait_type: z.ZodString;
|
|
5402
5893
|
value: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
@@ -5420,6 +5911,7 @@ export declare const NftMetadataResponseSchema: z.ZodObject<{
|
|
|
5420
5911
|
}[];
|
|
5421
5912
|
name?: string | undefined;
|
|
5422
5913
|
assetId?: string | undefined;
|
|
5914
|
+
chainId?: string | undefined;
|
|
5423
5915
|
description?: string | undefined;
|
|
5424
5916
|
image?: string | undefined;
|
|
5425
5917
|
collection?: {
|
|
@@ -5439,6 +5931,7 @@ export declare const NftMetadataResponseSchema: z.ZodObject<{
|
|
|
5439
5931
|
}[];
|
|
5440
5932
|
name?: string | undefined;
|
|
5441
5933
|
assetId?: string | undefined;
|
|
5934
|
+
chainId?: string | undefined;
|
|
5442
5935
|
description?: string | undefined;
|
|
5443
5936
|
image?: string | undefined;
|
|
5444
5937
|
collection?: {
|