mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-05-29 23:26:49 +00:00
feat: tool description + types
This commit is contained in:
@@ -218,20 +218,17 @@ export class SolanaAgentKit {
|
||||
|
||||
async getOwnedAllDomains(
|
||||
owner: PublicKey
|
||||
): Promise<NameAccountAndDomain[]> {
|
||||
): Promise<string[]> {
|
||||
return getOwnedAllDomains(this, owner);
|
||||
}
|
||||
|
||||
async getOwnedDomainsForTLD(
|
||||
tld: string
|
||||
):Promise<NameAccountAndDomain[]> {
|
||||
):Promise<string[]> {
|
||||
return getOwnedDomainsForTLD(this, tld);
|
||||
}
|
||||
|
||||
async getAllDomainsTLDs(): Promise<Array<{
|
||||
tld: String;
|
||||
parentAccount: PublicKey;
|
||||
}>> {
|
||||
async getAllDomainsTLDs(): Promise<String[]> {
|
||||
return getAllDomainsTLDs(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user