Once a ticker exists for an MPT (created automatically or manually), you can view balances using the standard Ripple Custody balance APIs and UI.
| Prerequisite | Additional information |
|---|---|
| An authorized MPT | Authorize MPT |
| A ticker for the MPT | Created automatically on first receipt, or create manually |
Use the standard balance APIs to view MPT balances:
Ripple Custody applies the MPT's AssetScale to display balances with correct decimal precision.
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": {
"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"
}
}| Field | Type | Description |
|---|---|---|
type | string | Must be MultiPurposeToken. |
issuanceId | string | The 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.