UNPKG

@lit-protocol/vincent-scaffold-sdk

Version:

Shared build configuration and utilities for Vincent abilities and policies

18 lines 797 B
/** * Handler function for sending native tokens on the network * This function handles the preparation, signing, and sending of native token transactions * * @param provider - The network provider instance * @param pkpPublicKey - The PKP public key for transaction signing * @param pkpEthAddress - The ethereum address derived from PKP * @param amount - Amount to send in ether (will be converted to wei) * @param to - Optional recipient address, defaults to self if not provided * @returns The transaction hash */ export declare const nativeSend: ({ provider, pkpPublicKey, amount, to, }: { provider: InstanceType<typeof ethers.providers.JsonRpcProvider>; pkpPublicKey: string; amount: string; to: string; }) => Promise<string>; //# sourceMappingURL=nativeSend.d.ts.map