Will TransactionResponse type always have r,s,v defined? #1181
Labels
documentation
Documentation related issue.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
The
Transaction
type hasr,s,v
as optional fields. TheTransactionResponse
type extendsTransaction
, but does not maker,s,v
required fields.Is this an oversight, or are there cases when
TransactionResponse
will not haver,s,v
defined? If the latter, what scenarios? Every transaction must have a valid signature so I'd expectr,s,v
to be required in this type.For context, I'm recovering a public key from a transaction hash, so I noticed this when getting the signature from the transaction:
On a side note, it seems
getTransaction
isn't in the documentation. Am I missing it somehow, or is there an alternate way to do the above?The text was updated successfully, but these errors were encountered: