Skip to content
LogoLogo

mach

MACH token metadata for Tempo

Returns MACH token metadata for Tempo mainnet or Moderato testnet.

Usage

import {  } from 'mppx/tempo'
 
const  = (4217)
 
.(.)
MACH

When a Tempo charge requests MACH, the mppx client automatically selects a funded supported stablecoin for transaction fees. The payer doesn't need to hold extra MACH for fees.

Return type

type ReturnType = {
  address: `0x${string}`
  currency: 'USD'
  decimals: 6
  name: 'MACH'
  popular: undefined
  symbol: 'MACH'
}

Parameters

chainId

  • Type: 4217 | 42431

Tempo chain ID. Use 4217 for mainnet and 42431 for Moderato testnet. mach resolves the deployed address for either network.