splitCoins method
Implementation
TransactionResult splitCoins(Map<String, dynamic> coin, List<dynamic> amounts) {
final result = amounts.map((x) => x is! Map ? pure.u64(BigInt.parse(x.toString())) : x).toList();
return add(Commands.splitCoins(coin, result));
}