getCurrencyMetadata

Retrieves the metadata of a currency.

Example

import { getCurrencyMetadata } from "thirdweb/extensions/erc20";
const currencyMetadata = await getCurrencyMetadata({ contract });

Parameters

Returns

A promise that resolves to an object containing the currency metadata.