Trait frame_support::traits::tokens::fungibles::InspectMetadata
source · [−]pub trait InspectMetadata<AccountId>: Inspect<AccountId> {
fn name(asset: &Self::AssetId) -> Vec<u8>ⓘ;
fn symbol(asset: &Self::AssetId) -> Vec<u8>ⓘ;
fn decimals(asset: &Self::AssetId) -> u8;
}
Expand description
Trait for reading metadata from a fungible asset.
Required methods
Return the name of an asset.
Return the symbol of an asset.