Wallet
eth_rpc.PrivateKeyWallet #
Bases: BaseWallet
model_config class-attribute
instance-attribute
#
rpc classmethod
#
This uses the default network, unless a network has been provided
Source code in eth_rpc/_request.py
get_nonce #
Source code in eth_rpc/wallet.py
model_post_init #
get_pvt_key staticmethod
#
create_new classmethod
#
sign_transaction #
Source code in eth_rpc/wallet.py
send_raw_transaction #
prepare_and_sign #
prepare_and_sign(
*,
to,
value=0,
max_fee_per_gas=None,
max_priority_fee_per_gas=None,
data=HexStr("0x"),
nonce=None
)
Source code in eth_rpc/wallet.py
prepare #
prepare(
*,
to,
value=0,
max_fee_per_gas=None,
max_priority_fee_per_gas=None,
data=HexStr("0x"),
nonce=None
)