txnhelper.plugin.d.ts•780 B
import { PluginBase, WalletClientBase, Chain } from '@goat-sdk/core';
interface TransactionHelperOptions {
apiKey?: string;
}
declare class TransactionHelperPlugin extends PluginBase<WalletClientBase> {
/**
* Initializes the TransactionHelperPlugin by invoking the PluginBase constructor
* with the identifier "txnhelper" and an instance of TransactionHelperService
* using the provided parameters and a new TransactionHelperApi instance.
*/
constructor(params?: TransactionHelperOptions);
supportsChain(chain: Chain): boolean;
}
/**
* Factory function to create a new Transaction Helper plugin instance
*/
declare function txnhelper(): TransactionHelperPlugin;
export { type TransactionHelperOptions, TransactionHelperPlugin, txnhelper };