@tristeroresearch/mach-sdk
Version:
A TypeScript SDK for integrating with Mach's API.
14 lines • 874 B
TypeScript
import { type GasData } from '../@types/gasData';
import { type Hex } from 'viem';
/**
* A helper function to sign an approval transaction
* @param data - The data to send with the transaction
* @param chainName - The chain to send the transaction to
* @param tokenContractAddress - The address of the token contract
* @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 an approval transaction for a specified token contract and chain using the provided private key and data.
*/
export declare const signApprovalTransaction: (data: any, chainName: any, tokenContractAddress: any, privateKey?: Hex, gasData?: GasData) => Promise<`0x02${string}`>;
//# sourceMappingURL=signApprovalTransaction.helper.d.ts.map