blockchain-kit-sdk
Toggle table of contents
1.0.21-dev
common
Target filter
common
Switch theme
Search in API
Skip to content
blockchain-kit-sdk
blockchain-kit-sdk
/
com.cramium.blockchain.kit.blockchain.evm
/
RpcBlock
Rpc
Block
common
@
Serializable
data
class
RpcBlock
(
val
number
:
String
,
val
hash
:
String
,
val
timestamp
:
String
,
val
baseFeePerGas
:
String
?
=
null
,
val
gasLimit
:
String
,
val
gasUsed
:
String
)
Ethereum block data from eth_getBlockByNumber. Only includes fields needed for fee calculation.
Members
Constructors
Rpc
Block
Link copied to clipboard
common
constructor
(
number
:
String
,
hash
:
String
,
timestamp
:
String
,
baseFeePerGas
:
String
?
=
null
,
gasLimit
:
String
,
gasUsed
:
String
)
Properties
base
Fee
Per
Gas
Link copied to clipboard
common
val
baseFeePerGas
:
String
?
gas
Limit
Link copied to clipboard
common
val
gasLimit
:
String
gas
Used
Link copied to clipboard
common
val
gasUsed
:
String
hash
Link copied to clipboard
common
val
hash
:
String
number
Link copied to clipboard
common
val
number
:
String
timestamp
Link copied to clipboard
common
val
timestamp
:
String