v4.1.0 (#519)
Add
-
Add SEP0029 (memo required) support. (#516)
Extends
server.submitTransactionto 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 anAccountRequiresMemoErrorwill be thrown.You can skip this check by passing
{skipMemoRequiredCheck: true}toserver.submitTransaction:server.submitTransaction(tx, {skipMemoRequiredCheck: true})The check runs for each operation of type:
paymentpathPaymentStrictReceivepathPaymentStrictSendmergeAccount
If the transaction includes a memo, then memo required checking is skipped.
See SEP0029 for more information about memo required check.