Closed
Description
I suspect this has to do with submitting a manual transaction vs submitting a transaction to the network as TransactionResponse
inherits from Transaction
. Is there ever a case where TransactionResponse
wouldn't have a hash
?
export interface TransactionResponse extends Transaction {
blockNumber?: number;
blockHash?: string;
timestamp?: number;
confirmations: number;
from: string;
raw?: string;
wait: (confirmations?: number) => Promise<TransactionReceipt>;
}
export interface Transaction {
hash?: string;
to?: string;
from?: string;
nonce: number;
gasLimit: BigNumber;
gasPrice: BigNumber;
data: string;
value: BigNumber;
chainId: number;
r?: string;
s?: string;
v?: number;
}
Activity