AlchemyRpcSchema

1type AlchemyRpcSchema = [
2 {
3 Method: "alchemy_simulateUserOperationAssetChanges";
4 Parameters: SimulateUserOperationAssetChangesRequest;
5 ReturnType: SimulateUserOperationAssetChangesResponse;
6 },
7 {
8 Method: "rundler_maxPriorityFeePerGas";
9 Parameters: [];
10 ReturnType: UserOperationRequest["maxPriorityFeePerGas"];
11 },
12 ...Erc7677RpcSchema<{ policyId: string }>,
13 {
14 Method: "alchemy_requestGasAndPaymasterAndData";
15 Parameters: RequestGasAndPaymasterAndDataRequest;
16 ReturnType: RequestGasAndPaymasterAndDataResponse;
17 },
18 {
19 Method: "alchemy_requestPaymasterTokenQuote";
20 Parameters: RequestPaymasterTokenQuoteRequest;
21 ReturnType: RequestPaymasterTokenQuoteResponse;
22 },
23];

Defined in: account-kit/infra/src/client/types.ts:16