Network

Mainnet at a glance

Use only the URLs and addresses published here. Nobody from MAYA CHAIN or UK Financial Ltd will ever ask for your seed phrase or private key.

Network name
MAYA CHAIN
Chain ID
6292 (0x1894)
Gas token
M3G (Maya 3G), 18 decimals
Public RPC
Block explorer
MayaScan · scan.mayachain.io
Settles to
Ethereum mainnet
Withdrawal challenge
300 Ethereum blocks (~1 hour)

Add MAYA CHAIN to MetaMask

One click: open MayaScan and click Add MAYA CHAIN to wallet. Or add the network manually.

  1. Open MetaMask and open Networks.
  2. Choose Add a custom network.
  3. Network name MAYA CHAIN, RPC https://rpc.mayachain.io, chain ID 6292, currency M3G, explorer https://scan.mayachain.io.
  4. Save, then switch to MAYA CHAIN.
wallet_addEthereumChain (EIP-3085)
await window.ethereum.request({
  method: 'wallet_addEthereumChain',
  params: [{
    chainId: '0x1894',
    chainName: 'MAYA CHAIN',
    nativeCurrency: { name: 'Maya 3G', symbol: 'M3G', decimals: 18 },
    rpcUrls: ['https://rpc.mayachain.io'],
    blockExplorerUrls: ['https://scan.mayachain.io'],
  }],
});

Fees and gas

All fees on MAYA CHAIN are paid in M3G. Every transaction pays for execution on MAYA CHAIN plus a share of the cost of posting data to Ethereum.

Fee formula

fee (M3G) = base fee × (MAYA CHAIN gas used + L1 data charge)

Receipts show the L1 part separately in gasUsedForL1.

  1. 01

    Base fee and tips

    Minimum base fee is 200 gwei of M3G. Tips are not collected. Transactions are ordered first come, first served — set maxPriorityFeePerGas to 0.

  2. 02

    Worked example

    A simple M3G transfer uses about 21,000 gas for execution plus roughly 15,000–25,000 gas for its share of Ethereum data. At the minimum base fee, that costs about 0.0075 M3G. Always estimate gas against https://rpc.mayachain.io; do not reuse gas limits from Ethereum.

M3G coin

M3G on Ethereum

ERC-20 token address · 18 decimals

Block production
Blocks are made only when there are transactions. The sequencer produces a block when it has something to include, at most every 250 ms.
Quiet chain
When nobody transacts, no blocks are made, so block height stays the same and block times are irregular on a quiet chain. There are no empty blocks.
block.number in contracts
In a contract, block.number returns an estimate of the Ethereum block number. Use ArbSys(0x64).arbBlockNumber() for the MAYA CHAIN block number.