fix: type for get_balance

This commit is contained in:
aryan
2024-12-23 11:29:11 +05:30
parent f84a618c6c
commit c82f59533b
2 changed files with 3 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ export class SolanaAgentKit {
return deploy_collection(this, options);
}
async getBalance(token_address?: PublicKey): Promise<number | null> {
async getBalance(token_address?: PublicKey): Promise<number> {
return get_balance(this, token_address);
}