Token

Standard's token are listed in default token list.

import { allTokens, getToken } from "standardweb3"

function main() {
  const tokens = allTokens("Base");
  const token = getToken(tokens[0]);
  // logs token info
  console.log("token market info", token);
}

Token Data type

Token

  • allTokens()

  • getToken()

Last updated