Eth API

Get all blocks

Request

  • method: POST

  • url: /eth/blks

Response

Array<Block>

Get a block

Request

  • method: GET

  • url: /eth/blks/{hash}

  • path:

NameTypeDescriptionExample

hash

string

The block hash.

0x000160a0000004ebd03c3bb87b629a9cec90d7ffe684a1f26b3a5856714a1171

Response

Get all transactions

Request

  • method: POST

  • url: /eth/txs

Response

Get a transaction

Request

  • method: POST

  • url: /eth/txs/{hash}

  • path:

NameTypeDescriptionExample

hash

string

The transaction hash generated after the transaction is initiated.

0xd04e465a8843cd793e5374984bb70e1c05ca41bed2333c4c39f8dbaa62fe53b2

Response

Get all Logs

Request

  • method: POST

  • url: /eth/logs

Response

Array<Log>

Get contract's all logs

Request

  • method: POST

  • url: /eth/{contract}/logs

  • path:

NameTypeDescriptionExample

contract

string

The contract address which emits these log.

0x16327e3fbdaca3bcf7e38f5af2599d2ddc33ae52

Response

Array<Log>

Get contract's all logs by the event name

Request

  • method: POST

  • url: /eth/{contract}/logs/{name}

  • path:

NameTypeDescriptionExample

contract

string

The contract address which emits these log.

0x16327e3fbdaca3bcf7e38f5af2599d2ddc33ae52

name

string

The event name

Sync

Response

Array<Log>

Get all Contracts

Request

  • method: POST

  • url: /eth/contracts

Response

Array<Contract>

Get a Contract

Request

  • method: POST

  • url: /eth/contracts/{address}

  • path:

NameTypeDescriptionExample

address

string

The contract address.

0xF491e7B69E4244ad4002BC14e878a34207E38c29

Response

Get all ERC20

Request

  • method: POST

  • url: /eth/contracts/erc20

Response

Array<ERC20>

Get an ERC20

Request

  • method: POST

  • url: /eth/contracts/erc20/{address}

  • path:

NameTypeDescriptionExample

address

string

The ERC20 address.

0x95478c4f7d22d1048f46100001c2c69d2ba57380

Response

Get all ERC721

Request

  • method: POST

  • url: /eth/contracts/erc721

Response

Array<ERC721>

Get an ERC721

Request

  • method: POST

  • url: /eth/contracts/erc721/{address}

  • path:

NameTypeDescriptionExample

address

string

The ERC721 address.

0x841fad6eae12c286d1fd18d1d525dffa75c7effe

Response

Last updated