mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-05-21 15:10:42 +00:00
11 lines
243 B
TypeScript
11 lines
243 B
TypeScript
import { SolanaAgentKit } from "..";
|
|
|
|
/**
|
|
* Get the agents wallet address
|
|
* @param agent - SolanaAgentKit instance
|
|
* @returns string
|
|
*/
|
|
export function get_wallet_address(agent: SolanaAgentKit) {
|
|
return agent.wallet_address.toBase58();
|
|
}
|