UNPKG

@provenanceio/wallet-utils

Version:

Typescript Utilities for Provenance Blockchain Wallet

10 lines (9 loc) 350 B
import { Coin } from '../../proto/cosmos/base/v1beta1/coin_pb'; import { CoinAsObject } from '../../types'; /** * This function accepts a list of fees of any denom and * returns a list of Coins * @param coinsList: List of coins * @returns List of coins of type Coin[]. */ export declare const getCoinList: (coinsList: CoinAsObject[]) => Coin[];