@rhinestone/sdk 2.0.0-beta.43 → 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/README.md +2 -2
- 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/clients/orchestrator/chain-catalog.d.ts +36 -0
- package/dist/src/clients/orchestrator/chain-catalog.d.ts.map +1 -0
- package/dist/src/clients/orchestrator/chain-catalog.js +67 -0
- 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} +12 -15
- 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 +519 -499
- 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} +31 -26
- 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 -314
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +6 -260
- 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 +9 -12
- package/dist/src/modules/validators/policies/claim/arbiters.d.ts.map +1 -1
- package/dist/src/modules/validators/policies/claim/arbiters.js +52 -27
- 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 -4
- 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 -19
- package/dist/src/accounts/json-rpc/providers.d.ts +0 -5
- package/dist/src/accounts/json-rpc/providers.d.ts.map +0 -1
- package/dist/src/accounts/json-rpc/providers.js +0 -16
- 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 -469
- 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 -187
- 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 -1606
- 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 -21
- package/dist/src/modules/validators/cross-chain-permits.d.ts.map +0 -1
- package/dist/src/modules/validators/cross-chain-permits.js +0 -111
- 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 -225
- package/dist/src/modules/validators/smart-sessions.d.ts.map +0 -1
- package/dist/src/modules/validators/smart-sessions.js +0 -1189
- package/dist/src/orchestrator/caip2.d.ts +0 -20
- package/dist/src/orchestrator/caip2.d.ts.map +0 -1
- package/dist/src/orchestrator/caip2.js +0 -49
- package/dist/src/orchestrator/client.d.ts +0 -29
- package/dist/src/orchestrator/client.d.ts.map +0 -1
- package/dist/src/orchestrator/client.js +0 -290
- 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 -13
- package/dist/src/orchestrator/index.d.ts.map +0 -1
- package/dist/src/orchestrator/index.js +0 -10
- package/dist/src/orchestrator/registry.d.ts +0 -17
- package/dist/src/orchestrator/registry.d.ts.map +0 -1
- package/dist/src/orchestrator/registry.js +0 -103
- 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 -30
- 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,12 +249,19 @@ 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;
|
|
256
256
|
decimals: number;
|
|
257
257
|
}[];
|
|
258
|
+
/** @description The wrapped-native token (e.g. WETH) for the chain. Lets clients resolve the wrapped-native address without bundling a token registry. */
|
|
259
|
+
wrappedNativeToken: {
|
|
260
|
+
symbol: string;
|
|
261
|
+
/** @description Token contract address (format depends on the chain) */
|
|
262
|
+
address: string;
|
|
263
|
+
decimals: number;
|
|
264
|
+
};
|
|
258
265
|
};
|
|
259
266
|
};
|
|
260
267
|
};
|
|
@@ -265,9 +272,9 @@ export interface operations {
|
|
|
265
272
|
[name: string]: unknown;
|
|
266
273
|
};
|
|
267
274
|
content: {
|
|
268
|
-
|
|
275
|
+
'application/json': {
|
|
269
276
|
/** @enum {string} */
|
|
270
|
-
code:
|
|
277
|
+
code: 'VALIDATION_ERROR';
|
|
271
278
|
/**
|
|
272
279
|
* @description Human-readable error message
|
|
273
280
|
* @example Invalid input
|
|
@@ -284,7 +291,7 @@ export interface operations {
|
|
|
284
291
|
}[];
|
|
285
292
|
} | {
|
|
286
293
|
/** @enum {string} */
|
|
287
|
-
code:
|
|
294
|
+
code: 'SIMULATION_FAILED';
|
|
288
295
|
/**
|
|
289
296
|
* @description Human-readable error message
|
|
290
297
|
* @example Invalid input
|
|
@@ -301,14 +308,14 @@ export interface operations {
|
|
|
301
308
|
};
|
|
302
309
|
retryable: boolean;
|
|
303
310
|
/** @enum {string} */
|
|
304
|
-
retryHint?:
|
|
311
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
305
312
|
simulations?: unknown;
|
|
306
313
|
} & {
|
|
307
314
|
[key: string]: unknown;
|
|
308
315
|
};
|
|
309
316
|
} | {
|
|
310
317
|
/** @enum {string} */
|
|
311
|
-
code:
|
|
318
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
312
319
|
/**
|
|
313
320
|
* @description Human-readable error message
|
|
314
321
|
* @example Invalid input
|
|
@@ -327,7 +334,7 @@ export interface operations {
|
|
|
327
334
|
};
|
|
328
335
|
} | {
|
|
329
336
|
/** @enum {string} */
|
|
330
|
-
code:
|
|
337
|
+
code: 'KEY_SCOPE_DENIED';
|
|
331
338
|
/**
|
|
332
339
|
* @description Human-readable error message
|
|
333
340
|
* @example Invalid input
|
|
@@ -341,16 +348,16 @@ export interface operations {
|
|
|
341
348
|
* @description Which scope rejected the request
|
|
342
349
|
* @enum {string}
|
|
343
350
|
*/
|
|
344
|
-
scope:
|
|
351
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
345
352
|
/** @description Minimum level the endpoint demands */
|
|
346
|
-
required: boolean | (
|
|
353
|
+
required: boolean | ('read' | 'write');
|
|
347
354
|
/** @description Level resolved on the key */
|
|
348
|
-
actual: boolean | (
|
|
355
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
349
356
|
};
|
|
350
357
|
}[];
|
|
351
358
|
} | {
|
|
352
359
|
/** @enum {string} */
|
|
353
|
-
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';
|
|
354
361
|
/**
|
|
355
362
|
* @description Human-readable error message
|
|
356
363
|
* @example Invalid input
|
|
@@ -375,9 +382,9 @@ export interface operations {
|
|
|
375
382
|
};
|
|
376
383
|
header: {
|
|
377
384
|
/** @description API version. Required; pinned to this document. */
|
|
378
|
-
|
|
385
|
+
'x-api-version': '2026-04.blanc';
|
|
379
386
|
/** @description API key. */
|
|
380
|
-
|
|
387
|
+
'x-api-key': string;
|
|
381
388
|
};
|
|
382
389
|
path?: never;
|
|
383
390
|
cookie?: never;
|
|
@@ -390,7 +397,7 @@ export interface operations {
|
|
|
390
397
|
[name: string]: unknown;
|
|
391
398
|
};
|
|
392
399
|
content: {
|
|
393
|
-
|
|
400
|
+
'application/json': {
|
|
394
401
|
/**
|
|
395
402
|
* @description Destination token symbol
|
|
396
403
|
* @example USDC
|
|
@@ -420,9 +427,9 @@ export interface operations {
|
|
|
420
427
|
[name: string]: unknown;
|
|
421
428
|
};
|
|
422
429
|
content: {
|
|
423
|
-
|
|
430
|
+
'application/json': {
|
|
424
431
|
/** @enum {string} */
|
|
425
|
-
code:
|
|
432
|
+
code: 'VALIDATION_ERROR';
|
|
426
433
|
/**
|
|
427
434
|
* @description Human-readable error message
|
|
428
435
|
* @example Invalid input
|
|
@@ -439,7 +446,7 @@ export interface operations {
|
|
|
439
446
|
}[];
|
|
440
447
|
} | {
|
|
441
448
|
/** @enum {string} */
|
|
442
|
-
code:
|
|
449
|
+
code: 'SIMULATION_FAILED';
|
|
443
450
|
/**
|
|
444
451
|
* @description Human-readable error message
|
|
445
452
|
* @example Invalid input
|
|
@@ -456,14 +463,14 @@ export interface operations {
|
|
|
456
463
|
};
|
|
457
464
|
retryable: boolean;
|
|
458
465
|
/** @enum {string} */
|
|
459
|
-
retryHint?:
|
|
466
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
460
467
|
simulations?: unknown;
|
|
461
468
|
} & {
|
|
462
469
|
[key: string]: unknown;
|
|
463
470
|
};
|
|
464
471
|
} | {
|
|
465
472
|
/** @enum {string} */
|
|
466
|
-
code:
|
|
473
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
467
474
|
/**
|
|
468
475
|
* @description Human-readable error message
|
|
469
476
|
* @example Invalid input
|
|
@@ -482,7 +489,7 @@ export interface operations {
|
|
|
482
489
|
};
|
|
483
490
|
} | {
|
|
484
491
|
/** @enum {string} */
|
|
485
|
-
code:
|
|
492
|
+
code: 'KEY_SCOPE_DENIED';
|
|
486
493
|
/**
|
|
487
494
|
* @description Human-readable error message
|
|
488
495
|
* @example Invalid input
|
|
@@ -496,16 +503,16 @@ export interface operations {
|
|
|
496
503
|
* @description Which scope rejected the request
|
|
497
504
|
* @enum {string}
|
|
498
505
|
*/
|
|
499
|
-
scope:
|
|
506
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
500
507
|
/** @description Minimum level the endpoint demands */
|
|
501
|
-
required: boolean | (
|
|
508
|
+
required: boolean | ('read' | 'write');
|
|
502
509
|
/** @description Level resolved on the key */
|
|
503
|
-
actual: boolean | (
|
|
510
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
504
511
|
};
|
|
505
512
|
}[];
|
|
506
513
|
} | {
|
|
507
514
|
/** @enum {string} */
|
|
508
|
-
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';
|
|
509
516
|
/**
|
|
510
517
|
* @description Human-readable error message
|
|
511
518
|
* @example Invalid input
|
|
@@ -520,9 +527,9 @@ export interface operations {
|
|
|
520
527
|
[name: string]: unknown;
|
|
521
528
|
};
|
|
522
529
|
content: {
|
|
523
|
-
|
|
530
|
+
'application/json': {
|
|
524
531
|
/** @enum {string} */
|
|
525
|
-
code:
|
|
532
|
+
code: 'VALIDATION_ERROR';
|
|
526
533
|
/**
|
|
527
534
|
* @description Human-readable error message
|
|
528
535
|
* @example Invalid input
|
|
@@ -539,7 +546,7 @@ export interface operations {
|
|
|
539
546
|
}[];
|
|
540
547
|
} | {
|
|
541
548
|
/** @enum {string} */
|
|
542
|
-
code:
|
|
549
|
+
code: 'SIMULATION_FAILED';
|
|
543
550
|
/**
|
|
544
551
|
* @description Human-readable error message
|
|
545
552
|
* @example Invalid input
|
|
@@ -556,14 +563,14 @@ export interface operations {
|
|
|
556
563
|
};
|
|
557
564
|
retryable: boolean;
|
|
558
565
|
/** @enum {string} */
|
|
559
|
-
retryHint?:
|
|
566
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
560
567
|
simulations?: unknown;
|
|
561
568
|
} & {
|
|
562
569
|
[key: string]: unknown;
|
|
563
570
|
};
|
|
564
571
|
} | {
|
|
565
572
|
/** @enum {string} */
|
|
566
|
-
code:
|
|
573
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
567
574
|
/**
|
|
568
575
|
* @description Human-readable error message
|
|
569
576
|
* @example Invalid input
|
|
@@ -582,7 +589,7 @@ export interface operations {
|
|
|
582
589
|
};
|
|
583
590
|
} | {
|
|
584
591
|
/** @enum {string} */
|
|
585
|
-
code:
|
|
592
|
+
code: 'KEY_SCOPE_DENIED';
|
|
586
593
|
/**
|
|
587
594
|
* @description Human-readable error message
|
|
588
595
|
* @example Invalid input
|
|
@@ -596,16 +603,16 @@ export interface operations {
|
|
|
596
603
|
* @description Which scope rejected the request
|
|
597
604
|
* @enum {string}
|
|
598
605
|
*/
|
|
599
|
-
scope:
|
|
606
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
600
607
|
/** @description Minimum level the endpoint demands */
|
|
601
|
-
required: boolean | (
|
|
608
|
+
required: boolean | ('read' | 'write');
|
|
602
609
|
/** @description Level resolved on the key */
|
|
603
|
-
actual: boolean | (
|
|
610
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
604
611
|
};
|
|
605
612
|
}[];
|
|
606
613
|
} | {
|
|
607
614
|
/** @enum {string} */
|
|
608
|
-
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';
|
|
609
616
|
/**
|
|
610
617
|
* @description Human-readable error message
|
|
611
618
|
* @example Invalid input
|
|
@@ -620,9 +627,9 @@ export interface operations {
|
|
|
620
627
|
[name: string]: unknown;
|
|
621
628
|
};
|
|
622
629
|
content: {
|
|
623
|
-
|
|
630
|
+
'application/json': {
|
|
624
631
|
/** @enum {string} */
|
|
625
|
-
code:
|
|
632
|
+
code: 'VALIDATION_ERROR';
|
|
626
633
|
/**
|
|
627
634
|
* @description Human-readable error message
|
|
628
635
|
* @example Invalid input
|
|
@@ -639,7 +646,7 @@ export interface operations {
|
|
|
639
646
|
}[];
|
|
640
647
|
} | {
|
|
641
648
|
/** @enum {string} */
|
|
642
|
-
code:
|
|
649
|
+
code: 'SIMULATION_FAILED';
|
|
643
650
|
/**
|
|
644
651
|
* @description Human-readable error message
|
|
645
652
|
* @example Invalid input
|
|
@@ -656,14 +663,14 @@ export interface operations {
|
|
|
656
663
|
};
|
|
657
664
|
retryable: boolean;
|
|
658
665
|
/** @enum {string} */
|
|
659
|
-
retryHint?:
|
|
666
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
660
667
|
simulations?: unknown;
|
|
661
668
|
} & {
|
|
662
669
|
[key: string]: unknown;
|
|
663
670
|
};
|
|
664
671
|
} | {
|
|
665
672
|
/** @enum {string} */
|
|
666
|
-
code:
|
|
673
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
667
674
|
/**
|
|
668
675
|
* @description Human-readable error message
|
|
669
676
|
* @example Invalid input
|
|
@@ -682,7 +689,7 @@ export interface operations {
|
|
|
682
689
|
};
|
|
683
690
|
} | {
|
|
684
691
|
/** @enum {string} */
|
|
685
|
-
code:
|
|
692
|
+
code: 'KEY_SCOPE_DENIED';
|
|
686
693
|
/**
|
|
687
694
|
* @description Human-readable error message
|
|
688
695
|
* @example Invalid input
|
|
@@ -696,16 +703,16 @@ export interface operations {
|
|
|
696
703
|
* @description Which scope rejected the request
|
|
697
704
|
* @enum {string}
|
|
698
705
|
*/
|
|
699
|
-
scope:
|
|
706
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
700
707
|
/** @description Minimum level the endpoint demands */
|
|
701
|
-
required: boolean | (
|
|
708
|
+
required: boolean | ('read' | 'write');
|
|
702
709
|
/** @description Level resolved on the key */
|
|
703
|
-
actual: boolean | (
|
|
710
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
704
711
|
};
|
|
705
712
|
}[];
|
|
706
713
|
} | {
|
|
707
714
|
/** @enum {string} */
|
|
708
|
-
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';
|
|
709
716
|
/**
|
|
710
717
|
* @description Human-readable error message
|
|
711
718
|
* @example Invalid input
|
|
@@ -724,9 +731,9 @@ export interface operations {
|
|
|
724
731
|
};
|
|
725
732
|
header: {
|
|
726
733
|
/** @description API version. Required; pinned to this document. */
|
|
727
|
-
|
|
734
|
+
'x-api-version': '2026-04.blanc';
|
|
728
735
|
/** @description API key. */
|
|
729
|
-
|
|
736
|
+
'x-api-key': string;
|
|
730
737
|
};
|
|
731
738
|
path: {
|
|
732
739
|
/** @description Unique identifier of the intent operation */
|
|
@@ -742,13 +749,13 @@ export interface operations {
|
|
|
742
749
|
[name: string]: unknown;
|
|
743
750
|
};
|
|
744
751
|
content: {
|
|
745
|
-
|
|
752
|
+
'application/json': {
|
|
746
753
|
/**
|
|
747
754
|
* @description Overall intent status: PENDING, COMPLETED, or FAILED
|
|
748
755
|
* @example COMPLETED
|
|
749
756
|
* @enum {string}
|
|
750
757
|
*/
|
|
751
|
-
status:
|
|
758
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
752
759
|
/**
|
|
753
760
|
* @description Account address
|
|
754
761
|
* @example 0x3672e268a79bd4acc5ee646bdda652547c7a435c
|
|
@@ -768,13 +775,13 @@ export interface operations {
|
|
|
768
775
|
* @example FILL
|
|
769
776
|
* @enum {string}
|
|
770
777
|
*/
|
|
771
|
-
type:
|
|
778
|
+
type: 'CLAIM' | 'FILL' | 'BRIDGE_FILL';
|
|
772
779
|
/**
|
|
773
780
|
* @description Operation status
|
|
774
781
|
* @example COMPLETED
|
|
775
782
|
* @enum {string}
|
|
776
783
|
*/
|
|
777
|
-
status:
|
|
784
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
778
785
|
/**
|
|
779
786
|
* @description Transaction hash (present when COMPLETED)
|
|
780
787
|
* @example 0xc1674f4671accbceec3f22c2c9cfa4f7aead7183f48df90c239e0d85d6c31e21
|
|
@@ -819,7 +826,7 @@ export interface operations {
|
|
|
819
826
|
* @example ACROSS
|
|
820
827
|
* @enum {string|null}
|
|
821
828
|
*/
|
|
822
|
-
settlementLayer:
|
|
829
|
+
settlementLayer: 'INTENT_EXECUTOR' | 'SAME_CHAIN' | 'ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP' | null;
|
|
823
830
|
/** @description Source (claim) legs */
|
|
824
831
|
source: {
|
|
825
832
|
/**
|
|
@@ -855,7 +862,7 @@ export interface operations {
|
|
|
855
862
|
* @example COMPLETED
|
|
856
863
|
* @enum {string}
|
|
857
864
|
*/
|
|
858
|
-
status:
|
|
865
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
859
866
|
}[];
|
|
860
867
|
/** @description Destination (fill) leg; null before a fill is dispatched */
|
|
861
868
|
destination: {
|
|
@@ -892,7 +899,7 @@ export interface operations {
|
|
|
892
899
|
* @example COMPLETED
|
|
893
900
|
* @enum {string}
|
|
894
901
|
*/
|
|
895
|
-
status:
|
|
902
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
896
903
|
} | null;
|
|
897
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. */
|
|
898
905
|
executions: {
|
|
@@ -906,7 +913,7 @@ export interface operations {
|
|
|
906
913
|
* @example DESTINATION
|
|
907
914
|
* @enum {string}
|
|
908
915
|
*/
|
|
909
|
-
phase:
|
|
916
|
+
phase: 'PRE_CLAIM' | 'DESTINATION';
|
|
910
917
|
/**
|
|
911
918
|
* @description Call target address
|
|
912
919
|
* @example 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
|
|
@@ -951,9 +958,9 @@ export interface operations {
|
|
|
951
958
|
[name: string]: unknown;
|
|
952
959
|
};
|
|
953
960
|
content: {
|
|
954
|
-
|
|
961
|
+
'application/json': {
|
|
955
962
|
/** @enum {string} */
|
|
956
|
-
code:
|
|
963
|
+
code: 'VALIDATION_ERROR';
|
|
957
964
|
/**
|
|
958
965
|
* @description Human-readable error message
|
|
959
966
|
* @example Invalid input
|
|
@@ -970,7 +977,7 @@ export interface operations {
|
|
|
970
977
|
}[];
|
|
971
978
|
} | {
|
|
972
979
|
/** @enum {string} */
|
|
973
|
-
code:
|
|
980
|
+
code: 'SIMULATION_FAILED';
|
|
974
981
|
/**
|
|
975
982
|
* @description Human-readable error message
|
|
976
983
|
* @example Invalid input
|
|
@@ -987,14 +994,14 @@ export interface operations {
|
|
|
987
994
|
};
|
|
988
995
|
retryable: boolean;
|
|
989
996
|
/** @enum {string} */
|
|
990
|
-
retryHint?:
|
|
997
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
991
998
|
simulations?: unknown;
|
|
992
999
|
} & {
|
|
993
1000
|
[key: string]: unknown;
|
|
994
1001
|
};
|
|
995
1002
|
} | {
|
|
996
1003
|
/** @enum {string} */
|
|
997
|
-
code:
|
|
1004
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
998
1005
|
/**
|
|
999
1006
|
* @description Human-readable error message
|
|
1000
1007
|
* @example Invalid input
|
|
@@ -1013,7 +1020,7 @@ export interface operations {
|
|
|
1013
1020
|
};
|
|
1014
1021
|
} | {
|
|
1015
1022
|
/** @enum {string} */
|
|
1016
|
-
code:
|
|
1023
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1017
1024
|
/**
|
|
1018
1025
|
* @description Human-readable error message
|
|
1019
1026
|
* @example Invalid input
|
|
@@ -1027,16 +1034,16 @@ export interface operations {
|
|
|
1027
1034
|
* @description Which scope rejected the request
|
|
1028
1035
|
* @enum {string}
|
|
1029
1036
|
*/
|
|
1030
|
-
scope:
|
|
1037
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1031
1038
|
/** @description Minimum level the endpoint demands */
|
|
1032
|
-
required: boolean | (
|
|
1039
|
+
required: boolean | ('read' | 'write');
|
|
1033
1040
|
/** @description Level resolved on the key */
|
|
1034
|
-
actual: boolean | (
|
|
1041
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1035
1042
|
};
|
|
1036
1043
|
}[];
|
|
1037
1044
|
} | {
|
|
1038
1045
|
/** @enum {string} */
|
|
1039
|
-
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';
|
|
1040
1047
|
/**
|
|
1041
1048
|
* @description Human-readable error message
|
|
1042
1049
|
* @example Invalid input
|
|
@@ -1051,9 +1058,9 @@ export interface operations {
|
|
|
1051
1058
|
[name: string]: unknown;
|
|
1052
1059
|
};
|
|
1053
1060
|
content: {
|
|
1054
|
-
|
|
1061
|
+
'application/json': {
|
|
1055
1062
|
/** @enum {string} */
|
|
1056
|
-
code:
|
|
1063
|
+
code: 'VALIDATION_ERROR';
|
|
1057
1064
|
/**
|
|
1058
1065
|
* @description Human-readable error message
|
|
1059
1066
|
* @example Invalid input
|
|
@@ -1070,7 +1077,7 @@ export interface operations {
|
|
|
1070
1077
|
}[];
|
|
1071
1078
|
} | {
|
|
1072
1079
|
/** @enum {string} */
|
|
1073
|
-
code:
|
|
1080
|
+
code: 'SIMULATION_FAILED';
|
|
1074
1081
|
/**
|
|
1075
1082
|
* @description Human-readable error message
|
|
1076
1083
|
* @example Invalid input
|
|
@@ -1087,14 +1094,14 @@ export interface operations {
|
|
|
1087
1094
|
};
|
|
1088
1095
|
retryable: boolean;
|
|
1089
1096
|
/** @enum {string} */
|
|
1090
|
-
retryHint?:
|
|
1097
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1091
1098
|
simulations?: unknown;
|
|
1092
1099
|
} & {
|
|
1093
1100
|
[key: string]: unknown;
|
|
1094
1101
|
};
|
|
1095
1102
|
} | {
|
|
1096
1103
|
/** @enum {string} */
|
|
1097
|
-
code:
|
|
1104
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1098
1105
|
/**
|
|
1099
1106
|
* @description Human-readable error message
|
|
1100
1107
|
* @example Invalid input
|
|
@@ -1113,7 +1120,7 @@ export interface operations {
|
|
|
1113
1120
|
};
|
|
1114
1121
|
} | {
|
|
1115
1122
|
/** @enum {string} */
|
|
1116
|
-
code:
|
|
1123
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1117
1124
|
/**
|
|
1118
1125
|
* @description Human-readable error message
|
|
1119
1126
|
* @example Invalid input
|
|
@@ -1127,16 +1134,16 @@ export interface operations {
|
|
|
1127
1134
|
* @description Which scope rejected the request
|
|
1128
1135
|
* @enum {string}
|
|
1129
1136
|
*/
|
|
1130
|
-
scope:
|
|
1137
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1131
1138
|
/** @description Minimum level the endpoint demands */
|
|
1132
|
-
required: boolean | (
|
|
1139
|
+
required: boolean | ('read' | 'write');
|
|
1133
1140
|
/** @description Level resolved on the key */
|
|
1134
|
-
actual: boolean | (
|
|
1141
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1135
1142
|
};
|
|
1136
1143
|
}[];
|
|
1137
1144
|
} | {
|
|
1138
1145
|
/** @enum {string} */
|
|
1139
|
-
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';
|
|
1140
1147
|
/**
|
|
1141
1148
|
* @description Human-readable error message
|
|
1142
1149
|
* @example Invalid input
|
|
@@ -1151,9 +1158,9 @@ export interface operations {
|
|
|
1151
1158
|
[name: string]: unknown;
|
|
1152
1159
|
};
|
|
1153
1160
|
content: {
|
|
1154
|
-
|
|
1161
|
+
'application/json': {
|
|
1155
1162
|
/** @enum {string} */
|
|
1156
|
-
code:
|
|
1163
|
+
code: 'VALIDATION_ERROR';
|
|
1157
1164
|
/**
|
|
1158
1165
|
* @description Human-readable error message
|
|
1159
1166
|
* @example Invalid input
|
|
@@ -1170,7 +1177,7 @@ export interface operations {
|
|
|
1170
1177
|
}[];
|
|
1171
1178
|
} | {
|
|
1172
1179
|
/** @enum {string} */
|
|
1173
|
-
code:
|
|
1180
|
+
code: 'SIMULATION_FAILED';
|
|
1174
1181
|
/**
|
|
1175
1182
|
* @description Human-readable error message
|
|
1176
1183
|
* @example Invalid input
|
|
@@ -1187,14 +1194,14 @@ export interface operations {
|
|
|
1187
1194
|
};
|
|
1188
1195
|
retryable: boolean;
|
|
1189
1196
|
/** @enum {string} */
|
|
1190
|
-
retryHint?:
|
|
1197
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1191
1198
|
simulations?: unknown;
|
|
1192
1199
|
} & {
|
|
1193
1200
|
[key: string]: unknown;
|
|
1194
1201
|
};
|
|
1195
1202
|
} | {
|
|
1196
1203
|
/** @enum {string} */
|
|
1197
|
-
code:
|
|
1204
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1198
1205
|
/**
|
|
1199
1206
|
* @description Human-readable error message
|
|
1200
1207
|
* @example Invalid input
|
|
@@ -1213,7 +1220,7 @@ export interface operations {
|
|
|
1213
1220
|
};
|
|
1214
1221
|
} | {
|
|
1215
1222
|
/** @enum {string} */
|
|
1216
|
-
code:
|
|
1223
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1217
1224
|
/**
|
|
1218
1225
|
* @description Human-readable error message
|
|
1219
1226
|
* @example Invalid input
|
|
@@ -1227,16 +1234,16 @@ export interface operations {
|
|
|
1227
1234
|
* @description Which scope rejected the request
|
|
1228
1235
|
* @enum {string}
|
|
1229
1236
|
*/
|
|
1230
|
-
scope:
|
|
1237
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1231
1238
|
/** @description Minimum level the endpoint demands */
|
|
1232
|
-
required: boolean | (
|
|
1239
|
+
required: boolean | ('read' | 'write');
|
|
1233
1240
|
/** @description Level resolved on the key */
|
|
1234
|
-
actual: boolean | (
|
|
1241
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1235
1242
|
};
|
|
1236
1243
|
}[];
|
|
1237
1244
|
} | {
|
|
1238
1245
|
/** @enum {string} */
|
|
1239
|
-
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';
|
|
1240
1247
|
/**
|
|
1241
1248
|
* @description Human-readable error message
|
|
1242
1249
|
* @example Invalid input
|
|
@@ -1251,9 +1258,9 @@ export interface operations {
|
|
|
1251
1258
|
[name: string]: unknown;
|
|
1252
1259
|
};
|
|
1253
1260
|
content: {
|
|
1254
|
-
|
|
1261
|
+
'application/json': {
|
|
1255
1262
|
/** @enum {string} */
|
|
1256
|
-
code:
|
|
1263
|
+
code: 'VALIDATION_ERROR';
|
|
1257
1264
|
/**
|
|
1258
1265
|
* @description Human-readable error message
|
|
1259
1266
|
* @example Invalid input
|
|
@@ -1270,7 +1277,7 @@ export interface operations {
|
|
|
1270
1277
|
}[];
|
|
1271
1278
|
} | {
|
|
1272
1279
|
/** @enum {string} */
|
|
1273
|
-
code:
|
|
1280
|
+
code: 'SIMULATION_FAILED';
|
|
1274
1281
|
/**
|
|
1275
1282
|
* @description Human-readable error message
|
|
1276
1283
|
* @example Invalid input
|
|
@@ -1287,14 +1294,14 @@ export interface operations {
|
|
|
1287
1294
|
};
|
|
1288
1295
|
retryable: boolean;
|
|
1289
1296
|
/** @enum {string} */
|
|
1290
|
-
retryHint?:
|
|
1297
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1291
1298
|
simulations?: unknown;
|
|
1292
1299
|
} & {
|
|
1293
1300
|
[key: string]: unknown;
|
|
1294
1301
|
};
|
|
1295
1302
|
} | {
|
|
1296
1303
|
/** @enum {string} */
|
|
1297
|
-
code:
|
|
1304
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1298
1305
|
/**
|
|
1299
1306
|
* @description Human-readable error message
|
|
1300
1307
|
* @example Invalid input
|
|
@@ -1313,7 +1320,7 @@ export interface operations {
|
|
|
1313
1320
|
};
|
|
1314
1321
|
} | {
|
|
1315
1322
|
/** @enum {string} */
|
|
1316
|
-
code:
|
|
1323
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1317
1324
|
/**
|
|
1318
1325
|
* @description Human-readable error message
|
|
1319
1326
|
* @example Invalid input
|
|
@@ -1327,16 +1334,16 @@ export interface operations {
|
|
|
1327
1334
|
* @description Which scope rejected the request
|
|
1328
1335
|
* @enum {string}
|
|
1329
1336
|
*/
|
|
1330
|
-
scope:
|
|
1337
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1331
1338
|
/** @description Minimum level the endpoint demands */
|
|
1332
|
-
required: boolean | (
|
|
1339
|
+
required: boolean | ('read' | 'write');
|
|
1333
1340
|
/** @description Level resolved on the key */
|
|
1334
|
-
actual: boolean | (
|
|
1341
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1335
1342
|
};
|
|
1336
1343
|
}[];
|
|
1337
1344
|
} | {
|
|
1338
1345
|
/** @enum {string} */
|
|
1339
|
-
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';
|
|
1340
1347
|
/**
|
|
1341
1348
|
* @description Human-readable error message
|
|
1342
1349
|
* @example Invalid input
|
|
@@ -1356,9 +1363,9 @@ export interface operations {
|
|
|
1356
1363
|
};
|
|
1357
1364
|
header: {
|
|
1358
1365
|
/** @description API version. Required; pinned to this document. */
|
|
1359
|
-
|
|
1366
|
+
'x-api-version': '2026-04.blanc';
|
|
1360
1367
|
/** @description API key. */
|
|
1361
|
-
|
|
1368
|
+
'x-api-key': string;
|
|
1362
1369
|
};
|
|
1363
1370
|
path: {
|
|
1364
1371
|
accountAddress: string;
|
|
@@ -1373,7 +1380,7 @@ export interface operations {
|
|
|
1373
1380
|
[name: string]: unknown;
|
|
1374
1381
|
};
|
|
1375
1382
|
content: {
|
|
1376
|
-
|
|
1383
|
+
'application/json': {
|
|
1377
1384
|
/** @description Array of token portfolio entries */
|
|
1378
1385
|
portfolio: {
|
|
1379
1386
|
/**
|
|
@@ -1415,9 +1422,9 @@ export interface operations {
|
|
|
1415
1422
|
[name: string]: unknown;
|
|
1416
1423
|
};
|
|
1417
1424
|
content: {
|
|
1418
|
-
|
|
1425
|
+
'application/json': {
|
|
1419
1426
|
/** @enum {string} */
|
|
1420
|
-
code:
|
|
1427
|
+
code: 'VALIDATION_ERROR';
|
|
1421
1428
|
/**
|
|
1422
1429
|
* @description Human-readable error message
|
|
1423
1430
|
* @example Invalid input
|
|
@@ -1434,7 +1441,7 @@ export interface operations {
|
|
|
1434
1441
|
}[];
|
|
1435
1442
|
} | {
|
|
1436
1443
|
/** @enum {string} */
|
|
1437
|
-
code:
|
|
1444
|
+
code: 'SIMULATION_FAILED';
|
|
1438
1445
|
/**
|
|
1439
1446
|
* @description Human-readable error message
|
|
1440
1447
|
* @example Invalid input
|
|
@@ -1451,14 +1458,14 @@ export interface operations {
|
|
|
1451
1458
|
};
|
|
1452
1459
|
retryable: boolean;
|
|
1453
1460
|
/** @enum {string} */
|
|
1454
|
-
retryHint?:
|
|
1461
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1455
1462
|
simulations?: unknown;
|
|
1456
1463
|
} & {
|
|
1457
1464
|
[key: string]: unknown;
|
|
1458
1465
|
};
|
|
1459
1466
|
} | {
|
|
1460
1467
|
/** @enum {string} */
|
|
1461
|
-
code:
|
|
1468
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1462
1469
|
/**
|
|
1463
1470
|
* @description Human-readable error message
|
|
1464
1471
|
* @example Invalid input
|
|
@@ -1477,7 +1484,7 @@ export interface operations {
|
|
|
1477
1484
|
};
|
|
1478
1485
|
} | {
|
|
1479
1486
|
/** @enum {string} */
|
|
1480
|
-
code:
|
|
1487
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1481
1488
|
/**
|
|
1482
1489
|
* @description Human-readable error message
|
|
1483
1490
|
* @example Invalid input
|
|
@@ -1491,16 +1498,16 @@ export interface operations {
|
|
|
1491
1498
|
* @description Which scope rejected the request
|
|
1492
1499
|
* @enum {string}
|
|
1493
1500
|
*/
|
|
1494
|
-
scope:
|
|
1501
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1495
1502
|
/** @description Minimum level the endpoint demands */
|
|
1496
|
-
required: boolean | (
|
|
1503
|
+
required: boolean | ('read' | 'write');
|
|
1497
1504
|
/** @description Level resolved on the key */
|
|
1498
|
-
actual: boolean | (
|
|
1505
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1499
1506
|
};
|
|
1500
1507
|
}[];
|
|
1501
1508
|
} | {
|
|
1502
1509
|
/** @enum {string} */
|
|
1503
|
-
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';
|
|
1504
1511
|
/**
|
|
1505
1512
|
* @description Human-readable error message
|
|
1506
1513
|
* @example Invalid input
|
|
@@ -1515,9 +1522,9 @@ export interface operations {
|
|
|
1515
1522
|
[name: string]: unknown;
|
|
1516
1523
|
};
|
|
1517
1524
|
content: {
|
|
1518
|
-
|
|
1525
|
+
'application/json': {
|
|
1519
1526
|
/** @enum {string} */
|
|
1520
|
-
code:
|
|
1527
|
+
code: 'VALIDATION_ERROR';
|
|
1521
1528
|
/**
|
|
1522
1529
|
* @description Human-readable error message
|
|
1523
1530
|
* @example Invalid input
|
|
@@ -1534,7 +1541,7 @@ export interface operations {
|
|
|
1534
1541
|
}[];
|
|
1535
1542
|
} | {
|
|
1536
1543
|
/** @enum {string} */
|
|
1537
|
-
code:
|
|
1544
|
+
code: 'SIMULATION_FAILED';
|
|
1538
1545
|
/**
|
|
1539
1546
|
* @description Human-readable error message
|
|
1540
1547
|
* @example Invalid input
|
|
@@ -1551,14 +1558,14 @@ export interface operations {
|
|
|
1551
1558
|
};
|
|
1552
1559
|
retryable: boolean;
|
|
1553
1560
|
/** @enum {string} */
|
|
1554
|
-
retryHint?:
|
|
1561
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1555
1562
|
simulations?: unknown;
|
|
1556
1563
|
} & {
|
|
1557
1564
|
[key: string]: unknown;
|
|
1558
1565
|
};
|
|
1559
1566
|
} | {
|
|
1560
1567
|
/** @enum {string} */
|
|
1561
|
-
code:
|
|
1568
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1562
1569
|
/**
|
|
1563
1570
|
* @description Human-readable error message
|
|
1564
1571
|
* @example Invalid input
|
|
@@ -1577,7 +1584,7 @@ export interface operations {
|
|
|
1577
1584
|
};
|
|
1578
1585
|
} | {
|
|
1579
1586
|
/** @enum {string} */
|
|
1580
|
-
code:
|
|
1587
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1581
1588
|
/**
|
|
1582
1589
|
* @description Human-readable error message
|
|
1583
1590
|
* @example Invalid input
|
|
@@ -1591,16 +1598,16 @@ export interface operations {
|
|
|
1591
1598
|
* @description Which scope rejected the request
|
|
1592
1599
|
* @enum {string}
|
|
1593
1600
|
*/
|
|
1594
|
-
scope:
|
|
1601
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1595
1602
|
/** @description Minimum level the endpoint demands */
|
|
1596
|
-
required: boolean | (
|
|
1603
|
+
required: boolean | ('read' | 'write');
|
|
1597
1604
|
/** @description Level resolved on the key */
|
|
1598
|
-
actual: boolean | (
|
|
1605
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1599
1606
|
};
|
|
1600
1607
|
}[];
|
|
1601
1608
|
} | {
|
|
1602
1609
|
/** @enum {string} */
|
|
1603
|
-
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';
|
|
1604
1611
|
/**
|
|
1605
1612
|
* @description Human-readable error message
|
|
1606
1613
|
* @example Invalid input
|
|
@@ -1615,9 +1622,9 @@ export interface operations {
|
|
|
1615
1622
|
[name: string]: unknown;
|
|
1616
1623
|
};
|
|
1617
1624
|
content: {
|
|
1618
|
-
|
|
1625
|
+
'application/json': {
|
|
1619
1626
|
/** @enum {string} */
|
|
1620
|
-
code:
|
|
1627
|
+
code: 'VALIDATION_ERROR';
|
|
1621
1628
|
/**
|
|
1622
1629
|
* @description Human-readable error message
|
|
1623
1630
|
* @example Invalid input
|
|
@@ -1634,7 +1641,7 @@ export interface operations {
|
|
|
1634
1641
|
}[];
|
|
1635
1642
|
} | {
|
|
1636
1643
|
/** @enum {string} */
|
|
1637
|
-
code:
|
|
1644
|
+
code: 'SIMULATION_FAILED';
|
|
1638
1645
|
/**
|
|
1639
1646
|
* @description Human-readable error message
|
|
1640
1647
|
* @example Invalid input
|
|
@@ -1651,14 +1658,14 @@ export interface operations {
|
|
|
1651
1658
|
};
|
|
1652
1659
|
retryable: boolean;
|
|
1653
1660
|
/** @enum {string} */
|
|
1654
|
-
retryHint?:
|
|
1661
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1655
1662
|
simulations?: unknown;
|
|
1656
1663
|
} & {
|
|
1657
1664
|
[key: string]: unknown;
|
|
1658
1665
|
};
|
|
1659
1666
|
} | {
|
|
1660
1667
|
/** @enum {string} */
|
|
1661
|
-
code:
|
|
1668
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1662
1669
|
/**
|
|
1663
1670
|
* @description Human-readable error message
|
|
1664
1671
|
* @example Invalid input
|
|
@@ -1677,7 +1684,7 @@ export interface operations {
|
|
|
1677
1684
|
};
|
|
1678
1685
|
} | {
|
|
1679
1686
|
/** @enum {string} */
|
|
1680
|
-
code:
|
|
1687
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1681
1688
|
/**
|
|
1682
1689
|
* @description Human-readable error message
|
|
1683
1690
|
* @example Invalid input
|
|
@@ -1691,16 +1698,16 @@ export interface operations {
|
|
|
1691
1698
|
* @description Which scope rejected the request
|
|
1692
1699
|
* @enum {string}
|
|
1693
1700
|
*/
|
|
1694
|
-
scope:
|
|
1701
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1695
1702
|
/** @description Minimum level the endpoint demands */
|
|
1696
|
-
required: boolean | (
|
|
1703
|
+
required: boolean | ('read' | 'write');
|
|
1697
1704
|
/** @description Level resolved on the key */
|
|
1698
|
-
actual: boolean | (
|
|
1705
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1699
1706
|
};
|
|
1700
1707
|
}[];
|
|
1701
1708
|
} | {
|
|
1702
1709
|
/** @enum {string} */
|
|
1703
|
-
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';
|
|
1704
1711
|
/**
|
|
1705
1712
|
* @description Human-readable error message
|
|
1706
1713
|
* @example Invalid input
|
|
@@ -1721,9 +1728,9 @@ export interface operations {
|
|
|
1721
1728
|
};
|
|
1722
1729
|
header: {
|
|
1723
1730
|
/** @description API version. Required; pinned to this document. */
|
|
1724
|
-
|
|
1731
|
+
'x-api-version': '2026-04.blanc';
|
|
1725
1732
|
/** @description API key. */
|
|
1726
|
-
|
|
1733
|
+
'x-api-key': string;
|
|
1727
1734
|
};
|
|
1728
1735
|
path?: never;
|
|
1729
1736
|
cookie?: never;
|
|
@@ -1736,7 +1743,7 @@ export interface operations {
|
|
|
1736
1743
|
[name: string]: unknown;
|
|
1737
1744
|
};
|
|
1738
1745
|
content: {
|
|
1739
|
-
|
|
1746
|
+
'application/json': {
|
|
1740
1747
|
/** @description Intents on this page, newest first */
|
|
1741
1748
|
data: {
|
|
1742
1749
|
/**
|
|
@@ -1749,7 +1756,7 @@ export interface operations {
|
|
|
1749
1756
|
* @example COMPLETED
|
|
1750
1757
|
* @enum {string}
|
|
1751
1758
|
*/
|
|
1752
|
-
status:
|
|
1759
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
1753
1760
|
/**
|
|
1754
1761
|
* @description Source chain IDs — one per distinct chain the intent spends on
|
|
1755
1762
|
* @example [
|
|
@@ -1803,9 +1810,9 @@ export interface operations {
|
|
|
1803
1810
|
[name: string]: unknown;
|
|
1804
1811
|
};
|
|
1805
1812
|
content: {
|
|
1806
|
-
|
|
1813
|
+
'application/json': {
|
|
1807
1814
|
/** @enum {string} */
|
|
1808
|
-
code:
|
|
1815
|
+
code: 'VALIDATION_ERROR';
|
|
1809
1816
|
/**
|
|
1810
1817
|
* @description Human-readable error message
|
|
1811
1818
|
* @example Invalid input
|
|
@@ -1822,7 +1829,7 @@ export interface operations {
|
|
|
1822
1829
|
}[];
|
|
1823
1830
|
} | {
|
|
1824
1831
|
/** @enum {string} */
|
|
1825
|
-
code:
|
|
1832
|
+
code: 'SIMULATION_FAILED';
|
|
1826
1833
|
/**
|
|
1827
1834
|
* @description Human-readable error message
|
|
1828
1835
|
* @example Invalid input
|
|
@@ -1839,14 +1846,14 @@ export interface operations {
|
|
|
1839
1846
|
};
|
|
1840
1847
|
retryable: boolean;
|
|
1841
1848
|
/** @enum {string} */
|
|
1842
|
-
retryHint?:
|
|
1849
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1843
1850
|
simulations?: unknown;
|
|
1844
1851
|
} & {
|
|
1845
1852
|
[key: string]: unknown;
|
|
1846
1853
|
};
|
|
1847
1854
|
} | {
|
|
1848
1855
|
/** @enum {string} */
|
|
1849
|
-
code:
|
|
1856
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1850
1857
|
/**
|
|
1851
1858
|
* @description Human-readable error message
|
|
1852
1859
|
* @example Invalid input
|
|
@@ -1865,7 +1872,7 @@ export interface operations {
|
|
|
1865
1872
|
};
|
|
1866
1873
|
} | {
|
|
1867
1874
|
/** @enum {string} */
|
|
1868
|
-
code:
|
|
1875
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1869
1876
|
/**
|
|
1870
1877
|
* @description Human-readable error message
|
|
1871
1878
|
* @example Invalid input
|
|
@@ -1879,16 +1886,16 @@ export interface operations {
|
|
|
1879
1886
|
* @description Which scope rejected the request
|
|
1880
1887
|
* @enum {string}
|
|
1881
1888
|
*/
|
|
1882
|
-
scope:
|
|
1889
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1883
1890
|
/** @description Minimum level the endpoint demands */
|
|
1884
|
-
required: boolean | (
|
|
1891
|
+
required: boolean | ('read' | 'write');
|
|
1885
1892
|
/** @description Level resolved on the key */
|
|
1886
|
-
actual: boolean | (
|
|
1893
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1887
1894
|
};
|
|
1888
1895
|
}[];
|
|
1889
1896
|
} | {
|
|
1890
1897
|
/** @enum {string} */
|
|
1891
|
-
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';
|
|
1892
1899
|
/**
|
|
1893
1900
|
* @description Human-readable error message
|
|
1894
1901
|
* @example Invalid input
|
|
@@ -1903,9 +1910,9 @@ export interface operations {
|
|
|
1903
1910
|
[name: string]: unknown;
|
|
1904
1911
|
};
|
|
1905
1912
|
content: {
|
|
1906
|
-
|
|
1913
|
+
'application/json': {
|
|
1907
1914
|
/** @enum {string} */
|
|
1908
|
-
code:
|
|
1915
|
+
code: 'VALIDATION_ERROR';
|
|
1909
1916
|
/**
|
|
1910
1917
|
* @description Human-readable error message
|
|
1911
1918
|
* @example Invalid input
|
|
@@ -1922,7 +1929,7 @@ export interface operations {
|
|
|
1922
1929
|
}[];
|
|
1923
1930
|
} | {
|
|
1924
1931
|
/** @enum {string} */
|
|
1925
|
-
code:
|
|
1932
|
+
code: 'SIMULATION_FAILED';
|
|
1926
1933
|
/**
|
|
1927
1934
|
* @description Human-readable error message
|
|
1928
1935
|
* @example Invalid input
|
|
@@ -1939,14 +1946,14 @@ export interface operations {
|
|
|
1939
1946
|
};
|
|
1940
1947
|
retryable: boolean;
|
|
1941
1948
|
/** @enum {string} */
|
|
1942
|
-
retryHint?:
|
|
1949
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
1943
1950
|
simulations?: unknown;
|
|
1944
1951
|
} & {
|
|
1945
1952
|
[key: string]: unknown;
|
|
1946
1953
|
};
|
|
1947
1954
|
} | {
|
|
1948
1955
|
/** @enum {string} */
|
|
1949
|
-
code:
|
|
1956
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
1950
1957
|
/**
|
|
1951
1958
|
* @description Human-readable error message
|
|
1952
1959
|
* @example Invalid input
|
|
@@ -1965,7 +1972,7 @@ export interface operations {
|
|
|
1965
1972
|
};
|
|
1966
1973
|
} | {
|
|
1967
1974
|
/** @enum {string} */
|
|
1968
|
-
code:
|
|
1975
|
+
code: 'KEY_SCOPE_DENIED';
|
|
1969
1976
|
/**
|
|
1970
1977
|
* @description Human-readable error message
|
|
1971
1978
|
* @example Invalid input
|
|
@@ -1979,16 +1986,16 @@ export interface operations {
|
|
|
1979
1986
|
* @description Which scope rejected the request
|
|
1980
1987
|
* @enum {string}
|
|
1981
1988
|
*/
|
|
1982
|
-
scope:
|
|
1989
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
1983
1990
|
/** @description Minimum level the endpoint demands */
|
|
1984
|
-
required: boolean | (
|
|
1991
|
+
required: boolean | ('read' | 'write');
|
|
1985
1992
|
/** @description Level resolved on the key */
|
|
1986
|
-
actual: boolean | (
|
|
1993
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
1987
1994
|
};
|
|
1988
1995
|
}[];
|
|
1989
1996
|
} | {
|
|
1990
1997
|
/** @enum {string} */
|
|
1991
|
-
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';
|
|
1992
1999
|
/**
|
|
1993
2000
|
* @description Human-readable error message
|
|
1994
2001
|
* @example Invalid input
|
|
@@ -2003,9 +2010,9 @@ export interface operations {
|
|
|
2003
2010
|
[name: string]: unknown;
|
|
2004
2011
|
};
|
|
2005
2012
|
content: {
|
|
2006
|
-
|
|
2013
|
+
'application/json': {
|
|
2007
2014
|
/** @enum {string} */
|
|
2008
|
-
code:
|
|
2015
|
+
code: 'VALIDATION_ERROR';
|
|
2009
2016
|
/**
|
|
2010
2017
|
* @description Human-readable error message
|
|
2011
2018
|
* @example Invalid input
|
|
@@ -2022,7 +2029,7 @@ export interface operations {
|
|
|
2022
2029
|
}[];
|
|
2023
2030
|
} | {
|
|
2024
2031
|
/** @enum {string} */
|
|
2025
|
-
code:
|
|
2032
|
+
code: 'SIMULATION_FAILED';
|
|
2026
2033
|
/**
|
|
2027
2034
|
* @description Human-readable error message
|
|
2028
2035
|
* @example Invalid input
|
|
@@ -2039,14 +2046,14 @@ export interface operations {
|
|
|
2039
2046
|
};
|
|
2040
2047
|
retryable: boolean;
|
|
2041
2048
|
/** @enum {string} */
|
|
2042
|
-
retryHint?:
|
|
2049
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2043
2050
|
simulations?: unknown;
|
|
2044
2051
|
} & {
|
|
2045
2052
|
[key: string]: unknown;
|
|
2046
2053
|
};
|
|
2047
2054
|
} | {
|
|
2048
2055
|
/** @enum {string} */
|
|
2049
|
-
code:
|
|
2056
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2050
2057
|
/**
|
|
2051
2058
|
* @description Human-readable error message
|
|
2052
2059
|
* @example Invalid input
|
|
@@ -2065,7 +2072,7 @@ export interface operations {
|
|
|
2065
2072
|
};
|
|
2066
2073
|
} | {
|
|
2067
2074
|
/** @enum {string} */
|
|
2068
|
-
code:
|
|
2075
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2069
2076
|
/**
|
|
2070
2077
|
* @description Human-readable error message
|
|
2071
2078
|
* @example Invalid input
|
|
@@ -2079,16 +2086,16 @@ export interface operations {
|
|
|
2079
2086
|
* @description Which scope rejected the request
|
|
2080
2087
|
* @enum {string}
|
|
2081
2088
|
*/
|
|
2082
|
-
scope:
|
|
2089
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
2083
2090
|
/** @description Minimum level the endpoint demands */
|
|
2084
|
-
required: boolean | (
|
|
2091
|
+
required: boolean | ('read' | 'write');
|
|
2085
2092
|
/** @description Level resolved on the key */
|
|
2086
|
-
actual: boolean | (
|
|
2093
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
2087
2094
|
};
|
|
2088
2095
|
}[];
|
|
2089
2096
|
} | {
|
|
2090
2097
|
/** @enum {string} */
|
|
2091
|
-
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';
|
|
2092
2099
|
/**
|
|
2093
2100
|
* @description Human-readable error message
|
|
2094
2101
|
* @example Invalid input
|
|
@@ -2104,16 +2111,16 @@ export interface operations {
|
|
|
2104
2111
|
query?: never;
|
|
2105
2112
|
header: {
|
|
2106
2113
|
/** @description API version. Required; pinned to this document. */
|
|
2107
|
-
|
|
2114
|
+
'x-api-version': '2026-04.blanc';
|
|
2108
2115
|
/** @description API key. */
|
|
2109
|
-
|
|
2116
|
+
'x-api-key': string;
|
|
2110
2117
|
};
|
|
2111
2118
|
path?: never;
|
|
2112
2119
|
cookie?: never;
|
|
2113
2120
|
};
|
|
2114
2121
|
requestBody: {
|
|
2115
2122
|
content: {
|
|
2116
|
-
|
|
2123
|
+
'application/json': {
|
|
2117
2124
|
/** @description Identifier of the intent returned by `POST /quotes` (as `routes[].intentId`). */
|
|
2118
2125
|
intentId: string;
|
|
2119
2126
|
signatures: {
|
|
@@ -2217,7 +2224,7 @@ export interface operations {
|
|
|
2217
2224
|
[name: string]: unknown;
|
|
2218
2225
|
};
|
|
2219
2226
|
content: {
|
|
2220
|
-
|
|
2227
|
+
'application/json': {
|
|
2221
2228
|
intentId: string;
|
|
2222
2229
|
};
|
|
2223
2230
|
};
|
|
@@ -2228,9 +2235,9 @@ export interface operations {
|
|
|
2228
2235
|
[name: string]: unknown;
|
|
2229
2236
|
};
|
|
2230
2237
|
content: {
|
|
2231
|
-
|
|
2238
|
+
'application/json': {
|
|
2232
2239
|
/** @enum {string} */
|
|
2233
|
-
code:
|
|
2240
|
+
code: 'VALIDATION_ERROR';
|
|
2234
2241
|
/**
|
|
2235
2242
|
* @description Human-readable error message
|
|
2236
2243
|
* @example Invalid input
|
|
@@ -2247,7 +2254,7 @@ export interface operations {
|
|
|
2247
2254
|
}[];
|
|
2248
2255
|
} | {
|
|
2249
2256
|
/** @enum {string} */
|
|
2250
|
-
code:
|
|
2257
|
+
code: 'SIMULATION_FAILED';
|
|
2251
2258
|
/**
|
|
2252
2259
|
* @description Human-readable error message
|
|
2253
2260
|
* @example Invalid input
|
|
@@ -2264,14 +2271,14 @@ export interface operations {
|
|
|
2264
2271
|
};
|
|
2265
2272
|
retryable: boolean;
|
|
2266
2273
|
/** @enum {string} */
|
|
2267
|
-
retryHint?:
|
|
2274
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2268
2275
|
simulations?: unknown;
|
|
2269
2276
|
} & {
|
|
2270
2277
|
[key: string]: unknown;
|
|
2271
2278
|
};
|
|
2272
2279
|
} | {
|
|
2273
2280
|
/** @enum {string} */
|
|
2274
|
-
code:
|
|
2281
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2275
2282
|
/**
|
|
2276
2283
|
* @description Human-readable error message
|
|
2277
2284
|
* @example Invalid input
|
|
@@ -2290,7 +2297,7 @@ export interface operations {
|
|
|
2290
2297
|
};
|
|
2291
2298
|
} | {
|
|
2292
2299
|
/** @enum {string} */
|
|
2293
|
-
code:
|
|
2300
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2294
2301
|
/**
|
|
2295
2302
|
* @description Human-readable error message
|
|
2296
2303
|
* @example Invalid input
|
|
@@ -2304,16 +2311,16 @@ export interface operations {
|
|
|
2304
2311
|
* @description Which scope rejected the request
|
|
2305
2312
|
* @enum {string}
|
|
2306
2313
|
*/
|
|
2307
|
-
scope:
|
|
2314
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
2308
2315
|
/** @description Minimum level the endpoint demands */
|
|
2309
|
-
required: boolean | (
|
|
2316
|
+
required: boolean | ('read' | 'write');
|
|
2310
2317
|
/** @description Level resolved on the key */
|
|
2311
|
-
actual: boolean | (
|
|
2318
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
2312
2319
|
};
|
|
2313
2320
|
}[];
|
|
2314
2321
|
} | {
|
|
2315
2322
|
/** @enum {string} */
|
|
2316
|
-
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';
|
|
2317
2324
|
/**
|
|
2318
2325
|
* @description Human-readable error message
|
|
2319
2326
|
* @example Invalid input
|
|
@@ -2328,9 +2335,9 @@ export interface operations {
|
|
|
2328
2335
|
[name: string]: unknown;
|
|
2329
2336
|
};
|
|
2330
2337
|
content: {
|
|
2331
|
-
|
|
2338
|
+
'application/json': {
|
|
2332
2339
|
/** @enum {string} */
|
|
2333
|
-
code:
|
|
2340
|
+
code: 'VALIDATION_ERROR';
|
|
2334
2341
|
/**
|
|
2335
2342
|
* @description Human-readable error message
|
|
2336
2343
|
* @example Invalid input
|
|
@@ -2347,7 +2354,7 @@ export interface operations {
|
|
|
2347
2354
|
}[];
|
|
2348
2355
|
} | {
|
|
2349
2356
|
/** @enum {string} */
|
|
2350
|
-
code:
|
|
2357
|
+
code: 'SIMULATION_FAILED';
|
|
2351
2358
|
/**
|
|
2352
2359
|
* @description Human-readable error message
|
|
2353
2360
|
* @example Invalid input
|
|
@@ -2364,14 +2371,14 @@ export interface operations {
|
|
|
2364
2371
|
};
|
|
2365
2372
|
retryable: boolean;
|
|
2366
2373
|
/** @enum {string} */
|
|
2367
|
-
retryHint?:
|
|
2374
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2368
2375
|
simulations?: unknown;
|
|
2369
2376
|
} & {
|
|
2370
2377
|
[key: string]: unknown;
|
|
2371
2378
|
};
|
|
2372
2379
|
} | {
|
|
2373
2380
|
/** @enum {string} */
|
|
2374
|
-
code:
|
|
2381
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2375
2382
|
/**
|
|
2376
2383
|
* @description Human-readable error message
|
|
2377
2384
|
* @example Invalid input
|
|
@@ -2390,7 +2397,7 @@ export interface operations {
|
|
|
2390
2397
|
};
|
|
2391
2398
|
} | {
|
|
2392
2399
|
/** @enum {string} */
|
|
2393
|
-
code:
|
|
2400
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2394
2401
|
/**
|
|
2395
2402
|
* @description Human-readable error message
|
|
2396
2403
|
* @example Invalid input
|
|
@@ -2404,16 +2411,16 @@ export interface operations {
|
|
|
2404
2411
|
* @description Which scope rejected the request
|
|
2405
2412
|
* @enum {string}
|
|
2406
2413
|
*/
|
|
2407
|
-
scope:
|
|
2414
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
2408
2415
|
/** @description Minimum level the endpoint demands */
|
|
2409
|
-
required: boolean | (
|
|
2416
|
+
required: boolean | ('read' | 'write');
|
|
2410
2417
|
/** @description Level resolved on the key */
|
|
2411
|
-
actual: boolean | (
|
|
2418
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
2412
2419
|
};
|
|
2413
2420
|
}[];
|
|
2414
2421
|
} | {
|
|
2415
2422
|
/** @enum {string} */
|
|
2416
|
-
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';
|
|
2417
2424
|
/**
|
|
2418
2425
|
* @description Human-readable error message
|
|
2419
2426
|
* @example Invalid input
|
|
@@ -2428,9 +2435,9 @@ export interface operations {
|
|
|
2428
2435
|
[name: string]: unknown;
|
|
2429
2436
|
};
|
|
2430
2437
|
content: {
|
|
2431
|
-
|
|
2438
|
+
'application/json': {
|
|
2432
2439
|
/** @enum {string} */
|
|
2433
|
-
code:
|
|
2440
|
+
code: 'VALIDATION_ERROR';
|
|
2434
2441
|
/**
|
|
2435
2442
|
* @description Human-readable error message
|
|
2436
2443
|
* @example Invalid input
|
|
@@ -2447,7 +2454,7 @@ export interface operations {
|
|
|
2447
2454
|
}[];
|
|
2448
2455
|
} | {
|
|
2449
2456
|
/** @enum {string} */
|
|
2450
|
-
code:
|
|
2457
|
+
code: 'SIMULATION_FAILED';
|
|
2451
2458
|
/**
|
|
2452
2459
|
* @description Human-readable error message
|
|
2453
2460
|
* @example Invalid input
|
|
@@ -2464,14 +2471,14 @@ export interface operations {
|
|
|
2464
2471
|
};
|
|
2465
2472
|
retryable: boolean;
|
|
2466
2473
|
/** @enum {string} */
|
|
2467
|
-
retryHint?:
|
|
2474
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2468
2475
|
simulations?: unknown;
|
|
2469
2476
|
} & {
|
|
2470
2477
|
[key: string]: unknown;
|
|
2471
2478
|
};
|
|
2472
2479
|
} | {
|
|
2473
2480
|
/** @enum {string} */
|
|
2474
|
-
code:
|
|
2481
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2475
2482
|
/**
|
|
2476
2483
|
* @description Human-readable error message
|
|
2477
2484
|
* @example Invalid input
|
|
@@ -2490,7 +2497,7 @@ export interface operations {
|
|
|
2490
2497
|
};
|
|
2491
2498
|
} | {
|
|
2492
2499
|
/** @enum {string} */
|
|
2493
|
-
code:
|
|
2500
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2494
2501
|
/**
|
|
2495
2502
|
* @description Human-readable error message
|
|
2496
2503
|
* @example Invalid input
|
|
@@ -2504,16 +2511,16 @@ export interface operations {
|
|
|
2504
2511
|
* @description Which scope rejected the request
|
|
2505
2512
|
* @enum {string}
|
|
2506
2513
|
*/
|
|
2507
|
-
scope:
|
|
2514
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
2508
2515
|
/** @description Minimum level the endpoint demands */
|
|
2509
|
-
required: boolean | (
|
|
2516
|
+
required: boolean | ('read' | 'write');
|
|
2510
2517
|
/** @description Level resolved on the key */
|
|
2511
|
-
actual: boolean | (
|
|
2518
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
2512
2519
|
};
|
|
2513
2520
|
}[];
|
|
2514
2521
|
} | {
|
|
2515
2522
|
/** @enum {string} */
|
|
2516
|
-
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';
|
|
2517
2524
|
/**
|
|
2518
2525
|
* @description Human-readable error message
|
|
2519
2526
|
* @example Invalid input
|
|
@@ -2528,9 +2535,9 @@ export interface operations {
|
|
|
2528
2535
|
[name: string]: unknown;
|
|
2529
2536
|
};
|
|
2530
2537
|
content: {
|
|
2531
|
-
|
|
2538
|
+
'application/json': {
|
|
2532
2539
|
/** @enum {string} */
|
|
2533
|
-
code:
|
|
2540
|
+
code: 'VALIDATION_ERROR';
|
|
2534
2541
|
/**
|
|
2535
2542
|
* @description Human-readable error message
|
|
2536
2543
|
* @example Invalid input
|
|
@@ -2547,7 +2554,7 @@ export interface operations {
|
|
|
2547
2554
|
}[];
|
|
2548
2555
|
} | {
|
|
2549
2556
|
/** @enum {string} */
|
|
2550
|
-
code:
|
|
2557
|
+
code: 'SIMULATION_FAILED';
|
|
2551
2558
|
/**
|
|
2552
2559
|
* @description Human-readable error message
|
|
2553
2560
|
* @example Invalid input
|
|
@@ -2564,14 +2571,14 @@ export interface operations {
|
|
|
2564
2571
|
};
|
|
2565
2572
|
retryable: boolean;
|
|
2566
2573
|
/** @enum {string} */
|
|
2567
|
-
retryHint?:
|
|
2574
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2568
2575
|
simulations?: unknown;
|
|
2569
2576
|
} & {
|
|
2570
2577
|
[key: string]: unknown;
|
|
2571
2578
|
};
|
|
2572
2579
|
} | {
|
|
2573
2580
|
/** @enum {string} */
|
|
2574
|
-
code:
|
|
2581
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2575
2582
|
/**
|
|
2576
2583
|
* @description Human-readable error message
|
|
2577
2584
|
* @example Invalid input
|
|
@@ -2590,7 +2597,7 @@ export interface operations {
|
|
|
2590
2597
|
};
|
|
2591
2598
|
} | {
|
|
2592
2599
|
/** @enum {string} */
|
|
2593
|
-
code:
|
|
2600
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2594
2601
|
/**
|
|
2595
2602
|
* @description Human-readable error message
|
|
2596
2603
|
* @example Invalid input
|
|
@@ -2604,16 +2611,16 @@ export interface operations {
|
|
|
2604
2611
|
* @description Which scope rejected the request
|
|
2605
2612
|
* @enum {string}
|
|
2606
2613
|
*/
|
|
2607
|
-
scope:
|
|
2614
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
2608
2615
|
/** @description Minimum level the endpoint demands */
|
|
2609
|
-
required: boolean | (
|
|
2616
|
+
required: boolean | ('read' | 'write');
|
|
2610
2617
|
/** @description Level resolved on the key */
|
|
2611
|
-
actual: boolean | (
|
|
2618
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
2612
2619
|
};
|
|
2613
2620
|
}[];
|
|
2614
2621
|
} | {
|
|
2615
2622
|
/** @enum {string} */
|
|
2616
|
-
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';
|
|
2617
2624
|
/**
|
|
2618
2625
|
* @description Human-readable error message
|
|
2619
2626
|
* @example Invalid input
|
|
@@ -2629,16 +2636,16 @@ export interface operations {
|
|
|
2629
2636
|
query?: never;
|
|
2630
2637
|
header: {
|
|
2631
2638
|
/** @description API version. Required; pinned to this document. */
|
|
2632
|
-
|
|
2639
|
+
'x-api-version': '2026-04.blanc';
|
|
2633
2640
|
/** @description API key. */
|
|
2634
|
-
|
|
2641
|
+
'x-api-key': string;
|
|
2635
2642
|
};
|
|
2636
2643
|
path?: never;
|
|
2637
2644
|
cookie?: never;
|
|
2638
2645
|
};
|
|
2639
2646
|
requestBody: {
|
|
2640
2647
|
content: {
|
|
2641
|
-
|
|
2648
|
+
'application/json': {
|
|
2642
2649
|
/**
|
|
2643
2650
|
* @description The chain ID the intents settle on (CAIP-2)
|
|
2644
2651
|
* @example eip155:42161
|
|
@@ -2661,10 +2668,10 @@ export interface operations {
|
|
|
2661
2668
|
* ]
|
|
2662
2669
|
* }
|
|
2663
2670
|
*/
|
|
2664
|
-
settlementLayers?: (
|
|
2665
|
-
include: (
|
|
2671
|
+
settlementLayers?: ('ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP')[] | {
|
|
2672
|
+
include: ('ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP')[];
|
|
2666
2673
|
} | {
|
|
2667
|
-
exclude: (
|
|
2674
|
+
exclude: ('ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP')[];
|
|
2668
2675
|
};
|
|
2669
2676
|
};
|
|
2670
2677
|
};
|
|
@@ -2676,7 +2683,7 @@ export interface operations {
|
|
|
2676
2683
|
[name: string]: unknown;
|
|
2677
2684
|
};
|
|
2678
2685
|
content: {
|
|
2679
|
-
|
|
2686
|
+
'application/json': {
|
|
2680
2687
|
/**
|
|
2681
2688
|
* @description Array of intents, each mapping token addresses to amounts that can be filled by a single relayer
|
|
2682
2689
|
* @example [
|
|
@@ -2703,9 +2710,9 @@ export interface operations {
|
|
|
2703
2710
|
[name: string]: unknown;
|
|
2704
2711
|
};
|
|
2705
2712
|
content: {
|
|
2706
|
-
|
|
2713
|
+
'application/json': {
|
|
2707
2714
|
/** @enum {string} */
|
|
2708
|
-
code:
|
|
2715
|
+
code: 'VALIDATION_ERROR';
|
|
2709
2716
|
/**
|
|
2710
2717
|
* @description Human-readable error message
|
|
2711
2718
|
* @example Invalid input
|
|
@@ -2722,7 +2729,7 @@ export interface operations {
|
|
|
2722
2729
|
}[];
|
|
2723
2730
|
} | {
|
|
2724
2731
|
/** @enum {string} */
|
|
2725
|
-
code:
|
|
2732
|
+
code: 'SIMULATION_FAILED';
|
|
2726
2733
|
/**
|
|
2727
2734
|
* @description Human-readable error message
|
|
2728
2735
|
* @example Invalid input
|
|
@@ -2739,14 +2746,14 @@ export interface operations {
|
|
|
2739
2746
|
};
|
|
2740
2747
|
retryable: boolean;
|
|
2741
2748
|
/** @enum {string} */
|
|
2742
|
-
retryHint?:
|
|
2749
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2743
2750
|
simulations?: unknown;
|
|
2744
2751
|
} & {
|
|
2745
2752
|
[key: string]: unknown;
|
|
2746
2753
|
};
|
|
2747
2754
|
} | {
|
|
2748
2755
|
/** @enum {string} */
|
|
2749
|
-
code:
|
|
2756
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2750
2757
|
/**
|
|
2751
2758
|
* @description Human-readable error message
|
|
2752
2759
|
* @example Invalid input
|
|
@@ -2765,7 +2772,7 @@ export interface operations {
|
|
|
2765
2772
|
};
|
|
2766
2773
|
} | {
|
|
2767
2774
|
/** @enum {string} */
|
|
2768
|
-
code:
|
|
2775
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2769
2776
|
/**
|
|
2770
2777
|
* @description Human-readable error message
|
|
2771
2778
|
* @example Invalid input
|
|
@@ -2779,16 +2786,16 @@ export interface operations {
|
|
|
2779
2786
|
* @description Which scope rejected the request
|
|
2780
2787
|
* @enum {string}
|
|
2781
2788
|
*/
|
|
2782
|
-
scope:
|
|
2789
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
2783
2790
|
/** @description Minimum level the endpoint demands */
|
|
2784
|
-
required: boolean | (
|
|
2791
|
+
required: boolean | ('read' | 'write');
|
|
2785
2792
|
/** @description Level resolved on the key */
|
|
2786
|
-
actual: boolean | (
|
|
2793
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
2787
2794
|
};
|
|
2788
2795
|
}[];
|
|
2789
2796
|
} | {
|
|
2790
2797
|
/** @enum {string} */
|
|
2791
|
-
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';
|
|
2792
2799
|
/**
|
|
2793
2800
|
* @description Human-readable error message
|
|
2794
2801
|
* @example Invalid input
|
|
@@ -2803,9 +2810,9 @@ export interface operations {
|
|
|
2803
2810
|
[name: string]: unknown;
|
|
2804
2811
|
};
|
|
2805
2812
|
content: {
|
|
2806
|
-
|
|
2813
|
+
'application/json': {
|
|
2807
2814
|
/** @enum {string} */
|
|
2808
|
-
code:
|
|
2815
|
+
code: 'VALIDATION_ERROR';
|
|
2809
2816
|
/**
|
|
2810
2817
|
* @description Human-readable error message
|
|
2811
2818
|
* @example Invalid input
|
|
@@ -2822,7 +2829,7 @@ export interface operations {
|
|
|
2822
2829
|
}[];
|
|
2823
2830
|
} | {
|
|
2824
2831
|
/** @enum {string} */
|
|
2825
|
-
code:
|
|
2832
|
+
code: 'SIMULATION_FAILED';
|
|
2826
2833
|
/**
|
|
2827
2834
|
* @description Human-readable error message
|
|
2828
2835
|
* @example Invalid input
|
|
@@ -2839,14 +2846,14 @@ export interface operations {
|
|
|
2839
2846
|
};
|
|
2840
2847
|
retryable: boolean;
|
|
2841
2848
|
/** @enum {string} */
|
|
2842
|
-
retryHint?:
|
|
2849
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2843
2850
|
simulations?: unknown;
|
|
2844
2851
|
} & {
|
|
2845
2852
|
[key: string]: unknown;
|
|
2846
2853
|
};
|
|
2847
2854
|
} | {
|
|
2848
2855
|
/** @enum {string} */
|
|
2849
|
-
code:
|
|
2856
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2850
2857
|
/**
|
|
2851
2858
|
* @description Human-readable error message
|
|
2852
2859
|
* @example Invalid input
|
|
@@ -2865,7 +2872,7 @@ export interface operations {
|
|
|
2865
2872
|
};
|
|
2866
2873
|
} | {
|
|
2867
2874
|
/** @enum {string} */
|
|
2868
|
-
code:
|
|
2875
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2869
2876
|
/**
|
|
2870
2877
|
* @description Human-readable error message
|
|
2871
2878
|
* @example Invalid input
|
|
@@ -2879,16 +2886,16 @@ export interface operations {
|
|
|
2879
2886
|
* @description Which scope rejected the request
|
|
2880
2887
|
* @enum {string}
|
|
2881
2888
|
*/
|
|
2882
|
-
scope:
|
|
2889
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
2883
2890
|
/** @description Minimum level the endpoint demands */
|
|
2884
|
-
required: boolean | (
|
|
2891
|
+
required: boolean | ('read' | 'write');
|
|
2885
2892
|
/** @description Level resolved on the key */
|
|
2886
|
-
actual: boolean | (
|
|
2893
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
2887
2894
|
};
|
|
2888
2895
|
}[];
|
|
2889
2896
|
} | {
|
|
2890
2897
|
/** @enum {string} */
|
|
2891
|
-
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';
|
|
2892
2899
|
/**
|
|
2893
2900
|
* @description Human-readable error message
|
|
2894
2901
|
* @example Invalid input
|
|
@@ -2903,9 +2910,9 @@ export interface operations {
|
|
|
2903
2910
|
[name: string]: unknown;
|
|
2904
2911
|
};
|
|
2905
2912
|
content: {
|
|
2906
|
-
|
|
2913
|
+
'application/json': {
|
|
2907
2914
|
/** @enum {string} */
|
|
2908
|
-
code:
|
|
2915
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2909
2916
|
/**
|
|
2910
2917
|
* @description Human-readable error message
|
|
2911
2918
|
* @example Invalid input
|
|
@@ -2931,9 +2938,9 @@ export interface operations {
|
|
|
2931
2938
|
[name: string]: unknown;
|
|
2932
2939
|
};
|
|
2933
2940
|
content: {
|
|
2934
|
-
|
|
2941
|
+
'application/json': {
|
|
2935
2942
|
/** @enum {string} */
|
|
2936
|
-
code:
|
|
2943
|
+
code: 'VALIDATION_ERROR';
|
|
2937
2944
|
/**
|
|
2938
2945
|
* @description Human-readable error message
|
|
2939
2946
|
* @example Invalid input
|
|
@@ -2950,7 +2957,7 @@ export interface operations {
|
|
|
2950
2957
|
}[];
|
|
2951
2958
|
} | {
|
|
2952
2959
|
/** @enum {string} */
|
|
2953
|
-
code:
|
|
2960
|
+
code: 'SIMULATION_FAILED';
|
|
2954
2961
|
/**
|
|
2955
2962
|
* @description Human-readable error message
|
|
2956
2963
|
* @example Invalid input
|
|
@@ -2967,14 +2974,14 @@ export interface operations {
|
|
|
2967
2974
|
};
|
|
2968
2975
|
retryable: boolean;
|
|
2969
2976
|
/** @enum {string} */
|
|
2970
|
-
retryHint?:
|
|
2977
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
2971
2978
|
simulations?: unknown;
|
|
2972
2979
|
} & {
|
|
2973
2980
|
[key: string]: unknown;
|
|
2974
2981
|
};
|
|
2975
2982
|
} | {
|
|
2976
2983
|
/** @enum {string} */
|
|
2977
|
-
code:
|
|
2984
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
2978
2985
|
/**
|
|
2979
2986
|
* @description Human-readable error message
|
|
2980
2987
|
* @example Invalid input
|
|
@@ -2993,7 +3000,7 @@ export interface operations {
|
|
|
2993
3000
|
};
|
|
2994
3001
|
} | {
|
|
2995
3002
|
/** @enum {string} */
|
|
2996
|
-
code:
|
|
3003
|
+
code: 'KEY_SCOPE_DENIED';
|
|
2997
3004
|
/**
|
|
2998
3005
|
* @description Human-readable error message
|
|
2999
3006
|
* @example Invalid input
|
|
@@ -3007,16 +3014,16 @@ export interface operations {
|
|
|
3007
3014
|
* @description Which scope rejected the request
|
|
3008
3015
|
* @enum {string}
|
|
3009
3016
|
*/
|
|
3010
|
-
scope:
|
|
3017
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
3011
3018
|
/** @description Minimum level the endpoint demands */
|
|
3012
|
-
required: boolean | (
|
|
3019
|
+
required: boolean | ('read' | 'write');
|
|
3013
3020
|
/** @description Level resolved on the key */
|
|
3014
|
-
actual: boolean | (
|
|
3021
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
3015
3022
|
};
|
|
3016
3023
|
}[];
|
|
3017
3024
|
} | {
|
|
3018
3025
|
/** @enum {string} */
|
|
3019
|
-
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';
|
|
3020
3027
|
/**
|
|
3021
3028
|
* @description Human-readable error message
|
|
3022
3029
|
* @example Invalid input
|
|
@@ -3032,16 +3039,16 @@ export interface operations {
|
|
|
3032
3039
|
query?: never;
|
|
3033
3040
|
header: {
|
|
3034
3041
|
/** @description API version. Required; pinned to this document. */
|
|
3035
|
-
|
|
3042
|
+
'x-api-version': '2026-04.blanc';
|
|
3036
3043
|
/** @description API key. */
|
|
3037
|
-
|
|
3044
|
+
'x-api-key': string;
|
|
3038
3045
|
};
|
|
3039
3046
|
path?: never;
|
|
3040
3047
|
cookie?: never;
|
|
3041
3048
|
};
|
|
3042
3049
|
requestBody: {
|
|
3043
3050
|
content: {
|
|
3044
|
-
|
|
3051
|
+
'application/json': {
|
|
3045
3052
|
/**
|
|
3046
3053
|
* @description CAIP-2 chain identifier of the destination chain (EVM `eip155:<id>`, or non-EVM `solana:…`/`tron:…`)
|
|
3047
3054
|
* @example eip155:8453
|
|
@@ -3065,7 +3072,7 @@ export interface operations {
|
|
|
3065
3072
|
* @example spot
|
|
3066
3073
|
* @enum {string}
|
|
3067
3074
|
*/
|
|
3068
|
-
balance?:
|
|
3075
|
+
balance?: 'spot' | 'perp';
|
|
3069
3076
|
}[];
|
|
3070
3077
|
/** @description Account details */
|
|
3071
3078
|
account: {
|
|
@@ -3078,7 +3085,7 @@ export interface operations {
|
|
|
3078
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.
|
|
3079
3086
|
* @enum {string}
|
|
3080
3087
|
*/
|
|
3081
|
-
accountType?:
|
|
3088
|
+
accountType?: 'smartAccount' | 'GENERIC' | 'EOA' | 'ERC7579';
|
|
3082
3089
|
/** @description Setup operations for the smart account. Only used if the account is not deployed */
|
|
3083
3090
|
setupOps?: {
|
|
3084
3091
|
/**
|
|
@@ -3166,9 +3173,9 @@ export interface operations {
|
|
|
3166
3173
|
/** @description Account access list specifying which chains and tokens an account may access */
|
|
3167
3174
|
accountAccessList?: {
|
|
3168
3175
|
chainIds?: number[];
|
|
3169
|
-
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'))[];
|
|
3170
3177
|
chainTokens?: {
|
|
3171
|
-
[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'))[];
|
|
3172
3179
|
};
|
|
3173
3180
|
chainTokenAmounts?: {
|
|
3174
3181
|
[key: string]: {
|
|
@@ -3177,9 +3184,9 @@ export interface operations {
|
|
|
3177
3184
|
};
|
|
3178
3185
|
exclude?: {
|
|
3179
3186
|
chainIds?: number[];
|
|
3180
|
-
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'))[];
|
|
3181
3188
|
chainTokens?: {
|
|
3182
|
-
[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'))[];
|
|
3183
3190
|
};
|
|
3184
3191
|
};
|
|
3185
3192
|
};
|
|
@@ -3193,7 +3200,7 @@ export interface operations {
|
|
|
3193
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.
|
|
3194
3201
|
* @enum {string}
|
|
3195
3202
|
*/
|
|
3196
|
-
accountType?:
|
|
3203
|
+
accountType?: 'smartAccount' | 'GENERIC' | 'EOA' | 'ERC7579';
|
|
3197
3204
|
/** @description Setup operations for the smart account. Only used if the account is not deployed */
|
|
3198
3205
|
setupOps?: {
|
|
3199
3206
|
/**
|
|
@@ -3246,10 +3253,10 @@ export interface operations {
|
|
|
3246
3253
|
* ]
|
|
3247
3254
|
* }
|
|
3248
3255
|
*/
|
|
3249
|
-
settlementLayers?: (
|
|
3250
|
-
include: (
|
|
3256
|
+
settlementLayers?: ('ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP')[] | {
|
|
3257
|
+
include: ('ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP')[];
|
|
3251
3258
|
} | {
|
|
3252
|
-
exclude: (
|
|
3259
|
+
exclude: ('ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP')[];
|
|
3253
3260
|
};
|
|
3254
3261
|
/**
|
|
3255
3262
|
* @description Sponsor settings for the intent
|
|
@@ -3282,12 +3289,12 @@ export interface operations {
|
|
|
3282
3289
|
* @example 3
|
|
3283
3290
|
* @enum {string}
|
|
3284
3291
|
*/
|
|
3285
|
-
signatureMode?:
|
|
3292
|
+
signatureMode?: 'EMISSARY' | 'ERC1271' | 'EMISSARY_ERC1271' | 'ERC1271_EMISSARY' | 'EMISSARY_EXECUTION' | 'EMISSARY_EXECUTION_ERC1271' | 'ERC1271_EMISSARY_EXECUTION' | 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
3286
3293
|
/**
|
|
3287
3294
|
* @description Reserved for future use. No effect today.
|
|
3288
3295
|
* @enum {string}
|
|
3289
3296
|
*/
|
|
3290
|
-
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';
|
|
3291
3298
|
appFees?: {
|
|
3292
3299
|
/**
|
|
3293
3300
|
* @description App fee rate in basis points of the input value (0–10000 = 0–100%).
|
|
@@ -3320,9 +3327,9 @@ export interface operations {
|
|
|
3320
3327
|
* @example best
|
|
3321
3328
|
* @enum {string}
|
|
3322
3329
|
*/
|
|
3323
|
-
selectionStrategy?:
|
|
3330
|
+
selectionStrategy?: 'cheapest' | 'fastest' | 'best';
|
|
3324
3331
|
/**
|
|
3325
|
-
* @description Absolute unix timestamp (seconds) overriding the on-chain fill deadline. **TOKENLESS intents only
|
|
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.
|
|
3326
3333
|
* @example 1893456000
|
|
3327
3334
|
*/
|
|
3328
3335
|
customDeadline?: number;
|
|
@@ -3337,7 +3344,7 @@ export interface operations {
|
|
|
3337
3344
|
[name: string]: unknown;
|
|
3338
3345
|
};
|
|
3339
3346
|
content: {
|
|
3340
|
-
|
|
3347
|
+
'application/json': {
|
|
3341
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. */
|
|
3342
3349
|
routes: {
|
|
3343
3350
|
/** @description Server-stored intent identifier. Pass back to `POST /intents` to submit. */
|
|
@@ -3360,7 +3367,7 @@ export interface operations {
|
|
|
3360
3367
|
* @example RELAY
|
|
3361
3368
|
* @enum {string}
|
|
3362
3369
|
*/
|
|
3363
|
-
settlementLayer:
|
|
3370
|
+
settlementLayer: 'INTENT_EXECUTOR' | 'SAME_CHAIN' | 'ACROSS' | 'ECO' | 'RELAY' | 'OFT' | 'NEAR' | 'RHINO' | 'CCTP';
|
|
3364
3371
|
/** @description EIP-712 sign payloads the client submits back on `POST /intents` */
|
|
3365
3372
|
signData: {
|
|
3366
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`. */
|
|
@@ -3585,6 +3592,19 @@ export interface operations {
|
|
|
3585
3592
|
*/
|
|
3586
3593
|
sponsored: boolean;
|
|
3587
3594
|
};
|
|
3595
|
+
/** @description Rhinestone's surcharge on the sponsored fee, charged to the sponsor. 0 when the intent is not sponsored. */
|
|
3596
|
+
sponsorSurcharge: {
|
|
3597
|
+
/**
|
|
3598
|
+
* @description Total cost of this category in USD, regardless of who pays.
|
|
3599
|
+
* @example 0.029
|
|
3600
|
+
*/
|
|
3601
|
+
usd: number;
|
|
3602
|
+
/**
|
|
3603
|
+
* @description True when a sponsor absorbs some or all of this category. The user-vs-sponsor split is not surfaced.
|
|
3604
|
+
* @example false
|
|
3605
|
+
*/
|
|
3606
|
+
sponsored: boolean;
|
|
3607
|
+
};
|
|
3588
3608
|
};
|
|
3589
3609
|
};
|
|
3590
3610
|
};
|
|
@@ -3607,7 +3627,7 @@ export interface operations {
|
|
|
3607
3627
|
* @description Discriminator: `approval` means the user must ERC-20 approve `spender` for at least `amount` before submission.
|
|
3608
3628
|
* @enum {string}
|
|
3609
3629
|
*/
|
|
3610
|
-
type:
|
|
3630
|
+
type: 'approval';
|
|
3611
3631
|
/**
|
|
3612
3632
|
* Format: uint256
|
|
3613
3633
|
* @description Minimum required allowance, in the token's smallest unit.
|
|
@@ -3620,7 +3640,7 @@ export interface operations {
|
|
|
3620
3640
|
* @description Discriminator: `wrap` means the user must wrap native ETH into the chain's WETH-equivalent before submission.
|
|
3621
3641
|
* @enum {string}
|
|
3622
3642
|
*/
|
|
3623
|
-
type:
|
|
3643
|
+
type: 'wrap';
|
|
3624
3644
|
/**
|
|
3625
3645
|
* Format: uint256
|
|
3626
3646
|
* @description Minimum amount to wrap, in wei.
|
|
@@ -3641,7 +3661,7 @@ export interface operations {
|
|
|
3641
3661
|
* @description LayerZero OFT
|
|
3642
3662
|
* @enum {string}
|
|
3643
3663
|
*/
|
|
3644
|
-
type:
|
|
3664
|
+
type: 'OFT';
|
|
3645
3665
|
} | {
|
|
3646
3666
|
/** @description Destination chain ID for the bridge fill */
|
|
3647
3667
|
destinationChainId: number;
|
|
@@ -3653,7 +3673,7 @@ export interface operations {
|
|
|
3653
3673
|
* @description Relay.link
|
|
3654
3674
|
* @enum {string}
|
|
3655
3675
|
*/
|
|
3656
|
-
type:
|
|
3676
|
+
type: 'RELAY';
|
|
3657
3677
|
/** @description Relay.link request ID. Use against Relay.link's status API to track the destination-chain fill. */
|
|
3658
3678
|
requestId: string;
|
|
3659
3679
|
} | {
|
|
@@ -3667,7 +3687,7 @@ export interface operations {
|
|
|
3667
3687
|
* @description NEAR Intents
|
|
3668
3688
|
* @enum {string}
|
|
3669
3689
|
*/
|
|
3670
|
-
type:
|
|
3690
|
+
type: 'NEAR';
|
|
3671
3691
|
/** @description NEAR Intents deposit address. Track fill status via the NEAR Intents status API keyed on this address. */
|
|
3672
3692
|
depositAddress: string;
|
|
3673
3693
|
} | {
|
|
@@ -3681,7 +3701,7 @@ export interface operations {
|
|
|
3681
3701
|
* @description Rhino.fi
|
|
3682
3702
|
* @enum {string}
|
|
3683
3703
|
*/
|
|
3684
|
-
type:
|
|
3704
|
+
type: 'RHINO';
|
|
3685
3705
|
/** @description Rhino.fi commitment ID. Use against Rhino.fi's status API to track the destination-chain fill. */
|
|
3686
3706
|
commitmentId: string;
|
|
3687
3707
|
} | {
|
|
@@ -3695,7 +3715,7 @@ export interface operations {
|
|
|
3695
3715
|
* @description Circle CCTP
|
|
3696
3716
|
* @enum {string}
|
|
3697
3717
|
*/
|
|
3698
|
-
type:
|
|
3718
|
+
type: 'CCTP';
|
|
3699
3719
|
/** @description Circle CCTP source domain ID — needed to fetch the attestation for the burn message on the source chain. */
|
|
3700
3720
|
sourceDomainId: number;
|
|
3701
3721
|
/** @description Circle CCTP destination domain ID. */
|
|
@@ -3711,9 +3731,9 @@ export interface operations {
|
|
|
3711
3731
|
[name: string]: unknown;
|
|
3712
3732
|
};
|
|
3713
3733
|
content: {
|
|
3714
|
-
|
|
3734
|
+
'application/json': {
|
|
3715
3735
|
/** @enum {string} */
|
|
3716
|
-
code:
|
|
3736
|
+
code: 'VALIDATION_ERROR';
|
|
3717
3737
|
/**
|
|
3718
3738
|
* @description Human-readable error message
|
|
3719
3739
|
* @example Invalid input
|
|
@@ -3730,7 +3750,7 @@ export interface operations {
|
|
|
3730
3750
|
}[];
|
|
3731
3751
|
} | {
|
|
3732
3752
|
/** @enum {string} */
|
|
3733
|
-
code:
|
|
3753
|
+
code: 'SIMULATION_FAILED';
|
|
3734
3754
|
/**
|
|
3735
3755
|
* @description Human-readable error message
|
|
3736
3756
|
* @example Invalid input
|
|
@@ -3747,14 +3767,14 @@ export interface operations {
|
|
|
3747
3767
|
};
|
|
3748
3768
|
retryable: boolean;
|
|
3749
3769
|
/** @enum {string} */
|
|
3750
|
-
retryHint?:
|
|
3770
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
3751
3771
|
simulations?: unknown;
|
|
3752
3772
|
} & {
|
|
3753
3773
|
[key: string]: unknown;
|
|
3754
3774
|
};
|
|
3755
3775
|
} | {
|
|
3756
3776
|
/** @enum {string} */
|
|
3757
|
-
code:
|
|
3777
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
3758
3778
|
/**
|
|
3759
3779
|
* @description Human-readable error message
|
|
3760
3780
|
* @example Invalid input
|
|
@@ -3773,7 +3793,7 @@ export interface operations {
|
|
|
3773
3793
|
};
|
|
3774
3794
|
} | {
|
|
3775
3795
|
/** @enum {string} */
|
|
3776
|
-
code:
|
|
3796
|
+
code: 'KEY_SCOPE_DENIED';
|
|
3777
3797
|
/**
|
|
3778
3798
|
* @description Human-readable error message
|
|
3779
3799
|
* @example Invalid input
|
|
@@ -3787,16 +3807,16 @@ export interface operations {
|
|
|
3787
3807
|
* @description Which scope rejected the request
|
|
3788
3808
|
* @enum {string}
|
|
3789
3809
|
*/
|
|
3790
|
-
scope:
|
|
3810
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
3791
3811
|
/** @description Minimum level the endpoint demands */
|
|
3792
|
-
required: boolean | (
|
|
3812
|
+
required: boolean | ('read' | 'write');
|
|
3793
3813
|
/** @description Level resolved on the key */
|
|
3794
|
-
actual: boolean | (
|
|
3814
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
3795
3815
|
};
|
|
3796
3816
|
}[];
|
|
3797
3817
|
} | {
|
|
3798
3818
|
/** @enum {string} */
|
|
3799
|
-
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';
|
|
3800
3820
|
/**
|
|
3801
3821
|
* @description Human-readable error message
|
|
3802
3822
|
* @example Invalid input
|
|
@@ -3811,9 +3831,9 @@ export interface operations {
|
|
|
3811
3831
|
[name: string]: unknown;
|
|
3812
3832
|
};
|
|
3813
3833
|
content: {
|
|
3814
|
-
|
|
3834
|
+
'application/json': {
|
|
3815
3835
|
/** @enum {string} */
|
|
3816
|
-
code:
|
|
3836
|
+
code: 'VALIDATION_ERROR';
|
|
3817
3837
|
/**
|
|
3818
3838
|
* @description Human-readable error message
|
|
3819
3839
|
* @example Invalid input
|
|
@@ -3830,7 +3850,7 @@ export interface operations {
|
|
|
3830
3850
|
}[];
|
|
3831
3851
|
} | {
|
|
3832
3852
|
/** @enum {string} */
|
|
3833
|
-
code:
|
|
3853
|
+
code: 'SIMULATION_FAILED';
|
|
3834
3854
|
/**
|
|
3835
3855
|
* @description Human-readable error message
|
|
3836
3856
|
* @example Invalid input
|
|
@@ -3847,14 +3867,14 @@ export interface operations {
|
|
|
3847
3867
|
};
|
|
3848
3868
|
retryable: boolean;
|
|
3849
3869
|
/** @enum {string} */
|
|
3850
|
-
retryHint?:
|
|
3870
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
3851
3871
|
simulations?: unknown;
|
|
3852
3872
|
} & {
|
|
3853
3873
|
[key: string]: unknown;
|
|
3854
3874
|
};
|
|
3855
3875
|
} | {
|
|
3856
3876
|
/** @enum {string} */
|
|
3857
|
-
code:
|
|
3877
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
3858
3878
|
/**
|
|
3859
3879
|
* @description Human-readable error message
|
|
3860
3880
|
* @example Invalid input
|
|
@@ -3873,7 +3893,7 @@ export interface operations {
|
|
|
3873
3893
|
};
|
|
3874
3894
|
} | {
|
|
3875
3895
|
/** @enum {string} */
|
|
3876
|
-
code:
|
|
3896
|
+
code: 'KEY_SCOPE_DENIED';
|
|
3877
3897
|
/**
|
|
3878
3898
|
* @description Human-readable error message
|
|
3879
3899
|
* @example Invalid input
|
|
@@ -3887,16 +3907,16 @@ export interface operations {
|
|
|
3887
3907
|
* @description Which scope rejected the request
|
|
3888
3908
|
* @enum {string}
|
|
3889
3909
|
*/
|
|
3890
|
-
scope:
|
|
3910
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
3891
3911
|
/** @description Minimum level the endpoint demands */
|
|
3892
|
-
required: boolean | (
|
|
3912
|
+
required: boolean | ('read' | 'write');
|
|
3893
3913
|
/** @description Level resolved on the key */
|
|
3894
|
-
actual: boolean | (
|
|
3914
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
3895
3915
|
};
|
|
3896
3916
|
}[];
|
|
3897
3917
|
} | {
|
|
3898
3918
|
/** @enum {string} */
|
|
3899
|
-
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';
|
|
3900
3920
|
/**
|
|
3901
3921
|
* @description Human-readable error message
|
|
3902
3922
|
* @example Invalid input
|
|
@@ -3911,9 +3931,9 @@ export interface operations {
|
|
|
3911
3931
|
[name: string]: unknown;
|
|
3912
3932
|
};
|
|
3913
3933
|
content: {
|
|
3914
|
-
|
|
3934
|
+
'application/json': {
|
|
3915
3935
|
/** @enum {string} */
|
|
3916
|
-
code:
|
|
3936
|
+
code: 'VALIDATION_ERROR';
|
|
3917
3937
|
/**
|
|
3918
3938
|
* @description Human-readable error message
|
|
3919
3939
|
* @example Invalid input
|
|
@@ -3930,7 +3950,7 @@ export interface operations {
|
|
|
3930
3950
|
}[];
|
|
3931
3951
|
} | {
|
|
3932
3952
|
/** @enum {string} */
|
|
3933
|
-
code:
|
|
3953
|
+
code: 'SIMULATION_FAILED';
|
|
3934
3954
|
/**
|
|
3935
3955
|
* @description Human-readable error message
|
|
3936
3956
|
* @example Invalid input
|
|
@@ -3947,14 +3967,14 @@ export interface operations {
|
|
|
3947
3967
|
};
|
|
3948
3968
|
retryable: boolean;
|
|
3949
3969
|
/** @enum {string} */
|
|
3950
|
-
retryHint?:
|
|
3970
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
3951
3971
|
simulations?: unknown;
|
|
3952
3972
|
} & {
|
|
3953
3973
|
[key: string]: unknown;
|
|
3954
3974
|
};
|
|
3955
3975
|
} | {
|
|
3956
3976
|
/** @enum {string} */
|
|
3957
|
-
code:
|
|
3977
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
3958
3978
|
/**
|
|
3959
3979
|
* @description Human-readable error message
|
|
3960
3980
|
* @example Invalid input
|
|
@@ -3973,7 +3993,7 @@ export interface operations {
|
|
|
3973
3993
|
};
|
|
3974
3994
|
} | {
|
|
3975
3995
|
/** @enum {string} */
|
|
3976
|
-
code:
|
|
3996
|
+
code: 'KEY_SCOPE_DENIED';
|
|
3977
3997
|
/**
|
|
3978
3998
|
* @description Human-readable error message
|
|
3979
3999
|
* @example Invalid input
|
|
@@ -3987,16 +4007,16 @@ export interface operations {
|
|
|
3987
4007
|
* @description Which scope rejected the request
|
|
3988
4008
|
* @enum {string}
|
|
3989
4009
|
*/
|
|
3990
|
-
scope:
|
|
4010
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
3991
4011
|
/** @description Minimum level the endpoint demands */
|
|
3992
|
-
required: boolean | (
|
|
4012
|
+
required: boolean | ('read' | 'write');
|
|
3993
4013
|
/** @description Level resolved on the key */
|
|
3994
|
-
actual: boolean | (
|
|
4014
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
3995
4015
|
};
|
|
3996
4016
|
}[];
|
|
3997
4017
|
} | {
|
|
3998
4018
|
/** @enum {string} */
|
|
3999
|
-
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';
|
|
4000
4020
|
/**
|
|
4001
4021
|
* @description Human-readable error message
|
|
4002
4022
|
* @example Invalid input
|
|
@@ -4012,9 +4032,9 @@ export interface operations {
|
|
|
4012
4032
|
query?: never;
|
|
4013
4033
|
header: {
|
|
4014
4034
|
/** @description API version. Required; pinned to this document. */
|
|
4015
|
-
|
|
4035
|
+
'x-api-version': '2026-04.blanc';
|
|
4016
4036
|
/** @description API key. */
|
|
4017
|
-
|
|
4037
|
+
'x-api-key': string;
|
|
4018
4038
|
};
|
|
4019
4039
|
path?: never;
|
|
4020
4040
|
cookie?: never;
|
|
@@ -4027,7 +4047,7 @@ export interface operations {
|
|
|
4027
4047
|
[name: string]: unknown;
|
|
4028
4048
|
};
|
|
4029
4049
|
content: {
|
|
4030
|
-
|
|
4050
|
+
'application/json': {
|
|
4031
4051
|
withdrawableUsd: number;
|
|
4032
4052
|
pendingUsd: number;
|
|
4033
4053
|
};
|
|
@@ -4039,9 +4059,9 @@ export interface operations {
|
|
|
4039
4059
|
[name: string]: unknown;
|
|
4040
4060
|
};
|
|
4041
4061
|
content: {
|
|
4042
|
-
|
|
4062
|
+
'application/json': {
|
|
4043
4063
|
/** @enum {string} */
|
|
4044
|
-
code:
|
|
4064
|
+
code: 'VALIDATION_ERROR';
|
|
4045
4065
|
/**
|
|
4046
4066
|
* @description Human-readable error message
|
|
4047
4067
|
* @example Invalid input
|
|
@@ -4058,7 +4078,7 @@ export interface operations {
|
|
|
4058
4078
|
}[];
|
|
4059
4079
|
} | {
|
|
4060
4080
|
/** @enum {string} */
|
|
4061
|
-
code:
|
|
4081
|
+
code: 'SIMULATION_FAILED';
|
|
4062
4082
|
/**
|
|
4063
4083
|
* @description Human-readable error message
|
|
4064
4084
|
* @example Invalid input
|
|
@@ -4075,14 +4095,14 @@ export interface operations {
|
|
|
4075
4095
|
};
|
|
4076
4096
|
retryable: boolean;
|
|
4077
4097
|
/** @enum {string} */
|
|
4078
|
-
retryHint?:
|
|
4098
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4079
4099
|
simulations?: unknown;
|
|
4080
4100
|
} & {
|
|
4081
4101
|
[key: string]: unknown;
|
|
4082
4102
|
};
|
|
4083
4103
|
} | {
|
|
4084
4104
|
/** @enum {string} */
|
|
4085
|
-
code:
|
|
4105
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4086
4106
|
/**
|
|
4087
4107
|
* @description Human-readable error message
|
|
4088
4108
|
* @example Invalid input
|
|
@@ -4101,7 +4121,7 @@ export interface operations {
|
|
|
4101
4121
|
};
|
|
4102
4122
|
} | {
|
|
4103
4123
|
/** @enum {string} */
|
|
4104
|
-
code:
|
|
4124
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4105
4125
|
/**
|
|
4106
4126
|
* @description Human-readable error message
|
|
4107
4127
|
* @example Invalid input
|
|
@@ -4115,16 +4135,16 @@ export interface operations {
|
|
|
4115
4135
|
* @description Which scope rejected the request
|
|
4116
4136
|
* @enum {string}
|
|
4117
4137
|
*/
|
|
4118
|
-
scope:
|
|
4138
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4119
4139
|
/** @description Minimum level the endpoint demands */
|
|
4120
|
-
required: boolean | (
|
|
4140
|
+
required: boolean | ('read' | 'write');
|
|
4121
4141
|
/** @description Level resolved on the key */
|
|
4122
|
-
actual: boolean | (
|
|
4142
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4123
4143
|
};
|
|
4124
4144
|
}[];
|
|
4125
4145
|
} | {
|
|
4126
4146
|
/** @enum {string} */
|
|
4127
|
-
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';
|
|
4128
4148
|
/**
|
|
4129
4149
|
* @description Human-readable error message
|
|
4130
4150
|
* @example Invalid input
|
|
@@ -4139,9 +4159,9 @@ export interface operations {
|
|
|
4139
4159
|
[name: string]: unknown;
|
|
4140
4160
|
};
|
|
4141
4161
|
content: {
|
|
4142
|
-
|
|
4162
|
+
'application/json': {
|
|
4143
4163
|
/** @enum {string} */
|
|
4144
|
-
code:
|
|
4164
|
+
code: 'VALIDATION_ERROR';
|
|
4145
4165
|
/**
|
|
4146
4166
|
* @description Human-readable error message
|
|
4147
4167
|
* @example Invalid input
|
|
@@ -4158,7 +4178,7 @@ export interface operations {
|
|
|
4158
4178
|
}[];
|
|
4159
4179
|
} | {
|
|
4160
4180
|
/** @enum {string} */
|
|
4161
|
-
code:
|
|
4181
|
+
code: 'SIMULATION_FAILED';
|
|
4162
4182
|
/**
|
|
4163
4183
|
* @description Human-readable error message
|
|
4164
4184
|
* @example Invalid input
|
|
@@ -4175,14 +4195,14 @@ export interface operations {
|
|
|
4175
4195
|
};
|
|
4176
4196
|
retryable: boolean;
|
|
4177
4197
|
/** @enum {string} */
|
|
4178
|
-
retryHint?:
|
|
4198
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4179
4199
|
simulations?: unknown;
|
|
4180
4200
|
} & {
|
|
4181
4201
|
[key: string]: unknown;
|
|
4182
4202
|
};
|
|
4183
4203
|
} | {
|
|
4184
4204
|
/** @enum {string} */
|
|
4185
|
-
code:
|
|
4205
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4186
4206
|
/**
|
|
4187
4207
|
* @description Human-readable error message
|
|
4188
4208
|
* @example Invalid input
|
|
@@ -4201,7 +4221,7 @@ export interface operations {
|
|
|
4201
4221
|
};
|
|
4202
4222
|
} | {
|
|
4203
4223
|
/** @enum {string} */
|
|
4204
|
-
code:
|
|
4224
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4205
4225
|
/**
|
|
4206
4226
|
* @description Human-readable error message
|
|
4207
4227
|
* @example Invalid input
|
|
@@ -4215,16 +4235,16 @@ export interface operations {
|
|
|
4215
4235
|
* @description Which scope rejected the request
|
|
4216
4236
|
* @enum {string}
|
|
4217
4237
|
*/
|
|
4218
|
-
scope:
|
|
4238
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4219
4239
|
/** @description Minimum level the endpoint demands */
|
|
4220
|
-
required: boolean | (
|
|
4240
|
+
required: boolean | ('read' | 'write');
|
|
4221
4241
|
/** @description Level resolved on the key */
|
|
4222
|
-
actual: boolean | (
|
|
4242
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4223
4243
|
};
|
|
4224
4244
|
}[];
|
|
4225
4245
|
} | {
|
|
4226
4246
|
/** @enum {string} */
|
|
4227
|
-
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';
|
|
4228
4248
|
/**
|
|
4229
4249
|
* @description Human-readable error message
|
|
4230
4250
|
* @example Invalid input
|
|
@@ -4239,9 +4259,9 @@ export interface operations {
|
|
|
4239
4259
|
[name: string]: unknown;
|
|
4240
4260
|
};
|
|
4241
4261
|
content: {
|
|
4242
|
-
|
|
4262
|
+
'application/json': {
|
|
4243
4263
|
/** @enum {string} */
|
|
4244
|
-
code:
|
|
4264
|
+
code: 'VALIDATION_ERROR';
|
|
4245
4265
|
/**
|
|
4246
4266
|
* @description Human-readable error message
|
|
4247
4267
|
* @example Invalid input
|
|
@@ -4258,7 +4278,7 @@ export interface operations {
|
|
|
4258
4278
|
}[];
|
|
4259
4279
|
} | {
|
|
4260
4280
|
/** @enum {string} */
|
|
4261
|
-
code:
|
|
4281
|
+
code: 'SIMULATION_FAILED';
|
|
4262
4282
|
/**
|
|
4263
4283
|
* @description Human-readable error message
|
|
4264
4284
|
* @example Invalid input
|
|
@@ -4275,14 +4295,14 @@ export interface operations {
|
|
|
4275
4295
|
};
|
|
4276
4296
|
retryable: boolean;
|
|
4277
4297
|
/** @enum {string} */
|
|
4278
|
-
retryHint?:
|
|
4298
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4279
4299
|
simulations?: unknown;
|
|
4280
4300
|
} & {
|
|
4281
4301
|
[key: string]: unknown;
|
|
4282
4302
|
};
|
|
4283
4303
|
} | {
|
|
4284
4304
|
/** @enum {string} */
|
|
4285
|
-
code:
|
|
4305
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4286
4306
|
/**
|
|
4287
4307
|
* @description Human-readable error message
|
|
4288
4308
|
* @example Invalid input
|
|
@@ -4301,7 +4321,7 @@ export interface operations {
|
|
|
4301
4321
|
};
|
|
4302
4322
|
} | {
|
|
4303
4323
|
/** @enum {string} */
|
|
4304
|
-
code:
|
|
4324
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4305
4325
|
/**
|
|
4306
4326
|
* @description Human-readable error message
|
|
4307
4327
|
* @example Invalid input
|
|
@@ -4315,16 +4335,16 @@ export interface operations {
|
|
|
4315
4335
|
* @description Which scope rejected the request
|
|
4316
4336
|
* @enum {string}
|
|
4317
4337
|
*/
|
|
4318
|
-
scope:
|
|
4338
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4319
4339
|
/** @description Minimum level the endpoint demands */
|
|
4320
|
-
required: boolean | (
|
|
4340
|
+
required: boolean | ('read' | 'write');
|
|
4321
4341
|
/** @description Level resolved on the key */
|
|
4322
|
-
actual: boolean | (
|
|
4342
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4323
4343
|
};
|
|
4324
4344
|
}[];
|
|
4325
4345
|
} | {
|
|
4326
4346
|
/** @enum {string} */
|
|
4327
|
-
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';
|
|
4328
4348
|
/**
|
|
4329
4349
|
* @description Human-readable error message
|
|
4330
4350
|
* @example Invalid input
|
|
@@ -4340,9 +4360,9 @@ export interface operations {
|
|
|
4340
4360
|
query?: never;
|
|
4341
4361
|
header: {
|
|
4342
4362
|
/** @description API version. Required; pinned to this document. */
|
|
4343
|
-
|
|
4363
|
+
'x-api-version': '2026-04.blanc';
|
|
4344
4364
|
/** @description API key. */
|
|
4345
|
-
|
|
4365
|
+
'x-api-key': string;
|
|
4346
4366
|
};
|
|
4347
4367
|
path?: never;
|
|
4348
4368
|
cookie?: never;
|
|
@@ -4355,11 +4375,11 @@ export interface operations {
|
|
|
4355
4375
|
[name: string]: unknown;
|
|
4356
4376
|
};
|
|
4357
4377
|
content: {
|
|
4358
|
-
|
|
4378
|
+
'application/json': {
|
|
4359
4379
|
withdrawals: {
|
|
4360
4380
|
requestNonce: string;
|
|
4361
4381
|
/** @enum {string} */
|
|
4362
|
-
status:
|
|
4382
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
4363
4383
|
payoutUsd: number;
|
|
4364
4384
|
targetChainId: number;
|
|
4365
4385
|
targetToken: string;
|
|
@@ -4377,9 +4397,9 @@ export interface operations {
|
|
|
4377
4397
|
[name: string]: unknown;
|
|
4378
4398
|
};
|
|
4379
4399
|
content: {
|
|
4380
|
-
|
|
4400
|
+
'application/json': {
|
|
4381
4401
|
/** @enum {string} */
|
|
4382
|
-
code:
|
|
4402
|
+
code: 'VALIDATION_ERROR';
|
|
4383
4403
|
/**
|
|
4384
4404
|
* @description Human-readable error message
|
|
4385
4405
|
* @example Invalid input
|
|
@@ -4396,7 +4416,7 @@ export interface operations {
|
|
|
4396
4416
|
}[];
|
|
4397
4417
|
} | {
|
|
4398
4418
|
/** @enum {string} */
|
|
4399
|
-
code:
|
|
4419
|
+
code: 'SIMULATION_FAILED';
|
|
4400
4420
|
/**
|
|
4401
4421
|
* @description Human-readable error message
|
|
4402
4422
|
* @example Invalid input
|
|
@@ -4413,14 +4433,14 @@ export interface operations {
|
|
|
4413
4433
|
};
|
|
4414
4434
|
retryable: boolean;
|
|
4415
4435
|
/** @enum {string} */
|
|
4416
|
-
retryHint?:
|
|
4436
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4417
4437
|
simulations?: unknown;
|
|
4418
4438
|
} & {
|
|
4419
4439
|
[key: string]: unknown;
|
|
4420
4440
|
};
|
|
4421
4441
|
} | {
|
|
4422
4442
|
/** @enum {string} */
|
|
4423
|
-
code:
|
|
4443
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4424
4444
|
/**
|
|
4425
4445
|
* @description Human-readable error message
|
|
4426
4446
|
* @example Invalid input
|
|
@@ -4439,7 +4459,7 @@ export interface operations {
|
|
|
4439
4459
|
};
|
|
4440
4460
|
} | {
|
|
4441
4461
|
/** @enum {string} */
|
|
4442
|
-
code:
|
|
4462
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4443
4463
|
/**
|
|
4444
4464
|
* @description Human-readable error message
|
|
4445
4465
|
* @example Invalid input
|
|
@@ -4453,16 +4473,16 @@ export interface operations {
|
|
|
4453
4473
|
* @description Which scope rejected the request
|
|
4454
4474
|
* @enum {string}
|
|
4455
4475
|
*/
|
|
4456
|
-
scope:
|
|
4476
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4457
4477
|
/** @description Minimum level the endpoint demands */
|
|
4458
|
-
required: boolean | (
|
|
4478
|
+
required: boolean | ('read' | 'write');
|
|
4459
4479
|
/** @description Level resolved on the key */
|
|
4460
|
-
actual: boolean | (
|
|
4480
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4461
4481
|
};
|
|
4462
4482
|
}[];
|
|
4463
4483
|
} | {
|
|
4464
4484
|
/** @enum {string} */
|
|
4465
|
-
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';
|
|
4466
4486
|
/**
|
|
4467
4487
|
* @description Human-readable error message
|
|
4468
4488
|
* @example Invalid input
|
|
@@ -4477,9 +4497,9 @@ export interface operations {
|
|
|
4477
4497
|
[name: string]: unknown;
|
|
4478
4498
|
};
|
|
4479
4499
|
content: {
|
|
4480
|
-
|
|
4500
|
+
'application/json': {
|
|
4481
4501
|
/** @enum {string} */
|
|
4482
|
-
code:
|
|
4502
|
+
code: 'VALIDATION_ERROR';
|
|
4483
4503
|
/**
|
|
4484
4504
|
* @description Human-readable error message
|
|
4485
4505
|
* @example Invalid input
|
|
@@ -4496,7 +4516,7 @@ export interface operations {
|
|
|
4496
4516
|
}[];
|
|
4497
4517
|
} | {
|
|
4498
4518
|
/** @enum {string} */
|
|
4499
|
-
code:
|
|
4519
|
+
code: 'SIMULATION_FAILED';
|
|
4500
4520
|
/**
|
|
4501
4521
|
* @description Human-readable error message
|
|
4502
4522
|
* @example Invalid input
|
|
@@ -4513,14 +4533,14 @@ export interface operations {
|
|
|
4513
4533
|
};
|
|
4514
4534
|
retryable: boolean;
|
|
4515
4535
|
/** @enum {string} */
|
|
4516
|
-
retryHint?:
|
|
4536
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4517
4537
|
simulations?: unknown;
|
|
4518
4538
|
} & {
|
|
4519
4539
|
[key: string]: unknown;
|
|
4520
4540
|
};
|
|
4521
4541
|
} | {
|
|
4522
4542
|
/** @enum {string} */
|
|
4523
|
-
code:
|
|
4543
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4524
4544
|
/**
|
|
4525
4545
|
* @description Human-readable error message
|
|
4526
4546
|
* @example Invalid input
|
|
@@ -4539,7 +4559,7 @@ export interface operations {
|
|
|
4539
4559
|
};
|
|
4540
4560
|
} | {
|
|
4541
4561
|
/** @enum {string} */
|
|
4542
|
-
code:
|
|
4562
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4543
4563
|
/**
|
|
4544
4564
|
* @description Human-readable error message
|
|
4545
4565
|
* @example Invalid input
|
|
@@ -4553,16 +4573,16 @@ export interface operations {
|
|
|
4553
4573
|
* @description Which scope rejected the request
|
|
4554
4574
|
* @enum {string}
|
|
4555
4575
|
*/
|
|
4556
|
-
scope:
|
|
4576
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4557
4577
|
/** @description Minimum level the endpoint demands */
|
|
4558
|
-
required: boolean | (
|
|
4578
|
+
required: boolean | ('read' | 'write');
|
|
4559
4579
|
/** @description Level resolved on the key */
|
|
4560
|
-
actual: boolean | (
|
|
4580
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4561
4581
|
};
|
|
4562
4582
|
}[];
|
|
4563
4583
|
} | {
|
|
4564
4584
|
/** @enum {string} */
|
|
4565
|
-
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';
|
|
4566
4586
|
/**
|
|
4567
4587
|
* @description Human-readable error message
|
|
4568
4588
|
* @example Invalid input
|
|
@@ -4577,9 +4597,9 @@ export interface operations {
|
|
|
4577
4597
|
[name: string]: unknown;
|
|
4578
4598
|
};
|
|
4579
4599
|
content: {
|
|
4580
|
-
|
|
4600
|
+
'application/json': {
|
|
4581
4601
|
/** @enum {string} */
|
|
4582
|
-
code:
|
|
4602
|
+
code: 'VALIDATION_ERROR';
|
|
4583
4603
|
/**
|
|
4584
4604
|
* @description Human-readable error message
|
|
4585
4605
|
* @example Invalid input
|
|
@@ -4596,7 +4616,7 @@ export interface operations {
|
|
|
4596
4616
|
}[];
|
|
4597
4617
|
} | {
|
|
4598
4618
|
/** @enum {string} */
|
|
4599
|
-
code:
|
|
4619
|
+
code: 'SIMULATION_FAILED';
|
|
4600
4620
|
/**
|
|
4601
4621
|
* @description Human-readable error message
|
|
4602
4622
|
* @example Invalid input
|
|
@@ -4613,14 +4633,14 @@ export interface operations {
|
|
|
4613
4633
|
};
|
|
4614
4634
|
retryable: boolean;
|
|
4615
4635
|
/** @enum {string} */
|
|
4616
|
-
retryHint?:
|
|
4636
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4617
4637
|
simulations?: unknown;
|
|
4618
4638
|
} & {
|
|
4619
4639
|
[key: string]: unknown;
|
|
4620
4640
|
};
|
|
4621
4641
|
} | {
|
|
4622
4642
|
/** @enum {string} */
|
|
4623
|
-
code:
|
|
4643
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4624
4644
|
/**
|
|
4625
4645
|
* @description Human-readable error message
|
|
4626
4646
|
* @example Invalid input
|
|
@@ -4639,7 +4659,7 @@ export interface operations {
|
|
|
4639
4659
|
};
|
|
4640
4660
|
} | {
|
|
4641
4661
|
/** @enum {string} */
|
|
4642
|
-
code:
|
|
4662
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4643
4663
|
/**
|
|
4644
4664
|
* @description Human-readable error message
|
|
4645
4665
|
* @example Invalid input
|
|
@@ -4653,16 +4673,16 @@ export interface operations {
|
|
|
4653
4673
|
* @description Which scope rejected the request
|
|
4654
4674
|
* @enum {string}
|
|
4655
4675
|
*/
|
|
4656
|
-
scope:
|
|
4676
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4657
4677
|
/** @description Minimum level the endpoint demands */
|
|
4658
|
-
required: boolean | (
|
|
4678
|
+
required: boolean | ('read' | 'write');
|
|
4659
4679
|
/** @description Level resolved on the key */
|
|
4660
|
-
actual: boolean | (
|
|
4680
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4661
4681
|
};
|
|
4662
4682
|
}[];
|
|
4663
4683
|
} | {
|
|
4664
4684
|
/** @enum {string} */
|
|
4665
|
-
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';
|
|
4666
4686
|
/**
|
|
4667
4687
|
* @description Human-readable error message
|
|
4668
4688
|
* @example Invalid input
|
|
@@ -4677,9 +4697,9 @@ export interface operations {
|
|
|
4677
4697
|
[name: string]: unknown;
|
|
4678
4698
|
};
|
|
4679
4699
|
content: {
|
|
4680
|
-
|
|
4700
|
+
'application/json': {
|
|
4681
4701
|
/** @enum {string} */
|
|
4682
|
-
code:
|
|
4702
|
+
code: 'VALIDATION_ERROR';
|
|
4683
4703
|
/**
|
|
4684
4704
|
* @description Human-readable error message
|
|
4685
4705
|
* @example Invalid input
|
|
@@ -4696,7 +4716,7 @@ export interface operations {
|
|
|
4696
4716
|
}[];
|
|
4697
4717
|
} | {
|
|
4698
4718
|
/** @enum {string} */
|
|
4699
|
-
code:
|
|
4719
|
+
code: 'SIMULATION_FAILED';
|
|
4700
4720
|
/**
|
|
4701
4721
|
* @description Human-readable error message
|
|
4702
4722
|
* @example Invalid input
|
|
@@ -4713,14 +4733,14 @@ export interface operations {
|
|
|
4713
4733
|
};
|
|
4714
4734
|
retryable: boolean;
|
|
4715
4735
|
/** @enum {string} */
|
|
4716
|
-
retryHint?:
|
|
4736
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4717
4737
|
simulations?: unknown;
|
|
4718
4738
|
} & {
|
|
4719
4739
|
[key: string]: unknown;
|
|
4720
4740
|
};
|
|
4721
4741
|
} | {
|
|
4722
4742
|
/** @enum {string} */
|
|
4723
|
-
code:
|
|
4743
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4724
4744
|
/**
|
|
4725
4745
|
* @description Human-readable error message
|
|
4726
4746
|
* @example Invalid input
|
|
@@ -4739,7 +4759,7 @@ export interface operations {
|
|
|
4739
4759
|
};
|
|
4740
4760
|
} | {
|
|
4741
4761
|
/** @enum {string} */
|
|
4742
|
-
code:
|
|
4762
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4743
4763
|
/**
|
|
4744
4764
|
* @description Human-readable error message
|
|
4745
4765
|
* @example Invalid input
|
|
@@ -4753,16 +4773,16 @@ export interface operations {
|
|
|
4753
4773
|
* @description Which scope rejected the request
|
|
4754
4774
|
* @enum {string}
|
|
4755
4775
|
*/
|
|
4756
|
-
scope:
|
|
4776
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4757
4777
|
/** @description Minimum level the endpoint demands */
|
|
4758
|
-
required: boolean | (
|
|
4778
|
+
required: boolean | ('read' | 'write');
|
|
4759
4779
|
/** @description Level resolved on the key */
|
|
4760
|
-
actual: boolean | (
|
|
4780
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4761
4781
|
};
|
|
4762
4782
|
}[];
|
|
4763
4783
|
} | {
|
|
4764
4784
|
/** @enum {string} */
|
|
4765
|
-
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';
|
|
4766
4786
|
/**
|
|
4767
4787
|
* @description Human-readable error message
|
|
4768
4788
|
* @example Invalid input
|
|
@@ -4778,16 +4798,16 @@ export interface operations {
|
|
|
4778
4798
|
query?: never;
|
|
4779
4799
|
header: {
|
|
4780
4800
|
/** @description API version. Required; pinned to this document. */
|
|
4781
|
-
|
|
4801
|
+
'x-api-version': '2026-04.blanc';
|
|
4782
4802
|
/** @description API key. */
|
|
4783
|
-
|
|
4803
|
+
'x-api-key': string;
|
|
4784
4804
|
};
|
|
4785
4805
|
path?: never;
|
|
4786
4806
|
cookie?: never;
|
|
4787
4807
|
};
|
|
4788
4808
|
requestBody: {
|
|
4789
4809
|
content: {
|
|
4790
|
-
|
|
4810
|
+
'application/json': {
|
|
4791
4811
|
targetChainId: number;
|
|
4792
4812
|
targetToken: string;
|
|
4793
4813
|
};
|
|
@@ -4800,7 +4820,7 @@ export interface operations {
|
|
|
4800
4820
|
[name: string]: unknown;
|
|
4801
4821
|
};
|
|
4802
4822
|
content: {
|
|
4803
|
-
|
|
4823
|
+
'application/json': {
|
|
4804
4824
|
requestNonce: string;
|
|
4805
4825
|
};
|
|
4806
4826
|
};
|
|
@@ -4811,9 +4831,9 @@ export interface operations {
|
|
|
4811
4831
|
[name: string]: unknown;
|
|
4812
4832
|
};
|
|
4813
4833
|
content: {
|
|
4814
|
-
|
|
4834
|
+
'application/json': {
|
|
4815
4835
|
/** @enum {string} */
|
|
4816
|
-
code:
|
|
4836
|
+
code: 'VALIDATION_ERROR';
|
|
4817
4837
|
/**
|
|
4818
4838
|
* @description Human-readable error message
|
|
4819
4839
|
* @example Invalid input
|
|
@@ -4830,7 +4850,7 @@ export interface operations {
|
|
|
4830
4850
|
}[];
|
|
4831
4851
|
} | {
|
|
4832
4852
|
/** @enum {string} */
|
|
4833
|
-
code:
|
|
4853
|
+
code: 'SIMULATION_FAILED';
|
|
4834
4854
|
/**
|
|
4835
4855
|
* @description Human-readable error message
|
|
4836
4856
|
* @example Invalid input
|
|
@@ -4847,14 +4867,14 @@ export interface operations {
|
|
|
4847
4867
|
};
|
|
4848
4868
|
retryable: boolean;
|
|
4849
4869
|
/** @enum {string} */
|
|
4850
|
-
retryHint?:
|
|
4870
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4851
4871
|
simulations?: unknown;
|
|
4852
4872
|
} & {
|
|
4853
4873
|
[key: string]: unknown;
|
|
4854
4874
|
};
|
|
4855
4875
|
} | {
|
|
4856
4876
|
/** @enum {string} */
|
|
4857
|
-
code:
|
|
4877
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4858
4878
|
/**
|
|
4859
4879
|
* @description Human-readable error message
|
|
4860
4880
|
* @example Invalid input
|
|
@@ -4873,7 +4893,7 @@ export interface operations {
|
|
|
4873
4893
|
};
|
|
4874
4894
|
} | {
|
|
4875
4895
|
/** @enum {string} */
|
|
4876
|
-
code:
|
|
4896
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4877
4897
|
/**
|
|
4878
4898
|
* @description Human-readable error message
|
|
4879
4899
|
* @example Invalid input
|
|
@@ -4887,16 +4907,16 @@ export interface operations {
|
|
|
4887
4907
|
* @description Which scope rejected the request
|
|
4888
4908
|
* @enum {string}
|
|
4889
4909
|
*/
|
|
4890
|
-
scope:
|
|
4910
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4891
4911
|
/** @description Minimum level the endpoint demands */
|
|
4892
|
-
required: boolean | (
|
|
4912
|
+
required: boolean | ('read' | 'write');
|
|
4893
4913
|
/** @description Level resolved on the key */
|
|
4894
|
-
actual: boolean | (
|
|
4914
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4895
4915
|
};
|
|
4896
4916
|
}[];
|
|
4897
4917
|
} | {
|
|
4898
4918
|
/** @enum {string} */
|
|
4899
|
-
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';
|
|
4900
4920
|
/**
|
|
4901
4921
|
* @description Human-readable error message
|
|
4902
4922
|
* @example Invalid input
|
|
@@ -4911,9 +4931,9 @@ export interface operations {
|
|
|
4911
4931
|
[name: string]: unknown;
|
|
4912
4932
|
};
|
|
4913
4933
|
content: {
|
|
4914
|
-
|
|
4934
|
+
'application/json': {
|
|
4915
4935
|
/** @enum {string} */
|
|
4916
|
-
code:
|
|
4936
|
+
code: 'VALIDATION_ERROR';
|
|
4917
4937
|
/**
|
|
4918
4938
|
* @description Human-readable error message
|
|
4919
4939
|
* @example Invalid input
|
|
@@ -4930,7 +4950,7 @@ export interface operations {
|
|
|
4930
4950
|
}[];
|
|
4931
4951
|
} | {
|
|
4932
4952
|
/** @enum {string} */
|
|
4933
|
-
code:
|
|
4953
|
+
code: 'SIMULATION_FAILED';
|
|
4934
4954
|
/**
|
|
4935
4955
|
* @description Human-readable error message
|
|
4936
4956
|
* @example Invalid input
|
|
@@ -4947,14 +4967,14 @@ export interface operations {
|
|
|
4947
4967
|
};
|
|
4948
4968
|
retryable: boolean;
|
|
4949
4969
|
/** @enum {string} */
|
|
4950
|
-
retryHint?:
|
|
4970
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
4951
4971
|
simulations?: unknown;
|
|
4952
4972
|
} & {
|
|
4953
4973
|
[key: string]: unknown;
|
|
4954
4974
|
};
|
|
4955
4975
|
} | {
|
|
4956
4976
|
/** @enum {string} */
|
|
4957
|
-
code:
|
|
4977
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
4958
4978
|
/**
|
|
4959
4979
|
* @description Human-readable error message
|
|
4960
4980
|
* @example Invalid input
|
|
@@ -4973,7 +4993,7 @@ export interface operations {
|
|
|
4973
4993
|
};
|
|
4974
4994
|
} | {
|
|
4975
4995
|
/** @enum {string} */
|
|
4976
|
-
code:
|
|
4996
|
+
code: 'KEY_SCOPE_DENIED';
|
|
4977
4997
|
/**
|
|
4978
4998
|
* @description Human-readable error message
|
|
4979
4999
|
* @example Invalid input
|
|
@@ -4987,16 +5007,16 @@ export interface operations {
|
|
|
4987
5007
|
* @description Which scope rejected the request
|
|
4988
5008
|
* @enum {string}
|
|
4989
5009
|
*/
|
|
4990
|
-
scope:
|
|
5010
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
4991
5011
|
/** @description Minimum level the endpoint demands */
|
|
4992
|
-
required: boolean | (
|
|
5012
|
+
required: boolean | ('read' | 'write');
|
|
4993
5013
|
/** @description Level resolved on the key */
|
|
4994
|
-
actual: boolean | (
|
|
5014
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
4995
5015
|
};
|
|
4996
5016
|
}[];
|
|
4997
5017
|
} | {
|
|
4998
5018
|
/** @enum {string} */
|
|
4999
|
-
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';
|
|
5000
5020
|
/**
|
|
5001
5021
|
* @description Human-readable error message
|
|
5002
5022
|
* @example Invalid input
|
|
@@ -5011,9 +5031,9 @@ export interface operations {
|
|
|
5011
5031
|
[name: string]: unknown;
|
|
5012
5032
|
};
|
|
5013
5033
|
content: {
|
|
5014
|
-
|
|
5034
|
+
'application/json': {
|
|
5015
5035
|
/** @enum {string} */
|
|
5016
|
-
code:
|
|
5036
|
+
code: 'VALIDATION_ERROR';
|
|
5017
5037
|
/**
|
|
5018
5038
|
* @description Human-readable error message
|
|
5019
5039
|
* @example Invalid input
|
|
@@ -5030,7 +5050,7 @@ export interface operations {
|
|
|
5030
5050
|
}[];
|
|
5031
5051
|
} | {
|
|
5032
5052
|
/** @enum {string} */
|
|
5033
|
-
code:
|
|
5053
|
+
code: 'SIMULATION_FAILED';
|
|
5034
5054
|
/**
|
|
5035
5055
|
* @description Human-readable error message
|
|
5036
5056
|
* @example Invalid input
|
|
@@ -5047,14 +5067,14 @@ export interface operations {
|
|
|
5047
5067
|
};
|
|
5048
5068
|
retryable: boolean;
|
|
5049
5069
|
/** @enum {string} */
|
|
5050
|
-
retryHint?:
|
|
5070
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
5051
5071
|
simulations?: unknown;
|
|
5052
5072
|
} & {
|
|
5053
5073
|
[key: string]: unknown;
|
|
5054
5074
|
};
|
|
5055
5075
|
} | {
|
|
5056
5076
|
/** @enum {string} */
|
|
5057
|
-
code:
|
|
5077
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
5058
5078
|
/**
|
|
5059
5079
|
* @description Human-readable error message
|
|
5060
5080
|
* @example Invalid input
|
|
@@ -5073,7 +5093,7 @@ export interface operations {
|
|
|
5073
5093
|
};
|
|
5074
5094
|
} | {
|
|
5075
5095
|
/** @enum {string} */
|
|
5076
|
-
code:
|
|
5096
|
+
code: 'KEY_SCOPE_DENIED';
|
|
5077
5097
|
/**
|
|
5078
5098
|
* @description Human-readable error message
|
|
5079
5099
|
* @example Invalid input
|
|
@@ -5087,16 +5107,16 @@ export interface operations {
|
|
|
5087
5107
|
* @description Which scope rejected the request
|
|
5088
5108
|
* @enum {string}
|
|
5089
5109
|
*/
|
|
5090
|
-
scope:
|
|
5110
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5091
5111
|
/** @description Minimum level the endpoint demands */
|
|
5092
|
-
required: boolean | (
|
|
5112
|
+
required: boolean | ('read' | 'write');
|
|
5093
5113
|
/** @description Level resolved on the key */
|
|
5094
|
-
actual: boolean | (
|
|
5114
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5095
5115
|
};
|
|
5096
5116
|
}[];
|
|
5097
5117
|
} | {
|
|
5098
5118
|
/** @enum {string} */
|
|
5099
|
-
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';
|
|
5100
5120
|
/**
|
|
5101
5121
|
* @description Human-readable error message
|
|
5102
5122
|
* @example Invalid input
|
|
@@ -5111,9 +5131,9 @@ export interface operations {
|
|
|
5111
5131
|
[name: string]: unknown;
|
|
5112
5132
|
};
|
|
5113
5133
|
content: {
|
|
5114
|
-
|
|
5134
|
+
'application/json': {
|
|
5115
5135
|
/** @enum {string} */
|
|
5116
|
-
code:
|
|
5136
|
+
code: 'VALIDATION_ERROR';
|
|
5117
5137
|
/**
|
|
5118
5138
|
* @description Human-readable error message
|
|
5119
5139
|
* @example Invalid input
|
|
@@ -5130,7 +5150,7 @@ export interface operations {
|
|
|
5130
5150
|
}[];
|
|
5131
5151
|
} | {
|
|
5132
5152
|
/** @enum {string} */
|
|
5133
|
-
code:
|
|
5153
|
+
code: 'SIMULATION_FAILED';
|
|
5134
5154
|
/**
|
|
5135
5155
|
* @description Human-readable error message
|
|
5136
5156
|
* @example Invalid input
|
|
@@ -5147,14 +5167,14 @@ export interface operations {
|
|
|
5147
5167
|
};
|
|
5148
5168
|
retryable: boolean;
|
|
5149
5169
|
/** @enum {string} */
|
|
5150
|
-
retryHint?:
|
|
5170
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
5151
5171
|
simulations?: unknown;
|
|
5152
5172
|
} & {
|
|
5153
5173
|
[key: string]: unknown;
|
|
5154
5174
|
};
|
|
5155
5175
|
} | {
|
|
5156
5176
|
/** @enum {string} */
|
|
5157
|
-
code:
|
|
5177
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
5158
5178
|
/**
|
|
5159
5179
|
* @description Human-readable error message
|
|
5160
5180
|
* @example Invalid input
|
|
@@ -5173,7 +5193,7 @@ export interface operations {
|
|
|
5173
5193
|
};
|
|
5174
5194
|
} | {
|
|
5175
5195
|
/** @enum {string} */
|
|
5176
|
-
code:
|
|
5196
|
+
code: 'KEY_SCOPE_DENIED';
|
|
5177
5197
|
/**
|
|
5178
5198
|
* @description Human-readable error message
|
|
5179
5199
|
* @example Invalid input
|
|
@@ -5187,16 +5207,16 @@ export interface operations {
|
|
|
5187
5207
|
* @description Which scope rejected the request
|
|
5188
5208
|
* @enum {string}
|
|
5189
5209
|
*/
|
|
5190
|
-
scope:
|
|
5210
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5191
5211
|
/** @description Minimum level the endpoint demands */
|
|
5192
|
-
required: boolean | (
|
|
5212
|
+
required: boolean | ('read' | 'write');
|
|
5193
5213
|
/** @description Level resolved on the key */
|
|
5194
|
-
actual: boolean | (
|
|
5214
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5195
5215
|
};
|
|
5196
5216
|
}[];
|
|
5197
5217
|
} | {
|
|
5198
5218
|
/** @enum {string} */
|
|
5199
|
-
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';
|
|
5200
5220
|
/**
|
|
5201
5221
|
* @description Human-readable error message
|
|
5202
5222
|
* @example Invalid input
|
|
@@ -5212,9 +5232,9 @@ export interface operations {
|
|
|
5212
5232
|
query?: never;
|
|
5213
5233
|
header: {
|
|
5214
5234
|
/** @description API version. Required; pinned to this document. */
|
|
5215
|
-
|
|
5235
|
+
'x-api-version': '2026-04.blanc';
|
|
5216
5236
|
/** @description API key. */
|
|
5217
|
-
|
|
5237
|
+
'x-api-key': string;
|
|
5218
5238
|
};
|
|
5219
5239
|
path: {
|
|
5220
5240
|
nonce: string;
|
|
@@ -5229,10 +5249,10 @@ export interface operations {
|
|
|
5229
5249
|
[name: string]: unknown;
|
|
5230
5250
|
};
|
|
5231
5251
|
content: {
|
|
5232
|
-
|
|
5252
|
+
'application/json': {
|
|
5233
5253
|
requestNonce: string;
|
|
5234
5254
|
/** @enum {string} */
|
|
5235
|
-
status:
|
|
5255
|
+
status: 'PENDING' | 'COMPLETED' | 'FAILED';
|
|
5236
5256
|
payoutUsd: number;
|
|
5237
5257
|
targetChainId: number;
|
|
5238
5258
|
targetToken: string;
|
|
@@ -5249,9 +5269,9 @@ export interface operations {
|
|
|
5249
5269
|
[name: string]: unknown;
|
|
5250
5270
|
};
|
|
5251
5271
|
content: {
|
|
5252
|
-
|
|
5272
|
+
'application/json': {
|
|
5253
5273
|
/** @enum {string} */
|
|
5254
|
-
code:
|
|
5274
|
+
code: 'VALIDATION_ERROR';
|
|
5255
5275
|
/**
|
|
5256
5276
|
* @description Human-readable error message
|
|
5257
5277
|
* @example Invalid input
|
|
@@ -5268,7 +5288,7 @@ export interface operations {
|
|
|
5268
5288
|
}[];
|
|
5269
5289
|
} | {
|
|
5270
5290
|
/** @enum {string} */
|
|
5271
|
-
code:
|
|
5291
|
+
code: 'SIMULATION_FAILED';
|
|
5272
5292
|
/**
|
|
5273
5293
|
* @description Human-readable error message
|
|
5274
5294
|
* @example Invalid input
|
|
@@ -5285,14 +5305,14 @@ export interface operations {
|
|
|
5285
5305
|
};
|
|
5286
5306
|
retryable: boolean;
|
|
5287
5307
|
/** @enum {string} */
|
|
5288
|
-
retryHint?:
|
|
5308
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
5289
5309
|
simulations?: unknown;
|
|
5290
5310
|
} & {
|
|
5291
5311
|
[key: string]: unknown;
|
|
5292
5312
|
};
|
|
5293
5313
|
} | {
|
|
5294
5314
|
/** @enum {string} */
|
|
5295
|
-
code:
|
|
5315
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
5296
5316
|
/**
|
|
5297
5317
|
* @description Human-readable error message
|
|
5298
5318
|
* @example Invalid input
|
|
@@ -5311,7 +5331,7 @@ export interface operations {
|
|
|
5311
5331
|
};
|
|
5312
5332
|
} | {
|
|
5313
5333
|
/** @enum {string} */
|
|
5314
|
-
code:
|
|
5334
|
+
code: 'KEY_SCOPE_DENIED';
|
|
5315
5335
|
/**
|
|
5316
5336
|
* @description Human-readable error message
|
|
5317
5337
|
* @example Invalid input
|
|
@@ -5325,16 +5345,16 @@ export interface operations {
|
|
|
5325
5345
|
* @description Which scope rejected the request
|
|
5326
5346
|
* @enum {string}
|
|
5327
5347
|
*/
|
|
5328
|
-
scope:
|
|
5348
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5329
5349
|
/** @description Minimum level the endpoint demands */
|
|
5330
|
-
required: boolean | (
|
|
5350
|
+
required: boolean | ('read' | 'write');
|
|
5331
5351
|
/** @description Level resolved on the key */
|
|
5332
|
-
actual: boolean | (
|
|
5352
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5333
5353
|
};
|
|
5334
5354
|
}[];
|
|
5335
5355
|
} | {
|
|
5336
5356
|
/** @enum {string} */
|
|
5337
|
-
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';
|
|
5338
5358
|
/**
|
|
5339
5359
|
* @description Human-readable error message
|
|
5340
5360
|
* @example Invalid input
|
|
@@ -5349,9 +5369,9 @@ export interface operations {
|
|
|
5349
5369
|
[name: string]: unknown;
|
|
5350
5370
|
};
|
|
5351
5371
|
content: {
|
|
5352
|
-
|
|
5372
|
+
'application/json': {
|
|
5353
5373
|
/** @enum {string} */
|
|
5354
|
-
code:
|
|
5374
|
+
code: 'VALIDATION_ERROR';
|
|
5355
5375
|
/**
|
|
5356
5376
|
* @description Human-readable error message
|
|
5357
5377
|
* @example Invalid input
|
|
@@ -5368,7 +5388,7 @@ export interface operations {
|
|
|
5368
5388
|
}[];
|
|
5369
5389
|
} | {
|
|
5370
5390
|
/** @enum {string} */
|
|
5371
|
-
code:
|
|
5391
|
+
code: 'SIMULATION_FAILED';
|
|
5372
5392
|
/**
|
|
5373
5393
|
* @description Human-readable error message
|
|
5374
5394
|
* @example Invalid input
|
|
@@ -5385,14 +5405,14 @@ export interface operations {
|
|
|
5385
5405
|
};
|
|
5386
5406
|
retryable: boolean;
|
|
5387
5407
|
/** @enum {string} */
|
|
5388
|
-
retryHint?:
|
|
5408
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
5389
5409
|
simulations?: unknown;
|
|
5390
5410
|
} & {
|
|
5391
5411
|
[key: string]: unknown;
|
|
5392
5412
|
};
|
|
5393
5413
|
} | {
|
|
5394
5414
|
/** @enum {string} */
|
|
5395
|
-
code:
|
|
5415
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
5396
5416
|
/**
|
|
5397
5417
|
* @description Human-readable error message
|
|
5398
5418
|
* @example Invalid input
|
|
@@ -5411,7 +5431,7 @@ export interface operations {
|
|
|
5411
5431
|
};
|
|
5412
5432
|
} | {
|
|
5413
5433
|
/** @enum {string} */
|
|
5414
|
-
code:
|
|
5434
|
+
code: 'KEY_SCOPE_DENIED';
|
|
5415
5435
|
/**
|
|
5416
5436
|
* @description Human-readable error message
|
|
5417
5437
|
* @example Invalid input
|
|
@@ -5425,16 +5445,16 @@ export interface operations {
|
|
|
5425
5445
|
* @description Which scope rejected the request
|
|
5426
5446
|
* @enum {string}
|
|
5427
5447
|
*/
|
|
5428
|
-
scope:
|
|
5448
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5429
5449
|
/** @description Minimum level the endpoint demands */
|
|
5430
|
-
required: boolean | (
|
|
5450
|
+
required: boolean | ('read' | 'write');
|
|
5431
5451
|
/** @description Level resolved on the key */
|
|
5432
|
-
actual: boolean | (
|
|
5452
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5433
5453
|
};
|
|
5434
5454
|
}[];
|
|
5435
5455
|
} | {
|
|
5436
5456
|
/** @enum {string} */
|
|
5437
|
-
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';
|
|
5438
5458
|
/**
|
|
5439
5459
|
* @description Human-readable error message
|
|
5440
5460
|
* @example Invalid input
|
|
@@ -5449,9 +5469,9 @@ export interface operations {
|
|
|
5449
5469
|
[name: string]: unknown;
|
|
5450
5470
|
};
|
|
5451
5471
|
content: {
|
|
5452
|
-
|
|
5472
|
+
'application/json': {
|
|
5453
5473
|
/** @enum {string} */
|
|
5454
|
-
code:
|
|
5474
|
+
code: 'VALIDATION_ERROR';
|
|
5455
5475
|
/**
|
|
5456
5476
|
* @description Human-readable error message
|
|
5457
5477
|
* @example Invalid input
|
|
@@ -5468,7 +5488,7 @@ export interface operations {
|
|
|
5468
5488
|
}[];
|
|
5469
5489
|
} | {
|
|
5470
5490
|
/** @enum {string} */
|
|
5471
|
-
code:
|
|
5491
|
+
code: 'SIMULATION_FAILED';
|
|
5472
5492
|
/**
|
|
5473
5493
|
* @description Human-readable error message
|
|
5474
5494
|
* @example Invalid input
|
|
@@ -5485,14 +5505,14 @@ export interface operations {
|
|
|
5485
5505
|
};
|
|
5486
5506
|
retryable: boolean;
|
|
5487
5507
|
/** @enum {string} */
|
|
5488
|
-
retryHint?:
|
|
5508
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
5489
5509
|
simulations?: unknown;
|
|
5490
5510
|
} & {
|
|
5491
5511
|
[key: string]: unknown;
|
|
5492
5512
|
};
|
|
5493
5513
|
} | {
|
|
5494
5514
|
/** @enum {string} */
|
|
5495
|
-
code:
|
|
5515
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
5496
5516
|
/**
|
|
5497
5517
|
* @description Human-readable error message
|
|
5498
5518
|
* @example Invalid input
|
|
@@ -5511,7 +5531,7 @@ export interface operations {
|
|
|
5511
5531
|
};
|
|
5512
5532
|
} | {
|
|
5513
5533
|
/** @enum {string} */
|
|
5514
|
-
code:
|
|
5534
|
+
code: 'KEY_SCOPE_DENIED';
|
|
5515
5535
|
/**
|
|
5516
5536
|
* @description Human-readable error message
|
|
5517
5537
|
* @example Invalid input
|
|
@@ -5525,16 +5545,16 @@ export interface operations {
|
|
|
5525
5545
|
* @description Which scope rejected the request
|
|
5526
5546
|
* @enum {string}
|
|
5527
5547
|
*/
|
|
5528
|
-
scope:
|
|
5548
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5529
5549
|
/** @description Minimum level the endpoint demands */
|
|
5530
|
-
required: boolean | (
|
|
5550
|
+
required: boolean | ('read' | 'write');
|
|
5531
5551
|
/** @description Level resolved on the key */
|
|
5532
|
-
actual: boolean | (
|
|
5552
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5533
5553
|
};
|
|
5534
5554
|
}[];
|
|
5535
5555
|
} | {
|
|
5536
5556
|
/** @enum {string} */
|
|
5537
|
-
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';
|
|
5538
5558
|
/**
|
|
5539
5559
|
* @description Human-readable error message
|
|
5540
5560
|
* @example Invalid input
|
|
@@ -5549,9 +5569,9 @@ export interface operations {
|
|
|
5549
5569
|
[name: string]: unknown;
|
|
5550
5570
|
};
|
|
5551
5571
|
content: {
|
|
5552
|
-
|
|
5572
|
+
'application/json': {
|
|
5553
5573
|
/** @enum {string} */
|
|
5554
|
-
code:
|
|
5574
|
+
code: 'VALIDATION_ERROR';
|
|
5555
5575
|
/**
|
|
5556
5576
|
* @description Human-readable error message
|
|
5557
5577
|
* @example Invalid input
|
|
@@ -5568,7 +5588,7 @@ export interface operations {
|
|
|
5568
5588
|
}[];
|
|
5569
5589
|
} | {
|
|
5570
5590
|
/** @enum {string} */
|
|
5571
|
-
code:
|
|
5591
|
+
code: 'SIMULATION_FAILED';
|
|
5572
5592
|
/**
|
|
5573
5593
|
* @description Human-readable error message
|
|
5574
5594
|
* @example Invalid input
|
|
@@ -5585,14 +5605,14 @@ export interface operations {
|
|
|
5585
5605
|
};
|
|
5586
5606
|
retryable: boolean;
|
|
5587
5607
|
/** @enum {string} */
|
|
5588
|
-
retryHint?:
|
|
5608
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
5589
5609
|
simulations?: unknown;
|
|
5590
5610
|
} & {
|
|
5591
5611
|
[key: string]: unknown;
|
|
5592
5612
|
};
|
|
5593
5613
|
} | {
|
|
5594
5614
|
/** @enum {string} */
|
|
5595
|
-
code:
|
|
5615
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
5596
5616
|
/**
|
|
5597
5617
|
* @description Human-readable error message
|
|
5598
5618
|
* @example Invalid input
|
|
@@ -5611,7 +5631,7 @@ export interface operations {
|
|
|
5611
5631
|
};
|
|
5612
5632
|
} | {
|
|
5613
5633
|
/** @enum {string} */
|
|
5614
|
-
code:
|
|
5634
|
+
code: 'KEY_SCOPE_DENIED';
|
|
5615
5635
|
/**
|
|
5616
5636
|
* @description Human-readable error message
|
|
5617
5637
|
* @example Invalid input
|
|
@@ -5625,16 +5645,16 @@ export interface operations {
|
|
|
5625
5645
|
* @description Which scope rejected the request
|
|
5626
5646
|
* @enum {string}
|
|
5627
5647
|
*/
|
|
5628
|
-
scope:
|
|
5648
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5629
5649
|
/** @description Minimum level the endpoint demands */
|
|
5630
|
-
required: boolean | (
|
|
5650
|
+
required: boolean | ('read' | 'write');
|
|
5631
5651
|
/** @description Level resolved on the key */
|
|
5632
|
-
actual: boolean | (
|
|
5652
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5633
5653
|
};
|
|
5634
5654
|
}[];
|
|
5635
5655
|
} | {
|
|
5636
5656
|
/** @enum {string} */
|
|
5637
|
-
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';
|
|
5638
5658
|
/**
|
|
5639
5659
|
* @description Human-readable error message
|
|
5640
5660
|
* @example Invalid input
|
|
@@ -5649,9 +5669,9 @@ export interface operations {
|
|
|
5649
5669
|
[name: string]: unknown;
|
|
5650
5670
|
};
|
|
5651
5671
|
content: {
|
|
5652
|
-
|
|
5672
|
+
'application/json': {
|
|
5653
5673
|
/** @enum {string} */
|
|
5654
|
-
code:
|
|
5674
|
+
code: 'VALIDATION_ERROR';
|
|
5655
5675
|
/**
|
|
5656
5676
|
* @description Human-readable error message
|
|
5657
5677
|
* @example Invalid input
|
|
@@ -5668,7 +5688,7 @@ export interface operations {
|
|
|
5668
5688
|
}[];
|
|
5669
5689
|
} | {
|
|
5670
5690
|
/** @enum {string} */
|
|
5671
|
-
code:
|
|
5691
|
+
code: 'SIMULATION_FAILED';
|
|
5672
5692
|
/**
|
|
5673
5693
|
* @description Human-readable error message
|
|
5674
5694
|
* @example Invalid input
|
|
@@ -5685,14 +5705,14 @@ export interface operations {
|
|
|
5685
5705
|
};
|
|
5686
5706
|
retryable: boolean;
|
|
5687
5707
|
/** @enum {string} */
|
|
5688
|
-
retryHint?:
|
|
5708
|
+
retryHint?: 'RE_PREPARE' | 'RETRY_LATER';
|
|
5689
5709
|
simulations?: unknown;
|
|
5690
5710
|
} & {
|
|
5691
5711
|
[key: string]: unknown;
|
|
5692
5712
|
};
|
|
5693
5713
|
} | {
|
|
5694
5714
|
/** @enum {string} */
|
|
5695
|
-
code:
|
|
5715
|
+
code: 'INSUFFICIENT_LIQUIDITY';
|
|
5696
5716
|
/**
|
|
5697
5717
|
* @description Human-readable error message
|
|
5698
5718
|
* @example Invalid input
|
|
@@ -5711,7 +5731,7 @@ export interface operations {
|
|
|
5711
5731
|
};
|
|
5712
5732
|
} | {
|
|
5713
5733
|
/** @enum {string} */
|
|
5714
|
-
code:
|
|
5734
|
+
code: 'KEY_SCOPE_DENIED';
|
|
5715
5735
|
/**
|
|
5716
5736
|
* @description Human-readable error message
|
|
5717
5737
|
* @example Invalid input
|
|
@@ -5725,16 +5745,16 @@ export interface operations {
|
|
|
5725
5745
|
* @description Which scope rejected the request
|
|
5726
5746
|
* @enum {string}
|
|
5727
5747
|
*/
|
|
5728
|
-
scope:
|
|
5748
|
+
scope: 'allowMainnet' | 'intents' | 'deposits';
|
|
5729
5749
|
/** @description Minimum level the endpoint demands */
|
|
5730
|
-
required: boolean | (
|
|
5750
|
+
required: boolean | ('read' | 'write');
|
|
5731
5751
|
/** @description Level resolved on the key */
|
|
5732
|
-
actual: boolean | (
|
|
5752
|
+
actual: boolean | ('none' | 'read' | 'write');
|
|
5733
5753
|
};
|
|
5734
5754
|
}[];
|
|
5735
5755
|
} | {
|
|
5736
5756
|
/** @enum {string} */
|
|
5737
|
-
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';
|
|
5738
5758
|
/**
|
|
5739
5759
|
* @description Human-readable error message
|
|
5740
5760
|
* @example Invalid input
|