Interchain API
  1. ETH Methods
Interchain API
Ethereum
  • Overview
  • Bitcoin
  • Ethereum
  • ETH Methods
    • Returns array of all accounts owned by the client.
      POST
    • Returns the number of most recent block.
      POST
    • Executes a new message call immediately without creating a transaction on the block chain.
      POST
    • POST
    • Returns the current gas price in the default EVM denomination parameter.
      POST
    • Returns the balance of the account of given address.
      POST
    • Returns information about a block by hash.
      POST
    • Returns information about a block by block number.
      POST
    • Returns the number of transactions sent from an address.
      POST
    • Returns the number of transactions in a block from a block matching the given block hash.
      POST
    • Returns code at a given address.
      POST
    • Polling method for a filter, which returns an array of logs which occurred since last poll.
      POST
    • Returns an array of all logs matching filter with given id.
      POST
    • Returns an array of all logs matching a given filter object.
      POST
    • Returns the value from a storage position at a given address.
      POST
    • Returns information about a transaction by block hash and transaction index position.
      POST
    • Returns information about a transaction by block number and transaction index position.
      POST
    • Returns the information about a transaction requested by transaction hash.
      POST
    • Returns the value from a storage position at a given address.
      POST
    • Returns the receipt of a transaction by transaction hash.
      POST
    • Returns information about a uncle of a block by hash and uncle index position.
      POST
    • Returns information about a uncle of a block by number and uncle index position.
      POST
    • Returns the number of transactions in a block matching the given block number.
      POST
    • Returns the number of uncles in a block from a block matching the given block number.
      POST
    • Creates a filter in the node, to notify when a new block arrives.
      POST
    • Creates a filter object, based on filter options, to notify when the state changes (logs).
      POST
    • Creates a filter in the node, to notify when new pending transactions arrive.
      POST
    • Returns the current ethereum protocol version.
      POST
    • Creates new message call transaction or a contract creation for signed transactions.
      POST
    • Creates new message call transaction or a contract creation, if the data field contains code.
      POST
    • The sign method calculates an Ethereum specific signature with: sign(keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))).
      POST
    • The sync status object may need to be different depending on the details of Tendermint's sync protocol. However, the 'synced' result is simply a boolean, and can easily be derived from Tendermint's internal sync state.
      POST
    • Uninstalls a filter with given id. Should always be called when watch is no longer needed.
      POST
  • Net Methods
    • Returns if client is actively listening for network connections.
    • Returns the number of peers currently connected to the client.
    • Returns the current network id.
  • Web3 Methods
    • Get the web3 client version.
    • Returns Keccak-256 (not the standardized SHA3-256) of the given data.
  1. ETH Methods

The sign method calculates an Ethereum specific signature with: sign(keccak256("\x19Ethereum Signed Message:\n" + len(message) + message))).

POST
/eth_sign
ETH Methods
Last modified:2024-05-27 22:00:50
Request body sample: {"jsonrpc":"2.0","method":"eth_sign","params":["0x9b2055d370f73ec7d8a03e965129118dc8f5bf83", "0xdeadbeaf"],"id":1}

Request

Body Params application/json
id
integer 
optional
jsonrpc
string 
optional
method
string 
optional
params
array | null 
optional
Example
{
  "id": 0,
  "jsonrpc": "string",
  "method": "string",
  "params": [
    null
  ]
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/eth_sign' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": 0,
    "jsonrpc": "string",
    "method": "string",
    "params": [
        null
    ]
}'

Responses

🟢200OK
application/json
Body
id
integer 
optional
jsonrpc
string 
optional
result
string 
optional
Example
{
  "id": 0,
  "jsonrpc": "string",
  "result": "string"
}
Previous
Creates new message call transaction or a contract creation, if the data field contains code.
Next
The sync status object may need to be different depending on the details of Tendermint's sync protocol. However, the 'synced' result is simply a boolean, and can easily be derived from Tendermint's internal sync state.
Built with