solana_token_list 0.0.2 solana_token_list: ^0.0.2 copied to clipboard
Solana Token Registry is a package that allows application to query for list of tokens. The JSON schema for the tokens includes chainId, address, name, decimals, symbol, logoURI (optional), tags (opti [...]
Solana Token Registry is a package that allows application to query for list of tokens. The JSON schema for the tokens includes: chainId, address, name, decimals, symbol, logoURI (optional), tags (optional), and custom extensions metadata.
Usage #
A simple usage example:
import 'package:solana_token_list/solana_token_list.dart';
main() async {
var tokens = await TokenListStrategy().fetchTokenList(strategy: Strategy.CDN);
}