@tunghm/relay-kit
Version:
SDK for Safe Smart Accounts with support for ERC-4337 and Relay
22 lines • 954 B
TypeScript
import { MetaTransactionData } from '@safe-global/types-kit';
import { BundlerClient, RpcSchemaEntry } from '../../../packs/safe-4337/types';
/**
* Gets the EIP-4337 bundler provider.
*
* @param {string} bundlerUrl The EIP-4337 bundler URL.
* @return {BundlerClient} The EIP-4337 bundler provider.
*/
export declare function createBundlerClient<ProviderCustomRpcSchema extends RpcSchemaEntry[] = []>(bundlerUrl: string): BundlerClient<ProviderCustomRpcSchema>;
/**
* Encodes multi-send data from transactions batch.
*
* @param {MetaTransactionData[]} transactions - an array of transaction to to be encoded.
* @return {string} The encoded data string.
*/
export declare function encodeMultiSendCallData(transactions: MetaTransactionData[]): string;
export * from './entrypoint';
export * from './signing';
export * from './userOperations';
export * from './getRelayKitVersion';
export * from './encodeNonce';
//# sourceMappingURL=index.d.ts.map