UNPKG

sei-agent-kit

Version:

A package for building AI agents on the SEI blockchain

21 lines 686 B
import { type Hash } from 'viem'; import { SeiAgentKit } from '../../agent'; export interface RedeemTakaraParams { ticker: string; redeemAmount: string; redeemType: 'underlying' | 'tokens'; } /** * Redeems tTokens from Takara Protocol to get underlying tokens back * @param agent SeiAgentKit instance * @param params Parameters for redeeming * @returns Transaction hash and amount redeemed */ export declare function redeemTakara(agent: SeiAgentKit, { ticker, redeemAmount, redeemType }: RedeemTakaraParams): Promise<{ txHash: Hash; redeemedAmount: string; expected: string; actual: string; success: boolean; }>; //# sourceMappingURL=redeem.d.ts.map