WEMIX3.0
WEMIX3.0 (KOR)
WEMIX3.0 (KOR)
  • Introduction
    • Blockchain Basics
      • What is Blockchain?
      • Consensus Algorithm
      • Transactions
      • Gas
      • Account
  • Design
    • Architecture
    • Consensus
    • Governance
    • Minting
    • EIP1559
    • Fee Delegation
    • Eco Fund
    • Roadmap
  • Quick Start
    • Start Node
      • Use Binary
        • Command-line Option
      • Use Public API Server(RPC)
    • Connect Node
    • Account
      • Use MetaMask
    • Testnet Faucet
  • Install & Operation
    • End Node
      • System Requirements
      • Firewall Setting
      • Install Guide
    • Block Producer Node
      • System Requirements
      • Firewall Setting
      • Install Guide
    • Download
    • Operation Guide
  • dApp Developer
    • Smart Contract
      • Solidity
      • Precompiled Contracts
      • Sample Contracts
    • JSON-RPC
    • API Reference
      • Account APIs
      • Block APIs
      • Contract APIs
      • Transaction APIs
      • Event logs APIs
      • Tokens APIs
  • Tutorial
    • Wallet 생성하기
    • Test Coin 받기
    • Smart Contract 생성하기
      • Remix에서 개발하기
      • Truffle 사용하기
      • Hardhat 사용하기
    • ERC-20 Token
      • ERC-20 Contract 만들기
      • ERC-20 Token 확인하기
      • ERC-20 Token 보내기
      • ERC-20 Token API 조회하기
      • ERC-20 Token 소각하기
    • ERC-721 Token
      • ERC-721 Contract 만들기
      • ERC-721 Minting하기
      • ERC-721 Token API 조회하기
      • ERC-721 Token 소각하기
    • Fee Delegation 사용하기
  • Manual
    • Explorer
    • Wallet
  • FAQ
Powered by GitBook
On this page
  1. dApp Developer
  2. API Reference

Block APIs

Get Block And Uncle Rewards by block number

URI

network

uri

Mainnet

GET https://explorerapi.wemix.com/v1/blocks/{block_number}

Testnet

GET https://explorerapi.test.wemix.com/v1/blocks/{block_number}

REQUEST PARAMETER

  • HEADER

key

value

required

api-key

api-key

true

REQUEST SAMPLE

GET https://explorerapi.wemix.com/v1/blocks/6029508
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539
Content-Type: application/json

RESPONSE PARAMETER

key

type

value

status

String

Status value of request

message

String

Message of request

results

Json

Result of request

results.data

List<Object>

List of data

results. data.timestamp

String

UTC time when the transaction occurred

results.data.miner

String

Address of block's miner

result.data.reward

String

Reward of block

results.data.fees

String

Fee used when block was created

results.data.block_number

Integer

Number of the block containing the transaction

results.data.mining_reward

String

Rewards specified when blocks are created (pmr)

RESPONSE SAMPLE

{
    "status": "200",
    "message": "success",
    "results": {
        "data": {
            "timestamp": "2022-12-28T21:51:44Z",
            "miner": "0x6ec14966480e3baf4c62a1f4532c95c42b07b9c9",
            "reward": "1000000000000000000",
            "fees": "0",
            "block_number": "6029508",
            "mining_reward": "1000000000000000000"
        }
    }
}
PreviousAccount APIsNextContract APIs