Geth/Parity Proxy

For the full documentation of available parameters and descriptions, please visit the official Wemix JSON-RPC docs.

For compatibility with Parity, please prefix all hex strings with " 0x ".

eth_blockNumber

Returns the number of most recent block

https://api-testnet.wemixscan.com/api
   ?module=proxy
   &action=eth_blockNumber
   &apikey=YourApiKeyToken

No parameters required.

eth_getBlockByNumber

Returns information about a block by block number.

https://api-testnet.wemixscan.com/api
   ?module=proxy
   &action=eth_getBlockByNumber
   &tag=0x22b419e
   &boolean=true
   &apikey=YourApiKeyToken

Query Parameters

eth_getBlockTransactionCountByNumber

Returns the number of transactions in a block.

https://api-testnet.wemixscan.com/api
   ?module=proxy
   &action=eth_getBlockTransactionCountByNumber
   &tag=0x22b419e
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByHash

Returns the information about a transaction requested by transaction hash.

https://api-testnet.wemixscan.com/api
   ?module=proxy
   &action=eth_getTransactionByHash
   &txhash=0xf4f61cc61ab284a70d90d527a030005898d259995f2d3fd1413d8dd897498e1b
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionByBlockNumberAndIndex

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

https://api-testnet.wemixscan.com/api
   ?module=proxy
   &action=eth_getTransactionByBlockNumberAndIndex
   &tag=0x22B1D6E
   &index=0x0
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionCount

Returns the number of transactions performed by an address.

https://api-testnet.wemixscan.com/api
   ?module=proxy
   &action=eth_getTransactionCount
   &address=0xe6655ccda10e28e23eb067c85ec1a8f1a39847fd
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_sendRawTransaction

Submits a pre-signed transaction for broadcast to the Wemix network.

https://api-testnet.wemixscan.com/api
   ?module=proxy
   &action=eth_sendRawTransaction
   &hex=0x02f874030185012a05f200852e90edd00082520894eeee7341f206302f2216e39d715b96d8c6901a1c880de0b6b3a764000080c001a0bf61ea5419c7856be4ea2221b721b849d50fec738d10a714e7aaa809d9ad8838a01e59353aa8e567cc0661fb58b047361998df234df6593bf424839bc5ea214a2c
   &apikey=YourApiKeyToken

Query Parameters

eth_getTransactionReceipt

Returns the receipt of a transaction by transaction hash.

https://api-testnet.wemixscan.com/api
   ?module=proxy
   &action=eth_getTransactionReceipt
   &txhash=0xbd26ebc335bbd6865d2d5ee1463a65f1fab3d6c32b0c3551961c894787ad89b0
   &apikey=YourApiKeyToken

Query Parameters

eth_call

Executes a new message call immediately without creating a transaction on the block chain.

https://api-testnet.wemixscan.com/api
   ?module=proxy
   &action=eth_call
   &to=0x61a4cfefadae5ae0614747e628408c78040d82fe
   &data=0x323352d60000000000000000000000000000000000000000000000000000000005f6a2bd
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_getCode

Returns code at a given address.

https://api-testnet.wemixscan.com/api
   ?module=proxy
   &action=eth_getCode
   &address=0x784b372069bfed612291c261951a10ef1200f9c5
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_getStorageAt

Returns the value from a storage position at a given address.

This endpoint is still experimental and may have potential issues

https://api-testnet.wemixscan.com/api
   ?module=proxy
   &action=eth_getStorageAt
   &address=0xf8241f00de683651d99c0b61bc4dcde3cd7cce2c
   &position=0x0
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

eth_gasPrice

Returns the current price per gas in wei.

https://api-testnet.wemixscan.com/api
   ?module=proxy
   &action=eth_gasPrice
   &apikey=YourApiKeyToken

No parameters required.

eth_estimateGas

Makes a call or transaction, which won't be added to the blockchain and returns the used gas.

https://api-testnet.wemixscan.com/api
   ?module=proxy
   &action=eth_estimateGas
   &data=0x60fe47b10000000000000000000000000000000000000000000000000000000000000004
   &to=0x272c31fC25E4e609CbCC9E7a9e6171b4B39feAca
   &value=0x0
   &gasPrice=0x51da038cc
   &gas=0x186A0
   &apikey=YourApiKeyToken

Query Parameters

Last updated