Skip to content

Once a ticker exists for an MPT (created automatically or manually), you can view balances using the standard Ripple Custody balance APIs and UI.

Prerequisites

PrerequisiteAdditional information
An authorized MPTAuthorize MPT
A ticker for the MPTCreated automatically on first receipt, or create manually

View balances

Use the standard balance APIs to view MPT balances:

Ripple Custody applies the MPT's AssetScale to display balances with correct decimal precision.

Create an MPT ticker

When an incoming MPT payment is received, Ripple Custody automatically creates a ticker. You can also explicitly create a ticker using the v0_CreateTicker intent:

Payload example

{
  "payload": {
    "id": "{{intent_id}}",
    "ticker": {
      "id": "{{ticker_id}}",
      "name": "MyMultiPurposeToken",
      "symbol": "MMPT",
      "decimals": 6,
      "kind": "Token",
      "ledgerId": "xrpl-mainnet",
      "ledgerDetails": {
        "type": "Xrpl",
        "properties": {
          "type": "MultiPurposeToken",
          "issuanceId": "000004C463C52827307480341125DA0577AFFC21D4B2D0831E"
        }
      }
    },
    "type": "v0_CreateTicker"
  }
}

Properties fields

FieldTypeDescription
typestringMust be MultiPurposeToken.
issuanceIdstringThe 192-bit MPT Issuance ID (hex encoded). Pattern: ^[A-Fa-f0-9]{48}$.

The ticker's decimals field should match the MPT's AssetScale for correct balance display.