Geth/Parity Proxy

Visit the official Ethereum JSON-RPC documentation for the full documentation of available parameters and descriptions.

eth_blockNumber

Returns the number of most recent block.

GET https://scan.wemix.com/api/proxy?action=eth_blockNumber

Query Parameters

Name
Type
Description

chain

wemix | wemixTestnet (default to wemix)

Chain

Response

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x556c0f2"
}

eth_getBlockByNumber

Returns information about a block by block number.

GET https://scan.wemix.com/api/proxy?action=eth_getBlockByNumber

Query Parameters

Name
Type
Description

chain

wemix | wemixTestnet (default to wemix)

Chain

tag

hex

the block number, in hex eg. 0xC36B3C

boolean

true | false

the boolean value to show full transaction objects.

When true, returns full transaction objects and their information, when false only returns a list of transactions.

Example:

Response

eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block.

GET https://scan.wemix.com/api/proxy?action=eth_getBlockTransactionCountByNumber

Query Parameters

Name
Type
Description

chain

wemix | wemixTestnet (default to wemix)

Chain

tag

hex

the block number, in hex eg. 0xC36B3C

Example:

Response

eth_getTransactionByHash

Returns the information about a transaction requested by transaction hash.

GET https://scan.wemix.com/api/proxy?action=eth_getTransactionByHash

Query Parameters

Name
Type
Description

chain

wemix | wemixTestnet (default to wemix)

Chain

txhash

string

hash of the transaction

Example:

Response

eth_getTransactionByBlockNumberAndIndex

Returns information about a transaction by block number and transaction index position.

GET https://scan.wemix.com/api/proxy?action=eth_getTransactionByBlockNumberAndIndex

Query Parameters

Name
Type
Description

chain

wemix | wemixTestnet (default to wemix)

Chain

tag

hex

the block number, in hex eg. 0x10FB78

index

hex

the position of the uncle's index in the block, in hex eg. 0x0

Example:

Response

eth_getTransactionCount

Returns the number of transactions performed by an address.

GET https://scan.wemix.com/api/proxy?action=eth_getTransactionCount

Query Parameters

Name
Type
Description

chain

wemix | wemixTestnet (default to wemix)

Chain

tag

hex

the block number, in hex eg. 0x10FB78

address

string

the string representing the address to get transaction count

Example:

Response

eth_getTransactionReceipt

Returns the receipt of a transaction by transaction hash.

GET https://scan.wemix.com/api/proxy?action=eth_getTransactionReceipt

Query Parameters

Name
Type
Description

chain

wemix | wemixTestnet (default to wemix)

Chain

txhash

string

the string representing the hash of the transaction

Example:

Response

Last updated