Harmony Node API

Number of APIs: 30

Harmony is a fast and secure blockchain for decentralized applications. Our production Mainnet supports 2 shards of 500 nodes, producing blocks in 2 seconds with finality.

Our Effective Proof-of-Stake (EPoS) reduces centralization while supporting stake delegation, reward compounding, and double-sign slashing.

API Frameworks

There are 2 API frameworks to interact with the nodes on the Harmony network:

  • RPCs (Remote Procedure Calls)

  • Rosetta

SDKs

Harmony has several SDKs that you can use to interact with the network.

Rosetta SDKs

Harmony is in the process of updating the main SDKs to use the Harmony Rosetta API.
Rosetta and the community has full SDKs for any Rosetta enabled network, including Harmony.

Any Harmony specific details for Rosetta is documented in the section below.

  1. RPC-Staking-Validator - hmyv2_getValidatorsStakeByBlockNumber POST https://a.api.s0.t.hmny.io

  2. Rosetta-Data - /network/options POST https://rosetta.s0.b.hmny.io/network/options

  3. RPC-Smart Contract - hmyv2_getStorageAt POST https://rpc.s0.t.hmny.io

  4. Rosetta-Construction - /construction/derive POST https://rosetta.s0.b.hmny.io/construction/derive

  5. RPC-Staking-Network - hmyv2_getSuperCommittees POST https://rpc.s0.t.hmny.io

  6. RPC-Transaction-Cross Shard - hmyv2_getCXReceiptByHash POST https://rpc.s1.t.hmny.io

  7. RPC-Transaction-Cross Shard - hmyv2_resendCx POST https://rpc.s0.t.hmny.io

  8. RPC-Transaction-Transaction Pool - hmyv2_pendingTransactions POST https://rpc.s0.t.hmny.io

  9. RPC-Transaction-Staking - hmyv2_sendRawStakingTransaction POST https://rpc.s0.t.hmny.io

  10. RPC-Transaction-Transfer - hmyv2_sendRawTransaction POST https://rpc.s0.t.hmny.io