DepositFacet: {
    receive: DepositFacetReceive;
}

Type declaration

  • receive: DepositFacetReceive

    Deposit all the contents of payment into the purse that made this facet, returning the amount. If the optional argument optAmount does not equal the amount of digital assets in the payment, throw an error.

    If payment is a promise, throw an error.