3️⃣Use methods of AKKA
There are many methods in AKKA object that help you implement an app for swapping tokens.
export type RequestOptions = {
signal?: AbortSignal;
};getSpender method
export interface SpenderRequest {
chainId: ChainId;
};export type SpenderResponse = {
address?: string;
};const response = await akka.getSpender({
chainId: ChainId.CORE,
});
console.log(response?.address);getApproveTransaction method
getAllowance method
getTokens method
getQuote method
getSwap method
Last updated