Método RPC `eth_getBlockByNumber`
Parâmetros
número do bloco/etiqueta
cadeia de caracteres
OBRIGATÓRIO
A carregar...
indicador de detalhes da transação
booleano
OBRIGATÓRIO
A carregar...
Devoluções
objeto
objeto
A carregar...
taxaBásicaPorGas
A carregar...
blobGasUsed
A carregar...
dificuldade
A carregar...
excessBlobGas
A carregar...
extraData
A carregar...
gasLimit
A carregar...
gasUsed
A carregar...
hash
A carregar...
logsBloom
A carregar...
mineiro
A carregar...
mixHash
A carregar...
nonce
A carregar...
número
A carregar...
parentBeaconBlockRoot
A carregar...
parentHash
A carregar...
recibosRoot
A carregar...
sha3Uncles
A carregar...
tamanho
A carregar...
stateRoot
A carregar...
data e hora
A carregar...
dificuldade total
A carregar...
transações
A carregar...
transaçõesRaiz
A carregar...
tios
A carregar...
levantamentos
A carregar...
índice
A carregar...
validatorIndex
A carregar...
morada
A carregar...
montante
A carregar...
retiradasRoot
A carregar...
Pedido
Resposta
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"baseFeePerGas": "0xfc",6"blobGasUsed": "0x0",7«dificuldade»: «0x0»,8"excessBlobGas": "0x0",9"extraData": "0x",10"gasLimit": "0x1c9c380",11"gasUsed": "0xcbfa",12"hash": "0x0f95cd49a684abe6ca026efd881147cb4a7a30affca7953cef8ce7ea3834a0f1",13«logsBloom»: "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",14"miner": "0x4200000000000000000000000000000000000011",15"mixHash": "0x8cc1edf005697bd569f12f814ac117d1095c8317290188090e99cb8b255d2a8f",16«nonce»: "0x0000000000000000",17"number": "0x5f4e6",18"parentBeaconBlockRoot": "0xfaf7640f646ac03aa619cf5b455b593d479d6be1668196b178abb0cb3127edd2",19"parentHash": "0x47e984771b7327e9653b9ab884e550442aac05e20cb68e02509e673bdda2a277",20"receiptsRoot": "0x39f23bc1cc4deb8021150ccd0c8db2857a0efb462cea8f62386d5e2a02fa4b71",21«sha3Uncles»: "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",22"size": "0x347",23"stateRoot": "0x1042979a5c469d30a74cf28819df98b87fee4dfe770d393ebf02229001ce22c5",24"timestamp": "0x66af513f",25«transações»: [26"0x92ddd652dfebb7dbe4aa60987ebd18c80536f7d221c1e4a7f471858de9d529bc"27],28"transactionsRoot": "0xb358c9c5760189fc608d2a24747a8b15eaed9030f00240c2e96e821cd98a60dd",29«tios»: [],30"withdrawals": [],31"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"32}33}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"baseFeePerGas": "0xfc",6"blobGasUsed": "0x0",7«dificuldade»: «0x0»,8"excessBlobGas": "0x0",9"extraData": "0x",10"gasLimit": "0x1c9c380",11"gasUsed": "0xcbfa",12"hash": "0x0f95cd49a684abe6ca026efd881147cb4a7a30affca7953cef8ce7ea3834a0f1",13«logsBloom»: "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",14"miner": "0x4200000000000000000000000000000000000011",15"mixHash": "0x8cc1edf005697bd569f12f814ac117d1095c8317290188090e99cb8b255d2a8f",16«nonce»: "0x0000000000000000",17"number": "0x5f4e6",18"parentBeaconBlockRoot": "0xfaf7640f646ac03aa619cf5b455b593d479d6be1668196b178abb0cb3127edd2",19"parentHash": "0x47e984771b7327e9653b9ab884e550442aac05e20cb68e02509e673bdda2a277",20"receiptsRoot": "0x39f23bc1cc4deb8021150ccd0c8db2857a0efb462cea8f62386d5e2a02fa4b71",21«sha3Uncles»: "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",22"size": "0x347",23"stateRoot": "0x1042979a5c469d30a74cf28819df98b87fee4dfe770d393ebf02229001ce22c5",24"timestamp": "0x66af513f",25«transações»: [26"0x92ddd652dfebb7dbe4aa60987ebd18c80536f7d221c1e4a7f471858de9d529bc"27],28"transactionsRoot": "0xb358c9c5760189fc608d2a24747a8b15eaed9030f00240c2e96e821cd98a60dd",29«tios»: [],30"withdrawals": [],31"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"32}33}
Ainda não tem uma conta?
Crie o seu ponto de extremidade Quicknode em segundos e comece a desenvolver
Comece gratuitamente