Comprehensive JavaScript SDK for building Solana blockchain applications with modern architecture and type safety
93
Evaluation — 93%
↑ 1.29xAgent success when using this tile
A utility that retrieves and displays information about Solana blockchain accounts, including balance, ownership, and data details.
Create a module that queries Solana account information and provides formatted output. The module should:
The module should provide a function that accepts a public key string and cluster URL, then returns structured account information including:
@generates
/**
* Retrieves and formats information about a Solana account
*
* @param {string} publicKeyString - The base58-encoded public key of the account
* @param {string} clusterUrl - The Solana cluster RPC URL to connect to
* @returns {Promise<object>} Account information with balance, owner, executable status, and data size
*/
async function getAccountInfo(publicKeyString, clusterUrl) {
// IMPLEMENTATION HERE
}
module.exports = { getAccountInfo };Provides Solana blockchain interaction capabilities.
Install with Tessl CLI
npx tessl i tessl/npm-solana--web3-jsdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10