Ethereum

Ethereum endpoints

Supported methods for Ethereum. Please note that to use these methods you must specify both the API token, eth in this case, and the network on which you want to make the call. For example, if you want to know the balance of a Bitcoin Cash address in the main network, the corresponding endpoint is as follows: http://server/eth/mainnet/getAddressBalance

Return the balance of any address

post

Return the balance of any address

Body
anyOptional
Responses
200

Successful response

application/json
Responseany
post
POST /getAddressBalance HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200

Successful response

No content

Return the balance of an array of addresses

post

Return the balance of an array of addresses

Body
anyOptional
Responses
200

Successful response

application/json
Responseany
post
POST /getAddressesBalance HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200

Successful response

No content

Returns latest block hash and index

post

Returns latest block hash and index

Body
anyOptional
Responses
200

Successful response

application/json
Responseany
post
POST /getHeight HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200

Successful response

No content

Returns the current price per gas in wei.

post

Returns the current price per gas in wei.

Body
anyOptional
Responses
200

Successful response

application/json
Responseany
post
POST /getGasPrice HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200

Successful response

No content

Returns if blockchain is syncing

post

Returns True if blocks are syncing and returns False if theres no synchronization or is fully sychronize

Body
anyOptional
Responses
200

Successful response

application/json
Responseany
post
POST /syncing HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200

Successful response

No content

Broadcast a transaction to the network

post

Broadcast a transaction to the network

Body
anyOptional
Responses
200

Successful response

application/json
Responseany
post
POST /broadcastTransaction HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200

Successful response

No content

Generates and returns an estimate of how much gas is necessary to allow the transaction to complete

post

The transaction will not be added to the blockchain. Note that the estimate may be significantly more than the amount of gas actually used by the transaction, for a variety of reasons including EVM mechanics and node performance.

Body
anyOptional
Responses
200

Successful response

application/json
Responseany
post
POST /estimateGas HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200

Successful response

No content

Returns the information of any block giving its hash

post

Returns the information of any block giving its hash

Body
anyOptional
Responses
200

Successful response

application/json
Responseany
post
POST /getBlockByHash HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200

Successful response

No content

Returns the information of any block giving its height

post

Returns the information of any block giving its height

Body
anyOptional
Responses
200Success
application/json
Responseany
post
POST /getBlockByNumber HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200Success

No content

Returns the number of success/pending transactions of any address

post

Returns the number of success/pending transactions of any address

Body
anyOptional
Responses
200Success
application/json
Responseany
post
POST /getAddressTransactionCount HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200Success

No content

Returns the number of success/pending transactions of an array of addresses

post

Returns the number of success/pending transactions of an array of addresses

Body
anyOptional
Responses
200Success
application/json
Responseany
post
POST /getAddressesTransactionCount HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200Success

No content

Returns the receipt of a transaction by transaction hash

post

Returns the receipt of a transaction by transaction hash

Body
anyOptional
Responses
200Success
application/json
Responseany
post
POST /getTransactionReceipt HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200Success

No content

Returns the transaction info given its transaction hash

post

Returns the transaction info given its transaction hash

Body
anyOptional
Responses
200Success
application/json
Responseany
post
POST /getTransaction HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200Success

No content

Returns the transactions info of an array of transactions hash

post

Returns the transactions info of an array of transactions hash

Body
anyOptional
Responses
200Success
application/json
Responseany
post
POST /getTransactions HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200Success

No content

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

post

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

Body
anyOptional
Responses
200Success
application/json
Responseany
post
POST /call HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200Success

No content

Get transaction history of an address

post

Get transaction history of an address

Body
anyOptional
Responses
200Success
application/json
Responseany
post
POST /getAddressHistory HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200Success

No content

Get transaction history of an array of address

post

Get transaction history of an array of addresses

Body
anyOptional
Responses
200Success
application/json
Responseany
post
POST /getAddressesHistory HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200Success

No content

Returns the status of the transaction indexing process.

post

Returns the status of the transaction indexing process.

Body
anyOptional
Responses
200Success
application/json
Responseany
post
POST /indexing HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
200Success

No content

Last updated