SignedTransactionWithNonce

Documentation for eth_defi.hotwallet.SignedTransactionWithNonce class.

class SignedTransactionWithNonce[source]

Helper class to pass around the used nonce when signing txs from the wallet.

Attributes summary

hash

Alias for field number 1

nonce

Alias for field number 5

r

Alias for field number 2

rawTransaction

Alias for field number 0

s

Alias for field number 3

v

Alias for field number 4

Methods summary

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

rawTransaction: hexbytes.main.HexBytes

Alias for field number 0

hash: hexbytes.main.HexBytes

Alias for field number 1

r: int

Alias for field number 2

s: int

Alias for field number 3

v: int

Alias for field number 4

nonce: int

Alias for field number 5

static __new__(_cls, rawTransaction, hash, r, s, v, nonce)

Create new instance of SignedTransactionWithNonce(rawTransaction, hash, r, s, v, nonce)

Parameters
  • rawTransaction (hexbytes.main.HexBytes) –

  • hash (hexbytes.main.HexBytes) –

  • r (int) –

  • s (int) –

  • v (int) –

  • nonce (int) –