IssuerGetAmountOf<K, M>: ((payment: ERef<Payment<K, M>>) => Promise<Amount<K, M>>)

Get the amount of digital assets in the payment. Because the payment is not trusted, we cannot call a method on it directly, and must use the issuer instead.

If the payment is a promise, the operation will proceed upon fulfillment.

Type Parameters