Asset

Description

The asset object defines currencies in a format supported by the Metafi SDK.

Structure

Supported Assets

By default, we support the following assets:

eth_eth

eth_usdc

goerli_eth

goerli_usdc

Usage

import { assets } from '@metafi/metafi-react-package';

function displaySupportedChains() {
    return (
        <>
            {
                Object.keys(assets).forEach((assetKey) => {
                    return <p> chains[chainKey].name </p>
                });
            }
        </>
    );
};

Last updated