String
- The current client version.DATA
- the data to convert into a SHA3 hash.DATA
- The SHA3 result of the given string.String
- The current network id."1"
: Pchain Mainnet"2"
: Testnettrue
if client is actively listening for network connections.Boolean
- true
when listening, otherwise false
.QUANTITY
- integer of the number of connected peers.String
- The current pchain protocol version.false
.Object|Boolean
, An object with sync status data or FALSE
, when not syncing:startingBlock
: QUANTITY
- The block at which the import started (will only be reset, after the sync reached his head)currentBlock
: QUANTITY
- The current block, same as eth_blockNumberhighestBlock
: QUANTITY
- The estimated highest blockDATA
, 20 bytes - the current coinbase address.true
if client is actively mining new blocks.Boolean
- returns true
of the client is mining, otherwise false
.QUANTITY
- number of hashes per second.QUANTITY
- integer of the current gas price in wei.Array of DATA
, 20 Bytes - addresses owned by the client.QUANTITY
- integer of the current block number the client is on.DATA
, 20 Bytes - address to check for balance.QUANTITY|TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the default block parameterQUANTITY
- integer of the current balance in wei.DATA
, 20 Bytes - address of the storage.QUANTITY
- integer of the position in the storage.QUANTITY|TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the default block parameterDATA
- the value at this storage position.0x295a70b2de5e3953354a6a8344e616ed314d7251
by address 0x391694e7e0b0cce554cb130d723a9d27458f9298
.DATA
, 20 Bytes - address.QUANTITY|TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the default block parameterQUANTITY
- integer of the number of transactions send from this address.DATA
, 32 Bytes - hash of a block.QUANTITY
- integer of the number of transactions in this block.QUANTITY|TAG
- integer of a block number, or the string "earliest"
, "latest"
or "pending"
, as in the default block parameter.QUANTITY
- integer of the number of transactions in this block.DATA
, 32 Bytes - hash of a block.QUANTITY
- integer of the number of uncles in this block.QUANTITY|TAG
- integer of a block number, or the string "latest", "earliest" or "pending", see the default block parameter.QUANTITY
- integer of the number of uncles in this block.DATA
, 20 Bytes - address.QUANTITY|TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the default block parameter.DATA
- the code from the given address.sign(keccak256("\x19Ethereum Signed Message:\n" + len(message) + message)))
.DATA
, 20 Bytes - address.DATA
, N Bytes - message to sign.DATA
: Signatureeth_sign
can be found here. The contract is deployed on the testnet Ropsten and Rinkeby.Object
- The transaction objectfrom
: DATA
, 20 Bytes - The address the transaction is send from.to
: DATA
, 20 Bytes - (optional when creating new contract) The address the transaction is directed to.gas
: QUANTITY
- (optional, default: 90000) Integer of the gas provided for the transaction execution. It will return unused gas.gasPrice
: QUANTITY
- (optional, default: To-Be-Determined) Integer of the gasPrice used for each paid gasvalue
: QUANTITY
- (optional) Integer of the value sent with this transactiondata
: DATA
- The compiled code of a contract OR the hash of the invoked method signature and encoded parameters. For details see Pchain Contract ABInonce
: QUANTITY
- (optional) Integer of a nonce. This allows to overwrite your own pending transactions that use the same nonce.DATA
, 32 Bytes - the transaction hash, or the zero hash if the transaction is not yet available.DATA
, The signed transaction data.DATA
, 32 Bytes - the transaction hash, or the zero hash if the transaction is not yet available.Object
- The transaction call objectfrom
: DATA
, 20 Bytes - (optional) The address the transaction is sent from.to
: DATA
, 20 Bytes - The address the transaction is directed to.gas
: QUANTITY
- (optional) Integer of the gas provided for the transaction execution. eth_call consumes zero gas, but this parameter may be needed by some executions.gasPrice
: QUANTITY
- (optional) Integer of the gasPrice used for each paid gasvalue
: QUANTITY
- (optional) Integer of the value sent with this transactiondata
: DATA
- (optional) Hash of the method signature and encoded parameters. For details see Pchain Contract ABIQUANTITY|TAG
- integer block number, or the string "latest"
, "earliest"
or "pending"
, see the default block parameterDATA
- the return value of executed contract.QUANTITY
- the amount of gas used.DATA
, 32 Bytes - Hash of a block.Boolean
- If true
it returns the full transaction objects, if false
only the hashes of the transactions.Object
- A block object, or null
when no block was found:number
: QUANTITY
- the block number. null
when its pending block.hash
: DATA
, 32 Bytes - hash of the block. null
when its pending block.parentHash
: DATA
, 32 Bytes - hash of the parent block.nonce
: DATA
, 8 Bytes - hash of the generated proof-of-work. null
when its pending block.sha3Uncles
: DATA
, 32 Bytes - SHA3 of the uncles data in the block.logsBloom
: DATA
, 256 Bytes - the bloom filter for the logs of the block. null
when its pending block.transactionsRoot
: DATA
, 32 Bytes - the root of the transaction trie of the block.stateRoot
: DATA
, 32 Bytes - the root of the final state trie of the block.receiptsRoot
: DATA
, 32 Bytes - the root of the receipts trie of the block.miner
: DATA
, 20 Bytes - the address of the beneficiary to whom the mining rewards were given.difficulty
: QUANTITY
- integer of the difficulty for this block.totalDifficulty
: QUANTITY
- integer of the total difficulty of the chain until this block.extraData
: DATA
- the "extra data" field of this block.size
: QUANTITY
- integer the size of this block in bytes.gasLimit
: QUANTITY
- the maximum gas allowed in this block.gasUsed
: QUANTITY
- the total used gas by all transactions in this block.timestamp
: QUANTITY
- the unix timestamp for when the block was collated.transactions
: Array
- Array of transaction objects, or 32 Bytes transaction hashes depending on the last given parameter.uncles
: Array
- Array of uncle hashes.QUANTITY|TAG
- integer of a block number, or the string "earliest"
, "latest"
or "pending"
, as in the default block parameter.Boolean
- If true
it returns the full transaction objects, if false
only the hashes of the transactions.DATA
, 32 Bytes - hash of a transactionObject
- A transaction object, or null
when no transaction was found:blockHash
: DATA
, 32 Bytes - hash of the block where this transaction was in. null
when its pending.blockNumber
: QUANTITY
- block number where this transaction was in. null
when its pending.from
: DATA
, 20 Bytes - address of the sender.gas
: QUANTITY
- gas provided by the sender.gasPrice
: QUANTITY
- gas price provided by the sender in Wei.hash
: DATA
, 32 Bytes - hash of the transaction.input
: DATA
- the data send along with the transaction.nonce
: QUANTITY
- the number of transactions made by the sender prior to this one.to
: DATA
, 20 Bytes - address of the receiver. null
when its a contract creation transaction.