MX (Main Chain Transaction)
This document is a guide for using the Mx API provided by Luniverse. Mx API allows you to control the resources of the main chain linked by the Luniverse Console.

Wallet

get
https://api.luniverse.io
/mx/v2.0/wallets/{address}/balance
View LUK Balance
get
https://api.luniverse.io
/mx/v2.0/wallet/transfer/raw-tx
Create LUK Transfer Raw Tx
get
https://api.luniverse.io
/mx/v2.0/wallets/{address}/nonce
View Nonce
post
https://api.luniverse.io
/mx/v2.0/wallets/{address}/sign
Remote Sign

Transaction

post
https://api.luniverse.io
/mx/v2.0/transaction/send/signed-tx
Send Signed Tx
get
https://api.luniverse.io
/mx/v2.0/transactions/{txhash}/receipt
View Receipt (TxHash)

Main Token

get
https://api.luniverse.io
/mx/v2.0/token/main-tokens/{symbol}/transfer/raw-tx
Create Main Token Transfer Raw Tx

Redeem

get
https://api.luniverse.io
/mx/v2.0/transactions/redeems/{txId}
View Redeem Result (TxId)
get
https://api.luniverse.io
/mx/v2.0/transactions/redeems/{txHash}
View Redeem Result (TxHash)

Swap (Change Side Tokens to Main Tokens)

post
https://api.luniverse.io
/mx/v2.0/swap/{userAddress}
Issue Swap Address
get
https://api.luniverse.io
/mx/v2.0/swap/{swapAddress}/side-chain-address
View Swap Address

Delegation Contract

post
https://api.luniverse.io
/mx/v2.0/delegation-contract/whitelist
Register DC Whitelist
Copy link
On this page
Wallet
get
View LUK Balance
get
Create LUK Transfer Raw Tx
get
View Nonce
post
Remote Sign
Transaction
post
Send Signed Tx
get
View Receipt (TxHash)
Main Token
get
Create Main Token Transfer Raw Tx
Redeem
get
View Redeem Result (TxId)
get
View Redeem Result (TxHash)
Swap (Change Side Tokens to Main Tokens)
post
Issue Swap Address
get
View Swap Address
Delegation Contract
post
Register DC Whitelist