@tristeroresearch/mach-sdk
Version:
A TypeScript SDK for integrating with Mach's API.
13 lines • 752 B
TypeScript
import { type GasData } from '../@types/gasData';
import { type Hex } from 'viem';
/**
* A helper function to sign a transaction
* @param data - The data to send with the transaction
* @param chainName - The chain to send the transaction to
* @param privateKey - The private key of the account to sign the transaction
* @param gasData - The gas data to use for the transaction
* @returns The signed transaction
* @description This helper function signs a transaction for a specified contract and chain using the provided private key and data.
*/
export declare const signTransaction: (transactionData: Hex, chainName: string, privateKey?: Hex, gasData?: GasData) => Promise<`0x02${string}`>;
//# sourceMappingURL=signTransaction.helper.d.ts.map