package
0.0.3
Repository: https://github.com/scroll-tech/rpc-gateway.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

ConvertToHashSlice convert string slice to hash slice.
ConvertToNumberedEpoch converts named epoch to numbered epoch if necessary.
No description provided by the author
No description provided by the author
IsEip155Tx check if the EVM transaction is compliant to EIP155.
IsEmptyBlock checks if block contains any executed transaction(s).
Helper function to check if interface value is nil, since "i == nil" checks nil interface case only.
IsLegacyEthTx check if the EVM transaction is legacy (pre EIP155).
IsSuccessEthTx check if the EVM transaction is success.
No description provided by the author
IsValidHashStr validates if the search (block/tx) hash contains the right characters and in the right length.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NormalizeEthBlockNumber normalizes ETH block number to be positive if necessary.
No description provided by the author
StripLogExtraFields strips extra unnecessary fields from logs to comply with fullnode rpc.

# Structs

No description provided by the author
ExpirableLruCache naive implementation of LRU cache with fixed TTL expiration duration.