Connecting to MAYAChain
How to connect to Midgard, MAYANode and the base Tendermint layer.
Last updated
Was this helpful?
How to connect to Midgard, MAYANode and the base Tendermint layer.
Last updated
Was this helpful?
The Network Information comes from four sources:
Midgard: Consumer information relating to swaps, pools, and volume. Dashboards will primarily interact with Midgard.
MAYANode: Raw blockchain data provided by the MAYAChain state machine. MAYAChain wallets and block explorers will query MAYAChain-specific information here.
Cosmos RPC: Used to query for generic CosmosSDK information.
Tendermint RPC: Used to query for consensus-related information.
Midgard returns time-series information regarding the THORChain network, such as volume, pool information, users, liquidity providers and more. It also proxies to THORNode to reduce burden on the network. Runs on every node.
Mainnet
Runs on every Node
Port: 8080
RPC Guide: http://<host>:8080/v2/doc
Stagenet
MAYANode returns application-specific information regarding the MAYAChain state machine, such as balances, transactions and more. Careful querying this too much - you could overload the public nodes. Consider running your own node. Runs on every node.
Mainnet
Runs on every Node
Port: 1317
RPC Guide: http://<host>:1317/mayachain/doc/
Stagenet
The Cosmos RPC allows Cosmos base blockchain information to be returned. However, not all endpoints have been enabled. Endpoints guide
The Tendermint RPC allows Tendermint consensus information to be returned.
Any Node Ports
MAINNET Port: 27147
STAGENET Port: 26657
TESTNET Port: 26657
Mainnet
Stagenet
P2P is the network layer between nodes, useful for network debugging.
MAINNET Port: 27146
STAGENET Port: 27146
Example URL
Endpoints guide
P2P Guide