solana_token_list 0.0.3 solana_token_list: ^0.0.3 copied to clipboard
Solana Token Registry is a package that allows application to query for list of tokens.
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);
}