import * as RpcSchemas from "./request.js"; import { z } from "../zod.js"; export declare const PrepareCalls: { name: string; params: readonly [{ name: "Request"; value: [{ calls: { programId: string; data: `0x${string}`; accounts?: { pubkey: string; isSigner: boolean; isWritable: boolean; }[] | undefined; }[]; from: string; chainId: "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1"; addressLookupTableAddresses?: string[] | undefined; capabilities?: { paymasterService?: ({ policyId: string; } & { webhookData?: string | undefined; prefundRent?: boolean | undefined; }) | undefined; } | undefined; } | { from: `0x${string}`; chainId: `0x${string}`; calls?: { to: `0x${string}`; data?: `0x${string}` | undefined; value?: `0x${string}` | undefined; }[] | undefined; capabilities?: { permissions?: { context: `0x${string}`; } | { sessionId: `0x${string}`; signature: `0x${string}`; } | undefined; paymasterService?: (({ policyId: string; } | { policyIds: string[]; }) & { onlyEstimation?: boolean | undefined; erc20?: { preOpSettings: { autoPermit: { below: `0x${string}`; amount: `0x${string}`; durationSeconds?: `0x${string}` | undefined; }; }; tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | { preOpSettings: { permitDetails: { deadline: `0x${string}`; value: `0x${string}`; }; }; tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | { postOpSettings: { autoApprove?: true | { below: `0x${string}`; amount: `0x${string}`; } | undefined; balanceCheck?: false | undefined; }; tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | { tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | undefined; webhookData?: string | undefined; }) | undefined; gasParamsOverride?: { preVerificationGas?: `0x${string}` | { multiplier: number; } | undefined; verificationGasLimit?: `0x${string}` | { multiplier: number; } | undefined; callGasLimit?: `0x${string}` | { multiplier: number; } | undefined; paymasterVerificationGasLimit?: `0x${string}` | { multiplier: number; } | undefined; paymasterPostOpGasLimit?: `0x${string}` | { multiplier: number; } | undefined; maxFeePerGas?: `0x${string}` | { multiplier: number; } | undefined; maxPriorityFeePerGas?: `0x${string}` | { multiplier: number; } | undefined; } | undefined; eip7702Auth?: true | { delegation: `0x${string}` | "ModularAccountV2"; account?: `0x${string}` | undefined; version?: "v1.0.0" | "v1.1.0" | undefined; } | undefined; nonceOverride?: { nonceKey: `0x${string}`; } | undefined; stateOverride?: Record<`0x${string}`, { state: Record<`0x${string}`, `0x${string}`>; balance?: `0x${string}` | undefined; nonce?: `0x${string}` | undefined; code?: `0x${string}` | undefined; } | { stateDiff: Record<`0x${string}`, `0x${string}`>; balance?: `0x${string}` | undefined; nonce?: `0x${string}` | undefined; code?: `0x${string}` | undefined; } | { balance?: `0x${string}` | undefined; nonce?: `0x${string}` | undefined; code?: `0x${string}` | undefined; }> | undefined; experimental_dataSuffix?: { value: `0x${string}`; } | undefined; } | undefined; paymasterPermitSignature?: { type: "secp256k1"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; } | { type: "ecdsa"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; } | undefined; }]; }]; result: { name: "Response"; value: { type: "solana-transaction-v0"; chainId: "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1"; signatureRequest: { type: "solana_signTransaction"; data: `0x${string}`; }; data: { compiledTransaction: `0x${string}`; signer: string; version: "0"; lifetimeConstraint: { blockHash: string; lastValidBlockHeight?: `0x${string}` | undefined; }; }; feePayment: { sponsored: boolean; feePayer: string; estimatedFeeLamports?: number | undefined; estimatedRentLamports?: number | undefined; prefundLamports?: number | undefined; }; details: { type: "solana-transaction-v0"; data: { calls: { programId: string; data: `0x${string}`; accounts?: { pubkey: string; isSigner: boolean; isWritable: boolean; }[] | undefined; }[]; addressLookupTableAddresses?: string[] | undefined; }; }; } | (({ type: "user-operation-v060"; data: { sender: `0x${string}`; nonce: `0x${string}`; initCode: `0x${string}`; callData: `0x${string}`; callGasLimit: `0x${string}`; verificationGasLimit: `0x${string}`; preVerificationGas: `0x${string}`; maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; paymasterAndData: `0x${string}`; }; chainId: `0x${string}`; feePayment: { sponsored: boolean; tokenAddress: `0x${string}`; maxAmount: `0x${string}`; }; signatureRequest?: { type: "personal_sign"; data: string | { raw: `0x${string}`; }; rawPayload: `0x${string}`; } | { type: "eth_signTypedData_v4"; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; rawPayload: `0x${string}`; } | undefined; } | { type: "user-operation-v070"; data: { sender: `0x${string}`; nonce: `0x${string}`; callData: `0x${string}`; callGasLimit: `0x${string}`; verificationGasLimit: `0x${string}`; preVerificationGas: `0x${string}`; maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; factory?: `0x${string}` | undefined; factoryData?: `0x${string}` | undefined; paymaster?: `0x${string}` | undefined; paymasterData?: `0x${string}` | undefined; paymasterVerificationGasLimit?: `0x${string}` | undefined; paymasterPostOpGasLimit?: `0x${string}` | undefined; }; chainId: `0x${string}`; feePayment: { sponsored: boolean; tokenAddress: `0x${string}`; maxAmount: `0x${string}`; }; signatureRequest?: { type: "personal_sign"; data: string | { raw: `0x${string}`; }; rawPayload: `0x${string}`; } | { type: "eth_signTypedData_v4"; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; rawPayload: `0x${string}`; } | undefined; } | { type: "authorization"; data: { address: `0x${string}`; nonce: `0x${string}`; }; chainId: `0x${string}`; signatureRequest: { type: "eip7702Auth"; rawPayload: `0x${string}`; }; } | { type: "paymaster-permit"; modifiedRequest: { from: `0x${string}`; chainId: `0x${string}`; calls?: { to: `0x${string}`; data?: `0x${string}` | undefined; value?: `0x${string}` | undefined; }[] | undefined; capabilities?: { permissions?: { context: `0x${string}`; } | { sessionId: `0x${string}`; signature: `0x${string}`; } | undefined; paymasterService?: (({ policyId: string; } | { policyIds: string[]; }) & { onlyEstimation?: boolean | undefined; erc20?: { preOpSettings: { autoPermit: { below: `0x${string}`; amount: `0x${string}`; durationSeconds?: `0x${string}` | undefined; }; }; tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | { preOpSettings: { permitDetails: { deadline: `0x${string}`; value: `0x${string}`; }; }; tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | { postOpSettings: { autoApprove?: true | { below: `0x${string}`; amount: `0x${string}`; } | undefined; balanceCheck?: false | undefined; }; tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | { tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | undefined; webhookData?: string | undefined; }) | undefined; gasParamsOverride?: { preVerificationGas?: `0x${string}` | { multiplier: number; } | undefined; verificationGasLimit?: `0x${string}` | { multiplier: number; } | undefined; callGasLimit?: `0x${string}` | { multiplier: number; } | undefined; paymasterVerificationGasLimit?: `0x${string}` | { multiplier: number; } | undefined; paymasterPostOpGasLimit?: `0x${string}` | { multiplier: number; } | undefined; maxFeePerGas?: `0x${string}` | { multiplier: number; } | undefined; maxPriorityFeePerGas?: `0x${string}` | { multiplier: number; } | undefined; } | undefined; eip7702Auth?: true | { delegation: `0x${string}` | "ModularAccountV2"; account?: `0x${string}` | undefined; version?: "v1.0.0" | "v1.1.0" | undefined; } | undefined; nonceOverride?: { nonceKey: `0x${string}`; } | undefined; stateOverride?: Record<`0x${string}`, { state: Record<`0x${string}`, `0x${string}`>; balance?: `0x${string}` | undefined; nonce?: `0x${string}` | undefined; code?: `0x${string}` | undefined; } | { stateDiff: Record<`0x${string}`, `0x${string}`>; balance?: `0x${string}` | undefined; nonce?: `0x${string}` | undefined; code?: `0x${string}` | undefined; } | { balance?: `0x${string}` | undefined; nonce?: `0x${string}` | undefined; code?: `0x${string}` | undefined; }> | undefined; experimental_dataSuffix?: { value: `0x${string}`; } | undefined; } | undefined; paymasterPermitSignature?: { type: "secp256k1"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; } | { type: "ecdsa"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; } | undefined; }; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; signatureRequest: { type: "eth_signTypedData_v4"; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; rawPayload: `0x${string}`; }; } | { type: "array"; data: ({ type: "user-operation-v060"; data: { sender: `0x${string}`; nonce: `0x${string}`; initCode: `0x${string}`; callData: `0x${string}`; callGasLimit: `0x${string}`; verificationGasLimit: `0x${string}`; preVerificationGas: `0x${string}`; maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; paymasterAndData: `0x${string}`; }; chainId: `0x${string}`; feePayment: { sponsored: boolean; tokenAddress: `0x${string}`; maxAmount: `0x${string}`; }; signatureRequest?: { type: "personal_sign"; data: string | { raw: `0x${string}`; }; rawPayload: `0x${string}`; } | { type: "eth_signTypedData_v4"; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; rawPayload: `0x${string}`; } | undefined; } | { type: "user-operation-v070"; data: { sender: `0x${string}`; nonce: `0x${string}`; callData: `0x${string}`; callGasLimit: `0x${string}`; verificationGasLimit: `0x${string}`; preVerificationGas: `0x${string}`; maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; factory?: `0x${string}` | undefined; factoryData?: `0x${string}` | undefined; paymaster?: `0x${string}` | undefined; paymasterData?: `0x${string}` | undefined; paymasterVerificationGasLimit?: `0x${string}` | undefined; paymasterPostOpGasLimit?: `0x${string}` | undefined; }; chainId: `0x${string}`; feePayment: { sponsored: boolean; tokenAddress: `0x${string}`; maxAmount: `0x${string}`; }; signatureRequest?: { type: "personal_sign"; data: string | { raw: `0x${string}`; }; rawPayload: `0x${string}`; } | { type: "eth_signTypedData_v4"; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; rawPayload: `0x${string}`; } | undefined; } | { type: "authorization"; data: { address: `0x${string}`; nonce: `0x${string}`; }; chainId: `0x${string}`; signatureRequest: { type: "eip7702Auth"; rawPayload: `0x${string}`; }; })[]; }) & { details?: { type: "user-operation"; data: { hash: `0x${string}`; calls: { to: `0x${string}`; data?: `0x${string}` | undefined; value?: `0x${string}` | undefined; }[]; }; } | undefined; }); }; }; export declare const SendPreparedCalls: { name: string; params: readonly [{ name: "Request"; value: [({ type: "solana-transaction-v0"; data: { compiledTransaction: `0x${string}`; signer: string; version: "0"; lifetimeConstraint: { blockHash: string; lastValidBlockHeight?: `0x${string}` | undefined; }; }; chainId: "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1"; } & { signature: { type: "ed25519"; data: string; }; }) | ((({ type: "user-operation-v060"; data: { sender: `0x${string}`; nonce: `0x${string}`; initCode: `0x${string}`; callData: `0x${string}`; callGasLimit: `0x${string}`; verificationGasLimit: `0x${string}`; preVerificationGas: `0x${string}`; maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; paymasterAndData: `0x${string}`; }; chainId: `0x${string}`; } & { signature: { type: "secp256k1"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; } | { type: "ecdsa"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; }; }) | ({ type: "user-operation-v070"; data: { sender: `0x${string}`; nonce: `0x${string}`; callData: `0x${string}`; callGasLimit: `0x${string}`; verificationGasLimit: `0x${string}`; preVerificationGas: `0x${string}`; maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; factory?: `0x${string}` | undefined; factoryData?: `0x${string}` | undefined; paymaster?: `0x${string}` | undefined; paymasterData?: `0x${string}` | undefined; paymasterVerificationGasLimit?: `0x${string}` | undefined; paymasterPostOpGasLimit?: `0x${string}` | undefined; }; chainId: `0x${string}`; } & { signature: { type: "secp256k1"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; } | { type: "ecdsa"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; }; }) | ({ type: "authorization"; data: { address: `0x${string}`; nonce: `0x${string}`; }; chainId: `0x${string}`; } & { signature: { type: "secp256k1"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; } | { type: "ecdsa"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; }; }) | { type: "array"; data: (({ type: "user-operation-v060"; data: { sender: `0x${string}`; nonce: `0x${string}`; initCode: `0x${string}`; callData: `0x${string}`; callGasLimit: `0x${string}`; verificationGasLimit: `0x${string}`; preVerificationGas: `0x${string}`; maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; paymasterAndData: `0x${string}`; }; chainId: `0x${string}`; } & { signature: { type: "secp256k1"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; } | { type: "ecdsa"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; }; }) | ({ type: "user-operation-v070"; data: { sender: `0x${string}`; nonce: `0x${string}`; callData: `0x${string}`; callGasLimit: `0x${string}`; verificationGasLimit: `0x${string}`; preVerificationGas: `0x${string}`; maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; factory?: `0x${string}` | undefined; factoryData?: `0x${string}` | undefined; paymaster?: `0x${string}` | undefined; paymasterData?: `0x${string}` | undefined; paymasterVerificationGasLimit?: `0x${string}` | undefined; paymasterPostOpGasLimit?: `0x${string}` | undefined; }; chainId: `0x${string}`; } & { signature: { type: "secp256k1"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; } | { type: "ecdsa"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; }; }) | ({ type: "authorization"; data: { address: `0x${string}`; nonce: `0x${string}`; }; chainId: `0x${string}`; } & { signature: { type: "secp256k1"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; } | { type: "ecdsa"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; }; }))[]; }) & { capabilities?: { permissions?: { context: `0x${string}`; } | { sessionId: `0x${string}`; signature: `0x${string}`; } | undefined; paymasterService?: (({ policyId: string; } | { policyIds: string[]; }) & { webhookData?: string | undefined; }) | undefined; } | undefined; callId?: `0x${string}` | undefined; })]; }]; result: { name: "Response"; value: { id: `0x${string}`; preparedCallIds: `0x${string}`[]; details: { type: "user-operation"; data: { hash: `0x${string}`; calls?: { to: `0x${string}`; data?: `0x${string}` | undefined; value?: `0x${string}` | undefined; }[] | undefined; }; } | { type: "delegation"; }; } | { id: `0x${string}`; preparedCallIds: `0x${string}`[]; details: { type: "solana-transaction-v0"; }; }; }; }; export declare const RequestAccount: { name: string; params: readonly [{ name: "Request"; value: [{ signerAddress: `0x${string}`; id?: string | undefined; creationHint?: ({ createAdditional?: true | undefined; salt?: `0x${string}` | undefined; } & ({ accountType?: "sma-b" | "la-v2" | "la-v1.0.1" | "la-v1.0.2" | "la-v1.1.0" | undefined; } | { accountType: "la-v2-multi-owner" | "ma-v1-multi-owner"; initialOwners?: `0x${string}`[] | undefined; })) | { accountType: "7702"; version?: "v1.0.0" | "v1.1.0" | undefined; } | undefined; includeCounterfactualInfo?: boolean | undefined; } | { accountAddress: `0x${string}`; includeCounterfactualInfo?: boolean | undefined; }]; }]; result: { name: "Response"; value: { accountAddress: `0x${string}`; id: string; counterfactualInfo?: { factoryType: "unknown" | "LightAccountV2.0.0" | "LightAccountV1.1.0" | "LightAccountV1.0.2" | "LightAccountV1.0.1" | "MAv1.0.0-MultiOwner" | "LightAccountV2.0.0-MultiOwner" | "MAv1.0.0-MultiSig" | "MAv2.0.0-sma-b" | "MAv2.0.0-ma-ssv"; factoryAddress: `0x${string}`; factoryData: `0x${string}`; } | undefined; delegation?: `0x${string}` | undefined; }; }; }; export declare const ListAccounts: { name: string; params: readonly [{ name: "Request"; value: [{ signerAddress: `0x${string}`; limit?: number | undefined; after?: string | undefined; }]; }]; result: { name: "Response"; value: { accounts: { accountAddress: `0x${string}`; id: string; }[]; meta: { totalCount: number; after: string | null; }; }; }; }; export declare const GetCapabilities: { name: string; params: readonly [{ name: "Request"; value: [`0x${string}`] | [`0x${string}`, `0x${string}`[]]; }]; result: { name: "Response"; value: Record<`0x${string}`, Record>; }; }; export declare const CreateSession: { name: string; params: readonly [{ name: "Request"; value: [{ chainId: `0x${string}`; key: { type: "secp256k1" | "ecdsa" | "contract"; publicKey: `0x${string}`; }; permissions: ({ type: "native-token-transfer"; data: { allowance: `0x${string}`; }; } | { type: "erc20-token-transfer"; data: { allowance: `0x${string}`; address: `0x${string}`; }; } | { type: "gas-limit"; data: { limit: `0x${string}`; }; } | { type: "contract-access"; data: { address: `0x${string}`; }; } | { type: "account-functions"; data: { functions: `0x${string}`[]; }; } | { type: "functions-on-all-contracts"; data: { functions: `0x${string}`[]; }; } | { type: "functions-on-contract"; data: { address: `0x${string}`; functions: `0x${string}`[]; }; } | { type: "root"; data?: undefined; })[]; expirySec?: number | undefined; } & { account: `0x${string}`; }]; }]; result: { name: "Response"; value: { sessionId: `0x${string}`; chainId: `0x${string}`; signatureRequest: { type: "eth_signTypedData_v4"; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; rawPayload: `0x${string}`; }; }; }; }; export declare const GetCallsStatus: { name: string; params: readonly [{ name: "Request"; value: [`0x${string}`]; }]; result: { name: "Response"; value: { id: `0x${string}`; chainId: "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1"; atomic: boolean; status: 100 | 110 | 115 | 116 | 120 | 200 | 400 | 410 | 500 | 600; commitment?: "processed" | "confirmed" | "finalized" | undefined; receipts?: { signature: string; slot: `0x${string}`; blockTime?: `0x${string}` | undefined; }[] | undefined; } | { id: `0x${string}`; chainId: `0x${string}`; atomic: boolean; status: 100 | 110 | 115 | 116 | 120 | 200 | 400 | 410 | 500 | 600; details: { type: "user-operation"; data: { hash: `0x${string}`; calls?: { to: `0x${string}`; data?: `0x${string}` | undefined; value?: `0x${string}` | undefined; }[] | undefined; } & { pendingBundle?: { txHash: `0x${string}`; sentAtBlock: `0x${string}`; } | undefined; }; } | { type: "delegation"; txHash?: `0x${string}` | undefined; }; receipts?: { logs: { address: `0x${string}`; data: `0x${string}`; topics: `0x${string}`[]; }[]; status: `0x${string}`; blockHash: `0x${string}`; blockNumber: `0x${string}`; gasUsed: `0x${string}`; transactionHash: `0x${string}`; }[] | undefined; }; }; }; export declare const GetCrossChainStatusV0: { name: string; params: readonly [{ name: "Request"; value: [`0x${string}`]; }]; result: { name: "Response"; value: { type: "same-chain"; id: `0x${string}`; status: 100 | 110 | 115 | 116 | 120 | 200 | 400 | 410 | 500 | 600; originTransaction?: { chainId: `0x${string}`; status: 100 | 110 | 115 | 116 | 120 | 200 | 400 | 410 | 500 | 600; receipt?: { logs: { address: `0x${string}`; data: `0x${string}`; topics: `0x${string}`[]; }[]; status: `0x${string}`; blockHash: `0x${string}`; blockNumber: `0x${string}`; gasUsed: `0x${string}`; transactionHash: `0x${string}`; } | undefined; } | undefined; } | { type: "cross-chain"; id: `0x${string}`; status: 100 | 110 | 115 | 116 | 120 | 200 | 400 | 410 | 500 | 600; originTransaction?: { chainId: `0x${string}`; status: 100 | 110 | 115 | 116 | 120 | 200 | 400 | 410 | 500 | 600; receipt?: { logs: { address: `0x${string}`; data: `0x${string}`; topics: `0x${string}`[]; }[]; status: `0x${string}`; blockHash: `0x${string}`; blockNumber: `0x${string}`; gasUsed: `0x${string}`; transactionHash: `0x${string}`; } | undefined; } | undefined; destinationTransaction?: { chainId: `0x${string}`; status: 100 | 110 | 115 | 116 | 120 | 200 | 400 | 410 | 500 | 600; receipt?: { logs: { address: `0x${string}`; data: `0x${string}`; topics: `0x${string}`[]; }[]; status: `0x${string}`; blockHash: `0x${string}`; blockNumber: `0x${string}`; gasUsed: `0x${string}`; transactionHash: `0x${string}`; } | undefined; } | undefined; }; }; }; export declare const PrepareSign: { name: string; params: readonly [{ name: "Request"; value: [{ from: `0x${string}`; chainId: `0x${string}`; signatureRequest: { type: "personal_sign"; data: string | { raw: `0x${string}`; }; } | { type: "eth_signTypedData_v4"; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; }; capabilities?: { permissions: { context: `0x${string}`; } | { sessionId: `0x${string}`; signature: `0x${string}`; }; } | undefined; }]; }]; result: { name: "Response"; value: { chainId: `0x${string}`; signatureRequest: { type: "personal_sign"; data: string | { raw: `0x${string}`; }; } | { type: "eth_signTypedData_v4"; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; }; }; }; }; export declare const FormatSign: { name: string; params: readonly [{ name: "Request"; value: [{ from: `0x${string}`; chainId: `0x${string}`; signature: { type: "secp256k1"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; } | { type: "ecdsa"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; }; capabilities?: { permissions: { context: `0x${string}`; } | { sessionId: `0x${string}`; signature: `0x${string}`; }; } | undefined; }]; }]; result: { name: "Response"; value: { signature: `0x${string}`; }; }; }; export declare const RequestQuoteV0: { name: string; params: readonly [{ name: "Request"; value: [({ from: `0x${string}`; chainId: `0x${string}`; fromToken: `0x${string}`; toToken: `0x${string}`; slippage?: `0x${string}` | undefined; } & ({ postCalls?: { to: `0x${string}`; data?: `0x${string}` | undefined; value?: `0x${string}` | undefined; }[] | undefined; toChainId?: undefined; } | { toChainId: `0x${string}`; postCalls?: undefined; })) & (({ returnRawCalls?: false | undefined; capabilities?: { permissions?: { context: `0x${string}`; } | { sessionId: `0x${string}`; signature: `0x${string}`; } | undefined; paymasterService?: (({ policyId: string; } | { policyIds: string[]; }) & { onlyEstimation?: boolean | undefined; erc20?: { preOpSettings: { autoPermit: { below: `0x${string}`; amount: `0x${string}`; durationSeconds?: `0x${string}` | undefined; }; }; tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | { preOpSettings: { permitDetails: { deadline: `0x${string}`; value: `0x${string}`; }; }; tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | { postOpSettings: { autoApprove?: true | { below: `0x${string}`; amount: `0x${string}`; } | undefined; balanceCheck?: false | undefined; }; tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | { tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | undefined; webhookData?: string | undefined; }) | undefined; gasParamsOverride?: { preVerificationGas?: `0x${string}` | { multiplier: number; } | undefined; verificationGasLimit?: `0x${string}` | { multiplier: number; } | undefined; callGasLimit?: `0x${string}` | { multiplier: number; } | undefined; paymasterVerificationGasLimit?: `0x${string}` | { multiplier: number; } | undefined; paymasterPostOpGasLimit?: `0x${string}` | { multiplier: number; } | undefined; maxFeePerGas?: `0x${string}` | { multiplier: number; } | undefined; maxPriorityFeePerGas?: `0x${string}` | { multiplier: number; } | undefined; } | undefined; eip7702Auth?: true | { delegation: `0x${string}` | "ModularAccountV2"; account?: `0x${string}` | undefined; version?: "v1.0.0" | "v1.1.0" | undefined; } | undefined; nonceOverride?: { nonceKey: `0x${string}`; } | undefined; stateOverride?: Record<`0x${string}`, { state: Record<`0x${string}`, `0x${string}`>; balance?: `0x${string}` | undefined; nonce?: `0x${string}` | undefined; code?: `0x${string}` | undefined; } | { stateDiff: Record<`0x${string}`, `0x${string}`>; balance?: `0x${string}` | undefined; nonce?: `0x${string}` | undefined; code?: `0x${string}` | undefined; } | { balance?: `0x${string}` | undefined; nonce?: `0x${string}` | undefined; code?: `0x${string}` | undefined; }> | undefined; experimental_dataSuffix?: { value: `0x${string}`; } | undefined; } | undefined; } | { returnRawCalls: true; }) & ({ fromAmount: `0x${string}`; } | { minimumToAmount: `0x${string}`; }))]; }]; result: { name: "Response"; value: { quote: { fromAmount: `0x${string}`; minimumToAmount: `0x${string}`; expiry: `0x${string}`; }; chainId: `0x${string}`; callId?: `0x${string}` | undefined; } & (({ rawCalls: false; } & (({ type: "paymaster-permit"; modifiedRequest: { from: `0x${string}`; chainId: `0x${string}`; calls?: { to: `0x${string}`; data?: `0x${string}` | undefined; value?: `0x${string}` | undefined; }[] | undefined; capabilities?: { permissions?: { context: `0x${string}`; } | { sessionId: `0x${string}`; signature: `0x${string}`; } | undefined; paymasterService?: (({ policyId: string; } | { policyIds: string[]; }) & { onlyEstimation?: boolean | undefined; erc20?: { preOpSettings: { autoPermit: { below: `0x${string}`; amount: `0x${string}`; durationSeconds?: `0x${string}` | undefined; }; }; tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | { preOpSettings: { permitDetails: { deadline: `0x${string}`; value: `0x${string}`; }; }; tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | { postOpSettings: { autoApprove?: true | { below: `0x${string}`; amount: `0x${string}`; } | undefined; balanceCheck?: false | undefined; }; tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | { tokenAddress: `0x${string}`; maxTokenAmount?: `0x${string}` | undefined; } | undefined; webhookData?: string | undefined; }) | undefined; gasParamsOverride?: { preVerificationGas?: `0x${string}` | { multiplier: number; } | undefined; verificationGasLimit?: `0x${string}` | { multiplier: number; } | undefined; callGasLimit?: `0x${string}` | { multiplier: number; } | undefined; paymasterVerificationGasLimit?: `0x${string}` | { multiplier: number; } | undefined; paymasterPostOpGasLimit?: `0x${string}` | { multiplier: number; } | undefined; maxFeePerGas?: `0x${string}` | { multiplier: number; } | undefined; maxPriorityFeePerGas?: `0x${string}` | { multiplier: number; } | undefined; } | undefined; eip7702Auth?: true | { delegation: `0x${string}` | "ModularAccountV2"; account?: `0x${string}` | undefined; version?: "v1.0.0" | "v1.1.0" | undefined; } | undefined; nonceOverride?: { nonceKey: `0x${string}`; } | undefined; stateOverride?: Record<`0x${string}`, { state: Record<`0x${string}`, `0x${string}`>; balance?: `0x${string}` | undefined; nonce?: `0x${string}` | undefined; code?: `0x${string}` | undefined; } | { stateDiff: Record<`0x${string}`, `0x${string}`>; balance?: `0x${string}` | undefined; nonce?: `0x${string}` | undefined; code?: `0x${string}` | undefined; } | { balance?: `0x${string}` | undefined; nonce?: `0x${string}` | undefined; code?: `0x${string}` | undefined; }> | undefined; experimental_dataSuffix?: { value: `0x${string}`; } | undefined; } | undefined; paymasterPermitSignature?: { type: "secp256k1"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; } | { type: "ecdsa"; data: `0x${string}` | { r: `0x${string}`; s: `0x${string}`; yParity: `0x${string}`; } | { r: `0x${string}`; s: `0x${string}`; v: `0x${string}`; }; } | undefined; }; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; signatureRequest: { type: "eth_signTypedData_v4"; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; rawPayload: `0x${string}`; }; } | { type: "array"; data: ({ type: "user-operation-v060"; data: { sender: `0x${string}`; nonce: `0x${string}`; initCode: `0x${string}`; callData: `0x${string}`; callGasLimit: `0x${string}`; verificationGasLimit: `0x${string}`; preVerificationGas: `0x${string}`; maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; paymasterAndData: `0x${string}`; }; chainId: `0x${string}`; feePayment: { sponsored: boolean; tokenAddress: `0x${string}`; maxAmount: `0x${string}`; }; signatureRequest?: { type: "personal_sign"; data: string | { raw: `0x${string}`; }; rawPayload: `0x${string}`; } | { type: "eth_signTypedData_v4"; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; rawPayload: `0x${string}`; } | undefined; } | { type: "user-operation-v070"; data: { sender: `0x${string}`; nonce: `0x${string}`; callData: `0x${string}`; callGasLimit: `0x${string}`; verificationGasLimit: `0x${string}`; preVerificationGas: `0x${string}`; maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; factory?: `0x${string}` | undefined; factoryData?: `0x${string}` | undefined; paymaster?: `0x${string}` | undefined; paymasterData?: `0x${string}` | undefined; paymasterVerificationGasLimit?: `0x${string}` | undefined; paymasterPostOpGasLimit?: `0x${string}` | undefined; }; chainId: `0x${string}`; feePayment: { sponsored: boolean; tokenAddress: `0x${string}`; maxAmount: `0x${string}`; }; signatureRequest?: { type: "personal_sign"; data: string | { raw: `0x${string}`; }; rawPayload: `0x${string}`; } | { type: "eth_signTypedData_v4"; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; rawPayload: `0x${string}`; } | undefined; } | { type: "authorization"; data: { address: `0x${string}`; nonce: `0x${string}`; }; chainId: `0x${string}`; signatureRequest: { type: "eip7702Auth"; rawPayload: `0x${string}`; }; })[]; } | { type: "user-operation-v060"; data: { sender: `0x${string}`; nonce: `0x${string}`; initCode: `0x${string}`; callData: `0x${string}`; callGasLimit: `0x${string}`; verificationGasLimit: `0x${string}`; preVerificationGas: `0x${string}`; maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; paymasterAndData: `0x${string}`; }; feePayment: { sponsored: boolean; tokenAddress: `0x${string}`; maxAmount: `0x${string}`; }; signatureRequest?: { type: "personal_sign"; data: string | { raw: `0x${string}`; }; rawPayload: `0x${string}`; } | { type: "eth_signTypedData_v4"; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; rawPayload: `0x${string}`; } | undefined; } | { type: "user-operation-v070"; data: { sender: `0x${string}`; nonce: `0x${string}`; callData: `0x${string}`; callGasLimit: `0x${string}`; verificationGasLimit: `0x${string}`; preVerificationGas: `0x${string}`; maxFeePerGas: `0x${string}`; maxPriorityFeePerGas: `0x${string}`; factory?: `0x${string}` | undefined; factoryData?: `0x${string}` | undefined; paymaster?: `0x${string}` | undefined; paymasterData?: `0x${string}` | undefined; paymasterVerificationGasLimit?: `0x${string}` | undefined; paymasterPostOpGasLimit?: `0x${string}` | undefined; }; feePayment: { sponsored: boolean; tokenAddress: `0x${string}`; maxAmount: `0x${string}`; }; signatureRequest?: { type: "personal_sign"; data: string | { raw: `0x${string}`; }; rawPayload: `0x${string}`; } | { type: "eth_signTypedData_v4"; data: { types: Record; primaryType: string; message: Record; domain?: { chainId?: number | undefined; name?: string | undefined; salt?: `0x${string}` | undefined; verifyingContract?: `0x${string}` | undefined; version?: string | undefined; } | undefined; }; rawPayload: `0x${string}`; } | undefined; } | { type: "authorization"; data: { address: `0x${string}`; nonce: `0x${string}`; }; signatureRequest: { type: "eip7702Auth"; rawPayload: `0x${string}`; }; }) & { details?: { type: "user-operation"; data: { hash: `0x${string}`; calls: { to: `0x${string}`; data?: `0x${string}` | undefined; value?: `0x${string}` | undefined; }[]; }; } | undefined; })) | { rawCalls: true; calls: { to: `0x${string}`; data?: `0x${string}` | undefined; value?: `0x${string}` | undefined; }[]; }); }; }; /** * Creates a type-safe RPC example with schema-based type checking * @param method - The RPC method name (must match a key in RpcSchemas) * @param request - The request parameters (typed against the schema) * @param response - The response value (typed against the schema) * @returns A properly structured example object */ export declare function createExample(method: TMethod, request: z.input<(typeof RpcSchemas)[TMethod]>["Request"]["params"], response: z.input<(typeof RpcSchemas)[TMethod]>["ReturnType"]): { name: string; params: readonly [ { name: "Request"; value: z.input<(typeof RpcSchemas)[TMethod]>["Request"]["params"]; } ]; result: { name: "Response"; value: z.input<(typeof RpcSchemas)[TMethod]>["ReturnType"]; }; }; //# sourceMappingURL=examples.d.ts.map