Skip to main content

Filecoin.EthGetBlockByHash

Params

(2)

1. block_param (required)

(any of)
string

2. full_tx_info (required)

boolean

Result

(Filecoin.EthGetBlockByHash.Result)
baseFeePerGas
string
required
difficulty
string
required
extraData
string
required
gasLimit
string
required
gasUsed
string
required
hash
string
required
logsBloom
string
required
miner
string
required
mixHash
string
required
nonce
string
required
number
string
required
parentHash
string
required
receiptsRoot
string
required
sha3Uncles
string
required
size
string
required
stateRoot
string
required
timestamp
string
required
totalDifficulty
string
required
transactions
required
transactionsRoot
string
required
uncles
array[string]
required

Params

block_param

full_tx_info


Request

await window.ethereum.request({
"method": "Filecoin.EthGetBlockByHash",
"params": [
null,
null
]
});