Function createCrossChainPayment

  • Creates a cross-chain payment transaction.


    A cross-chain payment transaction, where the mainchain door account is the Destination and the destination account on the sidechain is encoded in the memos.


    XrplError - if there are more than 2 memos.


    • payment: Payment

      The initial payment transaction. If the transaction is signed, then it will need to be re-signed. There must be no more than 2 memos, since one memo is used for the sidechain destination account. The destination must be the sidechain's door account.

    • destAccount: string

      the destination account on the sidechain.

    Returns Payment

Generated using TypeDoc