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.

Return the decimals of an asset.

Implementors§