In Ethereum JSON-RPC I found the return is:


Object - A transaction object, or null when no transaction was found:
hash: DATA, 32 Bytes - hash of the transaction.
nonce: QUANTITY - the number of transactions made by the sender prior to this one.
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.
transactionIndex: QUANTITY - integer of the transactions index position in the block. null when its pending.
from: DATA, 20 Bytes - address of the sender.
to: DATA, 20 Bytes - address of the receiver. null when its a contract creation transaction.
value: QUANTITY - value transferred in Wei.
gasPrice: QUANTITY - gas price provided by the sender in Wei.
gas: QUANTITY - gas provided by the sender.
input: DATA - the data send along with the transaction.

But I type the command, the result is not same with the document above :


What does r, s, v and others mean ?

And value: QUANTITY - value transferred in Wei, what does it mean?

1 Answer 1


v, r, s are the values for the transaction's signature. They can be used as in Get public key of any ethereum account

A little more information, r and s are outputs of an ECDSA signature, and v is the recovery id. https://bitcoin.stackexchange.com/questions/38351/ecdsa-v-r-s-what-is-v also applies to Ethereum. For replay attack prevention, Ethereum makes further adjustments to v as explained in EIP 155.

value is how many Wei was sent to the to address. 1 ETH is 10^18 wei.

QUANTITY basically means that the value is encoded in hex.

  • Why there are 27,28,189,190 values? trying to understand it. esp 189 and 190
    – rstormsf
    Commented May 16, 2018 at 16:11
  • @rstormsf Asking at crypto.stackexchange.com could be better.
    – eth
    Commented May 20, 2018 at 9:53
  • 3
    I figured it out, it is result of applied chain_id number vs non-applied
    – rstormsf
    Commented May 23, 2018 at 22:51
  • 1
    @NabiK.A.Z. Not sure what you mean, r, v, s, are specific to a transaction (and nonce), so using r, v, s on another transaction will almost always have an invalid effect. Replay attacks are a related area that you might be asking more about.
    – eth
    Commented May 25, 2022 at 4:06
  • 1
    @NabiK.A.Z. Maybe these answers will help? bitcoin.stackexchange.com/questions/111260/… or bitcoin.stackexchange.com/questions/54857/…
    – eth
    Commented Jun 2, 2022 at 5:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.