Skip to content

v4.1.0 (#519)

Compare
Choose a tag to compare
@abuiles abuiles released this 26 Mar 17:38
· 279 commits to master since this release
e5550ae

Add

  • Add SEP0029 (memo required) support. (#516)

    Extends server.submitTransaction to always run a memo required check before
    sending the transaction. If any of the destinations require a memo and the
    transaction doesn't include one, then an AccountRequiresMemoError will be thrown.

    You can skip this check by passing {skipMemoRequiredCheck: true} to server.submitTransaction:

    server.submitTransaction(tx, {skipMemoRequiredCheck: true})
    

    The check runs for each operation of type:

    • payment
    • pathPaymentStrictReceive
    • pathPaymentStrictSend
    • mergeAccount

    If the transaction includes a memo, then memo required checking is skipped.

    See SEP0029 for more information about memo required check.