Update type for gasPrice
This commit is contained in:
parent
8d78397969
commit
8780151664
@ -231,7 +231,7 @@ type EthereumSpecific struct {
|
|||||||
Nonce uint64 `json:"nonce"`
|
Nonce uint64 `json:"nonce"`
|
||||||
GasLimit *big.Int `json:"gasLimit"`
|
GasLimit *big.Int `json:"gasLimit"`
|
||||||
GasUsed *big.Int `json:"gasUsed,omitempty"`
|
GasUsed *big.Int `json:"gasUsed,omitempty"`
|
||||||
GasPrice *Amount `json:"gasPrice"`
|
GasPrice *Amount `json:"gasPrice,omitempty"`
|
||||||
Data string `json:"data,omitempty"`
|
Data string `json:"data,omitempty"`
|
||||||
ParsedData *bchain.EthereumParsedInputData `json:"parsedData,omitempty"`
|
ParsedData *bchain.EthereumParsedInputData `json:"parsedData,omitempty"`
|
||||||
InternalTransfers []EthereumInternalTransfer `json:"internalTransfers,omitempty"`
|
InternalTransfers []EthereumInternalTransfer `json:"internalTransfers,omitempty"`
|
||||||
|
|||||||
@ -32,7 +32,7 @@ export interface EthereumSpecific {
|
|||||||
nonce: number;
|
nonce: number;
|
||||||
gasLimit: number;
|
gasLimit: number;
|
||||||
gasUsed?: number;
|
gasUsed?: number;
|
||||||
gasPrice: string;
|
gasPrice?: string;
|
||||||
data?: string;
|
data?: string;
|
||||||
parsedData?: EthereumParsedInputData;
|
parsedData?: EthereumParsedInputData;
|
||||||
internalTransfers?: EthereumInternalTransfer[];
|
internalTransfers?: EthereumInternalTransfer[];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user