sei-agent-kit
Version:
A package for building AI agents on the SEI blockchain
15 lines • 622 B
TypeScript
import { type Address } from 'viem';
import { SeiAgentKit } from '../../agent';
export interface BorrowTakaraParams {
ticker: string;
borrowAmount: string;
}
/**
* Borrows underlying tokens from Takara Protocol using the tToken as collateral
* This function assumes you have already supplied collateral by minting tTokens
* @param agent SeiAgentKit instance
* @param params Parameters for borrowing
* @returns Transaction hash and borrowed amount
*/
export declare function borrowTakara(agent: SeiAgentKit, { ticker, borrowAmount }: BorrowTakaraParams): Promise<Address>;
//# sourceMappingURL=borrow.d.ts.map