func (a AssetKeeper) GetCoin(ctx sdk.Context, account types.AccountID, creator, symbol types.Name) (types.Coin, error) {
	coins, err := a.getCoins(ctx, account)
	if err != nil {
		return types.Coin{}, sdkerrors.Wrapf(err, "get coin %s %s-%s", account, creator, symbol)
	}
	denomd := types.CoinDenom(creator, symbol)
	return types.NewCoin(denomd, coins.AmountOf(denomd)), nil
}
GetCoin get coin by account id and coin demon
package keeper
import (
	"errors"
	"github.com/KuChainNetwork/kuchain/x/asset/types"
	sdk "github.com/cosmos/cosmos-sdk/types"
	sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
)
func (a AssetKeeper) GetCoins(ctx sdk.Context, account types.AccountID) (types.Coins, error) {
	return a.getCoins(ctx, account)
}