How-to for developers · Tokens and stablecoins

Send a Multi-Purpose Token (MPT)

In plain words

This tutorial shows how to send a direct Multi-Purpose Token (MPT) payment on the XRP Ledger. You authorize the receiving account, send the payment and verify that it arrived.

Written by zerps in plain words, from the source linked below.
Section
Tutorials

How it works

Each account must authorize the MPT before it can hold the token. Holders can send the MPT to each other only if the issuance has the Can Transfer flag enabled and both parties are authorized. MPTs were added by the MPTokensV1 amendment, enabled 2025-10-01.

What you need

You need a basic understanding of the XRP Ledger and a client library set up. The page gives examples in JavaScript with xrpl.js, Python with xrpl-py and Go with xrpl-go.

The steps in short

Install the dependencies and connect a client. Provide the sender and receiver wallets and the MPT issuance ID. The receiver signs and submits an MPTokenAuthorize transaction, which creates an MPToken ledger entry on its account with a balance of zero. Check each account's holdings with the ledger_entry method. Send a Payment transaction with an MPT amount. Check both holdings again. The sender's MPTAmount should have decreased by the value you sent, and the receiver's should match it.

If the payment fails

tecNO_AUTH means the issuance does not have Can Transfer enabled or, with allow-listing, the issuer has not approved the holder. tecPATH_PARTIAL means the sender does not have enough of the MPT to cover the payment, or the transfer fee on top of it. tecLOCKED means the issuance, the sender or the receiver is locked by the issuer. That is only possible if the issuance has the Can Lock flag enabled.

Good to know

If the issuance uses allow-listing, the Require Auth flag, the holder's opt-in is not enough on its own. The issuer typically must also approve the holder, usually with its own MPTokenAuthorize transaction that names the holder. The example token uses an asset scale of 2, so a value of 100 shows as 1.00 units of the token.

Source: xrpl.org. Read 6 December 2026.

Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made

zerps Trading tokens on the XRP Ledger carries risk, including total loss. zerps is a self-custodial interface; it does not hold funds, give advice, or execute trades on your behalf.