@rhinestone/sdk 2.0.0-beta.44 → 2.0.0-beta.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/accounts/adapter.d.ts +31 -0
- package/dist/src/accounts/adapter.d.ts.map +1 -0
- package/dist/src/accounts/adapters/eoa.d.ts +4 -0
- package/dist/src/accounts/adapters/eoa.d.ts.map +1 -0
- package/dist/src/accounts/adapters/eoa.js +45 -0
- package/dist/src/accounts/adapters/hca.d.ts +5 -0
- package/dist/src/accounts/adapters/hca.d.ts.map +1 -0
- package/dist/src/accounts/adapters/hca.js +118 -0
- package/dist/src/accounts/adapters/kernel.d.ts +9 -0
- package/dist/src/accounts/adapters/kernel.d.ts.map +1 -0
- package/dist/src/accounts/adapters/kernel.js +159 -0
- package/dist/src/accounts/adapters/nexus.d.ts +17 -0
- package/dist/src/accounts/adapters/nexus.d.ts.map +1 -0
- package/dist/src/accounts/adapters/nexus.js +227 -0
- package/dist/src/accounts/adapters/safe.d.ts +6 -0
- package/dist/src/accounts/adapters/safe.d.ts.map +1 -0
- package/dist/src/accounts/adapters/safe.js +194 -0
- package/dist/src/accounts/adapters/shared.d.ts +9 -0
- package/dist/src/accounts/adapters/shared.d.ts.map +1 -0
- package/dist/src/accounts/adapters/shared.js +62 -0
- package/dist/src/accounts/adapters/startale.d.ts +14 -0
- package/dist/src/accounts/adapters/startale.d.ts.map +1 -0
- package/dist/src/accounts/adapters/startale.js +165 -0
- package/dist/src/accounts/construction.d.ts +25 -0
- package/dist/src/accounts/construction.d.ts.map +1 -0
- package/dist/src/accounts/construction.js +34 -0
- package/dist/src/accounts/deployment.d.ts +12 -0
- package/dist/src/accounts/deployment.d.ts.map +1 -0
- package/dist/src/accounts/deployment.js +33 -0
- package/dist/src/accounts/erc7579-calls.d.ts +4 -0
- package/dist/src/accounts/erc7579-calls.d.ts.map +1 -0
- package/dist/src/accounts/erc7579-calls.js +57 -0
- package/dist/src/accounts/error.d.ts +1 -1
- package/dist/src/accounts/error.d.ts.map +1 -1
- package/dist/src/accounts/legacy.d.ts +14 -0
- package/dist/src/accounts/legacy.d.ts.map +1 -0
- package/dist/src/accounts/legacy.js +40 -0
- package/dist/src/accounts/registry.d.ts +4 -0
- package/dist/src/accounts/registry.d.ts.map +1 -0
- package/dist/src/accounts/registry.js +22 -0
- package/dist/src/accounts/types.d.ts +131 -0
- package/dist/src/accounts/types.d.ts.map +1 -0
- package/dist/src/accounts/wallet-account.d.ts +3 -0
- package/dist/src/accounts/wallet-account.d.ts.map +1 -0
- package/dist/src/accounts/wallet-account.js +12 -0
- package/dist/src/actions/deploy.d.ts +4 -0
- package/dist/src/actions/deploy.d.ts.map +1 -0
- package/dist/src/actions/deploy.js +8 -0
- package/dist/src/actions/ecdsa.d.ts +1 -1
- package/dist/src/actions/ecdsa.d.ts.map +1 -1
- package/dist/src/actions/ecdsa.js +8 -8
- package/dist/src/actions/index.d.ts +2 -16
- package/dist/src/actions/index.d.ts.map +1 -1
- package/dist/src/actions/index.js +3 -49
- package/dist/src/actions/mfa.d.ts +1 -1
- package/dist/src/actions/mfa.d.ts.map +1 -1
- package/dist/src/actions/mfa.js +30 -10
- package/dist/src/actions/modules.d.ts +4 -0
- package/dist/src/actions/modules.d.ts.map +1 -0
- package/dist/src/actions/modules.js +22 -0
- package/dist/src/actions/passkeys.d.ts +2 -2
- package/dist/src/actions/passkeys.d.ts.map +1 -1
- package/dist/src/actions/passkeys.js +19 -14
- package/dist/src/actions/runtime.d.ts +12 -0
- package/dist/src/actions/runtime.d.ts.map +1 -0
- package/dist/src/actions/runtime.js +161 -0
- package/dist/src/actions/smart-sessions.d.ts +2 -2
- package/dist/src/actions/smart-sessions.d.ts.map +1 -1
- package/dist/src/actions/smart-sessions.js +35 -12
- package/dist/src/api/account.d.ts +265 -0
- package/dist/src/api/account.d.ts.map +1 -0
- package/dist/src/api/account.js +635 -0
- package/dist/src/api/accounts.d.ts +12 -0
- package/dist/src/api/accounts.d.ts.map +1 -0
- package/dist/src/api/accounts.js +17 -0
- package/dist/src/api/compose-types.d.ts +147 -0
- package/dist/src/api/compose-types.d.ts.map +1 -0
- package/dist/src/api/compose.d.ts +6 -0
- package/dist/src/api/compose.d.ts.map +1 -0
- package/dist/src/api/compose.js +766 -0
- package/dist/src/api/direct-signing.d.ts +27 -0
- package/dist/src/api/direct-signing.d.ts.map +1 -0
- package/dist/src/api/direct-signing.js +191 -0
- package/dist/src/api/project-mappers.d.ts +7 -0
- package/dist/src/api/project-mappers.d.ts.map +1 -0
- package/dist/src/api/project-mappers.js +23 -0
- package/dist/src/api/queries/app-fees.d.ts +4 -0
- package/dist/src/api/queries/app-fees.d.ts.map +1 -0
- package/dist/src/api/queries/app-fees.js +3 -0
- package/dist/src/api/queries/portfolio.d.ts +9 -0
- package/dist/src/api/queries/portfolio.d.ts.map +1 -0
- package/dist/src/api/queries/portfolio.js +28 -0
- package/dist/src/api/queries/session.d.ts +8 -0
- package/dist/src/api/queries/session.d.ts.map +1 -0
- package/dist/src/api/queries/session.js +15 -0
- package/dist/src/api/sdk.d.ts +80 -0
- package/dist/src/api/sdk.d.ts.map +1 -0
- package/dist/src/api/sdk.js +103 -0
- package/dist/src/api/signer-selection.d.ts +7 -0
- package/dist/src/api/signer-selection.d.ts.map +1 -0
- package/dist/src/api/signer-selection.js +109 -0
- package/dist/src/calls/normalize.d.ts +9 -0
- package/dist/src/calls/normalize.d.ts.map +1 -0
- package/dist/src/calls/normalize.js +17 -0
- package/dist/src/calls/resolve.d.ts +3 -0
- package/dist/src/calls/resolve.d.ts.map +1 -0
- package/dist/src/calls/resolve.js +15 -0
- package/dist/src/calls/types.d.ts +25 -0
- package/dist/src/calls/types.d.ts.map +1 -0
- package/dist/src/calls/types.js +1 -0
- package/dist/src/chains/caip2.d.ts +10 -0
- package/dist/src/chains/caip2.d.ts.map +1 -0
- package/dist/src/chains/caip2.js +85 -0
- package/dist/src/chains/catalog.d.ts +5 -0
- package/dist/src/chains/catalog.d.ts.map +1 -0
- package/dist/src/chains/catalog.js +41 -0
- package/dist/src/chains/errors.d.ts +15 -0
- package/dist/src/chains/errors.d.ts.map +1 -0
- package/dist/src/chains/errors.js +21 -0
- package/dist/src/{orchestrator/destinations.d.ts → chains/non-evm.d.ts} +7 -5
- package/dist/src/chains/non-evm.d.ts.map +1 -0
- package/dist/src/chains/non-evm.js +30 -0
- package/dist/src/chains/tokens.d.ts +4 -0
- package/dist/src/chains/tokens.d.ts.map +1 -0
- package/dist/src/chains/tokens.js +22 -0
- package/dist/src/chains/types.d.ts +25 -0
- package/dist/src/chains/types.d.ts.map +1 -0
- package/dist/src/chains/types.js +1 -0
- package/dist/src/clients/bundler/client.d.ts +10 -0
- package/dist/src/clients/bundler/client.d.ts.map +1 -0
- package/dist/src/clients/bundler/client.js +85 -0
- package/dist/src/clients/bundler/endpoints.d.ts +3 -0
- package/dist/src/clients/bundler/endpoints.d.ts.map +1 -0
- package/dist/src/clients/bundler/endpoints.js +18 -0
- package/dist/src/clients/bundler/port.d.ts +22 -0
- package/dist/src/clients/bundler/port.d.ts.map +1 -0
- package/dist/src/clients/bundler/port.js +1 -0
- package/dist/src/clients/json-rpc.d.ts +20 -0
- package/dist/src/clients/json-rpc.d.ts.map +1 -0
- package/dist/src/clients/json-rpc.js +56 -0
- package/dist/src/clients/orchestrator/auth.d.ts +7 -0
- package/dist/src/clients/orchestrator/auth.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/auth.js +27 -0
- package/dist/src/{orchestrator → clients/orchestrator}/chain-catalog.d.ts +5 -3
- package/dist/src/clients/orchestrator/chain-catalog.d.ts.map +1 -0
- package/dist/src/{orchestrator → clients/orchestrator}/chain-catalog.js +24 -3
- package/dist/src/clients/orchestrator/client.d.ts +13 -0
- package/dist/src/clients/orchestrator/client.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/client.js +97 -0
- package/dist/src/{orchestrator/error.d.ts → clients/orchestrator/errors.d.ts} +2 -16
- package/dist/src/clients/orchestrator/errors.d.ts.map +1 -0
- package/dist/src/{orchestrator/error.js → clients/orchestrator/errors.js} +1 -22
- package/dist/src/clients/orchestrator/fetch.d.ts +7 -0
- package/dist/src/clients/orchestrator/fetch.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/fetch.js +37 -0
- package/dist/src/clients/orchestrator/mappers.d.ts +9 -0
- package/dist/src/clients/orchestrator/mappers.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/mappers.js +198 -0
- package/dist/src/clients/orchestrator/port.d.ts +26 -0
- package/dist/src/clients/orchestrator/port.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/port.js +1 -0
- package/dist/src/{orchestrator/types.d.ts → clients/orchestrator/public.d.ts} +4 -4
- package/dist/src/clients/orchestrator/public.d.ts.map +1 -0
- package/dist/src/{orchestrator/types.js → clients/orchestrator/public.js} +3 -0
- package/dist/src/clients/orchestrator/types.d.ts +140 -0
- package/dist/src/clients/orchestrator/types.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/types.js +1 -0
- package/dist/src/clients/orchestrator/wire.d.ts +19 -0
- package/dist/src/clients/orchestrator/wire.d.ts.map +1 -0
- package/dist/src/{orchestrator → clients/orchestrator}/wire.gen.d.ts +498 -498
- package/dist/src/clients/orchestrator/wire.gen.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/wire.gen.js +1 -0
- package/dist/src/clients/orchestrator/wire.js +1 -0
- package/dist/src/clients/paymaster/client.d.ts +8 -0
- package/dist/src/clients/paymaster/client.d.ts.map +1 -0
- package/dist/src/clients/paymaster/client.js +38 -0
- package/dist/src/clients/paymaster/endpoints.d.ts +3 -0
- package/dist/src/clients/paymaster/endpoints.d.ts.map +1 -0
- package/dist/src/clients/paymaster/endpoints.js +16 -0
- package/dist/src/clients/paymaster/port.d.ts +17 -0
- package/dist/src/clients/paymaster/port.d.ts.map +1 -0
- package/dist/src/clients/paymaster/port.js +1 -0
- package/dist/src/clients/rpc/client.d.ts +6 -0
- package/dist/src/clients/rpc/client.d.ts.map +1 -0
- package/dist/src/clients/rpc/client.js +66 -0
- package/dist/src/clients/rpc/compatibility.d.ts +12 -0
- package/dist/src/clients/rpc/compatibility.d.ts.map +1 -0
- package/dist/src/clients/rpc/compatibility.js +16 -0
- package/dist/src/clients/rpc/port.d.ts +13 -0
- package/dist/src/clients/rpc/port.d.ts.map +1 -0
- package/dist/src/clients/rpc/port.js +1 -0
- package/dist/src/clients/rpc/providers.d.ts +3 -0
- package/dist/src/clients/rpc/providers.d.ts.map +1 -0
- package/dist/src/clients/rpc/providers.js +8 -0
- package/dist/src/clients/rpc/transport.d.ts +4 -0
- package/dist/src/clients/rpc/transport.d.ts.map +1 -0
- package/dist/src/clients/rpc/transport.js +5 -0
- package/dist/src/clients/rpc/types.d.ts +23 -0
- package/dist/src/clients/rpc/types.d.ts.map +1 -0
- package/dist/src/clients/rpc/types.js +1 -0
- package/dist/src/config/account-runtime.d.ts +7 -0
- package/dist/src/config/account-runtime.d.ts.map +1 -0
- package/dist/src/config/account-runtime.js +36 -0
- package/dist/src/{types.d.ts → config/account.d.ts} +23 -14
- package/dist/src/config/account.d.ts.map +1 -0
- package/dist/src/config/account.js +10 -0
- package/dist/src/config/defaults.d.ts +14 -0
- package/dist/src/config/defaults.d.ts.map +1 -0
- package/dist/src/config/defaults.js +26 -0
- package/dist/src/config/input.d.ts +54 -0
- package/dist/src/config/input.d.ts.map +1 -0
- package/dist/src/config/input.js +1 -0
- package/dist/src/config/legacy.d.ts +22 -0
- package/dist/src/config/legacy.d.ts.map +1 -0
- package/dist/src/config/legacy.js +23 -0
- package/dist/src/config/resolve.d.ts +13 -0
- package/dist/src/config/resolve.d.ts.map +1 -0
- package/dist/src/config/resolve.js +174 -0
- package/dist/src/config/resolved.d.ts +77 -0
- package/dist/src/config/resolved.d.ts.map +1 -0
- package/dist/src/config/resolved.js +1 -0
- package/dist/src/config/validate.d.ts +3 -0
- package/dist/src/config/validate.d.ts.map +1 -0
- package/dist/src/config/validate.js +6 -0
- package/dist/src/{execution/error.d.ts → errors/execution.d.ts} +2 -2
- package/dist/src/errors/execution.d.ts.map +1 -0
- package/dist/src/{execution/error.js → errors/execution.js} +1 -1
- package/dist/src/errors/index.d.ts +4 -4
- package/dist/src/errors/index.d.ts.map +1 -1
- package/dist/src/errors/index.js +4 -3
- package/dist/src/index.d.ts +13 -324
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +6 -286
- package/dist/src/modules/erc7579-abi.d.ts +4 -0
- package/dist/src/modules/erc7579-abi.d.ts.map +1 -0
- package/dist/src/modules/erc7579-abi.js +12 -0
- package/dist/src/modules/intent-executor.d.ts +6 -0
- package/dist/src/modules/intent-executor.d.ts.map +1 -0
- package/dist/src/modules/intent-executor.js +13 -0
- package/dist/src/modules/legacy-core.d.ts +29 -0
- package/dist/src/modules/legacy-core.d.ts.map +1 -0
- package/dist/src/modules/legacy-core.js +80 -0
- package/dist/src/modules/normalize.d.ts +4 -0
- package/dist/src/modules/normalize.d.ts.map +1 -0
- package/dist/src/modules/normalize.js +15 -0
- package/dist/src/modules/plan.d.ts +16 -0
- package/dist/src/modules/plan.d.ts.map +1 -0
- package/dist/src/modules/plan.js +51 -0
- package/dist/src/modules/read-core.d.ts +39 -0
- package/dist/src/modules/read-core.d.ts.map +1 -0
- package/dist/src/modules/read-core.js +149 -0
- package/dist/src/modules/types.d.ts +46 -0
- package/dist/src/modules/types.d.ts.map +1 -0
- package/dist/src/modules/types.js +1 -0
- package/dist/src/modules/validators/capabilities.d.ts +4 -0
- package/dist/src/modules/validators/capabilities.d.ts.map +1 -0
- package/dist/src/modules/validators/capabilities.js +58 -0
- package/dist/src/modules/validators/contribution.d.ts +4 -0
- package/dist/src/modules/validators/contribution.d.ts.map +1 -0
- package/dist/src/modules/validators/contribution.js +64 -0
- package/dist/src/modules/validators/definition.d.ts +3 -0
- package/dist/src/modules/validators/definition.d.ts.map +1 -0
- package/dist/src/modules/validators/definition.js +68 -0
- package/dist/src/modules/validators/ens.d.ts +5 -0
- package/dist/src/modules/validators/ens.d.ts.map +1 -0
- package/dist/src/modules/validators/ens.js +34 -0
- package/dist/src/modules/validators/k1.d.ts +2 -0
- package/dist/src/modules/validators/k1.d.ts.map +1 -0
- package/dist/src/modules/validators/k1.js +1 -0
- package/dist/src/modules/validators/multi-factor.d.ts +18 -0
- package/dist/src/modules/validators/multi-factor.d.ts.map +1 -0
- package/dist/src/modules/validators/multi-factor.js +79 -0
- package/dist/src/modules/validators/ownable.d.ts +26 -0
- package/dist/src/modules/validators/ownable.d.ts.map +1 -0
- package/dist/src/modules/validators/ownable.js +84 -0
- package/dist/src/modules/validators/permissions.d.ts +1 -1
- package/dist/src/modules/validators/permissions.d.ts.map +1 -1
- package/dist/src/modules/validators/policies/claim/arbiters.d.ts +1 -1
- package/dist/src/modules/validators/policies/claim/arbiters.d.ts.map +1 -1
- package/dist/src/modules/validators/policies/claim/arbiters.js +3 -1
- package/dist/src/modules/validators/resolve.d.ts +5 -0
- package/dist/src/modules/validators/resolve.d.ts.map +1 -0
- package/dist/src/modules/validators/resolve.js +22 -0
- package/dist/src/modules/validators/signer-id.d.ts +5 -0
- package/dist/src/modules/validators/signer-id.d.ts.map +1 -0
- package/dist/src/modules/validators/signer-id.js +8 -0
- package/dist/src/modules/validators/smart-session-signature-types.d.ts +35 -0
- package/dist/src/modules/validators/smart-session-signature-types.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-session-signature-types.js +1 -0
- package/dist/src/modules/validators/smart-sessions/authorization.d.ts +99 -0
- package/dist/src/modules/validators/smart-sessions/authorization.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/authorization.js +101 -0
- package/dist/src/modules/validators/smart-sessions/calls.d.ts +19 -0
- package/dist/src/modules/validators/smart-sessions/calls.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/calls.js +85 -0
- package/dist/src/modules/validators/smart-sessions/cross-chain-permits.d.ts +4 -0
- package/dist/src/modules/validators/smart-sessions/cross-chain-permits.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/cross-chain-permits.js +77 -0
- package/dist/src/modules/validators/smart-sessions/digest.d.ts +5 -0
- package/dist/src/modules/validators/smart-sessions/digest.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/digest.js +30 -0
- package/dist/src/modules/validators/smart-sessions/mock-signature.d.ts +10 -0
- package/dist/src/modules/validators/smart-sessions/mock-signature.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/mock-signature.js +31 -0
- package/dist/src/modules/validators/smart-sessions/module.d.ts +11 -0
- package/dist/src/modules/validators/smart-sessions/module.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/module.js +18 -0
- package/dist/src/modules/validators/smart-sessions/policies/addresses.d.ts +23 -0
- package/dist/src/modules/validators/smart-sessions/policies/addresses.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/policies/addresses.js +29 -0
- package/dist/src/modules/validators/smart-sessions/policies/claim.d.ts +10 -0
- package/dist/src/modules/validators/smart-sessions/policies/claim.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/policies/claim.js +106 -0
- package/dist/src/modules/validators/smart-sessions/policies/encode.d.ts +4 -0
- package/dist/src/modules/validators/smart-sessions/policies/encode.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/policies/encode.js +197 -0
- package/dist/src/modules/validators/smart-sessions/resolve.d.ts +16 -0
- package/dist/src/modules/validators/smart-sessions/resolve.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/resolve.js +120 -0
- package/dist/src/modules/validators/smart-sessions/signature.d.ts +14 -0
- package/dist/src/modules/validators/smart-sessions/signature.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/signature.js +167 -0
- package/dist/src/modules/validators/smart-sessions/state.d.ts +19 -0
- package/dist/src/modules/validators/smart-sessions/state.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/state.js +42 -0
- package/dist/src/modules/validators/smart-sessions/types.d.ts +227 -0
- package/dist/src/modules/validators/smart-sessions/types.d.ts.map +1 -0
- package/dist/src/modules/validators/smart-sessions/types.js +1 -0
- package/dist/src/modules/validators/types.d.ts +143 -0
- package/dist/src/modules/validators/types.d.ts.map +1 -0
- package/dist/src/modules/validators/types.js +1 -0
- package/dist/src/modules/validators/webauthn.d.ts +54 -0
- package/dist/src/modules/validators/webauthn.d.ts.map +1 -0
- package/dist/src/modules/validators/webauthn.js +159 -0
- package/dist/src/signing/context.d.ts +25 -0
- package/dist/src/signing/context.d.ts.map +1 -0
- package/dist/src/signing/context.js +163 -0
- package/dist/src/signing/contribution.d.ts +13 -0
- package/dist/src/signing/contribution.d.ts.map +1 -0
- package/dist/src/signing/contribution.js +83 -0
- package/dist/src/signing/eip7702.d.ts +41 -0
- package/dist/src/signing/eip7702.d.ts.map +1 -0
- package/dist/src/signing/eip7702.js +215 -0
- package/dist/src/signing/error.d.ts +27 -0
- package/dist/src/signing/error.d.ts.map +1 -0
- package/dist/src/signing/error.js +25 -0
- package/dist/src/signing/execute.d.ts +17 -0
- package/dist/src/signing/execute.d.ts.map +1 -0
- package/dist/src/signing/execute.js +138 -0
- package/dist/src/signing/intent-plans/assemble.d.ts +15 -0
- package/dist/src/signing/intent-plans/assemble.d.ts.map +1 -0
- package/dist/src/signing/intent-plans/assemble.js +96 -0
- package/dist/src/signing/intent-plans/independent.d.ts +48 -0
- package/dist/src/signing/intent-plans/independent.d.ts.map +1 -0
- package/dist/src/signing/intent-plans/independent.js +150 -0
- package/dist/src/signing/intent-plans/plan.d.ts +14 -0
- package/dist/src/signing/intent-plans/plan.d.ts.map +1 -0
- package/dist/src/signing/intent-plans/plan.js +187 -0
- package/dist/src/signing/intent-plans/types.d.ts +63 -0
- package/dist/src/signing/intent-plans/types.d.ts.map +1 -0
- package/dist/src/signing/intent-plans/types.js +1 -0
- package/dist/src/signing/message.d.ts +28 -0
- package/dist/src/signing/message.d.ts.map +1 -0
- package/dist/src/signing/message.js +90 -0
- package/dist/src/signing/passkeys.d.ts +28 -0
- package/dist/src/signing/passkeys.d.ts.map +1 -0
- package/dist/src/signing/passkeys.js +17 -0
- package/dist/src/signing/plan.d.ts +35 -0
- package/dist/src/signing/plan.d.ts.map +1 -0
- package/dist/src/signing/plan.js +377 -0
- package/dist/src/signing/protocols/erc6492.d.ts +11 -0
- package/dist/src/signing/protocols/erc6492.d.ts.map +1 -0
- package/dist/src/signing/protocols/erc6492.js +24 -0
- package/dist/src/signing/protocols/erc7739.d.ts +17 -0
- package/dist/src/signing/protocols/erc7739.d.ts.map +1 -0
- package/dist/src/signing/protocols/erc7739.js +84 -0
- package/dist/src/signing/session-enable.d.ts +35 -0
- package/dist/src/signing/session-enable.d.ts.map +1 -0
- package/dist/src/signing/session-enable.js +62 -0
- package/dist/src/signing/signers/compatibility.d.ts +4 -0
- package/dist/src/signing/signers/compatibility.d.ts.map +1 -0
- package/dist/src/signing/signers/compatibility.js +51 -0
- package/dist/src/signing/signers/ecdsa.d.ts +14 -0
- package/dist/src/signing/signers/ecdsa.d.ts.map +1 -0
- package/dist/src/signing/signers/ecdsa.js +54 -0
- package/dist/src/signing/signers/registry.d.ts +7 -0
- package/dist/src/signing/signers/registry.d.ts.map +1 -0
- package/dist/src/signing/signers/registry.js +33 -0
- package/dist/src/signing/signers/types.d.ts +16 -0
- package/dist/src/signing/signers/types.d.ts.map +1 -0
- package/dist/src/signing/signers/types.js +1 -0
- package/dist/src/signing/signers/wallet-chain.d.ts +9 -0
- package/dist/src/signing/signers/wallet-chain.d.ts.map +1 -0
- package/dist/src/signing/signers/wallet-chain.js +15 -0
- package/dist/src/signing/signers/webauthn.d.ts +11 -0
- package/dist/src/signing/signers/webauthn.d.ts.map +1 -0
- package/dist/src/signing/signers/webauthn.js +14 -0
- package/dist/src/signing/typed-data.d.ts +39 -0
- package/dist/src/signing/typed-data.d.ts.map +1 -0
- package/dist/src/signing/typed-data.js +135 -0
- package/dist/src/signing/types.d.ts +346 -0
- package/dist/src/signing/types.d.ts.map +1 -0
- package/dist/src/signing/types.js +1 -0
- package/dist/src/signing/user-operation.d.ts +23 -0
- package/dist/src/signing/user-operation.d.ts.map +1 -0
- package/dist/src/signing/user-operation.js +61 -0
- package/dist/src/smart-sessions/index.d.ts +13 -3
- package/dist/src/smart-sessions/index.d.ts.map +1 -1
- package/dist/src/smart-sessions/index.js +44 -6
- package/dist/src/transactions/intents/account.d.ts +15 -0
- package/dist/src/transactions/intents/account.d.ts.map +1 -0
- package/dist/src/transactions/intents/account.js +48 -0
- package/dist/src/transactions/intents/compatibility.d.ts +4 -0
- package/dist/src/transactions/intents/compatibility.d.ts.map +1 -0
- package/dist/src/transactions/intents/compatibility.js +19 -0
- package/dist/src/transactions/intents/normalize.d.ts +5 -0
- package/dist/src/transactions/intents/normalize.d.ts.map +1 -0
- package/dist/src/transactions/intents/normalize.js +48 -0
- package/dist/src/transactions/intents/prepare.d.ts +7 -0
- package/dist/src/transactions/intents/prepare.d.ts.map +1 -0
- package/dist/src/transactions/intents/prepare.js +249 -0
- package/dist/src/transactions/intents/quotes.d.ts +3 -0
- package/dist/src/transactions/intents/quotes.d.ts.map +1 -0
- package/dist/src/transactions/intents/quotes.js +11 -0
- package/dist/src/transactions/intents/request.d.ts +11 -0
- package/dist/src/transactions/intents/request.d.ts.map +1 -0
- package/dist/src/transactions/intents/request.js +55 -0
- package/dist/src/transactions/intents/send.d.ts +3 -0
- package/dist/src/transactions/intents/send.d.ts.map +1 -0
- package/dist/src/transactions/intents/send.js +22 -0
- package/dist/src/transactions/intents/session-signing.d.ts +7 -0
- package/dist/src/transactions/intents/session-signing.d.ts.map +1 -0
- package/dist/src/transactions/intents/session-signing.js +363 -0
- package/dist/src/transactions/intents/sessions.d.ts +17 -0
- package/dist/src/transactions/intents/sessions.d.ts.map +1 -0
- package/dist/src/transactions/intents/sessions.js +85 -0
- package/dist/src/transactions/intents/sign-transaction.d.ts +10 -0
- package/dist/src/transactions/intents/sign-transaction.d.ts.map +1 -0
- package/dist/src/transactions/intents/sign-transaction.js +386 -0
- package/dist/src/transactions/intents/split.d.ts +13 -0
- package/dist/src/transactions/intents/split.d.ts.map +1 -0
- package/dist/src/transactions/intents/split.js +3 -0
- package/dist/src/transactions/intents/status-policy.d.ts +13 -0
- package/dist/src/transactions/intents/status-policy.d.ts.map +1 -0
- package/dist/src/transactions/intents/status-policy.js +39 -0
- package/dist/src/transactions/intents/status.d.ts +4 -0
- package/dist/src/transactions/intents/status.d.ts.map +1 -0
- package/dist/src/transactions/intents/status.js +50 -0
- package/dist/src/transactions/intents/submit.d.ts +3 -0
- package/dist/src/transactions/intents/submit.d.ts.map +1 -0
- package/dist/src/transactions/intents/submit.js +32 -0
- package/dist/src/transactions/intents/types.d.ts +136 -0
- package/dist/src/transactions/intents/types.d.ts.map +1 -0
- package/dist/src/transactions/intents/types.js +1 -0
- package/dist/src/transactions/user-operations/hash.d.ts +5 -0
- package/dist/src/transactions/user-operations/hash.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/hash.js +9 -0
- package/dist/src/transactions/user-operations/nonce.d.ts +18 -0
- package/dist/src/transactions/user-operations/nonce.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/nonce.js +43 -0
- package/dist/src/transactions/user-operations/prepare.d.ts +12 -0
- package/dist/src/transactions/user-operations/prepare.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/prepare.js +138 -0
- package/dist/src/transactions/user-operations/reconstruct.d.ts +28 -0
- package/dist/src/transactions/user-operations/reconstruct.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/reconstruct.js +52 -0
- package/dist/src/transactions/user-operations/send.d.ts +3 -0
- package/dist/src/transactions/user-operations/send.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/send.js +8 -0
- package/dist/src/transactions/user-operations/sign.d.ts +3 -0
- package/dist/src/transactions/user-operations/sign.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/sign.js +14 -0
- package/dist/src/transactions/user-operations/status.d.ts +4 -0
- package/dist/src/transactions/user-operations/status.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/status.js +37 -0
- package/dist/src/transactions/user-operations/submit.d.ts +3 -0
- package/dist/src/transactions/user-operations/submit.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/submit.js +8 -0
- package/dist/src/transactions/user-operations/types.d.ts +68 -0
- package/dist/src/transactions/user-operations/types.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/types.js +1 -0
- package/dist/src/transactions/user-operations/validator-account.d.ts +5 -0
- package/dist/src/transactions/user-operations/validator-account.d.ts.map +1 -0
- package/dist/src/transactions/user-operations/validator-account.js +26 -0
- package/dist/src/utils/index.d.ts +9 -4
- package/dist/src/utils/index.d.ts.map +1 -1
- package/dist/src/utils/index.js +54 -51
- package/package.json +3 -3
- package/dist/src/accounts/hca.d.ts +0 -25
- package/dist/src/accounts/hca.d.ts.map +0 -1
- package/dist/src/accounts/hca.js +0 -148
- package/dist/src/accounts/index.d.ts +0 -64
- package/dist/src/accounts/index.d.ts.map +0 -1
- package/dist/src/accounts/index.js +0 -680
- package/dist/src/accounts/json-rpc/index.d.ts +0 -5
- package/dist/src/accounts/json-rpc/index.d.ts.map +0 -1
- package/dist/src/accounts/json-rpc/index.js +0 -13
- package/dist/src/accounts/json-rpc/providers.d.ts +0 -3
- package/dist/src/accounts/json-rpc/providers.d.ts.map +0 -1
- package/dist/src/accounts/json-rpc/providers.js +0 -4
- package/dist/src/accounts/kernel.d.ts +0 -26
- package/dist/src/accounts/kernel.d.ts.map +0 -1
- package/dist/src/accounts/kernel.js +0 -265
- package/dist/src/accounts/nexus.d.ts +0 -34
- package/dist/src/accounts/nexus.d.ts.map +0 -1
- package/dist/src/accounts/nexus.js +0 -520
- package/dist/src/accounts/safe.d.ts +0 -32
- package/dist/src/accounts/safe.d.ts.map +0 -1
- package/dist/src/accounts/safe.js +0 -337
- package/dist/src/accounts/signing/common.d.ts +0 -38
- package/dist/src/accounts/signing/common.d.ts.map +0 -1
- package/dist/src/accounts/signing/common.js +0 -186
- package/dist/src/accounts/signing/message.d.ts +0 -7
- package/dist/src/accounts/signing/message.d.ts.map +0 -1
- package/dist/src/accounts/signing/message.js +0 -42
- package/dist/src/accounts/signing/passkeys.d.ts +0 -36
- package/dist/src/accounts/signing/passkeys.d.ts.map +0 -1
- package/dist/src/accounts/signing/passkeys.js +0 -119
- package/dist/src/accounts/signing/typedData.d.ts +0 -5
- package/dist/src/accounts/signing/typedData.d.ts.map +0 -1
- package/dist/src/accounts/signing/typedData.js +0 -30
- package/dist/src/accounts/startale.d.ts +0 -25
- package/dist/src/accounts/startale.d.ts.map +0 -1
- package/dist/src/accounts/startale.js +0 -188
- package/dist/src/accounts/utils.d.ts +0 -33
- package/dist/src/accounts/utils.d.ts.map +0 -1
- package/dist/src/accounts/utils.js +0 -202
- package/dist/src/auth/provider.d.ts +0 -7
- package/dist/src/auth/provider.d.ts.map +0 -1
- package/dist/src/auth/provider.js +0 -38
- package/dist/src/execution/compact.d.ts +0 -5
- package/dist/src/execution/compact.d.ts.map +0 -1
- package/dist/src/execution/compact.js +0 -4
- package/dist/src/execution/error.d.ts.map +0 -1
- package/dist/src/execution/index.d.ts +0 -42
- package/dist/src/execution/index.d.ts.map +0 -1
- package/dist/src/execution/index.js +0 -186
- package/dist/src/execution/utils.d.ts +0 -167
- package/dist/src/execution/utils.d.ts.map +0 -1
- package/dist/src/execution/utils.js +0 -1603
- package/dist/src/modules/abi/smart-sessions.d.ts +0 -104
- package/dist/src/modules/abi/smart-sessions.d.ts.map +0 -1
- package/dist/src/modules/abi/smart-sessions.js +0 -128
- package/dist/src/modules/chain-abstraction.d.ts +0 -5
- package/dist/src/modules/chain-abstraction.d.ts.map +0 -1
- package/dist/src/modules/chain-abstraction.js +0 -3
- package/dist/src/modules/common.d.ts +0 -30
- package/dist/src/modules/common.d.ts.map +0 -1
- package/dist/src/modules/common.js +0 -30
- package/dist/src/modules/index.d.ts +0 -11
- package/dist/src/modules/index.d.ts.map +0 -1
- package/dist/src/modules/index.js +0 -85
- package/dist/src/modules/legacy.d.ts +0 -10
- package/dist/src/modules/legacy.d.ts.map +0 -1
- package/dist/src/modules/legacy.js +0 -62
- package/dist/src/modules/read.d.ts +0 -11
- package/dist/src/modules/read.d.ts.map +0 -1
- package/dist/src/modules/read.js +0 -219
- package/dist/src/modules/validators/core.d.ts +0 -31
- package/dist/src/modules/validators/core.d.ts.map +0 -1
- package/dist/src/modules/validators/core.js +0 -269
- package/dist/src/modules/validators/cross-chain-permits.d.ts +0 -22
- package/dist/src/modules/validators/cross-chain-permits.d.ts.map +0 -1
- package/dist/src/modules/validators/cross-chain-permits.js +0 -107
- package/dist/src/modules/validators/index.d.ts +0 -4
- package/dist/src/modules/validators/index.d.ts.map +0 -1
- package/dist/src/modules/validators/index.js +0 -3
- package/dist/src/modules/validators/smart-sessions.d.ts +0 -226
- package/dist/src/modules/validators/smart-sessions.d.ts.map +0 -1
- package/dist/src/modules/validators/smart-sessions.js +0 -1197
- package/dist/src/orchestrator/caip2.d.ts +0 -18
- package/dist/src/orchestrator/caip2.d.ts.map +0 -1
- package/dist/src/orchestrator/caip2.js +0 -58
- package/dist/src/orchestrator/chain-catalog.d.ts.map +0 -1
- package/dist/src/orchestrator/client.d.ts +0 -43
- package/dist/src/orchestrator/client.d.ts.map +0 -1
- package/dist/src/orchestrator/client.js +0 -336
- package/dist/src/orchestrator/consts.d.ts +0 -6
- package/dist/src/orchestrator/consts.d.ts.map +0 -1
- package/dist/src/orchestrator/consts.js +0 -5
- package/dist/src/orchestrator/destinations.d.ts.map +0 -1
- package/dist/src/orchestrator/destinations.js +0 -59
- package/dist/src/orchestrator/error.d.ts.map +0 -1
- package/dist/src/orchestrator/index.d.ts +0 -12
- package/dist/src/orchestrator/index.d.ts.map +0 -1
- package/dist/src/orchestrator/index.js +0 -9
- package/dist/src/orchestrator/registry.d.ts +0 -7
- package/dist/src/orchestrator/registry.d.ts.map +0 -1
- package/dist/src/orchestrator/registry.js +0 -46
- package/dist/src/orchestrator/types.d.ts.map +0 -1
- package/dist/src/orchestrator/utils.d.ts +0 -3
- package/dist/src/orchestrator/utils.d.ts.map +0 -1
- package/dist/src/orchestrator/utils.js +0 -22
- package/dist/src/orchestrator/wire.d.ts +0 -31
- package/dist/src/orchestrator/wire.d.ts.map +0 -1
- package/dist/src/orchestrator/wire.gen.d.ts.map +0 -1
- package/dist/src/types.d.ts.map +0 -1
- package/dist/src/utils/walletClient.d.ts +0 -34
- package/dist/src/utils/walletClient.d.ts.map +0 -1
- package/dist/src/utils/walletClient.js +0 -117
- /package/dist/src/{orchestrator/wire.gen.js → accounts/adapter.js} +0 -0
- /package/dist/src/{types.js → accounts/types.js} +0 -0
- /package/dist/src/{orchestrator/wire.js → api/compose-types.js} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit by hand — regenerate instead.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
-
|
|
6
|
+
'/chains': {
|
|
7
7
|
parameters: {
|
|
8
8
|
query?: never;
|
|
9
9
|
header?: never;
|
|
@@ -14,7 +14,7 @@ export interface paths {
|
|
|
14
14
|
* Supported chains and tokens
|
|
15
15
|
* @description Get supported chains and tokens with additional metadata
|
|
16
16
|
*/
|
|
17
|
-
get: operations[
|
|
17
|
+
get: operations['listChains'];
|
|
18
18
|
put?: never;
|
|
19
19
|
post?: never;
|
|
20
20
|
delete?: never;
|
|
@@ -23,7 +23,7 @@ export interface paths {
|
|
|
23
23
|
patch?: never;
|
|
24
24
|
trace?: never;
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
'/liquidity': {
|
|
27
27
|
parameters: {
|
|
28
28
|
query?: never;
|
|
29
29
|
header?: never;
|
|
@@ -34,7 +34,7 @@ export interface paths {
|
|
|
34
34
|
* Route liquidity limit
|
|
35
35
|
* @description Returns the largest known fillable amount for a single deposit on the given source→destination route. Relayer-market layers return exact capacity; bridge-backed layers return a conservative probed lower bound.
|
|
36
36
|
*/
|
|
37
|
-
get: operations[
|
|
37
|
+
get: operations['listLiquidity'];
|
|
38
38
|
put?: never;
|
|
39
39
|
post?: never;
|
|
40
40
|
delete?: never;
|
|
@@ -43,7 +43,7 @@ export interface paths {
|
|
|
43
43
|
patch?: never;
|
|
44
44
|
trace?: never;
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
'/intents/{id}': {
|
|
47
47
|
parameters: {
|
|
48
48
|
query?: never;
|
|
49
49
|
header?: never;
|
|
@@ -54,7 +54,7 @@ export interface paths {
|
|
|
54
54
|
* Get Intent
|
|
55
55
|
* @description Retrieves the status of an intent along with per-claim progress across chains.
|
|
56
56
|
*/
|
|
57
|
-
get: operations[
|
|
57
|
+
get: operations['getIntent'];
|
|
58
58
|
put?: never;
|
|
59
59
|
post?: never;
|
|
60
60
|
delete?: never;
|
|
@@ -63,7 +63,7 @@ export interface paths {
|
|
|
63
63
|
patch?: never;
|
|
64
64
|
trace?: never;
|
|
65
65
|
};
|
|
66
|
-
|
|
66
|
+
'/accounts/{accountAddress}/portfolio': {
|
|
67
67
|
parameters: {
|
|
68
68
|
query?: never;
|
|
69
69
|
header?: never;
|
|
@@ -74,7 +74,7 @@ export interface paths {
|
|
|
74
74
|
* Get Account Portfolio
|
|
75
75
|
* @description Retrieves the token balances across all supported chains for a user's abstracted account
|
|
76
76
|
*/
|
|
77
|
-
get: operations[
|
|
77
|
+
get: operations['getPortfolio'];
|
|
78
78
|
put?: never;
|
|
79
79
|
post?: never;
|
|
80
80
|
delete?: never;
|
|
@@ -83,7 +83,7 @@ export interface paths {
|
|
|
83
83
|
patch?: never;
|
|
84
84
|
trace?: never;
|
|
85
85
|
};
|
|
86
|
-
|
|
86
|
+
'/intents': {
|
|
87
87
|
parameters: {
|
|
88
88
|
query?: never;
|
|
89
89
|
header?: never;
|
|
@@ -94,20 +94,20 @@ export interface paths {
|
|
|
94
94
|
* List Intents
|
|
95
95
|
* @description Retrieves a paginated list of the authenticated client's intents, newest first.
|
|
96
96
|
*/
|
|
97
|
-
get: operations[
|
|
97
|
+
get: operations['listIntents'];
|
|
98
98
|
put?: never;
|
|
99
99
|
/**
|
|
100
100
|
* Create Intent
|
|
101
101
|
* @description Submits a quoted intent for execution. Takes the `intentId` from `POST /quotes` (`routes[].intentId`) plus signatures (origin, destination, optionally target-execution) and optional EIP-7702 authorizations.
|
|
102
102
|
*/
|
|
103
|
-
post: operations[
|
|
103
|
+
post: operations['createIntent'];
|
|
104
104
|
delete?: never;
|
|
105
105
|
options?: never;
|
|
106
106
|
head?: never;
|
|
107
107
|
patch?: never;
|
|
108
108
|
trace?: never;
|
|
109
109
|
};
|
|
110
|
-
|
|
110
|
+
'/intents/splits': {
|
|
111
111
|
parameters: {
|
|
112
112
|
query?: never;
|
|
113
113
|
header?: never;
|
|
@@ -120,14 +120,14 @@ export interface paths {
|
|
|
120
120
|
* Split Intent by Liquidity
|
|
121
121
|
* @description Splits token amounts into multiple intents based on available relayer liquidity. Each returned intent can be filled by a single relayer.
|
|
122
122
|
*/
|
|
123
|
-
post: operations[
|
|
123
|
+
post: operations['getSplit'];
|
|
124
124
|
delete?: never;
|
|
125
125
|
options?: never;
|
|
126
126
|
head?: never;
|
|
127
127
|
patch?: never;
|
|
128
128
|
trace?: never;
|
|
129
129
|
};
|
|
130
|
-
|
|
130
|
+
'/quotes': {
|
|
131
131
|
parameters: {
|
|
132
132
|
query?: never;
|
|
133
133
|
header?: never;
|
|
@@ -140,14 +140,14 @@ export interface paths {
|
|
|
140
140
|
* Create Quote
|
|
141
141
|
* @description Computes a quote for an intent: token transfers, target executions, and cost breakdown. Returns a pre-ranked `routes[]` with per-route `intentId` to pass to `POST /intents` for execution.
|
|
142
142
|
*/
|
|
143
|
-
post: operations[
|
|
143
|
+
post: operations['createQuote'];
|
|
144
144
|
delete?: never;
|
|
145
145
|
options?: never;
|
|
146
146
|
head?: never;
|
|
147
147
|
patch?: never;
|
|
148
148
|
trace?: never;
|
|
149
149
|
};
|
|
150
|
-
|
|
150
|
+
'/app-fees/balances': {
|
|
151
151
|
parameters: {
|
|
152
152
|
query?: never;
|
|
153
153
|
header?: never;
|
|
@@ -158,7 +158,7 @@ export interface paths {
|
|
|
158
158
|
* Get App-Fee Balances
|
|
159
159
|
* @description The authenticated project's withdrawable app-fee balance as a USD total, valued at collection time. `pendingUsd` is 0 until withdrawals land.
|
|
160
160
|
*/
|
|
161
|
-
get: operations[
|
|
161
|
+
get: operations['getAppFeeBalances'];
|
|
162
162
|
put?: never;
|
|
163
163
|
post?: never;
|
|
164
164
|
delete?: never;
|
|
@@ -167,7 +167,7 @@ export interface paths {
|
|
|
167
167
|
patch?: never;
|
|
168
168
|
trace?: never;
|
|
169
169
|
};
|
|
170
|
-
|
|
170
|
+
'/app-fees/withdrawals': {
|
|
171
171
|
parameters: {
|
|
172
172
|
query?: never;
|
|
173
173
|
header?: never;
|
|
@@ -178,20 +178,20 @@ export interface paths {
|
|
|
178
178
|
* List App-Fee Withdrawals
|
|
179
179
|
* @description The authenticated project's app-fee withdrawals (newest first) with each withdrawal's status and USD value paid out.
|
|
180
180
|
*/
|
|
181
|
-
get: operations[
|
|
181
|
+
get: operations['listAppFeeWithdrawals'];
|
|
182
182
|
put?: never;
|
|
183
183
|
/**
|
|
184
184
|
* Create App-Fee Withdrawal
|
|
185
185
|
* @description Withdraw the authenticated project's full app-fee balance to a whitelisted stablecoin on the chosen chain, paid to the project's registered payout address.
|
|
186
186
|
*/
|
|
187
|
-
post: operations[
|
|
187
|
+
post: operations['createAppFeeWithdrawal'];
|
|
188
188
|
delete?: never;
|
|
189
189
|
options?: never;
|
|
190
190
|
head?: never;
|
|
191
191
|
patch?: never;
|
|
192
192
|
trace?: never;
|
|
193
193
|
};
|
|
194
|
-
|
|
194
|
+
'/app-fees/withdrawals/{nonce}': {
|
|
195
195
|
parameters: {
|
|
196
196
|
query?: never;
|
|
197
197
|
header?: never;
|
|
@@ -202,7 +202,7 @@ export interface paths {
|
|
|
202
202
|
* Get App-Fee Withdrawal
|
|
203
203
|
* @description A single app-fee withdrawal owned by the authenticated project, with its status and USD value paid out.
|
|
204
204
|
*/
|
|
205
|
-
get: operations[
|
|
205
|
+
get: operations['getAppFeeWithdrawal'];
|
|
206
206
|
put?: never;
|
|
207
207
|
post?: never;
|
|
208
208
|
delete?: never;
|
|
@@ -228,7 +228,7 @@ export interface operations {
|
|
|
228
228
|
query?: never;
|
|
229
229
|
header: {
|
|
230
230
|
/** @description API version. Required; pinned to this document. */
|
|
231
|
-
|
|
231
|
+
'x-api-version': '2026-04.blanc';
|
|
232
232
|
};
|
|
233
233
|
path?: never;
|
|
234
234
|
cookie?: never;
|
|
@@ -241,7 +241,7 @@ export interface operations {
|
|
|
241
241
|
[name: string]: unknown;
|
|
242
242
|
};
|
|
243
243
|
content: {
|
|
244
|
-
|
|
244
|
+
'application/json': {
|
|
245
245
|
[key: string]: {
|
|
246
246
|
/**
|
|
247
247
|
* @description The name of the chain
|
|
@@ -249,7 +249,7 @@ export interface operations {
|
|
|
249
249
|
*/
|
|
250
250
|
name: string;
|
|
251
251
|
testnet: boolean;
|
|
252
|
-
supportedTokens:
|
|
252
|
+
supportedTokens: 'all' | {
|
|
253
253
|
symbol: string;
|
|
254
254
|
/** @description Token contract address (format depends on the chain) */
|
|
255
255
|
address: string;
|
|
@@ -272,9 +272,9 @@ export interface operations {
|
|
|
272
272
|
[name: string]: unknown;
|
|
273
273
|
};
|
|
274
274
|
content: {
|
|
275
|
-
|
|
275
|
+
'application/json': {
|
|
276
276
|
/** @enum {string} */
|
|
277
|
-
code:
|
|
277
|
+
code: 'VALIDATION_ERROR';
|
|
278
278
|
/**
|
|
279
279
|
* @description Human-readable error message
|
|
280
280
|
* @example Invalid input
|
|
@@ -291,7 +291,7 @@ export interface operations {
|
|
|
291
291
|
}[];
|
|
292
292
|
} | {
|
|
293
293
|
/** @enum {string} */
|
|
294
|
-
code:
|
|
294
|
+
code: 'SIMULATION_FAILED';
|
|
295
295
|
/**
|
|
296
296
|
* @description Human-readable error message
|
|
297
297
|
* @example Invalid input
|
|
@@ -308,14 +308,14 @@ export interface operations {
|
|
|
308
308
|
};
|
|
309
309
|
retryable: boolean;
|
|
310
310
|
/** @enum {string} */
|
|
311
|
-
retryHint?:
|
|
311
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
312
312
|
simulations?: unknown;
|
|
313
313
|
} & {
|
|
314
314
|
[key: string]: unknown;
|
|
315
315
|
};
|
|
316
316
|
} | {
|
|
317
317
|
/** @enum {string} */
|
|
318
|
-
code:
|
|
318
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
319
319
|
/**
|
|
320
320
|
* @description Human-readable error message
|
|
321
321
|
* @example Invalid input
|
|
@@ -334,7 +334,7 @@ export interface operations {
|
|
|
334
334
|
};
|
|
335
335
|
} | {
|
|
336
336
|
/** @enum {string} */
|
|
337
|
-
code:
|
|
337
|
+
code: 'KEY_SCOPE_DENIED';
|
|
338
338
|
/**
|
|
339
339
|
* @description Human-readable error message
|
|
340
340
|
* @example Invalid input
|
|
@@ -348,16 +348,16 @@ export interface operations {
|
|
|
348
348
|
* @description Which scope rejected the request
|
|
349
349
|
* @enum {string}
|
|
350
350
|
*/
|
|
351
|
-
scope:
|
|
351
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
352
352
|
/** @description Minimum level the endpoint demands */
|
|
353
|
-
required: boolean | (
|
|
353
|
+
required: boolean | ('read' | 'write');
|
|
354
354
|
/** @description Level resolved on the key */
|
|
355
|
-
actual: boolean | (
|
|
355
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
356
356
|
};
|
|
357
357
|
}[];
|
|
358
358
|
} | {
|
|
359
359
|
/** @enum {string} */
|
|
360
|
-
code:
|
|
360
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
361
361
|
/**
|
|
362
362
|
* @description Human-readable error message
|
|
363
363
|
* @example Invalid input
|
|
@@ -382,9 +382,9 @@ export interface operations {
|
|
|
382
382
|
};
|
|
383
383
|
header: {
|
|
384
384
|
/** @description API version. Required; pinned to this document. */
|
|
385
|
-
|
|
385
|
+
'x-api-version': '2026-04.blanc';
|
|
386
386
|
/** @description API key. */
|
|
387
|
-
|
|
387
|
+
'x-api-key': string;
|
|
388
388
|
};
|
|
389
389
|
path?: never;
|
|
390
390
|
cookie?: never;
|
|
@@ -397,7 +397,7 @@ export interface operations {
|
|
|
397
397
|
[name: string]: unknown;
|
|
398
398
|
};
|
|
399
399
|
content: {
|
|
400
|
-
|
|
400
|
+
'application/json': {
|
|
401
401
|
/**
|
|
402
402
|
* @description Destination token symbol
|
|
403
403
|
* @example USDC
|
|
@@ -427,9 +427,9 @@ export interface operations {
|
|
|
427
427
|
[name: string]: unknown;
|
|
428
428
|
};
|
|
429
429
|
content: {
|
|
430
|
-
|
|
430
|
+
'application/json': {
|
|
431
431
|
/** @enum {string} */
|
|
432
|
-
code:
|
|
432
|
+
code: 'VALIDATION_ERROR';
|
|
433
433
|
/**
|
|
434
434
|
* @description Human-readable error message
|
|
435
435
|
* @example Invalid input
|
|
@@ -446,7 +446,7 @@ export interface operations {
|
|
|
446
446
|
}[];
|
|
447
447
|
} | {
|
|
448
448
|
/** @enum {string} */
|
|
449
|
-
code:
|
|
449
|
+
code: 'SIMULATION_FAILED';
|
|
450
450
|
/**
|
|
451
451
|
* @description Human-readable error message
|
|
452
452
|
* @example Invalid input
|
|
@@ -463,14 +463,14 @@ export interface operations {
|
|
|
463
463
|
};
|
|
464
464
|
retryable: boolean;
|
|
465
465
|
/** @enum {string} */
|
|
466
|
-
retryHint?:
|
|
466
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
467
467
|
simulations?: unknown;
|
|
468
468
|
} & {
|
|
469
469
|
[key: string]: unknown;
|
|
470
470
|
};
|
|
471
471
|
} | {
|
|
472
472
|
/** @enum {string} */
|
|
473
|
-
code:
|
|
473
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
474
474
|
/**
|
|
475
475
|
* @description Human-readable error message
|
|
476
476
|
* @example Invalid input
|
|
@@ -489,7 +489,7 @@ export interface operations {
|
|
|
489
489
|
};
|
|
490
490
|
} | {
|
|
491
491
|
/** @enum {string} */
|
|
492
|
-
code:
|
|
492
|
+
code: 'KEY_SCOPE_DENIED';
|
|
493
493
|
/**
|
|
494
494
|
* @description Human-readable error message
|
|
495
495
|
* @example Invalid input
|
|
@@ -503,16 +503,16 @@ export interface operations {
|
|
|
503
503
|
* @description Which scope rejected the request
|
|
504
504
|
* @enum {string}
|
|
505
505
|
*/
|
|
506
|
-
scope:
|
|
506
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
507
507
|
/** @description Minimum level the endpoint demands */
|
|
508
|
-
required: boolean | (
|
|
508
|
+
required: boolean | ('read' | 'write');
|
|
509
509
|
/** @description Level resolved on the key */
|
|
510
|
-
actual: boolean | (
|
|
510
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
511
511
|
};
|
|
512
512
|
}[];
|
|
513
513
|
} | {
|
|
514
514
|
/** @enum {string} */
|
|
515
|
-
code:
|
|
515
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
516
516
|
/**
|
|
517
517
|
* @description Human-readable error message
|
|
518
518
|
* @example Invalid input
|
|
@@ -527,9 +527,9 @@ export interface operations {
|
|
|
527
527
|
[name: string]: unknown;
|
|
528
528
|
};
|
|
529
529
|
content: {
|
|
530
|
-
|
|
530
|
+
'application/json': {
|
|
531
531
|
/** @enum {string} */
|
|
532
|
-
code:
|
|
532
|
+
code: 'VALIDATION_ERROR';
|
|
533
533
|
/**
|
|
534
534
|
* @description Human-readable error message
|
|
535
535
|
* @example Invalid input
|
|
@@ -546,7 +546,7 @@ export interface operations {
|
|
|
546
546
|
}[];
|
|
547
547
|
} | {
|
|
548
548
|
/** @enum {string} */
|
|
549
|
-
code:
|
|
549
|
+
code: 'SIMULATION_FAILED';
|
|
550
550
|
/**
|
|
551
551
|
* @description Human-readable error message
|
|
552
552
|
* @example Invalid input
|
|
@@ -563,14 +563,14 @@ export interface operations {
|
|
|
563
563
|
};
|
|
564
564
|
retryable: boolean;
|
|
565
565
|
/** @enum {string} */
|
|
566
|
-
retryHint?:
|
|
566
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
567
567
|
simulations?: unknown;
|
|
568
568
|
} & {
|
|
569
569
|
[key: string]: unknown;
|
|
570
570
|
};
|
|
571
571
|
} | {
|
|
572
572
|
/** @enum {string} */
|
|
573
|
-
code:
|
|
573
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
574
574
|
/**
|
|
575
575
|
* @description Human-readable error message
|
|
576
576
|
* @example Invalid input
|
|
@@ -589,7 +589,7 @@ export interface operations {
|
|
|
589
589
|
};
|
|
590
590
|
} | {
|
|
591
591
|
/** @enum {string} */
|
|
592
|
-
code:
|
|
592
|
+
code: 'KEY_SCOPE_DENIED';
|
|
593
593
|
/**
|
|
594
594
|
* @description Human-readable error message
|
|
595
595
|
* @example Invalid input
|
|
@@ -603,16 +603,16 @@ export interface operations {
|
|
|
603
603
|
* @description Which scope rejected the request
|
|
604
604
|
* @enum {string}
|
|
605
605
|
*/
|
|
606
|
-
scope:
|
|
606
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
607
607
|
/** @description Minimum level the endpoint demands */
|
|
608
|
-
required: boolean | (
|
|
608
|
+
required: boolean | ('read' | 'write');
|
|
609
609
|
/** @description Level resolved on the key */
|
|
610
|
-
actual: boolean | (
|
|
610
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
611
611
|
};
|
|
612
612
|
}[];
|
|
613
613
|
} | {
|
|
614
614
|
/** @enum {string} */
|
|
615
|
-
code:
|
|
615
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
616
616
|
/**
|
|
617
617
|
* @description Human-readable error message
|
|
618
618
|
* @example Invalid input
|
|
@@ -627,9 +627,9 @@ export interface operations {
|
|
|
627
627
|
[name: string]: unknown;
|
|
628
628
|
};
|
|
629
629
|
content: {
|
|
630
|
-
|
|
630
|
+
'application/json': {
|
|
631
631
|
/** @enum {string} */
|
|
632
|
-
code:
|
|
632
|
+
code: 'VALIDATION_ERROR';
|
|
633
633
|
/**
|
|
634
634
|
* @description Human-readable error message
|
|
635
635
|
* @example Invalid input
|
|
@@ -646,7 +646,7 @@ export interface operations {
|
|
|
646
646
|
}[];
|
|
647
647
|
} | {
|
|
648
648
|
/** @enum {string} */
|
|
649
|
-
code:
|
|
649
|
+
code: 'SIMULATION_FAILED';
|
|
650
650
|
/**
|
|
651
651
|
* @description Human-readable error message
|
|
652
652
|
* @example Invalid input
|
|
@@ -663,14 +663,14 @@ export interface operations {
|
|
|
663
663
|
};
|
|
664
664
|
retryable: boolean;
|
|
665
665
|
/** @enum {string} */
|
|
666
|
-
retryHint?:
|
|
666
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
667
667
|
simulations?: unknown;
|
|
668
668
|
} & {
|
|
669
669
|
[key: string]: unknown;
|
|
670
670
|
};
|
|
671
671
|
} | {
|
|
672
672
|
/** @enum {string} */
|
|
673
|
-
code:
|
|
673
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
674
674
|
/**
|
|
675
675
|
* @description Human-readable error message
|
|
676
676
|
* @example Invalid input
|
|
@@ -689,7 +689,7 @@ export interface operations {
|
|
|
689
689
|
};
|
|
690
690
|
} | {
|
|
691
691
|
/** @enum {string} */
|
|
692
|
-
code:
|
|
692
|
+
code: 'KEY_SCOPE_DENIED';
|
|
693
693
|
/**
|
|
694
694
|
* @description Human-readable error message
|
|
695
695
|
* @example Invalid input
|
|
@@ -703,16 +703,16 @@ export interface operations {
|
|
|
703
703
|
* @description Which scope rejected the request
|
|
704
704
|
* @enum {string}
|
|
705
705
|
*/
|
|
706
|
-
scope:
|
|
706
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
707
707
|
/** @description Minimum level the endpoint demands */
|
|
708
|
-
required: boolean | (
|
|
708
|
+
required: boolean | ('read' | 'write');
|
|
709
709
|
/** @description Level resolved on the key */
|
|
710
|
-
actual: boolean | (
|
|
710
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
711
711
|
};
|
|
712
712
|
}[];
|
|
713
713
|
} | {
|
|
714
714
|
/** @enum {string} */
|
|
715
|
-
code:
|
|
715
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
716
716
|
/**
|
|
717
717
|
* @description Human-readable error message
|
|
718
718
|
* @example Invalid input
|
|
@@ -731,9 +731,9 @@ export interface operations {
|
|
|
731
731
|
};
|
|
732
732
|
header: {
|
|
733
733
|
/** @description API version. Required; pinned to this document. */
|
|
734
|
-
|
|
734
|
+
'x-api-version': '2026-04.blanc';
|
|
735
735
|
/** @description API key. */
|
|
736
|
-
|
|
736
|
+
'x-api-key': string;
|
|
737
737
|
};
|
|
738
738
|
path: {
|
|
739
739
|
/** @description Unique identifier of the intent operation */
|
|
@@ -749,13 +749,13 @@ export interface operations {
|
|
|
749
749
|
[name: string]: unknown;
|
|
750
750
|
};
|
|
751
751
|
content: {
|
|
752
|
-
|
|
752
|
+
'application/json': {
|
|
753
753
|
/**
|
|
754
754
|
* @description Overall intent status: PENDING, COMPLETED, or FAILED
|
|
755
755
|
* @example COMPLETED
|
|
756
756
|
* @enum {string}
|
|
757
757
|
*/
|
|
758
|
-
status:
|
|
758
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
759
759
|
/**
|
|
760
760
|
* @description Account address
|
|
761
761
|
* @example 0x3672e268a79bd4acc5ee646bdda652547c7a435c
|
|
@@ -775,13 +775,13 @@ export interface operations {
|
|
|
775
775
|
* @example FILL
|
|
776
776
|
* @enum {string}
|
|
777
777
|
*/
|
|
778
|
-
type:
|
|
778
|
+
type: 'CLAIM' | 'FILL' | 'BRIDGE_FILL';
|
|
779
779
|
/**
|
|
780
780
|
* @description Operation status
|
|
781
781
|
* @example COMPLETED
|
|
782
782
|
* @enum {string}
|
|
783
783
|
*/
|
|
784
|
-
status:
|
|
784
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
785
785
|
/**
|
|
786
786
|
* @description Transaction hash (present when COMPLETED)
|
|
787
787
|
* @example 0xc1674f4671accbceec3f22c2c9cfa4f7aead7183f48df90c239e0d85d6c31e21
|
|
@@ -826,7 +826,7 @@ export interface operations {
|
|
|
826
826
|
* @example ACROSS
|
|
827
827
|
* @enum {string|null}
|
|
828
828
|
*/
|
|
829
|
-
settlementLayer:
|
|
829
|
+
settlementLayer: 'INTENT_EXECUTOR' | 'SAME_CHAIN' | 'ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP' | null;
|
|
830
830
|
/** @description Source (claim) legs */
|
|
831
831
|
source: {
|
|
832
832
|
/**
|
|
@@ -862,7 +862,7 @@ export interface operations {
|
|
|
862
862
|
* @example COMPLETED
|
|
863
863
|
* @enum {string}
|
|
864
864
|
*/
|
|
865
|
-
status:
|
|
865
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
866
866
|
}[];
|
|
867
867
|
/** @description Destination (fill) leg; null before a fill is dispatched */
|
|
868
868
|
destination: {
|
|
@@ -899,7 +899,7 @@ export interface operations {
|
|
|
899
899
|
* @example COMPLETED
|
|
900
900
|
* @enum {string}
|
|
901
901
|
*/
|
|
902
|
-
status:
|
|
902
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
903
903
|
} | null;
|
|
904
904
|
/** @description Calls the intent executes — preClaim ops on their origin chain and destination ops on the destination chain. The signed intended calls; no per-call result is recorded. Empty for token-only intents with no custom calls. */
|
|
905
905
|
executions: {
|
|
@@ -913,7 +913,7 @@ export interface operations {
|
|
|
913
913
|
* @example DESTINATION
|
|
914
914
|
* @enum {string}
|
|
915
915
|
*/
|
|
916
|
-
phase:
|
|
916
|
+
phase: 'PRE_CLAIM' | 'DESTINATION';
|
|
917
917
|
/**
|
|
918
918
|
* @description Call target address
|
|
919
919
|
* @example 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
|
|
@@ -958,9 +958,9 @@ export interface operations {
|
|
|
958
958
|
[name: string]: unknown;
|
|
959
959
|
};
|
|
960
960
|
content: {
|
|
961
|
-
|
|
961
|
+
'application/json': {
|
|
962
962
|
/** @enum {string} */
|
|
963
|
-
code:
|
|
963
|
+
code: 'VALIDATION_ERROR';
|
|
964
964
|
/**
|
|
965
965
|
* @description Human-readable error message
|
|
966
966
|
* @example Invalid input
|
|
@@ -977,7 +977,7 @@ export interface operations {
|
|
|
977
977
|
}[];
|
|
978
978
|
} | {
|
|
979
979
|
/** @enum {string} */
|
|
980
|
-
code:
|
|
980
|
+
code: 'SIMULATION_FAILED';
|
|
981
981
|
/**
|
|
982
982
|
* @description Human-readable error message
|
|
983
983
|
* @example Invalid input
|
|
@@ -994,14 +994,14 @@ export interface operations {
|
|
|
994
994
|
};
|
|
995
995
|
retryable: boolean;
|
|
996
996
|
/** @enum {string} */
|
|
997
|
-
retryHint?:
|
|
997
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
998
998
|
simulations?: unknown;
|
|
999
999
|
} & {
|
|
1000
1000
|
[key: string]: unknown;
|
|
1001
1001
|
};
|
|
1002
1002
|
} | {
|
|
1003
1003
|
/** @enum {string} */
|
|
1004
|
-
code:
|
|
1004
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1005
1005
|
/**
|
|
1006
1006
|
* @description Human-readable error message
|
|
1007
1007
|
* @example Invalid input
|
|
@@ -1020,7 +1020,7 @@ export interface operations {
|
|
|
1020
1020
|
};
|
|
1021
1021
|
} | {
|
|
1022
1022
|
/** @enum {string} */
|
|
1023
|
-
code:
|
|
1023
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1024
1024
|
/**
|
|
1025
1025
|
* @description Human-readable error message
|
|
1026
1026
|
* @example Invalid input
|
|
@@ -1034,16 +1034,16 @@ export interface operations {
|
|
|
1034
1034
|
* @description Which scope rejected the request
|
|
1035
1035
|
* @enum {string}
|
|
1036
1036
|
*/
|
|
1037
|
-
scope:
|
|
1037
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1038
1038
|
/** @description Minimum level the endpoint demands */
|
|
1039
|
-
required: boolean | (
|
|
1039
|
+
required: boolean | ('read' | 'write');
|
|
1040
1040
|
/** @description Level resolved on the key */
|
|
1041
|
-
actual: boolean | (
|
|
1041
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1042
1042
|
};
|
|
1043
1043
|
}[];
|
|
1044
1044
|
} | {
|
|
1045
1045
|
/** @enum {string} */
|
|
1046
|
-
code:
|
|
1046
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
1047
1047
|
/**
|
|
1048
1048
|
* @description Human-readable error message
|
|
1049
1049
|
* @example Invalid input
|
|
@@ -1058,9 +1058,9 @@ export interface operations {
|
|
|
1058
1058
|
[name: string]: unknown;
|
|
1059
1059
|
};
|
|
1060
1060
|
content: {
|
|
1061
|
-
|
|
1061
|
+
'application/json': {
|
|
1062
1062
|
/** @enum {string} */
|
|
1063
|
-
code:
|
|
1063
|
+
code: 'VALIDATION_ERROR';
|
|
1064
1064
|
/**
|
|
1065
1065
|
* @description Human-readable error message
|
|
1066
1066
|
* @example Invalid input
|
|
@@ -1077,7 +1077,7 @@ export interface operations {
|
|
|
1077
1077
|
}[];
|
|
1078
1078
|
} | {
|
|
1079
1079
|
/** @enum {string} */
|
|
1080
|
-
code:
|
|
1080
|
+
code: 'SIMULATION_FAILED';
|
|
1081
1081
|
/**
|
|
1082
1082
|
* @description Human-readable error message
|
|
1083
1083
|
* @example Invalid input
|
|
@@ -1094,14 +1094,14 @@ export interface operations {
|
|
|
1094
1094
|
};
|
|
1095
1095
|
retryable: boolean;
|
|
1096
1096
|
/** @enum {string} */
|
|
1097
|
-
retryHint?:
|
|
1097
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1098
1098
|
simulations?: unknown;
|
|
1099
1099
|
} & {
|
|
1100
1100
|
[key: string]: unknown;
|
|
1101
1101
|
};
|
|
1102
1102
|
} | {
|
|
1103
1103
|
/** @enum {string} */
|
|
1104
|
-
code:
|
|
1104
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1105
1105
|
/**
|
|
1106
1106
|
* @description Human-readable error message
|
|
1107
1107
|
* @example Invalid input
|
|
@@ -1120,7 +1120,7 @@ export interface operations {
|
|
|
1120
1120
|
};
|
|
1121
1121
|
} | {
|
|
1122
1122
|
/** @enum {string} */
|
|
1123
|
-
code:
|
|
1123
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1124
1124
|
/**
|
|
1125
1125
|
* @description Human-readable error message
|
|
1126
1126
|
* @example Invalid input
|
|
@@ -1134,16 +1134,16 @@ export interface operations {
|
|
|
1134
1134
|
* @description Which scope rejected the request
|
|
1135
1135
|
* @enum {string}
|
|
1136
1136
|
*/
|
|
1137
|
-
scope:
|
|
1137
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1138
1138
|
/** @description Minimum level the endpoint demands */
|
|
1139
|
-
required: boolean | (
|
|
1139
|
+
required: boolean | ('read' | 'write');
|
|
1140
1140
|
/** @description Level resolved on the key */
|
|
1141
|
-
actual: boolean | (
|
|
1141
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1142
1142
|
};
|
|
1143
1143
|
}[];
|
|
1144
1144
|
} | {
|
|
1145
1145
|
/** @enum {string} */
|
|
1146
|
-
code:
|
|
1146
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
1147
1147
|
/**
|
|
1148
1148
|
* @description Human-readable error message
|
|
1149
1149
|
* @example Invalid input
|
|
@@ -1158,9 +1158,9 @@ export interface operations {
|
|
|
1158
1158
|
[name: string]: unknown;
|
|
1159
1159
|
};
|
|
1160
1160
|
content: {
|
|
1161
|
-
|
|
1161
|
+
'application/json': {
|
|
1162
1162
|
/** @enum {string} */
|
|
1163
|
-
code:
|
|
1163
|
+
code: 'VALIDATION_ERROR';
|
|
1164
1164
|
/**
|
|
1165
1165
|
* @description Human-readable error message
|
|
1166
1166
|
* @example Invalid input
|
|
@@ -1177,7 +1177,7 @@ export interface operations {
|
|
|
1177
1177
|
}[];
|
|
1178
1178
|
} | {
|
|
1179
1179
|
/** @enum {string} */
|
|
1180
|
-
code:
|
|
1180
|
+
code: 'SIMULATION_FAILED';
|
|
1181
1181
|
/**
|
|
1182
1182
|
* @description Human-readable error message
|
|
1183
1183
|
* @example Invalid input
|
|
@@ -1194,14 +1194,14 @@ export interface operations {
|
|
|
1194
1194
|
};
|
|
1195
1195
|
retryable: boolean;
|
|
1196
1196
|
/** @enum {string} */
|
|
1197
|
-
retryHint?:
|
|
1197
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1198
1198
|
simulations?: unknown;
|
|
1199
1199
|
} & {
|
|
1200
1200
|
[key: string]: unknown;
|
|
1201
1201
|
};
|
|
1202
1202
|
} | {
|
|
1203
1203
|
/** @enum {string} */
|
|
1204
|
-
code:
|
|
1204
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1205
1205
|
/**
|
|
1206
1206
|
* @description Human-readable error message
|
|
1207
1207
|
* @example Invalid input
|
|
@@ -1220,7 +1220,7 @@ export interface operations {
|
|
|
1220
1220
|
};
|
|
1221
1221
|
} | {
|
|
1222
1222
|
/** @enum {string} */
|
|
1223
|
-
code:
|
|
1223
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1224
1224
|
/**
|
|
1225
1225
|
* @description Human-readable error message
|
|
1226
1226
|
* @example Invalid input
|
|
@@ -1234,16 +1234,16 @@ export interface operations {
|
|
|
1234
1234
|
* @description Which scope rejected the request
|
|
1235
1235
|
* @enum {string}
|
|
1236
1236
|
*/
|
|
1237
|
-
scope:
|
|
1237
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1238
1238
|
/** @description Minimum level the endpoint demands */
|
|
1239
|
-
required: boolean | (
|
|
1239
|
+
required: boolean | ('read' | 'write');
|
|
1240
1240
|
/** @description Level resolved on the key */
|
|
1241
|
-
actual: boolean | (
|
|
1241
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1242
1242
|
};
|
|
1243
1243
|
}[];
|
|
1244
1244
|
} | {
|
|
1245
1245
|
/** @enum {string} */
|
|
1246
|
-
code:
|
|
1246
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
1247
1247
|
/**
|
|
1248
1248
|
* @description Human-readable error message
|
|
1249
1249
|
* @example Invalid input
|
|
@@ -1258,9 +1258,9 @@ export interface operations {
|
|
|
1258
1258
|
[name: string]: unknown;
|
|
1259
1259
|
};
|
|
1260
1260
|
content: {
|
|
1261
|
-
|
|
1261
|
+
'application/json': {
|
|
1262
1262
|
/** @enum {string} */
|
|
1263
|
-
code:
|
|
1263
|
+
code: 'VALIDATION_ERROR';
|
|
1264
1264
|
/**
|
|
1265
1265
|
* @description Human-readable error message
|
|
1266
1266
|
* @example Invalid input
|
|
@@ -1277,7 +1277,7 @@ export interface operations {
|
|
|
1277
1277
|
}[];
|
|
1278
1278
|
} | {
|
|
1279
1279
|
/** @enum {string} */
|
|
1280
|
-
code:
|
|
1280
|
+
code: 'SIMULATION_FAILED';
|
|
1281
1281
|
/**
|
|
1282
1282
|
* @description Human-readable error message
|
|
1283
1283
|
* @example Invalid input
|
|
@@ -1294,14 +1294,14 @@ export interface operations {
|
|
|
1294
1294
|
};
|
|
1295
1295
|
retryable: boolean;
|
|
1296
1296
|
/** @enum {string} */
|
|
1297
|
-
retryHint?:
|
|
1297
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1298
1298
|
simulations?: unknown;
|
|
1299
1299
|
} & {
|
|
1300
1300
|
[key: string]: unknown;
|
|
1301
1301
|
};
|
|
1302
1302
|
} | {
|
|
1303
1303
|
/** @enum {string} */
|
|
1304
|
-
code:
|
|
1304
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1305
1305
|
/**
|
|
1306
1306
|
* @description Human-readable error message
|
|
1307
1307
|
* @example Invalid input
|
|
@@ -1320,7 +1320,7 @@ export interface operations {
|
|
|
1320
1320
|
};
|
|
1321
1321
|
} | {
|
|
1322
1322
|
/** @enum {string} */
|
|
1323
|
-
code:
|
|
1323
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1324
1324
|
/**
|
|
1325
1325
|
* @description Human-readable error message
|
|
1326
1326
|
* @example Invalid input
|
|
@@ -1334,16 +1334,16 @@ export interface operations {
|
|
|
1334
1334
|
* @description Which scope rejected the request
|
|
1335
1335
|
* @enum {string}
|
|
1336
1336
|
*/
|
|
1337
|
-
scope:
|
|
1337
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1338
1338
|
/** @description Minimum level the endpoint demands */
|
|
1339
|
-
required: boolean | (
|
|
1339
|
+
required: boolean | ('read' | 'write');
|
|
1340
1340
|
/** @description Level resolved on the key */
|
|
1341
|
-
actual: boolean | (
|
|
1341
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1342
1342
|
};
|
|
1343
1343
|
}[];
|
|
1344
1344
|
} | {
|
|
1345
1345
|
/** @enum {string} */
|
|
1346
|
-
code:
|
|
1346
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
1347
1347
|
/**
|
|
1348
1348
|
* @description Human-readable error message
|
|
1349
1349
|
* @example Invalid input
|
|
@@ -1363,9 +1363,9 @@ export interface operations {
|
|
|
1363
1363
|
};
|
|
1364
1364
|
header: {
|
|
1365
1365
|
/** @description API version. Required; pinned to this document. */
|
|
1366
|
-
|
|
1366
|
+
'x-api-version': '2026-04.blanc';
|
|
1367
1367
|
/** @description API key. */
|
|
1368
|
-
|
|
1368
|
+
'x-api-key': string;
|
|
1369
1369
|
};
|
|
1370
1370
|
path: {
|
|
1371
1371
|
accountAddress: string;
|
|
@@ -1380,7 +1380,7 @@ export interface operations {
|
|
|
1380
1380
|
[name: string]: unknown;
|
|
1381
1381
|
};
|
|
1382
1382
|
content: {
|
|
1383
|
-
|
|
1383
|
+
'application/json': {
|
|
1384
1384
|
/** @description Array of token portfolio entries */
|
|
1385
1385
|
portfolio: {
|
|
1386
1386
|
/**
|
|
@@ -1422,9 +1422,9 @@ export interface operations {
|
|
|
1422
1422
|
[name: string]: unknown;
|
|
1423
1423
|
};
|
|
1424
1424
|
content: {
|
|
1425
|
-
|
|
1425
|
+
'application/json': {
|
|
1426
1426
|
/** @enum {string} */
|
|
1427
|
-
code:
|
|
1427
|
+
code: 'VALIDATION_ERROR';
|
|
1428
1428
|
/**
|
|
1429
1429
|
* @description Human-readable error message
|
|
1430
1430
|
* @example Invalid input
|
|
@@ -1441,7 +1441,7 @@ export interface operations {
|
|
|
1441
1441
|
}[];
|
|
1442
1442
|
} | {
|
|
1443
1443
|
/** @enum {string} */
|
|
1444
|
-
code:
|
|
1444
|
+
code: 'SIMULATION_FAILED';
|
|
1445
1445
|
/**
|
|
1446
1446
|
* @description Human-readable error message
|
|
1447
1447
|
* @example Invalid input
|
|
@@ -1458,14 +1458,14 @@ export interface operations {
|
|
|
1458
1458
|
};
|
|
1459
1459
|
retryable: boolean;
|
|
1460
1460
|
/** @enum {string} */
|
|
1461
|
-
retryHint?:
|
|
1461
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1462
1462
|
simulations?: unknown;
|
|
1463
1463
|
} & {
|
|
1464
1464
|
[key: string]: unknown;
|
|
1465
1465
|
};
|
|
1466
1466
|
} | {
|
|
1467
1467
|
/** @enum {string} */
|
|
1468
|
-
code:
|
|
1468
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1469
1469
|
/**
|
|
1470
1470
|
* @description Human-readable error message
|
|
1471
1471
|
* @example Invalid input
|
|
@@ -1484,7 +1484,7 @@ export interface operations {
|
|
|
1484
1484
|
};
|
|
1485
1485
|
} | {
|
|
1486
1486
|
/** @enum {string} */
|
|
1487
|
-
code:
|
|
1487
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1488
1488
|
/**
|
|
1489
1489
|
* @description Human-readable error message
|
|
1490
1490
|
* @example Invalid input
|
|
@@ -1498,16 +1498,16 @@ export interface operations {
|
|
|
1498
1498
|
* @description Which scope rejected the request
|
|
1499
1499
|
* @enum {string}
|
|
1500
1500
|
*/
|
|
1501
|
-
scope:
|
|
1501
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1502
1502
|
/** @description Minimum level the endpoint demands */
|
|
1503
|
-
required: boolean | (
|
|
1503
|
+
required: boolean | ('read' | 'write');
|
|
1504
1504
|
/** @description Level resolved on the key */
|
|
1505
|
-
actual: boolean | (
|
|
1505
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1506
1506
|
};
|
|
1507
1507
|
}[];
|
|
1508
1508
|
} | {
|
|
1509
1509
|
/** @enum {string} */
|
|
1510
|
-
code:
|
|
1510
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
1511
1511
|
/**
|
|
1512
1512
|
* @description Human-readable error message
|
|
1513
1513
|
* @example Invalid input
|
|
@@ -1522,9 +1522,9 @@ export interface operations {
|
|
|
1522
1522
|
[name: string]: unknown;
|
|
1523
1523
|
};
|
|
1524
1524
|
content: {
|
|
1525
|
-
|
|
1525
|
+
'application/json': {
|
|
1526
1526
|
/** @enum {string} */
|
|
1527
|
-
code:
|
|
1527
|
+
code: 'VALIDATION_ERROR';
|
|
1528
1528
|
/**
|
|
1529
1529
|
* @description Human-readable error message
|
|
1530
1530
|
* @example Invalid input
|
|
@@ -1541,7 +1541,7 @@ export interface operations {
|
|
|
1541
1541
|
}[];
|
|
1542
1542
|
} | {
|
|
1543
1543
|
/** @enum {string} */
|
|
1544
|
-
code:
|
|
1544
|
+
code: 'SIMULATION_FAILED';
|
|
1545
1545
|
/**
|
|
1546
1546
|
* @description Human-readable error message
|
|
1547
1547
|
* @example Invalid input
|
|
@@ -1558,14 +1558,14 @@ export interface operations {
|
|
|
1558
1558
|
};
|
|
1559
1559
|
retryable: boolean;
|
|
1560
1560
|
/** @enum {string} */
|
|
1561
|
-
retryHint?:
|
|
1561
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1562
1562
|
simulations?: unknown;
|
|
1563
1563
|
} & {
|
|
1564
1564
|
[key: string]: unknown;
|
|
1565
1565
|
};
|
|
1566
1566
|
} | {
|
|
1567
1567
|
/** @enum {string} */
|
|
1568
|
-
code:
|
|
1568
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1569
1569
|
/**
|
|
1570
1570
|
* @description Human-readable error message
|
|
1571
1571
|
* @example Invalid input
|
|
@@ -1584,7 +1584,7 @@ export interface operations {
|
|
|
1584
1584
|
};
|
|
1585
1585
|
} | {
|
|
1586
1586
|
/** @enum {string} */
|
|
1587
|
-
code:
|
|
1587
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1588
1588
|
/**
|
|
1589
1589
|
* @description Human-readable error message
|
|
1590
1590
|
* @example Invalid input
|
|
@@ -1598,16 +1598,16 @@ export interface operations {
|
|
|
1598
1598
|
* @description Which scope rejected the request
|
|
1599
1599
|
* @enum {string}
|
|
1600
1600
|
*/
|
|
1601
|
-
scope:
|
|
1601
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1602
1602
|
/** @description Minimum level the endpoint demands */
|
|
1603
|
-
required: boolean | (
|
|
1603
|
+
required: boolean | ('read' | 'write');
|
|
1604
1604
|
/** @description Level resolved on the key */
|
|
1605
|
-
actual: boolean | (
|
|
1605
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1606
1606
|
};
|
|
1607
1607
|
}[];
|
|
1608
1608
|
} | {
|
|
1609
1609
|
/** @enum {string} */
|
|
1610
|
-
code:
|
|
1610
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
1611
1611
|
/**
|
|
1612
1612
|
* @description Human-readable error message
|
|
1613
1613
|
* @example Invalid input
|
|
@@ -1622,9 +1622,9 @@ export interface operations {
|
|
|
1622
1622
|
[name: string]: unknown;
|
|
1623
1623
|
};
|
|
1624
1624
|
content: {
|
|
1625
|
-
|
|
1625
|
+
'application/json': {
|
|
1626
1626
|
/** @enum {string} */
|
|
1627
|
-
code:
|
|
1627
|
+
code: 'VALIDATION_ERROR';
|
|
1628
1628
|
/**
|
|
1629
1629
|
* @description Human-readable error message
|
|
1630
1630
|
* @example Invalid input
|
|
@@ -1641,7 +1641,7 @@ export interface operations {
|
|
|
1641
1641
|
}[];
|
|
1642
1642
|
} | {
|
|
1643
1643
|
/** @enum {string} */
|
|
1644
|
-
code:
|
|
1644
|
+
code: 'SIMULATION_FAILED';
|
|
1645
1645
|
/**
|
|
1646
1646
|
* @description Human-readable error message
|
|
1647
1647
|
* @example Invalid input
|
|
@@ -1658,14 +1658,14 @@ export interface operations {
|
|
|
1658
1658
|
};
|
|
1659
1659
|
retryable: boolean;
|
|
1660
1660
|
/** @enum {string} */
|
|
1661
|
-
retryHint?:
|
|
1661
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1662
1662
|
simulations?: unknown;
|
|
1663
1663
|
} & {
|
|
1664
1664
|
[key: string]: unknown;
|
|
1665
1665
|
};
|
|
1666
1666
|
} | {
|
|
1667
1667
|
/** @enum {string} */
|
|
1668
|
-
code:
|
|
1668
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1669
1669
|
/**
|
|
1670
1670
|
* @description Human-readable error message
|
|
1671
1671
|
* @example Invalid input
|
|
@@ -1684,7 +1684,7 @@ export interface operations {
|
|
|
1684
1684
|
};
|
|
1685
1685
|
} | {
|
|
1686
1686
|
/** @enum {string} */
|
|
1687
|
-
code:
|
|
1687
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1688
1688
|
/**
|
|
1689
1689
|
* @description Human-readable error message
|
|
1690
1690
|
* @example Invalid input
|
|
@@ -1698,16 +1698,16 @@ export interface operations {
|
|
|
1698
1698
|
* @description Which scope rejected the request
|
|
1699
1699
|
* @enum {string}
|
|
1700
1700
|
*/
|
|
1701
|
-
scope:
|
|
1701
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1702
1702
|
/** @description Minimum level the endpoint demands */
|
|
1703
|
-
required: boolean | (
|
|
1703
|
+
required: boolean | ('read' | 'write');
|
|
1704
1704
|
/** @description Level resolved on the key */
|
|
1705
|
-
actual: boolean | (
|
|
1705
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1706
1706
|
};
|
|
1707
1707
|
}[];
|
|
1708
1708
|
} | {
|
|
1709
1709
|
/** @enum {string} */
|
|
1710
|
-
code:
|
|
1710
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
1711
1711
|
/**
|
|
1712
1712
|
* @description Human-readable error message
|
|
1713
1713
|
* @example Invalid input
|
|
@@ -1728,9 +1728,9 @@ export interface operations {
|
|
|
1728
1728
|
};
|
|
1729
1729
|
header: {
|
|
1730
1730
|
/** @description API version. Required; pinned to this document. */
|
|
1731
|
-
|
|
1731
|
+
'x-api-version': '2026-04.blanc';
|
|
1732
1732
|
/** @description API key. */
|
|
1733
|
-
|
|
1733
|
+
'x-api-key': string;
|
|
1734
1734
|
};
|
|
1735
1735
|
path?: never;
|
|
1736
1736
|
cookie?: never;
|
|
@@ -1743,7 +1743,7 @@ export interface operations {
|
|
|
1743
1743
|
[name: string]: unknown;
|
|
1744
1744
|
};
|
|
1745
1745
|
content: {
|
|
1746
|
-
|
|
1746
|
+
'application/json': {
|
|
1747
1747
|
/** @description Intents on this page, newest first */
|
|
1748
1748
|
data: {
|
|
1749
1749
|
/**
|
|
@@ -1756,7 +1756,7 @@ export interface operations {
|
|
|
1756
1756
|
* @example COMPLETED
|
|
1757
1757
|
* @enum {string}
|
|
1758
1758
|
*/
|
|
1759
|
-
status:
|
|
1759
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
1760
1760
|
/**
|
|
1761
1761
|
* @description Source chain IDs — one per distinct chain the intent spends on
|
|
1762
1762
|
* @example [
|
|
@@ -1810,9 +1810,9 @@ export interface operations {
|
|
|
1810
1810
|
[name: string]: unknown;
|
|
1811
1811
|
};
|
|
1812
1812
|
content: {
|
|
1813
|
-
|
|
1813
|
+
'application/json': {
|
|
1814
1814
|
/** @enum {string} */
|
|
1815
|
-
code:
|
|
1815
|
+
code: 'VALIDATION_ERROR';
|
|
1816
1816
|
/**
|
|
1817
1817
|
* @description Human-readable error message
|
|
1818
1818
|
* @example Invalid input
|
|
@@ -1829,7 +1829,7 @@ export interface operations {
|
|
|
1829
1829
|
}[];
|
|
1830
1830
|
} | {
|
|
1831
1831
|
/** @enum {string} */
|
|
1832
|
-
code:
|
|
1832
|
+
code: 'SIMULATION_FAILED';
|
|
1833
1833
|
/**
|
|
1834
1834
|
* @description Human-readable error message
|
|
1835
1835
|
* @example Invalid input
|
|
@@ -1846,14 +1846,14 @@ export interface operations {
|
|
|
1846
1846
|
};
|
|
1847
1847
|
retryable: boolean;
|
|
1848
1848
|
/** @enum {string} */
|
|
1849
|
-
retryHint?:
|
|
1849
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1850
1850
|
simulations?: unknown;
|
|
1851
1851
|
} & {
|
|
1852
1852
|
[key: string]: unknown;
|
|
1853
1853
|
};
|
|
1854
1854
|
} | {
|
|
1855
1855
|
/** @enum {string} */
|
|
1856
|
-
code:
|
|
1856
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1857
1857
|
/**
|
|
1858
1858
|
* @description Human-readable error message
|
|
1859
1859
|
* @example Invalid input
|
|
@@ -1872,7 +1872,7 @@ export interface operations {
|
|
|
1872
1872
|
};
|
|
1873
1873
|
} | {
|
|
1874
1874
|
/** @enum {string} */
|
|
1875
|
-
code:
|
|
1875
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1876
1876
|
/**
|
|
1877
1877
|
* @description Human-readable error message
|
|
1878
1878
|
* @example Invalid input
|
|
@@ -1886,16 +1886,16 @@ export interface operations {
|
|
|
1886
1886
|
* @description Which scope rejected the request
|
|
1887
1887
|
* @enum {string}
|
|
1888
1888
|
*/
|
|
1889
|
-
scope:
|
|
1889
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1890
1890
|
/** @description Minimum level the endpoint demands */
|
|
1891
|
-
required: boolean | (
|
|
1891
|
+
required: boolean | ('read' | 'write');
|
|
1892
1892
|
/** @description Level resolved on the key */
|
|
1893
|
-
actual: boolean | (
|
|
1893
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1894
1894
|
};
|
|
1895
1895
|
}[];
|
|
1896
1896
|
} | {
|
|
1897
1897
|
/** @enum {string} */
|
|
1898
|
-
code:
|
|
1898
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
1899
1899
|
/**
|
|
1900
1900
|
* @description Human-readable error message
|
|
1901
1901
|
* @example Invalid input
|
|
@@ -1910,9 +1910,9 @@ export interface operations {
|
|
|
1910
1910
|
[name: string]: unknown;
|
|
1911
1911
|
};
|
|
1912
1912
|
content: {
|
|
1913
|
-
|
|
1913
|
+
'application/json': {
|
|
1914
1914
|
/** @enum {string} */
|
|
1915
|
-
code:
|
|
1915
|
+
code: 'VALIDATION_ERROR';
|
|
1916
1916
|
/**
|
|
1917
1917
|
* @description Human-readable error message
|
|
1918
1918
|
* @example Invalid input
|
|
@@ -1929,7 +1929,7 @@ export interface operations {
|
|
|
1929
1929
|
}[];
|
|
1930
1930
|
} | {
|
|
1931
1931
|
/** @enum {string} */
|
|
1932
|
-
code:
|
|
1932
|
+
code: 'SIMULATION_FAILED';
|
|
1933
1933
|
/**
|
|
1934
1934
|
* @description Human-readable error message
|
|
1935
1935
|
* @example Invalid input
|
|
@@ -1946,14 +1946,14 @@ export interface operations {
|
|
|
1946
1946
|
};
|
|
1947
1947
|
retryable: boolean;
|
|
1948
1948
|
/** @enum {string} */
|
|
1949
|
-
retryHint?:
|
|
1949
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1950
1950
|
simulations?: unknown;
|
|
1951
1951
|
} & {
|
|
1952
1952
|
[key: string]: unknown;
|
|
1953
1953
|
};
|
|
1954
1954
|
} | {
|
|
1955
1955
|
/** @enum {string} */
|
|
1956
|
-
code:
|
|
1956
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1957
1957
|
/**
|
|
1958
1958
|
* @description Human-readable error message
|
|
1959
1959
|
* @example Invalid input
|
|
@@ -1972,7 +1972,7 @@ export interface operations {
|
|
|
1972
1972
|
};
|
|
1973
1973
|
} | {
|
|
1974
1974
|
/** @enum {string} */
|
|
1975
|
-
code:
|
|
1975
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1976
1976
|
/**
|
|
1977
1977
|
* @description Human-readable error message
|
|
1978
1978
|
* @example Invalid input
|
|
@@ -1986,16 +1986,16 @@ export interface operations {
|
|
|
1986
1986
|
* @description Which scope rejected the request
|
|
1987
1987
|
* @enum {string}
|
|
1988
1988
|
*/
|
|
1989
|
-
scope:
|
|
1989
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1990
1990
|
/** @description Minimum level the endpoint demands */
|
|
1991
|
-
required: boolean | (
|
|
1991
|
+
required: boolean | ('read' | 'write');
|
|
1992
1992
|
/** @description Level resolved on the key */
|
|
1993
|
-
actual: boolean | (
|
|
1993
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1994
1994
|
};
|
|
1995
1995
|
}[];
|
|
1996
1996
|
} | {
|
|
1997
1997
|
/** @enum {string} */
|
|
1998
|
-
code:
|
|
1998
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
1999
1999
|
/**
|
|
2000
2000
|
* @description Human-readable error message
|
|
2001
2001
|
* @example Invalid input
|
|
@@ -2010,9 +2010,9 @@ export interface operations {
|
|
|
2010
2010
|
[name: string]: unknown;
|
|
2011
2011
|
};
|
|
2012
2012
|
content: {
|
|
2013
|
-
|
|
2013
|
+
'application/json': {
|
|
2014
2014
|
/** @enum {string} */
|
|
2015
|
-
code:
|
|
2015
|
+
code: 'VALIDATION_ERROR';
|
|
2016
2016
|
/**
|
|
2017
2017
|
* @description Human-readable error message
|
|
2018
2018
|
* @example Invalid input
|
|
@@ -2029,7 +2029,7 @@ export interface operations {
|
|
|
2029
2029
|
}[];
|
|
2030
2030
|
} | {
|
|
2031
2031
|
/** @enum {string} */
|
|
2032
|
-
code:
|
|
2032
|
+
code: 'SIMULATION_FAILED';
|
|
2033
2033
|
/**
|
|
2034
2034
|
* @description Human-readable error message
|
|
2035
2035
|
* @example Invalid input
|
|
@@ -2046,14 +2046,14 @@ export interface operations {
|
|
|
2046
2046
|
};
|
|
2047
2047
|
retryable: boolean;
|
|
2048
2048
|
/** @enum {string} */
|
|
2049
|
-
retryHint?:
|
|
2049
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2050
2050
|
simulations?: unknown;
|
|
2051
2051
|
} & {
|
|
2052
2052
|
[key: string]: unknown;
|
|
2053
2053
|
};
|
|
2054
2054
|
} | {
|
|
2055
2055
|
/** @enum {string} */
|
|
2056
|
-
code:
|
|
2056
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2057
2057
|
/**
|
|
2058
2058
|
* @description Human-readable error message
|
|
2059
2059
|
* @example Invalid input
|
|
@@ -2072,7 +2072,7 @@ export interface operations {
|
|
|
2072
2072
|
};
|
|
2073
2073
|
} | {
|
|
2074
2074
|
/** @enum {string} */
|
|
2075
|
-
code:
|
|
2075
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2076
2076
|
/**
|
|
2077
2077
|
* @description Human-readable error message
|
|
2078
2078
|
* @example Invalid input
|
|
@@ -2086,16 +2086,16 @@ export interface operations {
|
|
|
2086
2086
|
* @description Which scope rejected the request
|
|
2087
2087
|
* @enum {string}
|
|
2088
2088
|
*/
|
|
2089
|
-
scope:
|
|
2089
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
2090
2090
|
/** @description Minimum level the endpoint demands */
|
|
2091
|
-
required: boolean | (
|
|
2091
|
+
required: boolean | ('read' | 'write');
|
|
2092
2092
|
/** @description Level resolved on the key */
|
|
2093
|
-
actual: boolean | (
|
|
2093
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
2094
2094
|
};
|
|
2095
2095
|
}[];
|
|
2096
2096
|
} | {
|
|
2097
2097
|
/** @enum {string} */
|
|
2098
|
-
code:
|
|
2098
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
2099
2099
|
/**
|
|
2100
2100
|
* @description Human-readable error message
|
|
2101
2101
|
* @example Invalid input
|
|
@@ -2111,16 +2111,16 @@ export interface operations {
|
|
|
2111
2111
|
query?: never;
|
|
2112
2112
|
header: {
|
|
2113
2113
|
/** @description API version. Required; pinned to this document. */
|
|
2114
|
-
|
|
2114
|
+
'x-api-version': '2026-04.blanc';
|
|
2115
2115
|
/** @description API key. */
|
|
2116
|
-
|
|
2116
|
+
'x-api-key': string;
|
|
2117
2117
|
};
|
|
2118
2118
|
path?: never;
|
|
2119
2119
|
cookie?: never;
|
|
2120
2120
|
};
|
|
2121
2121
|
requestBody: {
|
|
2122
2122
|
content: {
|
|
2123
|
-
|
|
2123
|
+
'application/json': {
|
|
2124
2124
|
/** @description Identifier of the intent returned by `POST /quotes` (as `routes[].intentId`). */
|
|
2125
2125
|
intentId: string;
|
|
2126
2126
|
signatures: {
|
|
@@ -2224,7 +2224,7 @@ export interface operations {
|
|
|
2224
2224
|
[name: string]: unknown;
|
|
2225
2225
|
};
|
|
2226
2226
|
content: {
|
|
2227
|
-
|
|
2227
|
+
'application/json': {
|
|
2228
2228
|
intentId: string;
|
|
2229
2229
|
};
|
|
2230
2230
|
};
|
|
@@ -2235,9 +2235,9 @@ export interface operations {
|
|
|
2235
2235
|
[name: string]: unknown;
|
|
2236
2236
|
};
|
|
2237
2237
|
content: {
|
|
2238
|
-
|
|
2238
|
+
'application/json': {
|
|
2239
2239
|
/** @enum {string} */
|
|
2240
|
-
code:
|
|
2240
|
+
code: 'VALIDATION_ERROR';
|
|
2241
2241
|
/**
|
|
2242
2242
|
* @description Human-readable error message
|
|
2243
2243
|
* @example Invalid input
|
|
@@ -2254,7 +2254,7 @@ export interface operations {
|
|
|
2254
2254
|
}[];
|
|
2255
2255
|
} | {
|
|
2256
2256
|
/** @enum {string} */
|
|
2257
|
-
code:
|
|
2257
|
+
code: 'SIMULATION_FAILED';
|
|
2258
2258
|
/**
|
|
2259
2259
|
* @description Human-readable error message
|
|
2260
2260
|
* @example Invalid input
|
|
@@ -2271,14 +2271,14 @@ export interface operations {
|
|
|
2271
2271
|
};
|
|
2272
2272
|
retryable: boolean;
|
|
2273
2273
|
/** @enum {string} */
|
|
2274
|
-
retryHint?:
|
|
2274
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2275
2275
|
simulations?: unknown;
|
|
2276
2276
|
} & {
|
|
2277
2277
|
[key: string]: unknown;
|
|
2278
2278
|
};
|
|
2279
2279
|
} | {
|
|
2280
2280
|
/** @enum {string} */
|
|
2281
|
-
code:
|
|
2281
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2282
2282
|
/**
|
|
2283
2283
|
* @description Human-readable error message
|
|
2284
2284
|
* @example Invalid input
|
|
@@ -2297,7 +2297,7 @@ export interface operations {
|
|
|
2297
2297
|
};
|
|
2298
2298
|
} | {
|
|
2299
2299
|
/** @enum {string} */
|
|
2300
|
-
code:
|
|
2300
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2301
2301
|
/**
|
|
2302
2302
|
* @description Human-readable error message
|
|
2303
2303
|
* @example Invalid input
|
|
@@ -2311,16 +2311,16 @@ export interface operations {
|
|
|
2311
2311
|
* @description Which scope rejected the request
|
|
2312
2312
|
* @enum {string}
|
|
2313
2313
|
*/
|
|
2314
|
-
scope:
|
|
2314
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
2315
2315
|
/** @description Minimum level the endpoint demands */
|
|
2316
|
-
required: boolean | (
|
|
2316
|
+
required: boolean | ('read' | 'write');
|
|
2317
2317
|
/** @description Level resolved on the key */
|
|
2318
|
-
actual: boolean | (
|
|
2318
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
2319
2319
|
};
|
|
2320
2320
|
}[];
|
|
2321
2321
|
} | {
|
|
2322
2322
|
/** @enum {string} */
|
|
2323
|
-
code:
|
|
2323
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
2324
2324
|
/**
|
|
2325
2325
|
* @description Human-readable error message
|
|
2326
2326
|
* @example Invalid input
|
|
@@ -2335,9 +2335,9 @@ export interface operations {
|
|
|
2335
2335
|
[name: string]: unknown;
|
|
2336
2336
|
};
|
|
2337
2337
|
content: {
|
|
2338
|
-
|
|
2338
|
+
'application/json': {
|
|
2339
2339
|
/** @enum {string} */
|
|
2340
|
-
code:
|
|
2340
|
+
code: 'VALIDATION_ERROR';
|
|
2341
2341
|
/**
|
|
2342
2342
|
* @description Human-readable error message
|
|
2343
2343
|
* @example Invalid input
|
|
@@ -2354,7 +2354,7 @@ export interface operations {
|
|
|
2354
2354
|
}[];
|
|
2355
2355
|
} | {
|
|
2356
2356
|
/** @enum {string} */
|
|
2357
|
-
code:
|
|
2357
|
+
code: 'SIMULATION_FAILED';
|
|
2358
2358
|
/**
|
|
2359
2359
|
* @description Human-readable error message
|
|
2360
2360
|
* @example Invalid input
|
|
@@ -2371,14 +2371,14 @@ export interface operations {
|
|
|
2371
2371
|
};
|
|
2372
2372
|
retryable: boolean;
|
|
2373
2373
|
/** @enum {string} */
|
|
2374
|
-
retryHint?:
|
|
2374
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2375
2375
|
simulations?: unknown;
|
|
2376
2376
|
} & {
|
|
2377
2377
|
[key: string]: unknown;
|
|
2378
2378
|
};
|
|
2379
2379
|
} | {
|
|
2380
2380
|
/** @enum {string} */
|
|
2381
|
-
code:
|
|
2381
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2382
2382
|
/**
|
|
2383
2383
|
* @description Human-readable error message
|
|
2384
2384
|
* @example Invalid input
|
|
@@ -2397,7 +2397,7 @@ export interface operations {
|
|
|
2397
2397
|
};
|
|
2398
2398
|
} | {
|
|
2399
2399
|
/** @enum {string} */
|
|
2400
|
-
code:
|
|
2400
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2401
2401
|
/**
|
|
2402
2402
|
* @description Human-readable error message
|
|
2403
2403
|
* @example Invalid input
|
|
@@ -2411,16 +2411,16 @@ export interface operations {
|
|
|
2411
2411
|
* @description Which scope rejected the request
|
|
2412
2412
|
* @enum {string}
|
|
2413
2413
|
*/
|
|
2414
|
-
scope:
|
|
2414
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
2415
2415
|
/** @description Minimum level the endpoint demands */
|
|
2416
|
-
required: boolean | (
|
|
2416
|
+
required: boolean | ('read' | 'write');
|
|
2417
2417
|
/** @description Level resolved on the key */
|
|
2418
|
-
actual: boolean | (
|
|
2418
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
2419
2419
|
};
|
|
2420
2420
|
}[];
|
|
2421
2421
|
} | {
|
|
2422
2422
|
/** @enum {string} */
|
|
2423
|
-
code:
|
|
2423
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
2424
2424
|
/**
|
|
2425
2425
|
* @description Human-readable error message
|
|
2426
2426
|
* @example Invalid input
|
|
@@ -2435,9 +2435,9 @@ export interface operations {
|
|
|
2435
2435
|
[name: string]: unknown;
|
|
2436
2436
|
};
|
|
2437
2437
|
content: {
|
|
2438
|
-
|
|
2438
|
+
'application/json': {
|
|
2439
2439
|
/** @enum {string} */
|
|
2440
|
-
code:
|
|
2440
|
+
code: 'VALIDATION_ERROR';
|
|
2441
2441
|
/**
|
|
2442
2442
|
* @description Human-readable error message
|
|
2443
2443
|
* @example Invalid input
|
|
@@ -2454,7 +2454,7 @@ export interface operations {
|
|
|
2454
2454
|
}[];
|
|
2455
2455
|
} | {
|
|
2456
2456
|
/** @enum {string} */
|
|
2457
|
-
code:
|
|
2457
|
+
code: 'SIMULATION_FAILED';
|
|
2458
2458
|
/**
|
|
2459
2459
|
* @description Human-readable error message
|
|
2460
2460
|
* @example Invalid input
|
|
@@ -2471,14 +2471,14 @@ export interface operations {
|
|
|
2471
2471
|
};
|
|
2472
2472
|
retryable: boolean;
|
|
2473
2473
|
/** @enum {string} */
|
|
2474
|
-
retryHint?:
|
|
2474
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2475
2475
|
simulations?: unknown;
|
|
2476
2476
|
} & {
|
|
2477
2477
|
[key: string]: unknown;
|
|
2478
2478
|
};
|
|
2479
2479
|
} | {
|
|
2480
2480
|
/** @enum {string} */
|
|
2481
|
-
code:
|
|
2481
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2482
2482
|
/**
|
|
2483
2483
|
* @description Human-readable error message
|
|
2484
2484
|
* @example Invalid input
|
|
@@ -2497,7 +2497,7 @@ export interface operations {
|
|
|
2497
2497
|
};
|
|
2498
2498
|
} | {
|
|
2499
2499
|
/** @enum {string} */
|
|
2500
|
-
code:
|
|
2500
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2501
2501
|
/**
|
|
2502
2502
|
* @description Human-readable error message
|
|
2503
2503
|
* @example Invalid input
|
|
@@ -2511,16 +2511,16 @@ export interface operations {
|
|
|
2511
2511
|
* @description Which scope rejected the request
|
|
2512
2512
|
* @enum {string}
|
|
2513
2513
|
*/
|
|
2514
|
-
scope:
|
|
2514
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
2515
2515
|
/** @description Minimum level the endpoint demands */
|
|
2516
|
-
required: boolean | (
|
|
2516
|
+
required: boolean | ('read' | 'write');
|
|
2517
2517
|
/** @description Level resolved on the key */
|
|
2518
|
-
actual: boolean | (
|
|
2518
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
2519
2519
|
};
|
|
2520
2520
|
}[];
|
|
2521
2521
|
} | {
|
|
2522
2522
|
/** @enum {string} */
|
|
2523
|
-
code:
|
|
2523
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
2524
2524
|
/**
|
|
2525
2525
|
* @description Human-readable error message
|
|
2526
2526
|
* @example Invalid input
|
|
@@ -2535,9 +2535,9 @@ export interface operations {
|
|
|
2535
2535
|
[name: string]: unknown;
|
|
2536
2536
|
};
|
|
2537
2537
|
content: {
|
|
2538
|
-
|
|
2538
|
+
'application/json': {
|
|
2539
2539
|
/** @enum {string} */
|
|
2540
|
-
code:
|
|
2540
|
+
code: 'VALIDATION_ERROR';
|
|
2541
2541
|
/**
|
|
2542
2542
|
* @description Human-readable error message
|
|
2543
2543
|
* @example Invalid input
|
|
@@ -2554,7 +2554,7 @@ export interface operations {
|
|
|
2554
2554
|
}[];
|
|
2555
2555
|
} | {
|
|
2556
2556
|
/** @enum {string} */
|
|
2557
|
-
code:
|
|
2557
|
+
code: 'SIMULATION_FAILED';
|
|
2558
2558
|
/**
|
|
2559
2559
|
* @description Human-readable error message
|
|
2560
2560
|
* @example Invalid input
|
|
@@ -2571,14 +2571,14 @@ export interface operations {
|
|
|
2571
2571
|
};
|
|
2572
2572
|
retryable: boolean;
|
|
2573
2573
|
/** @enum {string} */
|
|
2574
|
-
retryHint?:
|
|
2574
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2575
2575
|
simulations?: unknown;
|
|
2576
2576
|
} & {
|
|
2577
2577
|
[key: string]: unknown;
|
|
2578
2578
|
};
|
|
2579
2579
|
} | {
|
|
2580
2580
|
/** @enum {string} */
|
|
2581
|
-
code:
|
|
2581
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2582
2582
|
/**
|
|
2583
2583
|
* @description Human-readable error message
|
|
2584
2584
|
* @example Invalid input
|
|
@@ -2597,7 +2597,7 @@ export interface operations {
|
|
|
2597
2597
|
};
|
|
2598
2598
|
} | {
|
|
2599
2599
|
/** @enum {string} */
|
|
2600
|
-
code:
|
|
2600
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2601
2601
|
/**
|
|
2602
2602
|
* @description Human-readable error message
|
|
2603
2603
|
* @example Invalid input
|
|
@@ -2611,16 +2611,16 @@ export interface operations {
|
|
|
2611
2611
|
* @description Which scope rejected the request
|
|
2612
2612
|
* @enum {string}
|
|
2613
2613
|
*/
|
|
2614
|
-
scope:
|
|
2614
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
2615
2615
|
/** @description Minimum level the endpoint demands */
|
|
2616
|
-
required: boolean | (
|
|
2616
|
+
required: boolean | ('read' | 'write');
|
|
2617
2617
|
/** @description Level resolved on the key */
|
|
2618
|
-
actual: boolean | (
|
|
2618
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
2619
2619
|
};
|
|
2620
2620
|
}[];
|
|
2621
2621
|
} | {
|
|
2622
2622
|
/** @enum {string} */
|
|
2623
|
-
code:
|
|
2623
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
2624
2624
|
/**
|
|
2625
2625
|
* @description Human-readable error message
|
|
2626
2626
|
* @example Invalid input
|
|
@@ -2636,16 +2636,16 @@ export interface operations {
|
|
|
2636
2636
|
query?: never;
|
|
2637
2637
|
header: {
|
|
2638
2638
|
/** @description API version. Required; pinned to this document. */
|
|
2639
|
-
|
|
2639
|
+
'x-api-version': '2026-04.blanc';
|
|
2640
2640
|
/** @description API key. */
|
|
2641
|
-
|
|
2641
|
+
'x-api-key': string;
|
|
2642
2642
|
};
|
|
2643
2643
|
path?: never;
|
|
2644
2644
|
cookie?: never;
|
|
2645
2645
|
};
|
|
2646
2646
|
requestBody: {
|
|
2647
2647
|
content: {
|
|
2648
|
-
|
|
2648
|
+
'application/json': {
|
|
2649
2649
|
/**
|
|
2650
2650
|
* @description The chain ID the intents settle on (CAIP-2)
|
|
2651
2651
|
* @example eip155:42161
|
|
@@ -2668,10 +2668,10 @@ export interface operations {
|
|
|
2668
2668
|
* ]
|
|
2669
2669
|
* }
|
|
2670
2670
|
*/
|
|
2671
|
-
settlementLayers?: (
|
|
2672
|
-
include: (
|
|
2671
|
+
settlementLayers?: ('ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP')[] | {
|
|
2672
|
+
include: ('ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP')[];
|
|
2673
2673
|
} | {
|
|
2674
|
-
exclude: (
|
|
2674
|
+
exclude: ('ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP')[];
|
|
2675
2675
|
};
|
|
2676
2676
|
};
|
|
2677
2677
|
};
|
|
@@ -2683,7 +2683,7 @@ export interface operations {
|
|
|
2683
2683
|
[name: string]: unknown;
|
|
2684
2684
|
};
|
|
2685
2685
|
content: {
|
|
2686
|
-
|
|
2686
|
+
'application/json': {
|
|
2687
2687
|
/**
|
|
2688
2688
|
* @description Array of intents, each mapping token addresses to amounts that can be filled by a single relayer
|
|
2689
2689
|
* @example [
|
|
@@ -2710,9 +2710,9 @@ export interface operations {
|
|
|
2710
2710
|
[name: string]: unknown;
|
|
2711
2711
|
};
|
|
2712
2712
|
content: {
|
|
2713
|
-
|
|
2713
|
+
'application/json': {
|
|
2714
2714
|
/** @enum {string} */
|
|
2715
|
-
code:
|
|
2715
|
+
code: 'VALIDATION_ERROR';
|
|
2716
2716
|
/**
|
|
2717
2717
|
* @description Human-readable error message
|
|
2718
2718
|
* @example Invalid input
|
|
@@ -2729,7 +2729,7 @@ export interface operations {
|
|
|
2729
2729
|
}[];
|
|
2730
2730
|
} | {
|
|
2731
2731
|
/** @enum {string} */
|
|
2732
|
-
code:
|
|
2732
|
+
code: 'SIMULATION_FAILED';
|
|
2733
2733
|
/**
|
|
2734
2734
|
* @description Human-readable error message
|
|
2735
2735
|
* @example Invalid input
|
|
@@ -2746,14 +2746,14 @@ export interface operations {
|
|
|
2746
2746
|
};
|
|
2747
2747
|
retryable: boolean;
|
|
2748
2748
|
/** @enum {string} */
|
|
2749
|
-
retryHint?:
|
|
2749
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2750
2750
|
simulations?: unknown;
|
|
2751
2751
|
} & {
|
|
2752
2752
|
[key: string]: unknown;
|
|
2753
2753
|
};
|
|
2754
2754
|
} | {
|
|
2755
2755
|
/** @enum {string} */
|
|
2756
|
-
code:
|
|
2756
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2757
2757
|
/**
|
|
2758
2758
|
* @description Human-readable error message
|
|
2759
2759
|
* @example Invalid input
|
|
@@ -2772,7 +2772,7 @@ export interface operations {
|
|
|
2772
2772
|
};
|
|
2773
2773
|
} | {
|
|
2774
2774
|
/** @enum {string} */
|
|
2775
|
-
code:
|
|
2775
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2776
2776
|
/**
|
|
2777
2777
|
* @description Human-readable error message
|
|
2778
2778
|
* @example Invalid input
|
|
@@ -2786,16 +2786,16 @@ export interface operations {
|
|
|
2786
2786
|
* @description Which scope rejected the request
|
|
2787
2787
|
* @enum {string}
|
|
2788
2788
|
*/
|
|
2789
|
-
scope:
|
|
2789
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
2790
2790
|
/** @description Minimum level the endpoint demands */
|
|
2791
|
-
required: boolean | (
|
|
2791
|
+
required: boolean | ('read' | 'write');
|
|
2792
2792
|
/** @description Level resolved on the key */
|
|
2793
|
-
actual: boolean | (
|
|
2793
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
2794
2794
|
};
|
|
2795
2795
|
}[];
|
|
2796
2796
|
} | {
|
|
2797
2797
|
/** @enum {string} */
|
|
2798
|
-
code:
|
|
2798
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
2799
2799
|
/**
|
|
2800
2800
|
* @description Human-readable error message
|
|
2801
2801
|
* @example Invalid input
|
|
@@ -2810,9 +2810,9 @@ export interface operations {
|
|
|
2810
2810
|
[name: string]: unknown;
|
|
2811
2811
|
};
|
|
2812
2812
|
content: {
|
|
2813
|
-
|
|
2813
|
+
'application/json': {
|
|
2814
2814
|
/** @enum {string} */
|
|
2815
|
-
code:
|
|
2815
|
+
code: 'VALIDATION_ERROR';
|
|
2816
2816
|
/**
|
|
2817
2817
|
* @description Human-readable error message
|
|
2818
2818
|
* @example Invalid input
|
|
@@ -2829,7 +2829,7 @@ export interface operations {
|
|
|
2829
2829
|
}[];
|
|
2830
2830
|
} | {
|
|
2831
2831
|
/** @enum {string} */
|
|
2832
|
-
code:
|
|
2832
|
+
code: 'SIMULATION_FAILED';
|
|
2833
2833
|
/**
|
|
2834
2834
|
* @description Human-readable error message
|
|
2835
2835
|
* @example Invalid input
|
|
@@ -2846,14 +2846,14 @@ export interface operations {
|
|
|
2846
2846
|
};
|
|
2847
2847
|
retryable: boolean;
|
|
2848
2848
|
/** @enum {string} */
|
|
2849
|
-
retryHint?:
|
|
2849
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2850
2850
|
simulations?: unknown;
|
|
2851
2851
|
} & {
|
|
2852
2852
|
[key: string]: unknown;
|
|
2853
2853
|
};
|
|
2854
2854
|
} | {
|
|
2855
2855
|
/** @enum {string} */
|
|
2856
|
-
code:
|
|
2856
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2857
2857
|
/**
|
|
2858
2858
|
* @description Human-readable error message
|
|
2859
2859
|
* @example Invalid input
|
|
@@ -2872,7 +2872,7 @@ export interface operations {
|
|
|
2872
2872
|
};
|
|
2873
2873
|
} | {
|
|
2874
2874
|
/** @enum {string} */
|
|
2875
|
-
code:
|
|
2875
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2876
2876
|
/**
|
|
2877
2877
|
* @description Human-readable error message
|
|
2878
2878
|
* @example Invalid input
|
|
@@ -2886,16 +2886,16 @@ export interface operations {
|
|
|
2886
2886
|
* @description Which scope rejected the request
|
|
2887
2887
|
* @enum {string}
|
|
2888
2888
|
*/
|
|
2889
|
-
scope:
|
|
2889
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
2890
2890
|
/** @description Minimum level the endpoint demands */
|
|
2891
|
-
required: boolean | (
|
|
2891
|
+
required: boolean | ('read' | 'write');
|
|
2892
2892
|
/** @description Level resolved on the key */
|
|
2893
|
-
actual: boolean | (
|
|
2893
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
2894
2894
|
};
|
|
2895
2895
|
}[];
|
|
2896
2896
|
} | {
|
|
2897
2897
|
/** @enum {string} */
|
|
2898
|
-
code:
|
|
2898
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
2899
2899
|
/**
|
|
2900
2900
|
* @description Human-readable error message
|
|
2901
2901
|
* @example Invalid input
|
|
@@ -2910,9 +2910,9 @@ export interface operations {
|
|
|
2910
2910
|
[name: string]: unknown;
|
|
2911
2911
|
};
|
|
2912
2912
|
content: {
|
|
2913
|
-
|
|
2913
|
+
'application/json': {
|
|
2914
2914
|
/** @enum {string} */
|
|
2915
|
-
code:
|
|
2915
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2916
2916
|
/**
|
|
2917
2917
|
* @description Human-readable error message
|
|
2918
2918
|
* @example Invalid input
|
|
@@ -2938,9 +2938,9 @@ export interface operations {
|
|
|
2938
2938
|
[name: string]: unknown;
|
|
2939
2939
|
};
|
|
2940
2940
|
content: {
|
|
2941
|
-
|
|
2941
|
+
'application/json': {
|
|
2942
2942
|
/** @enum {string} */
|
|
2943
|
-
code:
|
|
2943
|
+
code: 'VALIDATION_ERROR';
|
|
2944
2944
|
/**
|
|
2945
2945
|
* @description Human-readable error message
|
|
2946
2946
|
* @example Invalid input
|
|
@@ -2957,7 +2957,7 @@ export interface operations {
|
|
|
2957
2957
|
}[];
|
|
2958
2958
|
} | {
|
|
2959
2959
|
/** @enum {string} */
|
|
2960
|
-
code:
|
|
2960
|
+
code: 'SIMULATION_FAILED';
|
|
2961
2961
|
/**
|
|
2962
2962
|
* @description Human-readable error message
|
|
2963
2963
|
* @example Invalid input
|
|
@@ -2974,14 +2974,14 @@ export interface operations {
|
|
|
2974
2974
|
};
|
|
2975
2975
|
retryable: boolean;
|
|
2976
2976
|
/** @enum {string} */
|
|
2977
|
-
retryHint?:
|
|
2977
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2978
2978
|
simulations?: unknown;
|
|
2979
2979
|
} & {
|
|
2980
2980
|
[key: string]: unknown;
|
|
2981
2981
|
};
|
|
2982
2982
|
} | {
|
|
2983
2983
|
/** @enum {string} */
|
|
2984
|
-
code:
|
|
2984
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2985
2985
|
/**
|
|
2986
2986
|
* @description Human-readable error message
|
|
2987
2987
|
* @example Invalid input
|
|
@@ -3000,7 +3000,7 @@ export interface operations {
|
|
|
3000
3000
|
};
|
|
3001
3001
|
} | {
|
|
3002
3002
|
/** @enum {string} */
|
|
3003
|
-
code:
|
|
3003
|
+
code: 'KEY_SCOPE_DENIED';
|
|
3004
3004
|
/**
|
|
3005
3005
|
* @description Human-readable error message
|
|
3006
3006
|
* @example Invalid input
|
|
@@ -3014,16 +3014,16 @@ export interface operations {
|
|
|
3014
3014
|
* @description Which scope rejected the request
|
|
3015
3015
|
* @enum {string}
|
|
3016
3016
|
*/
|
|
3017
|
-
scope:
|
|
3017
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
3018
3018
|
/** @description Minimum level the endpoint demands */
|
|
3019
|
-
required: boolean | (
|
|
3019
|
+
required: boolean | ('read' | 'write');
|
|
3020
3020
|
/** @description Level resolved on the key */
|
|
3021
|
-
actual: boolean | (
|
|
3021
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
3022
3022
|
};
|
|
3023
3023
|
}[];
|
|
3024
3024
|
} | {
|
|
3025
3025
|
/** @enum {string} */
|
|
3026
|
-
code:
|
|
3026
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
3027
3027
|
/**
|
|
3028
3028
|
* @description Human-readable error message
|
|
3029
3029
|
* @example Invalid input
|
|
@@ -3039,16 +3039,16 @@ export interface operations {
|
|
|
3039
3039
|
query?: never;
|
|
3040
3040
|
header: {
|
|
3041
3041
|
/** @description API version. Required; pinned to this document. */
|
|
3042
|
-
|
|
3042
|
+
'x-api-version': '2026-04.blanc';
|
|
3043
3043
|
/** @description API key. */
|
|
3044
|
-
|
|
3044
|
+
'x-api-key': string;
|
|
3045
3045
|
};
|
|
3046
3046
|
path?: never;
|
|
3047
3047
|
cookie?: never;
|
|
3048
3048
|
};
|
|
3049
3049
|
requestBody: {
|
|
3050
3050
|
content: {
|
|
3051
|
-
|
|
3051
|
+
'application/json': {
|
|
3052
3052
|
/**
|
|
3053
3053
|
* @description CAIP-2 chain identifier of the destination chain (EVM `eip155:<id>`, or non-EVM `solana:…`/`tron:…`)
|
|
3054
3054
|
* @example eip155:8453
|
|
@@ -3072,7 +3072,7 @@ export interface operations {
|
|
|
3072
3072
|
* @example spot
|
|
3073
3073
|
* @enum {string}
|
|
3074
3074
|
*/
|
|
3075
|
-
balance?:
|
|
3075
|
+
balance?: 'spot' | 'perp';
|
|
3076
3076
|
}[];
|
|
3077
3077
|
/** @description Account details */
|
|
3078
3078
|
account: {
|
|
@@ -3085,7 +3085,7 @@ export interface operations {
|
|
|
3085
3085
|
* @description Account type. Blanc clients should use `ERC7579`; the legacy `smartAccount` value is equivalent and accepted for alps wire compatibility, and gets rewritten to `ERC7579` by the `alpsAccountType` versioning change before Zod validation.
|
|
3086
3086
|
* @enum {string}
|
|
3087
3087
|
*/
|
|
3088
|
-
accountType?:
|
|
3088
|
+
accountType?: 'smartAccount' | 'GENERIC' | 'EOA' | 'ERC7579';
|
|
3089
3089
|
/** @description Setup operations for the smart account. Only used if the account is not deployed */
|
|
3090
3090
|
setupOps?: {
|
|
3091
3091
|
/**
|
|
@@ -3173,9 +3173,9 @@ export interface operations {
|
|
|
3173
3173
|
/** @description Account access list specifying which chains and tokens an account may access */
|
|
3174
3174
|
accountAccessList?: {
|
|
3175
3175
|
chainIds?: number[];
|
|
3176
|
-
tokens?: (string | (
|
|
3176
|
+
tokens?: (string | ('ETH' | 'USDC' | 'WETH' | 'USDT' | 'USDT0' | 'BNB' | 'WBNB' | 'XDAI' | 'WXDAI' | 'POL' | 'WPOL' | 'MON' | 'WMON' | 'S' | 'WS' | 'HYPE' | 'WHYPE' | 'USDG' | 'XPL' | 'WXPL' | 'AVAX' | 'WAVAX' | 'MockUSD' | 'TRX' | 'WTRX' | 'SOL' | 'WSOL'))[];
|
|
3177
3177
|
chainTokens?: {
|
|
3178
|
-
[key: string]: (string | (
|
|
3178
|
+
[key: string]: (string | ('ETH' | 'USDC' | 'WETH' | 'USDT' | 'USDT0' | 'BNB' | 'WBNB' | 'XDAI' | 'WXDAI' | 'POL' | 'WPOL' | 'MON' | 'WMON' | 'S' | 'WS' | 'HYPE' | 'WHYPE' | 'USDG' | 'XPL' | 'WXPL' | 'AVAX' | 'WAVAX' | 'MockUSD' | 'TRX' | 'WTRX' | 'SOL' | 'WSOL'))[];
|
|
3179
3179
|
};
|
|
3180
3180
|
chainTokenAmounts?: {
|
|
3181
3181
|
[key: string]: {
|
|
@@ -3184,9 +3184,9 @@ export interface operations {
|
|
|
3184
3184
|
};
|
|
3185
3185
|
exclude?: {
|
|
3186
3186
|
chainIds?: number[];
|
|
3187
|
-
tokens?: (string | (
|
|
3187
|
+
tokens?: (string | ('ETH' | 'USDC' | 'WETH' | 'USDT' | 'USDT0' | 'BNB' | 'WBNB' | 'XDAI' | 'WXDAI' | 'POL' | 'WPOL' | 'MON' | 'WMON' | 'S' | 'WS' | 'HYPE' | 'WHYPE' | 'USDG' | 'XPL' | 'WXPL' | 'AVAX' | 'WAVAX' | 'MockUSD' | 'TRX' | 'WTRX' | 'SOL' | 'WSOL'))[];
|
|
3188
3188
|
chainTokens?: {
|
|
3189
|
-
[key: string]: (string | (
|
|
3189
|
+
[key: string]: (string | ('ETH' | 'USDC' | 'WETH' | 'USDT' | 'USDT0' | 'BNB' | 'WBNB' | 'XDAI' | 'WXDAI' | 'POL' | 'WPOL' | 'MON' | 'WMON' | 'S' | 'WS' | 'HYPE' | 'WHYPE' | 'USDG' | 'XPL' | 'WXPL' | 'AVAX' | 'WAVAX' | 'MockUSD' | 'TRX' | 'WTRX' | 'SOL' | 'WSOL'))[];
|
|
3190
3190
|
};
|
|
3191
3191
|
};
|
|
3192
3192
|
};
|
|
@@ -3200,7 +3200,7 @@ export interface operations {
|
|
|
3200
3200
|
* @description Account type. Blanc clients should use `ERC7579`; the legacy `smartAccount` value is equivalent and accepted for alps wire compatibility, and gets rewritten to `ERC7579` by the `alpsAccountType` versioning change before Zod validation.
|
|
3201
3201
|
* @enum {string}
|
|
3202
3202
|
*/
|
|
3203
|
-
accountType?:
|
|
3203
|
+
accountType?: 'smartAccount' | 'GENERIC' | 'EOA' | 'ERC7579';
|
|
3204
3204
|
/** @description Setup operations for the smart account. Only used if the account is not deployed */
|
|
3205
3205
|
setupOps?: {
|
|
3206
3206
|
/**
|
|
@@ -3253,10 +3253,10 @@ export interface operations {
|
|
|
3253
3253
|
* ]
|
|
3254
3254
|
* }
|
|
3255
3255
|
*/
|
|
3256
|
-
settlementLayers?: (
|
|
3257
|
-
include: (
|
|
3256
|
+
settlementLayers?: ('ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP')[] | {
|
|
3257
|
+
include: ('ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP')[];
|
|
3258
3258
|
} | {
|
|
3259
|
-
exclude: (
|
|
3259
|
+
exclude: ('ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP')[];
|
|
3260
3260
|
};
|
|
3261
3261
|
/**
|
|
3262
3262
|
* @description Sponsor settings for the intent
|
|
@@ -3289,12 +3289,12 @@ export interface operations {
|
|
|
3289
3289
|
* @example 3
|
|
3290
3290
|
* @enum {string}
|
|
3291
3291
|
*/
|
|
3292
|
-
signatureMode?:
|
|
3292
|
+
signatureMode?: 'EMISSARY' | 'ERC1271' | 'EMISSARY_ERC1271' | 'ERC1271_EMISSARY' | 'EMISSARY_EXECUTION' | 'EMISSARY_EXECUTION_ERC1271' | 'ERC1271_EMISSARY_EXECUTION' | 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
3293
3293
|
/**
|
|
3294
3294
|
* @description Reserved for future use. No effect today.
|
|
3295
3295
|
* @enum {string}
|
|
3296
3296
|
*/
|
|
3297
|
-
feeToken?:
|
|
3297
|
+
feeToken?: 'ETH' | 'USDC' | 'WETH' | 'USDT' | 'USDT0' | 'BNB' | 'WBNB' | 'XDAI' | 'WXDAI' | 'POL' | 'WPOL' | 'MON' | 'WMON' | 'S' | 'WS' | 'HYPE' | 'WHYPE' | 'USDG' | 'XPL' | 'WXPL' | 'AVAX' | 'WAVAX' | 'MockUSD' | 'TRX' | 'WTRX' | 'SOL' | 'WSOL';
|
|
3298
3298
|
appFees?: {
|
|
3299
3299
|
/**
|
|
3300
3300
|
* @description App fee rate in basis points of the input value (0–10000 = 0–100%).
|
|
@@ -3327,7 +3327,7 @@ export interface operations {
|
|
|
3327
3327
|
* @example best
|
|
3328
3328
|
* @enum {string}
|
|
3329
3329
|
*/
|
|
3330
|
-
selectionStrategy?:
|
|
3330
|
+
selectionStrategy?: 'cheapest' | 'fastest' | 'best';
|
|
3331
3331
|
/**
|
|
3332
3332
|
* @description Absolute unix timestamp (seconds) overriding the on-chain fill deadline. **TOKENLESS intents only.** If the intent resolves to any other route (cross-chain or same-chain), the request is **rejected** with `INVALID_CUSTOM_DEADLINE` (422) rather than silently ignoring the override. Must be between `now + 120s` and `now + 86400s`. The bundle claim/nonce expiry and the response `expiresAt` track this value automatically.
|
|
3333
3333
|
* @example 1893456000
|
|
@@ -3344,7 +3344,7 @@ export interface operations {
|
|
|
3344
3344
|
[name: string]: unknown;
|
|
3345
3345
|
};
|
|
3346
3346
|
content: {
|
|
3347
|
-
|
|
3347
|
+
'application/json': {
|
|
3348
3348
|
/** @description Route candidates ranked by the orchestrator's internal scoring (cheaper + faster wins). The first entry is the recommended route — most clients should submit it without inspecting the rest. */
|
|
3349
3349
|
routes: {
|
|
3350
3350
|
/** @description Server-stored intent identifier. Pass back to `POST /intents` to submit. */
|
|
@@ -3367,7 +3367,7 @@ export interface operations {
|
|
|
3367
3367
|
* @example RELAY
|
|
3368
3368
|
* @enum {string}
|
|
3369
3369
|
*/
|
|
3370
|
-
settlementLayer:
|
|
3370
|
+
settlementLayer: 'INTENT_EXECUTOR' | 'SAME_CHAIN' | 'ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP';
|
|
3371
3371
|
/** @description EIP-712 sign payloads the client submits back on `POST /intents` */
|
|
3372
3372
|
signData: {
|
|
3373
3373
|
/** @description Typed data payloads for the origin legs, in submission order. Sign each entry and submit the signatures in matching order via `signatures.origin`. */
|
|
@@ -3627,7 +3627,7 @@ export interface operations {
|
|
|
3627
3627
|
* @description Discriminator: `approval` means the user must ERC-20 approve `spender` for at least `amount` before submission.
|
|
3628
3628
|
* @enum {string}
|
|
3629
3629
|
*/
|
|
3630
|
-
type:
|
|
3630
|
+
type: 'approval';
|
|
3631
3631
|
/**
|
|
3632
3632
|
* Format: uint256
|
|
3633
3633
|
* @description Minimum required allowance, in the token's smallest unit.
|
|
@@ -3640,7 +3640,7 @@ export interface operations {
|
|
|
3640
3640
|
* @description Discriminator: `wrap` means the user must wrap native ETH into the chain's WETH-equivalent before submission.
|
|
3641
3641
|
* @enum {string}
|
|
3642
3642
|
*/
|
|
3643
|
-
type:
|
|
3643
|
+
type: 'wrap';
|
|
3644
3644
|
/**
|
|
3645
3645
|
* Format: uint256
|
|
3646
3646
|
* @description Minimum amount to wrap, in wei.
|
|
@@ -3661,7 +3661,7 @@ export interface operations {
|
|
|
3661
3661
|
* @description LayerZero OFT
|
|
3662
3662
|
* @enum {string}
|
|
3663
3663
|
*/
|
|
3664
|
-
type:
|
|
3664
|
+
type: 'OFT';
|
|
3665
3665
|
} | {
|
|
3666
3666
|
/** @description Destination chain ID for the bridge fill */
|
|
3667
3667
|
destinationChainId: number;
|
|
@@ -3673,7 +3673,7 @@ export interface operations {
|
|
|
3673
3673
|
* @description Relay.link
|
|
3674
3674
|
* @enum {string}
|
|
3675
3675
|
*/
|
|
3676
|
-
type:
|
|
3676
|
+
type: 'RELAY';
|
|
3677
3677
|
/** @description Relay.link request ID. Use against Relay.link's status API to track the destination-chain fill. */
|
|
3678
3678
|
requestId: string;
|
|
3679
3679
|
} | {
|
|
@@ -3687,7 +3687,7 @@ export interface operations {
|
|
|
3687
3687
|
* @description NEAR Intents
|
|
3688
3688
|
* @enum {string}
|
|
3689
3689
|
*/
|
|
3690
|
-
type:
|
|
3690
|
+
type: 'NEAR';
|
|
3691
3691
|
/** @description NEAR Intents deposit address. Track fill status via the NEAR Intents status API keyed on this address. */
|
|
3692
3692
|
depositAddress: string;
|
|
3693
3693
|
} | {
|
|
@@ -3701,7 +3701,7 @@ export interface operations {
|
|
|
3701
3701
|
* @description Rhino.fi
|
|
3702
3702
|
* @enum {string}
|
|
3703
3703
|
*/
|
|
3704
|
-
type:
|
|
3704
|
+
type: 'RHINO';
|
|
3705
3705
|
/** @description Rhino.fi commitment ID. Use against Rhino.fi's status API to track the destination-chain fill. */
|
|
3706
3706
|
commitmentId: string;
|
|
3707
3707
|
} | {
|
|
@@ -3715,7 +3715,7 @@ export interface operations {
|
|
|
3715
3715
|
* @description Circle CCTP
|
|
3716
3716
|
* @enum {string}
|
|
3717
3717
|
*/
|
|
3718
|
-
type:
|
|
3718
|
+
type: 'CCTP';
|
|
3719
3719
|
/** @description Circle CCTP source domain ID — needed to fetch the attestation for the burn message on the source chain. */
|
|
3720
3720
|
sourceDomainId: number;
|
|
3721
3721
|
/** @description Circle CCTP destination domain ID. */
|
|
@@ -3731,9 +3731,9 @@ export interface operations {
|
|
|
3731
3731
|
[name: string]: unknown;
|
|
3732
3732
|
};
|
|
3733
3733
|
content: {
|
|
3734
|
-
|
|
3734
|
+
'application/json': {
|
|
3735
3735
|
/** @enum {string} */
|
|
3736
|
-
code:
|
|
3736
|
+
code: 'VALIDATION_ERROR';
|
|
3737
3737
|
/**
|
|
3738
3738
|
* @description Human-readable error message
|
|
3739
3739
|
* @example Invalid input
|
|
@@ -3750,7 +3750,7 @@ export interface operations {
|
|
|
3750
3750
|
}[];
|
|
3751
3751
|
} | {
|
|
3752
3752
|
/** @enum {string} */
|
|
3753
|
-
code:
|
|
3753
|
+
code: 'SIMULATION_FAILED';
|
|
3754
3754
|
/**
|
|
3755
3755
|
* @description Human-readable error message
|
|
3756
3756
|
* @example Invalid input
|
|
@@ -3767,14 +3767,14 @@ export interface operations {
|
|
|
3767
3767
|
};
|
|
3768
3768
|
retryable: boolean;
|
|
3769
3769
|
/** @enum {string} */
|
|
3770
|
-
retryHint?:
|
|
3770
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
3771
3771
|
simulations?: unknown;
|
|
3772
3772
|
} & {
|
|
3773
3773
|
[key: string]: unknown;
|
|
3774
3774
|
};
|
|
3775
3775
|
} | {
|
|
3776
3776
|
/** @enum {string} */
|
|
3777
|
-
code:
|
|
3777
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
3778
3778
|
/**
|
|
3779
3779
|
* @description Human-readable error message
|
|
3780
3780
|
* @example Invalid input
|
|
@@ -3793,7 +3793,7 @@ export interface operations {
|
|
|
3793
3793
|
};
|
|
3794
3794
|
} | {
|
|
3795
3795
|
/** @enum {string} */
|
|
3796
|
-
code:
|
|
3796
|
+
code: 'KEY_SCOPE_DENIED';
|
|
3797
3797
|
/**
|
|
3798
3798
|
* @description Human-readable error message
|
|
3799
3799
|
* @example Invalid input
|
|
@@ -3807,16 +3807,16 @@ export interface operations {
|
|
|
3807
3807
|
* @description Which scope rejected the request
|
|
3808
3808
|
* @enum {string}
|
|
3809
3809
|
*/
|
|
3810
|
-
scope:
|
|
3810
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
3811
3811
|
/** @description Minimum level the endpoint demands */
|
|
3812
|
-
required: boolean | (
|
|
3812
|
+
required: boolean | ('read' | 'write');
|
|
3813
3813
|
/** @description Level resolved on the key */
|
|
3814
|
-
actual: boolean | (
|
|
3814
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
3815
3815
|
};
|
|
3816
3816
|
}[];
|
|
3817
3817
|
} | {
|
|
3818
3818
|
/** @enum {string} */
|
|
3819
|
-
code:
|
|
3819
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
3820
3820
|
/**
|
|
3821
3821
|
* @description Human-readable error message
|
|
3822
3822
|
* @example Invalid input
|
|
@@ -3831,9 +3831,9 @@ export interface operations {
|
|
|
3831
3831
|
[name: string]: unknown;
|
|
3832
3832
|
};
|
|
3833
3833
|
content: {
|
|
3834
|
-
|
|
3834
|
+
'application/json': {
|
|
3835
3835
|
/** @enum {string} */
|
|
3836
|
-
code:
|
|
3836
|
+
code: 'VALIDATION_ERROR';
|
|
3837
3837
|
/**
|
|
3838
3838
|
* @description Human-readable error message
|
|
3839
3839
|
* @example Invalid input
|
|
@@ -3850,7 +3850,7 @@ export interface operations {
|
|
|
3850
3850
|
}[];
|
|
3851
3851
|
} | {
|
|
3852
3852
|
/** @enum {string} */
|
|
3853
|
-
code:
|
|
3853
|
+
code: 'SIMULATION_FAILED';
|
|
3854
3854
|
/**
|
|
3855
3855
|
* @description Human-readable error message
|
|
3856
3856
|
* @example Invalid input
|
|
@@ -3867,14 +3867,14 @@ export interface operations {
|
|
|
3867
3867
|
};
|
|
3868
3868
|
retryable: boolean;
|
|
3869
3869
|
/** @enum {string} */
|
|
3870
|
-
retryHint?:
|
|
3870
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
3871
3871
|
simulations?: unknown;
|
|
3872
3872
|
} & {
|
|
3873
3873
|
[key: string]: unknown;
|
|
3874
3874
|
};
|
|
3875
3875
|
} | {
|
|
3876
3876
|
/** @enum {string} */
|
|
3877
|
-
code:
|
|
3877
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
3878
3878
|
/**
|
|
3879
3879
|
* @description Human-readable error message
|
|
3880
3880
|
* @example Invalid input
|
|
@@ -3893,7 +3893,7 @@ export interface operations {
|
|
|
3893
3893
|
};
|
|
3894
3894
|
} | {
|
|
3895
3895
|
/** @enum {string} */
|
|
3896
|
-
code:
|
|
3896
|
+
code: 'KEY_SCOPE_DENIED';
|
|
3897
3897
|
/**
|
|
3898
3898
|
* @description Human-readable error message
|
|
3899
3899
|
* @example Invalid input
|
|
@@ -3907,16 +3907,16 @@ export interface operations {
|
|
|
3907
3907
|
* @description Which scope rejected the request
|
|
3908
3908
|
* @enum {string}
|
|
3909
3909
|
*/
|
|
3910
|
-
scope:
|
|
3910
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
3911
3911
|
/** @description Minimum level the endpoint demands */
|
|
3912
|
-
required: boolean | (
|
|
3912
|
+
required: boolean | ('read' | 'write');
|
|
3913
3913
|
/** @description Level resolved on the key */
|
|
3914
|
-
actual: boolean | (
|
|
3914
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
3915
3915
|
};
|
|
3916
3916
|
}[];
|
|
3917
3917
|
} | {
|
|
3918
3918
|
/** @enum {string} */
|
|
3919
|
-
code:
|
|
3919
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
3920
3920
|
/**
|
|
3921
3921
|
* @description Human-readable error message
|
|
3922
3922
|
* @example Invalid input
|
|
@@ -3931,9 +3931,9 @@ export interface operations {
|
|
|
3931
3931
|
[name: string]: unknown;
|
|
3932
3932
|
};
|
|
3933
3933
|
content: {
|
|
3934
|
-
|
|
3934
|
+
'application/json': {
|
|
3935
3935
|
/** @enum {string} */
|
|
3936
|
-
code:
|
|
3936
|
+
code: 'VALIDATION_ERROR';
|
|
3937
3937
|
/**
|
|
3938
3938
|
* @description Human-readable error message
|
|
3939
3939
|
* @example Invalid input
|
|
@@ -3950,7 +3950,7 @@ export interface operations {
|
|
|
3950
3950
|
}[];
|
|
3951
3951
|
} | {
|
|
3952
3952
|
/** @enum {string} */
|
|
3953
|
-
code:
|
|
3953
|
+
code: 'SIMULATION_FAILED';
|
|
3954
3954
|
/**
|
|
3955
3955
|
* @description Human-readable error message
|
|
3956
3956
|
* @example Invalid input
|
|
@@ -3967,14 +3967,14 @@ export interface operations {
|
|
|
3967
3967
|
};
|
|
3968
3968
|
retryable: boolean;
|
|
3969
3969
|
/** @enum {string} */
|
|
3970
|
-
retryHint?:
|
|
3970
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
3971
3971
|
simulations?: unknown;
|
|
3972
3972
|
} & {
|
|
3973
3973
|
[key: string]: unknown;
|
|
3974
3974
|
};
|
|
3975
3975
|
} | {
|
|
3976
3976
|
/** @enum {string} */
|
|
3977
|
-
code:
|
|
3977
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
3978
3978
|
/**
|
|
3979
3979
|
* @description Human-readable error message
|
|
3980
3980
|
* @example Invalid input
|
|
@@ -3993,7 +3993,7 @@ export interface operations {
|
|
|
3993
3993
|
};
|
|
3994
3994
|
} | {
|
|
3995
3995
|
/** @enum {string} */
|
|
3996
|
-
code:
|
|
3996
|
+
code: 'KEY_SCOPE_DENIED';
|
|
3997
3997
|
/**
|
|
3998
3998
|
* @description Human-readable error message
|
|
3999
3999
|
* @example Invalid input
|
|
@@ -4007,16 +4007,16 @@ export interface operations {
|
|
|
4007
4007
|
* @description Which scope rejected the request
|
|
4008
4008
|
* @enum {string}
|
|
4009
4009
|
*/
|
|
4010
|
-
scope:
|
|
4010
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4011
4011
|
/** @description Minimum level the endpoint demands */
|
|
4012
|
-
required: boolean | (
|
|
4012
|
+
required: boolean | ('read' | 'write');
|
|
4013
4013
|
/** @description Level resolved on the key */
|
|
4014
|
-
actual: boolean | (
|
|
4014
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4015
4015
|
};
|
|
4016
4016
|
}[];
|
|
4017
4017
|
} | {
|
|
4018
4018
|
/** @enum {string} */
|
|
4019
|
-
code:
|
|
4019
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
4020
4020
|
/**
|
|
4021
4021
|
* @description Human-readable error message
|
|
4022
4022
|
* @example Invalid input
|
|
@@ -4032,9 +4032,9 @@ export interface operations {
|
|
|
4032
4032
|
query?: never;
|
|
4033
4033
|
header: {
|
|
4034
4034
|
/** @description API version. Required; pinned to this document. */
|
|
4035
|
-
|
|
4035
|
+
'x-api-version': '2026-04.blanc';
|
|
4036
4036
|
/** @description API key. */
|
|
4037
|
-
|
|
4037
|
+
'x-api-key': string;
|
|
4038
4038
|
};
|
|
4039
4039
|
path?: never;
|
|
4040
4040
|
cookie?: never;
|
|
@@ -4047,7 +4047,7 @@ export interface operations {
|
|
|
4047
4047
|
[name: string]: unknown;
|
|
4048
4048
|
};
|
|
4049
4049
|
content: {
|
|
4050
|
-
|
|
4050
|
+
'application/json': {
|
|
4051
4051
|
withdrawableUsd: number;
|
|
4052
4052
|
pendingUsd: number;
|
|
4053
4053
|
};
|
|
@@ -4059,9 +4059,9 @@ export interface operations {
|
|
|
4059
4059
|
[name: string]: unknown;
|
|
4060
4060
|
};
|
|
4061
4061
|
content: {
|
|
4062
|
-
|
|
4062
|
+
'application/json': {
|
|
4063
4063
|
/** @enum {string} */
|
|
4064
|
-
code:
|
|
4064
|
+
code: 'VALIDATION_ERROR';
|
|
4065
4065
|
/**
|
|
4066
4066
|
* @description Human-readable error message
|
|
4067
4067
|
* @example Invalid input
|
|
@@ -4078,7 +4078,7 @@ export interface operations {
|
|
|
4078
4078
|
}[];
|
|
4079
4079
|
} | {
|
|
4080
4080
|
/** @enum {string} */
|
|
4081
|
-
code:
|
|
4081
|
+
code: 'SIMULATION_FAILED';
|
|
4082
4082
|
/**
|
|
4083
4083
|
* @description Human-readable error message
|
|
4084
4084
|
* @example Invalid input
|
|
@@ -4095,14 +4095,14 @@ export interface operations {
|
|
|
4095
4095
|
};
|
|
4096
4096
|
retryable: boolean;
|
|
4097
4097
|
/** @enum {string} */
|
|
4098
|
-
retryHint?:
|
|
4098
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4099
4099
|
simulations?: unknown;
|
|
4100
4100
|
} & {
|
|
4101
4101
|
[key: string]: unknown;
|
|
4102
4102
|
};
|
|
4103
4103
|
} | {
|
|
4104
4104
|
/** @enum {string} */
|
|
4105
|
-
code:
|
|
4105
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4106
4106
|
/**
|
|
4107
4107
|
* @description Human-readable error message
|
|
4108
4108
|
* @example Invalid input
|
|
@@ -4121,7 +4121,7 @@ export interface operations {
|
|
|
4121
4121
|
};
|
|
4122
4122
|
} | {
|
|
4123
4123
|
/** @enum {string} */
|
|
4124
|
-
code:
|
|
4124
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4125
4125
|
/**
|
|
4126
4126
|
* @description Human-readable error message
|
|
4127
4127
|
* @example Invalid input
|
|
@@ -4135,16 +4135,16 @@ export interface operations {
|
|
|
4135
4135
|
* @description Which scope rejected the request
|
|
4136
4136
|
* @enum {string}
|
|
4137
4137
|
*/
|
|
4138
|
-
scope:
|
|
4138
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4139
4139
|
/** @description Minimum level the endpoint demands */
|
|
4140
|
-
required: boolean | (
|
|
4140
|
+
required: boolean | ('read' | 'write');
|
|
4141
4141
|
/** @description Level resolved on the key */
|
|
4142
|
-
actual: boolean | (
|
|
4142
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4143
4143
|
};
|
|
4144
4144
|
}[];
|
|
4145
4145
|
} | {
|
|
4146
4146
|
/** @enum {string} */
|
|
4147
|
-
code:
|
|
4147
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
4148
4148
|
/**
|
|
4149
4149
|
* @description Human-readable error message
|
|
4150
4150
|
* @example Invalid input
|
|
@@ -4159,9 +4159,9 @@ export interface operations {
|
|
|
4159
4159
|
[name: string]: unknown;
|
|
4160
4160
|
};
|
|
4161
4161
|
content: {
|
|
4162
|
-
|
|
4162
|
+
'application/json': {
|
|
4163
4163
|
/** @enum {string} */
|
|
4164
|
-
code:
|
|
4164
|
+
code: 'VALIDATION_ERROR';
|
|
4165
4165
|
/**
|
|
4166
4166
|
* @description Human-readable error message
|
|
4167
4167
|
* @example Invalid input
|
|
@@ -4178,7 +4178,7 @@ export interface operations {
|
|
|
4178
4178
|
}[];
|
|
4179
4179
|
} | {
|
|
4180
4180
|
/** @enum {string} */
|
|
4181
|
-
code:
|
|
4181
|
+
code: 'SIMULATION_FAILED';
|
|
4182
4182
|
/**
|
|
4183
4183
|
* @description Human-readable error message
|
|
4184
4184
|
* @example Invalid input
|
|
@@ -4195,14 +4195,14 @@ export interface operations {
|
|
|
4195
4195
|
};
|
|
4196
4196
|
retryable: boolean;
|
|
4197
4197
|
/** @enum {string} */
|
|
4198
|
-
retryHint?:
|
|
4198
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4199
4199
|
simulations?: unknown;
|
|
4200
4200
|
} & {
|
|
4201
4201
|
[key: string]: unknown;
|
|
4202
4202
|
};
|
|
4203
4203
|
} | {
|
|
4204
4204
|
/** @enum {string} */
|
|
4205
|
-
code:
|
|
4205
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4206
4206
|
/**
|
|
4207
4207
|
* @description Human-readable error message
|
|
4208
4208
|
* @example Invalid input
|
|
@@ -4221,7 +4221,7 @@ export interface operations {
|
|
|
4221
4221
|
};
|
|
4222
4222
|
} | {
|
|
4223
4223
|
/** @enum {string} */
|
|
4224
|
-
code:
|
|
4224
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4225
4225
|
/**
|
|
4226
4226
|
* @description Human-readable error message
|
|
4227
4227
|
* @example Invalid input
|
|
@@ -4235,16 +4235,16 @@ export interface operations {
|
|
|
4235
4235
|
* @description Which scope rejected the request
|
|
4236
4236
|
* @enum {string}
|
|
4237
4237
|
*/
|
|
4238
|
-
scope:
|
|
4238
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4239
4239
|
/** @description Minimum level the endpoint demands */
|
|
4240
|
-
required: boolean | (
|
|
4240
|
+
required: boolean | ('read' | 'write');
|
|
4241
4241
|
/** @description Level resolved on the key */
|
|
4242
|
-
actual: boolean | (
|
|
4242
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4243
4243
|
};
|
|
4244
4244
|
}[];
|
|
4245
4245
|
} | {
|
|
4246
4246
|
/** @enum {string} */
|
|
4247
|
-
code:
|
|
4247
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
4248
4248
|
/**
|
|
4249
4249
|
* @description Human-readable error message
|
|
4250
4250
|
* @example Invalid input
|
|
@@ -4259,9 +4259,9 @@ export interface operations {
|
|
|
4259
4259
|
[name: string]: unknown;
|
|
4260
4260
|
};
|
|
4261
4261
|
content: {
|
|
4262
|
-
|
|
4262
|
+
'application/json': {
|
|
4263
4263
|
/** @enum {string} */
|
|
4264
|
-
code:
|
|
4264
|
+
code: 'VALIDATION_ERROR';
|
|
4265
4265
|
/**
|
|
4266
4266
|
* @description Human-readable error message
|
|
4267
4267
|
* @example Invalid input
|
|
@@ -4278,7 +4278,7 @@ export interface operations {
|
|
|
4278
4278
|
}[];
|
|
4279
4279
|
} | {
|
|
4280
4280
|
/** @enum {string} */
|
|
4281
|
-
code:
|
|
4281
|
+
code: 'SIMULATION_FAILED';
|
|
4282
4282
|
/**
|
|
4283
4283
|
* @description Human-readable error message
|
|
4284
4284
|
* @example Invalid input
|
|
@@ -4295,14 +4295,14 @@ export interface operations {
|
|
|
4295
4295
|
};
|
|
4296
4296
|
retryable: boolean;
|
|
4297
4297
|
/** @enum {string} */
|
|
4298
|
-
retryHint?:
|
|
4298
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4299
4299
|
simulations?: unknown;
|
|
4300
4300
|
} & {
|
|
4301
4301
|
[key: string]: unknown;
|
|
4302
4302
|
};
|
|
4303
4303
|
} | {
|
|
4304
4304
|
/** @enum {string} */
|
|
4305
|
-
code:
|
|
4305
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4306
4306
|
/**
|
|
4307
4307
|
* @description Human-readable error message
|
|
4308
4308
|
* @example Invalid input
|
|
@@ -4321,7 +4321,7 @@ export interface operations {
|
|
|
4321
4321
|
};
|
|
4322
4322
|
} | {
|
|
4323
4323
|
/** @enum {string} */
|
|
4324
|
-
code:
|
|
4324
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4325
4325
|
/**
|
|
4326
4326
|
* @description Human-readable error message
|
|
4327
4327
|
* @example Invalid input
|
|
@@ -4335,16 +4335,16 @@ export interface operations {
|
|
|
4335
4335
|
* @description Which scope rejected the request
|
|
4336
4336
|
* @enum {string}
|
|
4337
4337
|
*/
|
|
4338
|
-
scope:
|
|
4338
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4339
4339
|
/** @description Minimum level the endpoint demands */
|
|
4340
|
-
required: boolean | (
|
|
4340
|
+
required: boolean | ('read' | 'write');
|
|
4341
4341
|
/** @description Level resolved on the key */
|
|
4342
|
-
actual: boolean | (
|
|
4342
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4343
4343
|
};
|
|
4344
4344
|
}[];
|
|
4345
4345
|
} | {
|
|
4346
4346
|
/** @enum {string} */
|
|
4347
|
-
code:
|
|
4347
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
4348
4348
|
/**
|
|
4349
4349
|
* @description Human-readable error message
|
|
4350
4350
|
* @example Invalid input
|
|
@@ -4360,9 +4360,9 @@ export interface operations {
|
|
|
4360
4360
|
query?: never;
|
|
4361
4361
|
header: {
|
|
4362
4362
|
/** @description API version. Required; pinned to this document. */
|
|
4363
|
-
|
|
4363
|
+
'x-api-version': '2026-04.blanc';
|
|
4364
4364
|
/** @description API key. */
|
|
4365
|
-
|
|
4365
|
+
'x-api-key': string;
|
|
4366
4366
|
};
|
|
4367
4367
|
path?: never;
|
|
4368
4368
|
cookie?: never;
|
|
@@ -4375,11 +4375,11 @@ export interface operations {
|
|
|
4375
4375
|
[name: string]: unknown;
|
|
4376
4376
|
};
|
|
4377
4377
|
content: {
|
|
4378
|
-
|
|
4378
|
+
'application/json': {
|
|
4379
4379
|
withdrawals: {
|
|
4380
4380
|
requestNonce: string;
|
|
4381
4381
|
/** @enum {string} */
|
|
4382
|
-
status:
|
|
4382
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
4383
4383
|
payoutUsd: number;
|
|
4384
4384
|
targetChainId: number;
|
|
4385
4385
|
targetToken: string;
|
|
@@ -4397,9 +4397,9 @@ export interface operations {
|
|
|
4397
4397
|
[name: string]: unknown;
|
|
4398
4398
|
};
|
|
4399
4399
|
content: {
|
|
4400
|
-
|
|
4400
|
+
'application/json': {
|
|
4401
4401
|
/** @enum {string} */
|
|
4402
|
-
code:
|
|
4402
|
+
code: 'VALIDATION_ERROR';
|
|
4403
4403
|
/**
|
|
4404
4404
|
* @description Human-readable error message
|
|
4405
4405
|
* @example Invalid input
|
|
@@ -4416,7 +4416,7 @@ export interface operations {
|
|
|
4416
4416
|
}[];
|
|
4417
4417
|
} | {
|
|
4418
4418
|
/** @enum {string} */
|
|
4419
|
-
code:
|
|
4419
|
+
code: 'SIMULATION_FAILED';
|
|
4420
4420
|
/**
|
|
4421
4421
|
* @description Human-readable error message
|
|
4422
4422
|
* @example Invalid input
|
|
@@ -4433,14 +4433,14 @@ export interface operations {
|
|
|
4433
4433
|
};
|
|
4434
4434
|
retryable: boolean;
|
|
4435
4435
|
/** @enum {string} */
|
|
4436
|
-
retryHint?:
|
|
4436
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4437
4437
|
simulations?: unknown;
|
|
4438
4438
|
} & {
|
|
4439
4439
|
[key: string]: unknown;
|
|
4440
4440
|
};
|
|
4441
4441
|
} | {
|
|
4442
4442
|
/** @enum {string} */
|
|
4443
|
-
code:
|
|
4443
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4444
4444
|
/**
|
|
4445
4445
|
* @description Human-readable error message
|
|
4446
4446
|
* @example Invalid input
|
|
@@ -4459,7 +4459,7 @@ export interface operations {
|
|
|
4459
4459
|
};
|
|
4460
4460
|
} | {
|
|
4461
4461
|
/** @enum {string} */
|
|
4462
|
-
code:
|
|
4462
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4463
4463
|
/**
|
|
4464
4464
|
* @description Human-readable error message
|
|
4465
4465
|
* @example Invalid input
|
|
@@ -4473,16 +4473,16 @@ export interface operations {
|
|
|
4473
4473
|
* @description Which scope rejected the request
|
|
4474
4474
|
* @enum {string}
|
|
4475
4475
|
*/
|
|
4476
|
-
scope:
|
|
4476
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4477
4477
|
/** @description Minimum level the endpoint demands */
|
|
4478
|
-
required: boolean | (
|
|
4478
|
+
required: boolean | ('read' | 'write');
|
|
4479
4479
|
/** @description Level resolved on the key */
|
|
4480
|
-
actual: boolean | (
|
|
4480
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4481
4481
|
};
|
|
4482
4482
|
}[];
|
|
4483
4483
|
} | {
|
|
4484
4484
|
/** @enum {string} */
|
|
4485
|
-
code:
|
|
4485
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
4486
4486
|
/**
|
|
4487
4487
|
* @description Human-readable error message
|
|
4488
4488
|
* @example Invalid input
|
|
@@ -4497,9 +4497,9 @@ export interface operations {
|
|
|
4497
4497
|
[name: string]: unknown;
|
|
4498
4498
|
};
|
|
4499
4499
|
content: {
|
|
4500
|
-
|
|
4500
|
+
'application/json': {
|
|
4501
4501
|
/** @enum {string} */
|
|
4502
|
-
code:
|
|
4502
|
+
code: 'VALIDATION_ERROR';
|
|
4503
4503
|
/**
|
|
4504
4504
|
* @description Human-readable error message
|
|
4505
4505
|
* @example Invalid input
|
|
@@ -4516,7 +4516,7 @@ export interface operations {
|
|
|
4516
4516
|
}[];
|
|
4517
4517
|
} | {
|
|
4518
4518
|
/** @enum {string} */
|
|
4519
|
-
code:
|
|
4519
|
+
code: 'SIMULATION_FAILED';
|
|
4520
4520
|
/**
|
|
4521
4521
|
* @description Human-readable error message
|
|
4522
4522
|
* @example Invalid input
|
|
@@ -4533,14 +4533,14 @@ export interface operations {
|
|
|
4533
4533
|
};
|
|
4534
4534
|
retryable: boolean;
|
|
4535
4535
|
/** @enum {string} */
|
|
4536
|
-
retryHint?:
|
|
4536
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4537
4537
|
simulations?: unknown;
|
|
4538
4538
|
} & {
|
|
4539
4539
|
[key: string]: unknown;
|
|
4540
4540
|
};
|
|
4541
4541
|
} | {
|
|
4542
4542
|
/** @enum {string} */
|
|
4543
|
-
code:
|
|
4543
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4544
4544
|
/**
|
|
4545
4545
|
* @description Human-readable error message
|
|
4546
4546
|
* @example Invalid input
|
|
@@ -4559,7 +4559,7 @@ export interface operations {
|
|
|
4559
4559
|
};
|
|
4560
4560
|
} | {
|
|
4561
4561
|
/** @enum {string} */
|
|
4562
|
-
code:
|
|
4562
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4563
4563
|
/**
|
|
4564
4564
|
* @description Human-readable error message
|
|
4565
4565
|
* @example Invalid input
|
|
@@ -4573,16 +4573,16 @@ export interface operations {
|
|
|
4573
4573
|
* @description Which scope rejected the request
|
|
4574
4574
|
* @enum {string}
|
|
4575
4575
|
*/
|
|
4576
|
-
scope:
|
|
4576
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4577
4577
|
/** @description Minimum level the endpoint demands */
|
|
4578
|
-
required: boolean | (
|
|
4578
|
+
required: boolean | ('read' | 'write');
|
|
4579
4579
|
/** @description Level resolved on the key */
|
|
4580
|
-
actual: boolean | (
|
|
4580
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4581
4581
|
};
|
|
4582
4582
|
}[];
|
|
4583
4583
|
} | {
|
|
4584
4584
|
/** @enum {string} */
|
|
4585
|
-
code:
|
|
4585
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
4586
4586
|
/**
|
|
4587
4587
|
* @description Human-readable error message
|
|
4588
4588
|
* @example Invalid input
|
|
@@ -4597,9 +4597,9 @@ export interface operations {
|
|
|
4597
4597
|
[name: string]: unknown;
|
|
4598
4598
|
};
|
|
4599
4599
|
content: {
|
|
4600
|
-
|
|
4600
|
+
'application/json': {
|
|
4601
4601
|
/** @enum {string} */
|
|
4602
|
-
code:
|
|
4602
|
+
code: 'VALIDATION_ERROR';
|
|
4603
4603
|
/**
|
|
4604
4604
|
* @description Human-readable error message
|
|
4605
4605
|
* @example Invalid input
|
|
@@ -4616,7 +4616,7 @@ export interface operations {
|
|
|
4616
4616
|
}[];
|
|
4617
4617
|
} | {
|
|
4618
4618
|
/** @enum {string} */
|
|
4619
|
-
code:
|
|
4619
|
+
code: 'SIMULATION_FAILED';
|
|
4620
4620
|
/**
|
|
4621
4621
|
* @description Human-readable error message
|
|
4622
4622
|
* @example Invalid input
|
|
@@ -4633,14 +4633,14 @@ export interface operations {
|
|
|
4633
4633
|
};
|
|
4634
4634
|
retryable: boolean;
|
|
4635
4635
|
/** @enum {string} */
|
|
4636
|
-
retryHint?:
|
|
4636
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4637
4637
|
simulations?: unknown;
|
|
4638
4638
|
} & {
|
|
4639
4639
|
[key: string]: unknown;
|
|
4640
4640
|
};
|
|
4641
4641
|
} | {
|
|
4642
4642
|
/** @enum {string} */
|
|
4643
|
-
code:
|
|
4643
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4644
4644
|
/**
|
|
4645
4645
|
* @description Human-readable error message
|
|
4646
4646
|
* @example Invalid input
|
|
@@ -4659,7 +4659,7 @@ export interface operations {
|
|
|
4659
4659
|
};
|
|
4660
4660
|
} | {
|
|
4661
4661
|
/** @enum {string} */
|
|
4662
|
-
code:
|
|
4662
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4663
4663
|
/**
|
|
4664
4664
|
* @description Human-readable error message
|
|
4665
4665
|
* @example Invalid input
|
|
@@ -4673,16 +4673,16 @@ export interface operations {
|
|
|
4673
4673
|
* @description Which scope rejected the request
|
|
4674
4674
|
* @enum {string}
|
|
4675
4675
|
*/
|
|
4676
|
-
scope:
|
|
4676
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4677
4677
|
/** @description Minimum level the endpoint demands */
|
|
4678
|
-
required: boolean | (
|
|
4678
|
+
required: boolean | ('read' | 'write');
|
|
4679
4679
|
/** @description Level resolved on the key */
|
|
4680
|
-
actual: boolean | (
|
|
4680
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4681
4681
|
};
|
|
4682
4682
|
}[];
|
|
4683
4683
|
} | {
|
|
4684
4684
|
/** @enum {string} */
|
|
4685
|
-
code:
|
|
4685
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
4686
4686
|
/**
|
|
4687
4687
|
* @description Human-readable error message
|
|
4688
4688
|
* @example Invalid input
|
|
@@ -4697,9 +4697,9 @@ export interface operations {
|
|
|
4697
4697
|
[name: string]: unknown;
|
|
4698
4698
|
};
|
|
4699
4699
|
content: {
|
|
4700
|
-
|
|
4700
|
+
'application/json': {
|
|
4701
4701
|
/** @enum {string} */
|
|
4702
|
-
code:
|
|
4702
|
+
code: 'VALIDATION_ERROR';
|
|
4703
4703
|
/**
|
|
4704
4704
|
* @description Human-readable error message
|
|
4705
4705
|
* @example Invalid input
|
|
@@ -4716,7 +4716,7 @@ export interface operations {
|
|
|
4716
4716
|
}[];
|
|
4717
4717
|
} | {
|
|
4718
4718
|
/** @enum {string} */
|
|
4719
|
-
code:
|
|
4719
|
+
code: 'SIMULATION_FAILED';
|
|
4720
4720
|
/**
|
|
4721
4721
|
* @description Human-readable error message
|
|
4722
4722
|
* @example Invalid input
|
|
@@ -4733,14 +4733,14 @@ export interface operations {
|
|
|
4733
4733
|
};
|
|
4734
4734
|
retryable: boolean;
|
|
4735
4735
|
/** @enum {string} */
|
|
4736
|
-
retryHint?:
|
|
4736
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4737
4737
|
simulations?: unknown;
|
|
4738
4738
|
} & {
|
|
4739
4739
|
[key: string]: unknown;
|
|
4740
4740
|
};
|
|
4741
4741
|
} | {
|
|
4742
4742
|
/** @enum {string} */
|
|
4743
|
-
code:
|
|
4743
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4744
4744
|
/**
|
|
4745
4745
|
* @description Human-readable error message
|
|
4746
4746
|
* @example Invalid input
|
|
@@ -4759,7 +4759,7 @@ export interface operations {
|
|
|
4759
4759
|
};
|
|
4760
4760
|
} | {
|
|
4761
4761
|
/** @enum {string} */
|
|
4762
|
-
code:
|
|
4762
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4763
4763
|
/**
|
|
4764
4764
|
* @description Human-readable error message
|
|
4765
4765
|
* @example Invalid input
|
|
@@ -4773,16 +4773,16 @@ export interface operations {
|
|
|
4773
4773
|
* @description Which scope rejected the request
|
|
4774
4774
|
* @enum {string}
|
|
4775
4775
|
*/
|
|
4776
|
-
scope:
|
|
4776
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4777
4777
|
/** @description Minimum level the endpoint demands */
|
|
4778
|
-
required: boolean | (
|
|
4778
|
+
required: boolean | ('read' | 'write');
|
|
4779
4779
|
/** @description Level resolved on the key */
|
|
4780
|
-
actual: boolean | (
|
|
4780
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4781
4781
|
};
|
|
4782
4782
|
}[];
|
|
4783
4783
|
} | {
|
|
4784
4784
|
/** @enum {string} */
|
|
4785
|
-
code:
|
|
4785
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
4786
4786
|
/**
|
|
4787
4787
|
* @description Human-readable error message
|
|
4788
4788
|
* @example Invalid input
|
|
@@ -4798,16 +4798,16 @@ export interface operations {
|
|
|
4798
4798
|
query?: never;
|
|
4799
4799
|
header: {
|
|
4800
4800
|
/** @description API version. Required; pinned to this document. */
|
|
4801
|
-
|
|
4801
|
+
'x-api-version': '2026-04.blanc';
|
|
4802
4802
|
/** @description API key. */
|
|
4803
|
-
|
|
4803
|
+
'x-api-key': string;
|
|
4804
4804
|
};
|
|
4805
4805
|
path?: never;
|
|
4806
4806
|
cookie?: never;
|
|
4807
4807
|
};
|
|
4808
4808
|
requestBody: {
|
|
4809
4809
|
content: {
|
|
4810
|
-
|
|
4810
|
+
'application/json': {
|
|
4811
4811
|
targetChainId: number;
|
|
4812
4812
|
targetToken: string;
|
|
4813
4813
|
};
|
|
@@ -4820,7 +4820,7 @@ export interface operations {
|
|
|
4820
4820
|
[name: string]: unknown;
|
|
4821
4821
|
};
|
|
4822
4822
|
content: {
|
|
4823
|
-
|
|
4823
|
+
'application/json': {
|
|
4824
4824
|
requestNonce: string;
|
|
4825
4825
|
};
|
|
4826
4826
|
};
|
|
@@ -4831,9 +4831,9 @@ export interface operations {
|
|
|
4831
4831
|
[name: string]: unknown;
|
|
4832
4832
|
};
|
|
4833
4833
|
content: {
|
|
4834
|
-
|
|
4834
|
+
'application/json': {
|
|
4835
4835
|
/** @enum {string} */
|
|
4836
|
-
code:
|
|
4836
|
+
code: 'VALIDATION_ERROR';
|
|
4837
4837
|
/**
|
|
4838
4838
|
* @description Human-readable error message
|
|
4839
4839
|
* @example Invalid input
|
|
@@ -4850,7 +4850,7 @@ export interface operations {
|
|
|
4850
4850
|
}[];
|
|
4851
4851
|
} | {
|
|
4852
4852
|
/** @enum {string} */
|
|
4853
|
-
code:
|
|
4853
|
+
code: 'SIMULATION_FAILED';
|
|
4854
4854
|
/**
|
|
4855
4855
|
* @description Human-readable error message
|
|
4856
4856
|
* @example Invalid input
|
|
@@ -4867,14 +4867,14 @@ export interface operations {
|
|
|
4867
4867
|
};
|
|
4868
4868
|
retryable: boolean;
|
|
4869
4869
|
/** @enum {string} */
|
|
4870
|
-
retryHint?:
|
|
4870
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4871
4871
|
simulations?: unknown;
|
|
4872
4872
|
} & {
|
|
4873
4873
|
[key: string]: unknown;
|
|
4874
4874
|
};
|
|
4875
4875
|
} | {
|
|
4876
4876
|
/** @enum {string} */
|
|
4877
|
-
code:
|
|
4877
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4878
4878
|
/**
|
|
4879
4879
|
* @description Human-readable error message
|
|
4880
4880
|
* @example Invalid input
|
|
@@ -4893,7 +4893,7 @@ export interface operations {
|
|
|
4893
4893
|
};
|
|
4894
4894
|
} | {
|
|
4895
4895
|
/** @enum {string} */
|
|
4896
|
-
code:
|
|
4896
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4897
4897
|
/**
|
|
4898
4898
|
* @description Human-readable error message
|
|
4899
4899
|
* @example Invalid input
|
|
@@ -4907,16 +4907,16 @@ export interface operations {
|
|
|
4907
4907
|
* @description Which scope rejected the request
|
|
4908
4908
|
* @enum {string}
|
|
4909
4909
|
*/
|
|
4910
|
-
scope:
|
|
4910
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4911
4911
|
/** @description Minimum level the endpoint demands */
|
|
4912
|
-
required: boolean | (
|
|
4912
|
+
required: boolean | ('read' | 'write');
|
|
4913
4913
|
/** @description Level resolved on the key */
|
|
4914
|
-
actual: boolean | (
|
|
4914
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4915
4915
|
};
|
|
4916
4916
|
}[];
|
|
4917
4917
|
} | {
|
|
4918
4918
|
/** @enum {string} */
|
|
4919
|
-
code:
|
|
4919
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
4920
4920
|
/**
|
|
4921
4921
|
* @description Human-readable error message
|
|
4922
4922
|
* @example Invalid input
|
|
@@ -4931,9 +4931,9 @@ export interface operations {
|
|
|
4931
4931
|
[name: string]: unknown;
|
|
4932
4932
|
};
|
|
4933
4933
|
content: {
|
|
4934
|
-
|
|
4934
|
+
'application/json': {
|
|
4935
4935
|
/** @enum {string} */
|
|
4936
|
-
code:
|
|
4936
|
+
code: 'VALIDATION_ERROR';
|
|
4937
4937
|
/**
|
|
4938
4938
|
* @description Human-readable error message
|
|
4939
4939
|
* @example Invalid input
|
|
@@ -4950,7 +4950,7 @@ export interface operations {
|
|
|
4950
4950
|
}[];
|
|
4951
4951
|
} | {
|
|
4952
4952
|
/** @enum {string} */
|
|
4953
|
-
code:
|
|
4953
|
+
code: 'SIMULATION_FAILED';
|
|
4954
4954
|
/**
|
|
4955
4955
|
* @description Human-readable error message
|
|
4956
4956
|
* @example Invalid input
|
|
@@ -4967,14 +4967,14 @@ export interface operations {
|
|
|
4967
4967
|
};
|
|
4968
4968
|
retryable: boolean;
|
|
4969
4969
|
/** @enum {string} */
|
|
4970
|
-
retryHint?:
|
|
4970
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4971
4971
|
simulations?: unknown;
|
|
4972
4972
|
} & {
|
|
4973
4973
|
[key: string]: unknown;
|
|
4974
4974
|
};
|
|
4975
4975
|
} | {
|
|
4976
4976
|
/** @enum {string} */
|
|
4977
|
-
code:
|
|
4977
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4978
4978
|
/**
|
|
4979
4979
|
* @description Human-readable error message
|
|
4980
4980
|
* @example Invalid input
|
|
@@ -4993,7 +4993,7 @@ export interface operations {
|
|
|
4993
4993
|
};
|
|
4994
4994
|
} | {
|
|
4995
4995
|
/** @enum {string} */
|
|
4996
|
-
code:
|
|
4996
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4997
4997
|
/**
|
|
4998
4998
|
* @description Human-readable error message
|
|
4999
4999
|
* @example Invalid input
|
|
@@ -5007,16 +5007,16 @@ export interface operations {
|
|
|
5007
5007
|
* @description Which scope rejected the request
|
|
5008
5008
|
* @enum {string}
|
|
5009
5009
|
*/
|
|
5010
|
-
scope:
|
|
5010
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5011
5011
|
/** @description Minimum level the endpoint demands */
|
|
5012
|
-
required: boolean | (
|
|
5012
|
+
required: boolean | ('read' | 'write');
|
|
5013
5013
|
/** @description Level resolved on the key */
|
|
5014
|
-
actual: boolean | (
|
|
5014
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5015
5015
|
};
|
|
5016
5016
|
}[];
|
|
5017
5017
|
} | {
|
|
5018
5018
|
/** @enum {string} */
|
|
5019
|
-
code:
|
|
5019
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
5020
5020
|
/**
|
|
5021
5021
|
* @description Human-readable error message
|
|
5022
5022
|
* @example Invalid input
|
|
@@ -5031,9 +5031,9 @@ export interface operations {
|
|
|
5031
5031
|
[name: string]: unknown;
|
|
5032
5032
|
};
|
|
5033
5033
|
content: {
|
|
5034
|
-
|
|
5034
|
+
'application/json': {
|
|
5035
5035
|
/** @enum {string} */
|
|
5036
|
-
code:
|
|
5036
|
+
code: 'VALIDATION_ERROR';
|
|
5037
5037
|
/**
|
|
5038
5038
|
* @description Human-readable error message
|
|
5039
5039
|
* @example Invalid input
|
|
@@ -5050,7 +5050,7 @@ export interface operations {
|
|
|
5050
5050
|
}[];
|
|
5051
5051
|
} | {
|
|
5052
5052
|
/** @enum {string} */
|
|
5053
|
-
code:
|
|
5053
|
+
code: 'SIMULATION_FAILED';
|
|
5054
5054
|
/**
|
|
5055
5055
|
* @description Human-readable error message
|
|
5056
5056
|
* @example Invalid input
|
|
@@ -5067,14 +5067,14 @@ export interface operations {
|
|
|
5067
5067
|
};
|
|
5068
5068
|
retryable: boolean;
|
|
5069
5069
|
/** @enum {string} */
|
|
5070
|
-
retryHint?:
|
|
5070
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
5071
5071
|
simulations?: unknown;
|
|
5072
5072
|
} & {
|
|
5073
5073
|
[key: string]: unknown;
|
|
5074
5074
|
};
|
|
5075
5075
|
} | {
|
|
5076
5076
|
/** @enum {string} */
|
|
5077
|
-
code:
|
|
5077
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
5078
5078
|
/**
|
|
5079
5079
|
* @description Human-readable error message
|
|
5080
5080
|
* @example Invalid input
|
|
@@ -5093,7 +5093,7 @@ export interface operations {
|
|
|
5093
5093
|
};
|
|
5094
5094
|
} | {
|
|
5095
5095
|
/** @enum {string} */
|
|
5096
|
-
code:
|
|
5096
|
+
code: 'KEY_SCOPE_DENIED';
|
|
5097
5097
|
/**
|
|
5098
5098
|
* @description Human-readable error message
|
|
5099
5099
|
* @example Invalid input
|
|
@@ -5107,16 +5107,16 @@ export interface operations {
|
|
|
5107
5107
|
* @description Which scope rejected the request
|
|
5108
5108
|
* @enum {string}
|
|
5109
5109
|
*/
|
|
5110
|
-
scope:
|
|
5110
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5111
5111
|
/** @description Minimum level the endpoint demands */
|
|
5112
|
-
required: boolean | (
|
|
5112
|
+
required: boolean | ('read' | 'write');
|
|
5113
5113
|
/** @description Level resolved on the key */
|
|
5114
|
-
actual: boolean | (
|
|
5114
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5115
5115
|
};
|
|
5116
5116
|
}[];
|
|
5117
5117
|
} | {
|
|
5118
5118
|
/** @enum {string} */
|
|
5119
|
-
code:
|
|
5119
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
5120
5120
|
/**
|
|
5121
5121
|
* @description Human-readable error message
|
|
5122
5122
|
* @example Invalid input
|
|
@@ -5131,9 +5131,9 @@ export interface operations {
|
|
|
5131
5131
|
[name: string]: unknown;
|
|
5132
5132
|
};
|
|
5133
5133
|
content: {
|
|
5134
|
-
|
|
5134
|
+
'application/json': {
|
|
5135
5135
|
/** @enum {string} */
|
|
5136
|
-
code:
|
|
5136
|
+
code: 'VALIDATION_ERROR';
|
|
5137
5137
|
/**
|
|
5138
5138
|
* @description Human-readable error message
|
|
5139
5139
|
* @example Invalid input
|
|
@@ -5150,7 +5150,7 @@ export interface operations {
|
|
|
5150
5150
|
}[];
|
|
5151
5151
|
} | {
|
|
5152
5152
|
/** @enum {string} */
|
|
5153
|
-
code:
|
|
5153
|
+
code: 'SIMULATION_FAILED';
|
|
5154
5154
|
/**
|
|
5155
5155
|
* @description Human-readable error message
|
|
5156
5156
|
* @example Invalid input
|
|
@@ -5167,14 +5167,14 @@ export interface operations {
|
|
|
5167
5167
|
};
|
|
5168
5168
|
retryable: boolean;
|
|
5169
5169
|
/** @enum {string} */
|
|
5170
|
-
retryHint?:
|
|
5170
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
5171
5171
|
simulations?: unknown;
|
|
5172
5172
|
} & {
|
|
5173
5173
|
[key: string]: unknown;
|
|
5174
5174
|
};
|
|
5175
5175
|
} | {
|
|
5176
5176
|
/** @enum {string} */
|
|
5177
|
-
code:
|
|
5177
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
5178
5178
|
/**
|
|
5179
5179
|
* @description Human-readable error message
|
|
5180
5180
|
* @example Invalid input
|
|
@@ -5193,7 +5193,7 @@ export interface operations {
|
|
|
5193
5193
|
};
|
|
5194
5194
|
} | {
|
|
5195
5195
|
/** @enum {string} */
|
|
5196
|
-
code:
|
|
5196
|
+
code: 'KEY_SCOPE_DENIED';
|
|
5197
5197
|
/**
|
|
5198
5198
|
* @description Human-readable error message
|
|
5199
5199
|
* @example Invalid input
|
|
@@ -5207,16 +5207,16 @@ export interface operations {
|
|
|
5207
5207
|
* @description Which scope rejected the request
|
|
5208
5208
|
* @enum {string}
|
|
5209
5209
|
*/
|
|
5210
|
-
scope:
|
|
5210
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5211
5211
|
/** @description Minimum level the endpoint demands */
|
|
5212
|
-
required: boolean | (
|
|
5212
|
+
required: boolean | ('read' | 'write');
|
|
5213
5213
|
/** @description Level resolved on the key */
|
|
5214
|
-
actual: boolean | (
|
|
5214
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5215
5215
|
};
|
|
5216
5216
|
}[];
|
|
5217
5217
|
} | {
|
|
5218
5218
|
/** @enum {string} */
|
|
5219
|
-
code:
|
|
5219
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
5220
5220
|
/**
|
|
5221
5221
|
* @description Human-readable error message
|
|
5222
5222
|
* @example Invalid input
|
|
@@ -5232,9 +5232,9 @@ export interface operations {
|
|
|
5232
5232
|
query?: never;
|
|
5233
5233
|
header: {
|
|
5234
5234
|
/** @description API version. Required; pinned to this document. */
|
|
5235
|
-
|
|
5235
|
+
'x-api-version': '2026-04.blanc';
|
|
5236
5236
|
/** @description API key. */
|
|
5237
|
-
|
|
5237
|
+
'x-api-key': string;
|
|
5238
5238
|
};
|
|
5239
5239
|
path: {
|
|
5240
5240
|
nonce: string;
|
|
@@ -5249,10 +5249,10 @@ export interface operations {
|
|
|
5249
5249
|
[name: string]: unknown;
|
|
5250
5250
|
};
|
|
5251
5251
|
content: {
|
|
5252
|
-
|
|
5252
|
+
'application/json': {
|
|
5253
5253
|
requestNonce: string;
|
|
5254
5254
|
/** @enum {string} */
|
|
5255
|
-
status:
|
|
5255
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
5256
5256
|
payoutUsd: number;
|
|
5257
5257
|
targetChainId: number;
|
|
5258
5258
|
targetToken: string;
|
|
@@ -5269,9 +5269,9 @@ export interface operations {
|
|
|
5269
5269
|
[name: string]: unknown;
|
|
5270
5270
|
};
|
|
5271
5271
|
content: {
|
|
5272
|
-
|
|
5272
|
+
'application/json': {
|
|
5273
5273
|
/** @enum {string} */
|
|
5274
|
-
code:
|
|
5274
|
+
code: 'VALIDATION_ERROR';
|
|
5275
5275
|
/**
|
|
5276
5276
|
* @description Human-readable error message
|
|
5277
5277
|
* @example Invalid input
|
|
@@ -5288,7 +5288,7 @@ export interface operations {
|
|
|
5288
5288
|
}[];
|
|
5289
5289
|
} | {
|
|
5290
5290
|
/** @enum {string} */
|
|
5291
|
-
code:
|
|
5291
|
+
code: 'SIMULATION_FAILED';
|
|
5292
5292
|
/**
|
|
5293
5293
|
* @description Human-readable error message
|
|
5294
5294
|
* @example Invalid input
|
|
@@ -5305,14 +5305,14 @@ export interface operations {
|
|
|
5305
5305
|
};
|
|
5306
5306
|
retryable: boolean;
|
|
5307
5307
|
/** @enum {string} */
|
|
5308
|
-
retryHint?:
|
|
5308
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
5309
5309
|
simulations?: unknown;
|
|
5310
5310
|
} & {
|
|
5311
5311
|
[key: string]: unknown;
|
|
5312
5312
|
};
|
|
5313
5313
|
} | {
|
|
5314
5314
|
/** @enum {string} */
|
|
5315
|
-
code:
|
|
5315
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
5316
5316
|
/**
|
|
5317
5317
|
* @description Human-readable error message
|
|
5318
5318
|
* @example Invalid input
|
|
@@ -5331,7 +5331,7 @@ export interface operations {
|
|
|
5331
5331
|
};
|
|
5332
5332
|
} | {
|
|
5333
5333
|
/** @enum {string} */
|
|
5334
|
-
code:
|
|
5334
|
+
code: 'KEY_SCOPE_DENIED';
|
|
5335
5335
|
/**
|
|
5336
5336
|
* @description Human-readable error message
|
|
5337
5337
|
* @example Invalid input
|
|
@@ -5345,16 +5345,16 @@ export interface operations {
|
|
|
5345
5345
|
* @description Which scope rejected the request
|
|
5346
5346
|
* @enum {string}
|
|
5347
5347
|
*/
|
|
5348
|
-
scope:
|
|
5348
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5349
5349
|
/** @description Minimum level the endpoint demands */
|
|
5350
|
-
required: boolean | (
|
|
5350
|
+
required: boolean | ('read' | 'write');
|
|
5351
5351
|
/** @description Level resolved on the key */
|
|
5352
|
-
actual: boolean | (
|
|
5352
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5353
5353
|
};
|
|
5354
5354
|
}[];
|
|
5355
5355
|
} | {
|
|
5356
5356
|
/** @enum {string} */
|
|
5357
|
-
code:
|
|
5357
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
5358
5358
|
/**
|
|
5359
5359
|
* @description Human-readable error message
|
|
5360
5360
|
* @example Invalid input
|
|
@@ -5369,9 +5369,9 @@ export interface operations {
|
|
|
5369
5369
|
[name: string]: unknown;
|
|
5370
5370
|
};
|
|
5371
5371
|
content: {
|
|
5372
|
-
|
|
5372
|
+
'application/json': {
|
|
5373
5373
|
/** @enum {string} */
|
|
5374
|
-
code:
|
|
5374
|
+
code: 'VALIDATION_ERROR';
|
|
5375
5375
|
/**
|
|
5376
5376
|
* @description Human-readable error message
|
|
5377
5377
|
* @example Invalid input
|
|
@@ -5388,7 +5388,7 @@ export interface operations {
|
|
|
5388
5388
|
}[];
|
|
5389
5389
|
} | {
|
|
5390
5390
|
/** @enum {string} */
|
|
5391
|
-
code:
|
|
5391
|
+
code: 'SIMULATION_FAILED';
|
|
5392
5392
|
/**
|
|
5393
5393
|
* @description Human-readable error message
|
|
5394
5394
|
* @example Invalid input
|
|
@@ -5405,14 +5405,14 @@ export interface operations {
|
|
|
5405
5405
|
};
|
|
5406
5406
|
retryable: boolean;
|
|
5407
5407
|
/** @enum {string} */
|
|
5408
|
-
retryHint?:
|
|
5408
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
5409
5409
|
simulations?: unknown;
|
|
5410
5410
|
} & {
|
|
5411
5411
|
[key: string]: unknown;
|
|
5412
5412
|
};
|
|
5413
5413
|
} | {
|
|
5414
5414
|
/** @enum {string} */
|
|
5415
|
-
code:
|
|
5415
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
5416
5416
|
/**
|
|
5417
5417
|
* @description Human-readable error message
|
|
5418
5418
|
* @example Invalid input
|
|
@@ -5431,7 +5431,7 @@ export interface operations {
|
|
|
5431
5431
|
};
|
|
5432
5432
|
} | {
|
|
5433
5433
|
/** @enum {string} */
|
|
5434
|
-
code:
|
|
5434
|
+
code: 'KEY_SCOPE_DENIED';
|
|
5435
5435
|
/**
|
|
5436
5436
|
* @description Human-readable error message
|
|
5437
5437
|
* @example Invalid input
|
|
@@ -5445,16 +5445,16 @@ export interface operations {
|
|
|
5445
5445
|
* @description Which scope rejected the request
|
|
5446
5446
|
* @enum {string}
|
|
5447
5447
|
*/
|
|
5448
|
-
scope:
|
|
5448
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5449
5449
|
/** @description Minimum level the endpoint demands */
|
|
5450
|
-
required: boolean | (
|
|
5450
|
+
required: boolean | ('read' | 'write');
|
|
5451
5451
|
/** @description Level resolved on the key */
|
|
5452
|
-
actual: boolean | (
|
|
5452
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5453
5453
|
};
|
|
5454
5454
|
}[];
|
|
5455
5455
|
} | {
|
|
5456
5456
|
/** @enum {string} */
|
|
5457
|
-
code:
|
|
5457
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
5458
5458
|
/**
|
|
5459
5459
|
* @description Human-readable error message
|
|
5460
5460
|
* @example Invalid input
|
|
@@ -5469,9 +5469,9 @@ export interface operations {
|
|
|
5469
5469
|
[name: string]: unknown;
|
|
5470
5470
|
};
|
|
5471
5471
|
content: {
|
|
5472
|
-
|
|
5472
|
+
'application/json': {
|
|
5473
5473
|
/** @enum {string} */
|
|
5474
|
-
code:
|
|
5474
|
+
code: 'VALIDATION_ERROR';
|
|
5475
5475
|
/**
|
|
5476
5476
|
* @description Human-readable error message
|
|
5477
5477
|
* @example Invalid input
|
|
@@ -5488,7 +5488,7 @@ export interface operations {
|
|
|
5488
5488
|
}[];
|
|
5489
5489
|
} | {
|
|
5490
5490
|
/** @enum {string} */
|
|
5491
|
-
code:
|
|
5491
|
+
code: 'SIMULATION_FAILED';
|
|
5492
5492
|
/**
|
|
5493
5493
|
* @description Human-readable error message
|
|
5494
5494
|
* @example Invalid input
|
|
@@ -5505,14 +5505,14 @@ export interface operations {
|
|
|
5505
5505
|
};
|
|
5506
5506
|
retryable: boolean;
|
|
5507
5507
|
/** @enum {string} */
|
|
5508
|
-
retryHint?:
|
|
5508
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
5509
5509
|
simulations?: unknown;
|
|
5510
5510
|
} & {
|
|
5511
5511
|
[key: string]: unknown;
|
|
5512
5512
|
};
|
|
5513
5513
|
} | {
|
|
5514
5514
|
/** @enum {string} */
|
|
5515
|
-
code:
|
|
5515
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
5516
5516
|
/**
|
|
5517
5517
|
* @description Human-readable error message
|
|
5518
5518
|
* @example Invalid input
|
|
@@ -5531,7 +5531,7 @@ export interface operations {
|
|
|
5531
5531
|
};
|
|
5532
5532
|
} | {
|
|
5533
5533
|
/** @enum {string} */
|
|
5534
|
-
code:
|
|
5534
|
+
code: 'KEY_SCOPE_DENIED';
|
|
5535
5535
|
/**
|
|
5536
5536
|
* @description Human-readable error message
|
|
5537
5537
|
* @example Invalid input
|
|
@@ -5545,16 +5545,16 @@ export interface operations {
|
|
|
5545
5545
|
* @description Which scope rejected the request
|
|
5546
5546
|
* @enum {string}
|
|
5547
5547
|
*/
|
|
5548
|
-
scope:
|
|
5548
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5549
5549
|
/** @description Minimum level the endpoint demands */
|
|
5550
|
-
required: boolean | (
|
|
5550
|
+
required: boolean | ('read' | 'write');
|
|
5551
5551
|
/** @description Level resolved on the key */
|
|
5552
|
-
actual: boolean | (
|
|
5552
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5553
5553
|
};
|
|
5554
5554
|
}[];
|
|
5555
5555
|
} | {
|
|
5556
5556
|
/** @enum {string} */
|
|
5557
|
-
code:
|
|
5557
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
5558
5558
|
/**
|
|
5559
5559
|
* @description Human-readable error message
|
|
5560
5560
|
* @example Invalid input
|
|
@@ -5569,9 +5569,9 @@ export interface operations {
|
|
|
5569
5569
|
[name: string]: unknown;
|
|
5570
5570
|
};
|
|
5571
5571
|
content: {
|
|
5572
|
-
|
|
5572
|
+
'application/json': {
|
|
5573
5573
|
/** @enum {string} */
|
|
5574
|
-
code:
|
|
5574
|
+
code: 'VALIDATION_ERROR';
|
|
5575
5575
|
/**
|
|
5576
5576
|
* @description Human-readable error message
|
|
5577
5577
|
* @example Invalid input
|
|
@@ -5588,7 +5588,7 @@ export interface operations {
|
|
|
5588
5588
|
}[];
|
|
5589
5589
|
} | {
|
|
5590
5590
|
/** @enum {string} */
|
|
5591
|
-
code:
|
|
5591
|
+
code: 'SIMULATION_FAILED';
|
|
5592
5592
|
/**
|
|
5593
5593
|
* @description Human-readable error message
|
|
5594
5594
|
* @example Invalid input
|
|
@@ -5605,14 +5605,14 @@ export interface operations {
|
|
|
5605
5605
|
};
|
|
5606
5606
|
retryable: boolean;
|
|
5607
5607
|
/** @enum {string} */
|
|
5608
|
-
retryHint?:
|
|
5608
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
5609
5609
|
simulations?: unknown;
|
|
5610
5610
|
} & {
|
|
5611
5611
|
[key: string]: unknown;
|
|
5612
5612
|
};
|
|
5613
5613
|
} | {
|
|
5614
5614
|
/** @enum {string} */
|
|
5615
|
-
code:
|
|
5615
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
5616
5616
|
/**
|
|
5617
5617
|
* @description Human-readable error message
|
|
5618
5618
|
* @example Invalid input
|
|
@@ -5631,7 +5631,7 @@ export interface operations {
|
|
|
5631
5631
|
};
|
|
5632
5632
|
} | {
|
|
5633
5633
|
/** @enum {string} */
|
|
5634
|
-
code:
|
|
5634
|
+
code: 'KEY_SCOPE_DENIED';
|
|
5635
5635
|
/**
|
|
5636
5636
|
* @description Human-readable error message
|
|
5637
5637
|
* @example Invalid input
|
|
@@ -5645,16 +5645,16 @@ export interface operations {
|
|
|
5645
5645
|
* @description Which scope rejected the request
|
|
5646
5646
|
* @enum {string}
|
|
5647
5647
|
*/
|
|
5648
|
-
scope:
|
|
5648
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5649
5649
|
/** @description Minimum level the endpoint demands */
|
|
5650
|
-
required: boolean | (
|
|
5650
|
+
required: boolean | ('read' | 'write');
|
|
5651
5651
|
/** @description Level resolved on the key */
|
|
5652
|
-
actual: boolean | (
|
|
5652
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5653
5653
|
};
|
|
5654
5654
|
}[];
|
|
5655
5655
|
} | {
|
|
5656
5656
|
/** @enum {string} */
|
|
5657
|
-
code:
|
|
5657
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
5658
5658
|
/**
|
|
5659
5659
|
* @description Human-readable error message
|
|
5660
5660
|
* @example Invalid input
|
|
@@ -5669,9 +5669,9 @@ export interface operations {
|
|
|
5669
5669
|
[name: string]: unknown;
|
|
5670
5670
|
};
|
|
5671
5671
|
content: {
|
|
5672
|
-
|
|
5672
|
+
'application/json': {
|
|
5673
5673
|
/** @enum {string} */
|
|
5674
|
-
code:
|
|
5674
|
+
code: 'VALIDATION_ERROR';
|
|
5675
5675
|
/**
|
|
5676
5676
|
* @description Human-readable error message
|
|
5677
5677
|
* @example Invalid input
|
|
@@ -5688,7 +5688,7 @@ export interface operations {
|
|
|
5688
5688
|
}[];
|
|
5689
5689
|
} | {
|
|
5690
5690
|
/** @enum {string} */
|
|
5691
|
-
code:
|
|
5691
|
+
code: 'SIMULATION_FAILED';
|
|
5692
5692
|
/**
|
|
5693
5693
|
* @description Human-readable error message
|
|
5694
5694
|
* @example Invalid input
|
|
@@ -5705,14 +5705,14 @@ export interface operations {
|
|
|
5705
5705
|
};
|
|
5706
5706
|
retryable: boolean;
|
|
5707
5707
|
/** @enum {string} */
|
|
5708
|
-
retryHint?:
|
|
5708
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
5709
5709
|
simulations?: unknown;
|
|
5710
5710
|
} & {
|
|
5711
5711
|
[key: string]: unknown;
|
|
5712
5712
|
};
|
|
5713
5713
|
} | {
|
|
5714
5714
|
/** @enum {string} */
|
|
5715
|
-
code:
|
|
5715
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
5716
5716
|
/**
|
|
5717
5717
|
* @description Human-readable error message
|
|
5718
5718
|
* @example Invalid input
|
|
@@ -5731,7 +5731,7 @@ export interface operations {
|
|
|
5731
5731
|
};
|
|
5732
5732
|
} | {
|
|
5733
5733
|
/** @enum {string} */
|
|
5734
|
-
code:
|
|
5734
|
+
code: 'KEY_SCOPE_DENIED';
|
|
5735
5735
|
/**
|
|
5736
5736
|
* @description Human-readable error message
|
|
5737
5737
|
* @example Invalid input
|
|
@@ -5745,16 +5745,16 @@ export interface operations {
|
|
|
5745
5745
|
* @description Which scope rejected the request
|
|
5746
5746
|
* @enum {string}
|
|
5747
5747
|
*/
|
|
5748
|
-
scope:
|
|
5748
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5749
5749
|
/** @description Minimum level the endpoint demands */
|
|
5750
|
-
required: boolean | (
|
|
5750
|
+
required: boolean | ('read' | 'write');
|
|
5751
5751
|
/** @description Level resolved on the key */
|
|
5752
|
-
actual: boolean | (
|
|
5752
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5753
5753
|
};
|
|
5754
5754
|
}[];
|
|
5755
5755
|
} | {
|
|
5756
5756
|
/** @enum {string} */
|
|
5757
|
-
code:
|
|
5757
|
+
code: 'NOT_FOUND' | 'UNAUTHORIZED' | 'FORBIDDEN' | 'CONFLICT' | 'WITHDRAWAL_IN_PROGRESS' | 'WITHDRAWAL_FINALIZATION_PENDING' | 'UNPROCESSABLE_CONTENT' | 'TOO_MANY_REQUESTS' | 'SETTLEMENT_QUOTE_ERROR' | 'SETTLEMENT_EXECUTION_ERROR' | 'EXTERNAL_SERVICE_TIMEOUT' | 'RELAYER_MARKET_UNAVAILABLE' | 'INTERNAL_ERROR';
|
|
5758
5758
|
/**
|
|
5759
5759
|
* @description Human-readable error message
|
|
5760
5760
|
* @example Invalid input
|