Transaction(nonce: UInt256!, gasPrice: Wei!, gasLimit: Gas!, @Nullable to: Address?, value: Wei!, payload: Bytes!, keyPair: KeyPair!)
Create a transaction.
nonce
- UInt256!: The transaction nonce.
gasPrice
- Wei!: The transaction gas price.
gasLimit
- Gas!: The transaction gas limit.
to
- Address?: The target contract address, if any.
value
- Wei!: The amount of Eth to transfer.
payload
- Bytes!: The transaction payload.
keyPair
- KeyPair!: A keypair to generate the transaction signature with.
Transaction(nonce: UInt256!, gasPrice: Wei!, gasLimit: Gas!, @Nullable to: Address?, value: Wei!, payload: Bytes!, keyPair: KeyPair!, @Nullable chainId: Int?)
Create a transaction.
nonce
- UInt256!: The transaction nonce.
gasPrice
- Wei!: The transaction gas price.
gasLimit
- Gas!: The transaction gas limit.
to
- Address?: The target contract address, if any.
value
- Wei!: The amount of Eth to transfer.
payload
- Bytes!: The transaction payload.
keyPair
- KeyPair!: A keypair to generate the transaction signature with.
Transaction(nonce: UInt256!, gasPrice: Wei!, gasLimit: Gas!, @Nullable to: Address?, value: Wei!, payload: Bytes!, @Nullable chainId: Int?, signature: Signature!)
Create a transaction.
nonce
- UInt256!: The transaction nonce.
gasPrice
- Wei!: The transaction gas price.
gasLimit
- Gas!: The transaction gas limit.
to
- Address?: The target contract address, if any.
value
- Wei!: The amount of Eth to transfer.
payload
- Bytes!: The transaction payload.