Update type for gasPrice

This commit is contained in:
AdamSchinzel 2024-02-21 14:52:40 +01:00 committed by Martin
parent 8d78397969
commit 8780151664
2 changed files with 2 additions and 2 deletions

View File

@ -231,7 +231,7 @@ type EthereumSpecific struct {
Nonce uint64 `json:"nonce"`
GasLimit *big.Int `json:"gasLimit"`
GasUsed *big.Int `json:"gasUsed,omitempty"`
GasPrice *Amount `json:"gasPrice"`
GasPrice *Amount `json:"gasPrice,omitempty"`
Data string `json:"data,omitempty"`
ParsedData *bchain.EthereumParsedInputData `json:"parsedData,omitempty"`
InternalTransfers []EthereumInternalTransfer `json:"internalTransfers,omitempty"`

View File

@ -32,7 +32,7 @@ export interface EthereumSpecific {
nonce: number;
gasLimit: number;
gasUsed?: number;
gasPrice: string;
gasPrice?: string;
data?: string;
parsedData?: EthereumParsedInputData;
internalTransfers?: EthereumInternalTransfer[];