header.GetRangeByHeight RPC Method
Parâmetros
objeto
objeto
OBRIGATÓRIO
Carregando...
header
objeto
Carregando...
versão
objeto
Carregando...
block
cadeia de caracteres
Carregando...
app
cadeia de caracteres
Carregando...
chain_id
cadeia de caracteres
Carregando...
altura
cadeia de caracteres
Carregando...
hora
cadeia de caracteres
Carregando...
last_block_id
objeto
Carregando...
hash
cadeia de caracteres
Carregando...
parts
objeto
Carregando...
total
número inteiro
Carregando...
hash
cadeia de caracteres
Carregando...
last_commit_hash
cadeia de caracteres
Carregando...
data_hash
cadeia de caracteres
Carregando...
validators_hash
cadeia de caracteres
Carregando...
next_validators_hash
cadeia de caracteres
Carregando...
consensus_hash
cadeia de caracteres
Carregando...
app_hash
cadeia de caracteres
Carregando...
last_results_hash
cadeia de caracteres
Carregando...
evidence_hash
cadeia de caracteres
Carregando...
proposer_address
cadeia de caracteres
Carregando...
validator_set
objeto
Carregando...
validators
matriz
Carregando...
morada
cadeia de caracteres
Carregando...
pub_key
objeto
Carregando...
tipo
cadeia de caracteres
Carregando...
valor
cadeia de caracteres
Carregando...
direito_de_voto
cadeia de caracteres
Carregando...
proposer_priority
cadeia de caracteres
Carregando...
proposer
objeto
Carregando...
morada
cadeia de caracteres
Carregando...
pub_key
objeto
Carregando...
tipo
cadeia de caracteres
Carregando...
valor
cadeia de caracteres
Carregando...
direito_de_voto
cadeia de caracteres
Carregando...
proposer_priority
cadeia de caracteres
Carregando...
commit
objeto
Carregando...
altura
número inteiro
Carregando...
round
número inteiro
Carregando...
block_id
objeto
Carregando...
hash
cadeia de caracteres
Carregando...
parts
objeto
Carregando...
total
número inteiro
Carregando...
hash
cadeia de caracteres
Carregando...
signatures
matriz
Carregando...
block_id_flag
número inteiro
Carregando...
validator_address
cadeia de caracteres
Carregando...
marca temporal
cadeia de caracteres
Carregando...
signature
cadeia de caracteres
Carregando...
dah
objeto
Carregando...
row_roots
cadeia de caracteres
Carregando...
column_roots
cadeia de caracteres
Carregando...
para
número inteiro
OBRIGATÓRIO
Carregando...
Devoluções
resultado
objeto
Carregando...
header
objeto
Carregando...
versão
objeto
Carregando...
block
cadeia de caracteres
Carregando...
app
cadeia de caracteres
Carregando...
chain_id
cadeia de caracteres
Carregando...
altura
cadeia de caracteres
Carregando...
hora
cadeia de caracteres
Carregando...
last_block_id
objeto
Carregando...
hash
cadeia de caracteres
Carregando...
parts
objeto
Carregando...
total
número inteiro
Carregando...
hash
cadeia de caracteres
Carregando...
last_commit_hash
cadeia de caracteres
Carregando...
data_hash
cadeia de caracteres
Carregando...
validators_hash
cadeia de caracteres
Carregando...
next_validators_hash
cadeia de caracteres
Carregando...
consensus_hash
cadeia de caracteres
Carregando...
app_hash
cadeia de caracteres
Carregando...
last_results_hash
cadeia de caracteres
Carregando...
evidence_hash
cadeia de caracteres
Carregando...
proposer_address
cadeia de caracteres
Carregando...
validator_set
objeto
Carregando...
validators
matriz
Carregando...
morada
cadeia de caracteres
Carregando...
pub_key
objeto
Carregando...
tipo
cadeia de caracteres
Carregando...
valor
cadeia de caracteres
Carregando...
direito_de_voto
cadeia de caracteres
Carregando...
proposer_priority
cadeia de caracteres
Carregando...
proposer
objeto
Carregando...
morada
cadeia de caracteres
Carregando...
pub_key
objeto
Carregando...
tipo
cadeia de caracteres
Carregando...
valor
cadeia de caracteres
Carregando...
direito_de_voto
cadeia de caracteres
Carregando...
proposer_priority
cadeia de caracteres
Carregando...
commit
objeto
Carregando...
altura
cadeia de caracteres
Carregando...
round
número inteiro
Carregando...
block_id
objeto
Carregando...
hash
cadeia de caracteres
Carregando...
parts
objeto
Carregando...
total
número inteiro
Carregando...
hash
cadeia de caracteres
Carregando...
signatures
matriz
Carregando...
block_id_flag
número inteiro
Carregando...
validator_address
cadeia de caracteres
Carregando...
marca temporal
cadeia de caracteres
Carregando...
signature
cadeia de caracteres
Carregando...
dah
objeto
Carregando...
row_roots
cadeia de caracteres
Carregando...
column_roots
cadeia de caracteres
Carregando...
Pedido
1curl --location 'mainnet' \2--cabeçalho 'Content-Type: application/json' \3--dados '{4"id": 1,5"jsonrpc": "2.0",6"method": "header.GetRangeByHeight",7"params": [8{9"header": {10"version": {11"block": "11",12"app": "2"13},14"chain_id": "celestia",15"height": "2683973",16"time": "2024-10-31T04:35:36.787488335Z",17"last_block_id": {18"hash": "467DA96B5E2E2562F356AA904D0CCAFB684D16D5EB2EEB59E25270DBAEAF4971",19"parts": {20"total": 1,21"hash": "64618AC65D7D9B9BDDA9171B5D6CFF5FE20B31ED658AE1A0E1E0EDFA0CF5F2B1"22}23},24"last_commit_hash": "0BB10A64DC33F133E786AF837E1AF4EC15477369E1C90F5F1A514A7C868CA417",25"data_hash": "EE8E4CDB2648ABF3D6209657B20FA34E2B199FF53351D18D9E20171D3D9A796D",26"validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",27"next_validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",28"consensus_hash": "C0B6A634B72AE9687EA53B6D277A73ABA1386BA3CFC6D0F26963602F7F6FFCD6",29"app_hash": "68A329FB2B2E31F7F03CA490E1A8B18BAF6AAEBA0C8C1F37A3BCD386940B0A08",30"last_results_hash": "57C6953BDF0C5FE4EC4B1C2D93B4BE605C0B708055858E8081A433B92B5FF479",31"evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",32"proposer_address": "AF157EF644055C9847F90FF896C95A848674EC38"33},34"commit": {35"height": "2683973",36"round": 0,37"block_id": {38"hash": "E175F5BF91FEEDB11F382742982511A85FBE7D58F02132A5BA55D4E075CFAB13",39"parts": {40"total": 5,41"hash": "4C27C95E0F6FAA078F62813155A94720FB202343043BCF8A92B45E4B72178A83"42}43},44"signatures": [45{46"block_id_flag": 2,47"validator_address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",48"timestamp": "2024-10-31T04:35:42.775297752Z",49"signature": "y55G6rn+9z/FU3wb3PsDT/a/YpBrpCC/waxbRg7B82yCH/FoQuUwsxgL50RdUN24VGilwGZQYTVbSsisFxGTAA=="50}51]52},53"validator_set": {54"validators": [55{56"address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",57"pub_key": {58"type": "tendermint/PubKeyEd25519",59"value": "ZkOfeh3Y+qokXhYFPuNf9d1B7+Vn0jAC78Yy+X6eduM="60},61"voting_power": "47667032",62"proposer_priority": "337796841"63}64],65"proposer": {66"address": "AF157EF644055C9847F90FF896C95A848674EC38",67"pub_key": {68"type": "tendermint/PubKeyEd25519",69"value": "xwbuyz6bUNd+Ef79w0ysCU4qgDru1OZTn/yHnPaw5JE="70},71"voting_power": "2265846",72"proposer_priority": "-352043464"73}74},75"dah": {76"row_roots": [77"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFplbml0aBC9HyxAe20ZdXf/PoSaHQXZQlZAXAHEj5g5xj4egMK8"78],79"column_roots": [80"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH//////////////////////////////////////tfL+UyW2AVPybgVuO7xwpCfCMftfY851hOZDiwkqXqy"81]82}83},84268397685]86}'
1curl --location 'mainnet' \2--cabeçalho 'Content-Type: application/json' \3--dados '{4"id": 1,5"jsonrpc": "2.0",6"method": "header.GetRangeByHeight",7"params": [8{9"header": {10"version": {11"block": "11",12"app": "2"13},14"chain_id": "celestia",15"height": "2683973",16"time": "2024-10-31T04:35:36.787488335Z",17"last_block_id": {18"hash": "467DA96B5E2E2562F356AA904D0CCAFB684D16D5EB2EEB59E25270DBAEAF4971",19"parts": {20"total": 1,21"hash": "64618AC65D7D9B9BDDA9171B5D6CFF5FE20B31ED658AE1A0E1E0EDFA0CF5F2B1"22}23},24"last_commit_hash": "0BB10A64DC33F133E786AF837E1AF4EC15477369E1C90F5F1A514A7C868CA417",25"data_hash": "EE8E4CDB2648ABF3D6209657B20FA34E2B199FF53351D18D9E20171D3D9A796D",26"validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",27"next_validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",28"consensus_hash": "C0B6A634B72AE9687EA53B6D277A73ABA1386BA3CFC6D0F26963602F7F6FFCD6",29"app_hash": "68A329FB2B2E31F7F03CA490E1A8B18BAF6AAEBA0C8C1F37A3BCD386940B0A08",30"last_results_hash": "57C6953BDF0C5FE4EC4B1C2D93B4BE605C0B708055858E8081A433B92B5FF479",31"evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",32"proposer_address": "AF157EF644055C9847F90FF896C95A848674EC38"33},34"commit": {35"height": "2683973",36"round": 0,37"block_id": {38"hash": "E175F5BF91FEEDB11F382742982511A85FBE7D58F02132A5BA55D4E075CFAB13",39"parts": {40"total": 5,41"hash": "4C27C95E0F6FAA078F62813155A94720FB202343043BCF8A92B45E4B72178A83"42}43},44"signatures": [45{46"block_id_flag": 2,47"validator_address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",48"timestamp": "2024-10-31T04:35:42.775297752Z",49"signature": "y55G6rn+9z/FU3wb3PsDT/a/YpBrpCC/waxbRg7B82yCH/FoQuUwsxgL50RdUN24VGilwGZQYTVbSsisFxGTAA=="50}51]52},53"validator_set": {54"validators": [55{56"address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",57"pub_key": {58"type": "tendermint/PubKeyEd25519",59"value": "ZkOfeh3Y+qokXhYFPuNf9d1B7+Vn0jAC78Yy+X6eduM="60},61"voting_power": "47667032",62"proposer_priority": "337796841"63}64],65"proposer": {66"address": "AF157EF644055C9847F90FF896C95A848674EC38",67"pub_key": {68"type": "tendermint/PubKeyEd25519",69"value": "xwbuyz6bUNd+Ef79w0ysCU4qgDru1OZTn/yHnPaw5JE="70},71"voting_power": "2265846",72"proposer_priority": "-352043464"73}74},75"dah": {76"row_roots": [77"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFplbml0aBC9HyxAe20ZdXf/PoSaHQXZQlZAXAHEj5g5xj4egMK8"78],79"column_roots": [80"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH//////////////////////////////////////tfL+UyW2AVPybgVuO7xwpCfCMftfY851hOZDiwkqXqy"81]82}83},84268397685]86}'
1const myHeaders = new Headers();2myHeaders.acrescentar("Content-Type", "application/json");34const raw = JSON.stringify({5"id": 1,6"jsonrpc": "2.0",7"method": "header.GetRangeByHeight",8«params»: [9{10"header": {11"version": {12"block": "11",13"app": "2"14},15"chain_id": "celestia",16"height": "2683973",17"time": "2024-10-31T04:35:36.787488335Z",18"last_block_id": {19"hash": "467DA96B5E2E2562F356AA904D0CCAFB684D16D5EB2EEB59E25270DBAEAF4971",20"parts": {21"total": 1,22"hash": "64618AC65D7D9B9BDDA9171B5D6CFF5FE20B31ED658AE1A0E1E0EDFA0CF5F2B1"23}24},25"last_commit_hash": "0BB10A64DC33F133E786AF837E1AF4EC15477369E1C90F5F1A514A7C868CA417",26"data_hash": "EE8E4CDB2648ABF3D6209657B20FA34E2B199FF53351D18D9E20171D3D9A796D",27"validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",28"next_validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",29"consensus_hash": "C0B6A634B72AE9687EA53B6D277A73ABA1386BA3CFC6D0F26963602F7F6FFCD6",30"app_hash": "68A329FB2B2E31F7F03CA490E1A8B18BAF6AAEBA0C8C1F37A3BCD386940B0A08",31"last_results_hash": "57C6953BDF0C5FE4EC4B1C2D93B4BE605C0B708055858E8081A433B92B5FF479",32"evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",33"proposer_address": "AF157EF644055C9847F90FF896C95A848674EC38"34},35"commit": {36"height": "2683973",37"round": 0,38"block_id": {39"hash": "E175F5BF91FEEDB11F382742982511A85FBE7D58F02132A5BA55D4E075CFAB13",40"parts": {41"total": 5,42"hash": "4C27C95E0F6FAA078F62813155A94720FB202343043BCF8A92B45E4B72178A83"43}44},45"signatures": [46{47"block_id_flag": 2,48"validator_address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",49"timestamp": "2024-10-31T04:35:42.775297752Z",50"signature": "y55G6rn+9z/FU3wb3PsDT/a/YpBrpCC/waxbRg7B82yCH/FoQuUwsxgL50RdUN24VGilwGZQYTVbSsisFxGTAA=="51}52]53},54"validator_set": {55"validators": [56{57"address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",58"pub_key": {59"type": "tendermint/PubKeyEd25519",60"value": "ZkOfeh3Y+qokXhYFPuNf9d1B7+Vn0jAC78Yy+X6eduM="61},62"voting_power": "47667032",63"proposer_priority": "337796841"64}65],66"proposer": {67"address": "AF157EF644055C9847F90FF896C95A848674EC38",68"pub_key": {69"type": "tendermint/PubKeyEd25519",70"value": "xwbuyz6bUNd+Ef79w0ysCU4qgDru1OZTn/yHnPaw5JE="71},72"voting_power": "2265846",73"proposer_priority": "-352043464"74}75},76"dah": {77"row_roots": [78"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFplbml0aBC9HyxAe20ZdXf/PoSaHQXZQlZAXAHEj5g5xj4egMK8"79],80"column_roots": [81"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH//////////////////////////////////////tfL+UyW2AVPybgVuO7xwpCfCMftfY851hOZDiwkqXqy"82]83}84},85268397686]87});8889const requestOptions = {90method: "POST",91cabeçalhos: myHeaders,92body: raw,93redirecionar: "seguir"94};9596fetch("https://docs-demo.celestia-mainnet.quiknode.pro/", requestOptions)97.então((resposta) => resposta.texto())98.então((resultado) => console.log(resultado))99.captura((erro) => console.erro(erro));
1const myHeaders = new Headers();2myHeaders.acrescentar("Content-Type", "application/json");34const raw = JSON.stringify({5"id": 1,6"jsonrpc": "2.0",7"method": "header.GetRangeByHeight",8«params»: [9{10"header": {11"version": {12"block": "11",13"app": "2"14},15"chain_id": "celestia",16"height": "2683973",17"time": "2024-10-31T04:35:36.787488335Z",18"last_block_id": {19"hash": "467DA96B5E2E2562F356AA904D0CCAFB684D16D5EB2EEB59E25270DBAEAF4971",20"parts": {21"total": 1,22"hash": "64618AC65D7D9B9BDDA9171B5D6CFF5FE20B31ED658AE1A0E1E0EDFA0CF5F2B1"23}24},25"last_commit_hash": "0BB10A64DC33F133E786AF837E1AF4EC15477369E1C90F5F1A514A7C868CA417",26"data_hash": "EE8E4CDB2648ABF3D6209657B20FA34E2B199FF53351D18D9E20171D3D9A796D",27"validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",28"next_validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",29"consensus_hash": "C0B6A634B72AE9687EA53B6D277A73ABA1386BA3CFC6D0F26963602F7F6FFCD6",30"app_hash": "68A329FB2B2E31F7F03CA490E1A8B18BAF6AAEBA0C8C1F37A3BCD386940B0A08",31"last_results_hash": "57C6953BDF0C5FE4EC4B1C2D93B4BE605C0B708055858E8081A433B92B5FF479",32"evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",33"proposer_address": "AF157EF644055C9847F90FF896C95A848674EC38"34},35"commit": {36"height": "2683973",37"round": 0,38"block_id": {39"hash": "E175F5BF91FEEDB11F382742982511A85FBE7D58F02132A5BA55D4E075CFAB13",40"parts": {41"total": 5,42"hash": "4C27C95E0F6FAA078F62813155A94720FB202343043BCF8A92B45E4B72178A83"43}44},45"signatures": [46{47"block_id_flag": 2,48"validator_address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",49"timestamp": "2024-10-31T04:35:42.775297752Z",50"signature": "y55G6rn+9z/FU3wb3PsDT/a/YpBrpCC/waxbRg7B82yCH/FoQuUwsxgL50RdUN24VGilwGZQYTVbSsisFxGTAA=="51}52]53},54"validator_set": {55"validators": [56{57"address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",58"pub_key": {59"type": "tendermint/PubKeyEd25519",60"value": "ZkOfeh3Y+qokXhYFPuNf9d1B7+Vn0jAC78Yy+X6eduM="61},62"voting_power": "47667032",63"proposer_priority": "337796841"64}65],66"proposer": {67"address": "AF157EF644055C9847F90FF896C95A848674EC38",68"pub_key": {69"type": "tendermint/PubKeyEd25519",70"value": "xwbuyz6bUNd+Ef79w0ysCU4qgDru1OZTn/yHnPaw5JE="71},72"voting_power": "2265846",73"proposer_priority": "-352043464"74}75},76"dah": {77"row_roots": [78"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFplbml0aBC9HyxAe20ZdXf/PoSaHQXZQlZAXAHEj5g5xj4egMK8"79],80"column_roots": [81"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH//////////////////////////////////////tfL+UyW2AVPybgVuO7xwpCfCMftfY851hOZDiwkqXqy"82]83}84},85268397686]87});8889const requestOptions = {90method: "POST",91cabeçalhos: myHeaders,92body: raw,93redirecionar: "seguir"94};9596fetch("https://docs-demo.celestia-mainnet.quiknode.pro/", requestOptions)97.então((resposta) => resposta.texto())98.então((resultado) => console.log(resultado))99.captura((erro) => console.erro(erro));
1importar pedidos2import json34url = "https://docs-demo.celestia-mainnet.quiknode.pro/"56carga útil = json.dumps({7"id": 1,8"jsonrpc": "2.0",9"method": "header.GetRangeByHeight",10"params": [11{12"header": {13"version": {14"block": "11",15"app": "2"16},17"chain_id": "celestia",18"height": "2683973",19"time": "2024-10-31T04:35:36.787488335Z",20"last_block_id": {21"hash": "467DA96B5E2E2562F356AA904D0CCAFB684D16D5EB2EEB59E25270DBAEAF4971",22"parts": {23"total": 1,24"hash": "64618AC65D7D9B9BDDA9171B5D6CFF5FE20B31ED658AE1A0E1E0EDFA0CF5F2B1"25}26},27"last_commit_hash": "0BB10A64DC33F133E786AF837E1AF4EC15477369E1C90F5F1A514A7C868CA417",28"data_hash": "EE8E4CDB2648ABF3D6209657B20FA34E2B199FF53351D18D9E20171D3D9A796D",29"validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",30"next_validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",31"consensus_hash": "C0B6A634B72AE9687EA53B6D277A73ABA1386BA3CFC6D0F26963602F7F6FFCD6",32"app_hash": "68A329FB2B2E31F7F03CA490E1A8B18BAF6AAEBA0C8C1F37A3BCD386940B0A08",33"last_results_hash": "57C6953BDF0C5FE4EC4B1C2D93B4BE605C0B708055858E8081A433B92B5FF479",34"evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",35"proposer_address": "AF157EF644055C9847F90FF896C95A848674EC38"36},37"commit": {38"height": "2683973",39"round": 0,40"block_id": {41"hash": "E175F5BF91FEEDB11F382742982511A85FBE7D58F02132A5BA55D4E075CFAB13",42"parts": {43"total": 5,44"hash": "4C27C95E0F6FAA078F62813155A94720FB202343043BCF8A92B45E4B72178A83"45}46},47"signatures": [48{49"block_id_flag": 2,50"validator_address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",51"timestamp": "2024-10-31T04:35:42.775297752Z",52"signature": "y55G6rn+9z/FU3wb3PsDT/a/YpBrpCC/waxbRg7B82yCH/FoQuUwsxgL50RdUN24VGilwGZQYTVbSsisFxGTAA=="53}54]55},56"validator_set": {57"validators": [58{59"address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",60"pub_key": {61"type": "tendermint/PubKeyEd25519",62"value": "ZkOfeh3Y+qokXhYFPuNf9d1B7+Vn0jAC78Yy+X6eduM="63},64"voting_power": "47667032",65"proposer_priority": "337796841"66}67],68"proposer": {69"address": "AF157EF644055C9847F90FF896C95A848674EC38",70"pub_key": {71"type": "tendermint/PubKeyEd25519",72"value": "xwbuyz6bUNd+Ef79w0ysCU4qgDru1OZTn/yHnPaw5JE="73},74"voting_power": "2265846",75"proposer_priority": "-352043464"76}77},78"dah": {79"row_roots": [80"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFplbml0aBC9HyxAe20ZdXf/PoSaHQXZQlZAXAHEj5g5xj4egMK8"81],82"column_roots": [83"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH//////////////////////////////////////tfL+UyW2AVPybgVuO7xwpCfCMftfY851hOZDiwkqXqy"84]85}86},87268397688]89})90cabeçalhos = {91'Content-Type': 'application/json'92}9394resposta = pedidos.pedido("POST", url, headers=headers, dados=carga útil)9596imprimir(resposta.texto)97
1importar pedidos2import json34url = "https://docs-demo.celestia-mainnet.quiknode.pro/"56carga útil = json.dumps({7"id": 1,8"jsonrpc": "2.0",9"method": "header.GetRangeByHeight",10"params": [11{12"header": {13"version": {14"block": "11",15"app": "2"16},17"chain_id": "celestia",18"height": "2683973",19"time": "2024-10-31T04:35:36.787488335Z",20"last_block_id": {21"hash": "467DA96B5E2E2562F356AA904D0CCAFB684D16D5EB2EEB59E25270DBAEAF4971",22"parts": {23"total": 1,24"hash": "64618AC65D7D9B9BDDA9171B5D6CFF5FE20B31ED658AE1A0E1E0EDFA0CF5F2B1"25}26},27"last_commit_hash": "0BB10A64DC33F133E786AF837E1AF4EC15477369E1C90F5F1A514A7C868CA417",28"data_hash": "EE8E4CDB2648ABF3D6209657B20FA34E2B199FF53351D18D9E20171D3D9A796D",29"validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",30"next_validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",31"consensus_hash": "C0B6A634B72AE9687EA53B6D277A73ABA1386BA3CFC6D0F26963602F7F6FFCD6",32"app_hash": "68A329FB2B2E31F7F03CA490E1A8B18BAF6AAEBA0C8C1F37A3BCD386940B0A08",33"last_results_hash": "57C6953BDF0C5FE4EC4B1C2D93B4BE605C0B708055858E8081A433B92B5FF479",34"evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",35"proposer_address": "AF157EF644055C9847F90FF896C95A848674EC38"36},37"commit": {38"height": "2683973",39"round": 0,40"block_id": {41"hash": "E175F5BF91FEEDB11F382742982511A85FBE7D58F02132A5BA55D4E075CFAB13",42"parts": {43"total": 5,44"hash": "4C27C95E0F6FAA078F62813155A94720FB202343043BCF8A92B45E4B72178A83"45}46},47"signatures": [48{49"block_id_flag": 2,50"validator_address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",51"timestamp": "2024-10-31T04:35:42.775297752Z",52"signature": "y55G6rn+9z/FU3wb3PsDT/a/YpBrpCC/waxbRg7B82yCH/FoQuUwsxgL50RdUN24VGilwGZQYTVbSsisFxGTAA=="53}54]55},56"validator_set": {57"validators": [58{59"address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",60"pub_key": {61"type": "tendermint/PubKeyEd25519",62"value": "ZkOfeh3Y+qokXhYFPuNf9d1B7+Vn0jAC78Yy+X6eduM="63},64"voting_power": "47667032",65"proposer_priority": "337796841"66}67],68"proposer": {69"address": "AF157EF644055C9847F90FF896C95A848674EC38",70"pub_key": {71"type": "tendermint/PubKeyEd25519",72"value": "xwbuyz6bUNd+Ef79w0ysCU4qgDru1OZTn/yHnPaw5JE="73},74"voting_power": "2265846",75"proposer_priority": "-352043464"76}77},78"dah": {79"row_roots": [80"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFplbml0aBC9HyxAe20ZdXf/PoSaHQXZQlZAXAHEj5g5xj4egMK8"81],82"column_roots": [83"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH//////////////////////////////////////tfL+UyW2AVPybgVuO7xwpCfCMftfY851hOZDiwkqXqy"84]85}86},87268397688]89})90cabeçalhos = {91'Content-Type': 'application/json'92}9394resposta = pedidos.pedido("POST", url, headers=headers, dados=carga útil)9596imprimir(resposta.texto)97
1exigir "uri"2require "json"3necessita de "net/http"45url = URI("https://docs-demo.celestia-mainnet.quiknode.pro/")67https = Net::HTTP.novo(url.host, url.porta)8https.use_ssl = true910pedido = Líquido::HTTP::POST.novo(url)11pedido["Content-Type"] = "application/json"12request.body = JSON.dump({13"id": 1,14"jsonrpc": "2.0",15"method": "header.GetRangeByHeight",16«params»: [17{18"header": {19"version": {20"block": "11",21"app": "2"22},23"chain_id": "celestia",24"height": "2683973",25"time": "2024-10-31T04:35:36.787488335Z",26"last_block_id": {27"hash": "467DA96B5E2E2562F356AA904D0CCAFB684D16D5EB2EEB59E25270DBAEAF4971",28"parts": {29"total": 1,30"hash": "64618AC65D7D9B9BDDA9171B5D6CFF5FE20B31ED658AE1A0E1E0EDFA0CF5F2B1"31}32},33"last_commit_hash": "0BB10A64DC33F133E786AF837E1AF4EC15477369E1C90F5F1A514A7C868CA417",34"data_hash": "EE8E4CDB2648ABF3D6209657B20FA34E2B199FF53351D18D9E20171D3D9A796D",35"validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",36"next_validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",37"consensus_hash": "C0B6A634B72AE9687EA53B6D277A73ABA1386BA3CFC6D0F26963602F7F6FFCD6",38"app_hash": "68A329FB2B2E31F7F03CA490E1A8B18BAF6AAEBA0C8C1F37A3BCD386940B0A08",39"last_results_hash": "57C6953BDF0C5FE4EC4B1C2D93B4BE605C0B708055858E8081A433B92B5FF479",40"evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",41"proposer_address": "AF157EF644055C9847F90FF896C95A848674EC38"42},43"commit": {44"height": "2683973",45"round": 0,46"block_id": {47"hash": "E175F5BF91FEEDB11F382742982511A85FBE7D58F02132A5BA55D4E075CFAB13",48"parts": {49"total": 5,50"hash": "4C27C95E0F6FAA078F62813155A94720FB202343043BCF8A92B45E4B72178A83"51}52},53"signatures": [54{55"block_id_flag": 2,56"validator_address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",57"timestamp": "2024-10-31T04:35:42.775297752Z",58"signature": "y55G6rn+9z/FU3wb3PsDT/a/YpBrpCC/waxbRg7B82yCH/FoQuUwsxgL50RdUN24VGilwGZQYTVbSsisFxGTAA=="59}60]61},62"validator_set": {63"validators": [64{65"address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",66"pub_key": {67"type": "tendermint/PubKeyEd25519",68"value": "ZkOfeh3Y+qokXhYFPuNf9d1B7+Vn0jAC78Yy+X6eduM="69},70"voting_power": "47667032",71"proposer_priority": "337796841"72}73],74"proposer": {75"address": "AF157EF644055C9847F90FF896C95A848674EC38",76"pub_key": {77"type": "tendermint/PubKeyEd25519",78"value": "xwbuyz6bUNd+Ef79w0ysCU4qgDru1OZTn/yHnPaw5JE="79},80"voting_power": "2265846",81"proposer_priority": "-352043464"82}83},84"dah": {85"row_roots": [86"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFplbml0aBC9HyxAe20ZdXf/PoSaHQXZQlZAXAHEj5g5xj4egMK8"87],88"column_roots": [89"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH//////////////////////////////////////tfL+UyW2AVPybgVuO7xwpCfCMftfY851hOZDiwkqXqy"90]91}92},93268397694]95})9697resposta = https.pedido(pedido)98insere a resposta.read_body99
1exigir "uri"2require "json"3necessita de "net/http"45url = URI("https://docs-demo.celestia-mainnet.quiknode.pro/")67https = Net::HTTP.novo(url.host, url.porta)8https.use_ssl = true910pedido = Líquido::HTTP::POST.novo(url)11pedido["Content-Type"] = "application/json"12request.body = JSON.dump({13"id": 1,14"jsonrpc": "2.0",15"method": "header.GetRangeByHeight",16«params»: [17{18"header": {19"version": {20"block": "11",21"app": "2"22},23"chain_id": "celestia",24"height": "2683973",25"time": "2024-10-31T04:35:36.787488335Z",26"last_block_id": {27"hash": "467DA96B5E2E2562F356AA904D0CCAFB684D16D5EB2EEB59E25270DBAEAF4971",28"parts": {29"total": 1,30"hash": "64618AC65D7D9B9BDDA9171B5D6CFF5FE20B31ED658AE1A0E1E0EDFA0CF5F2B1"31}32},33"last_commit_hash": "0BB10A64DC33F133E786AF837E1AF4EC15477369E1C90F5F1A514A7C868CA417",34"data_hash": "EE8E4CDB2648ABF3D6209657B20FA34E2B199FF53351D18D9E20171D3D9A796D",35"validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",36"next_validators_hash": "03099425596D5711C13C2106C16A74914D52DCB829742C6AE95159609CF22359",37"consensus_hash": "C0B6A634B72AE9687EA53B6D277A73ABA1386BA3CFC6D0F26963602F7F6FFCD6",38"app_hash": "68A329FB2B2E31F7F03CA490E1A8B18BAF6AAEBA0C8C1F37A3BCD386940B0A08",39"last_results_hash": "57C6953BDF0C5FE4EC4B1C2D93B4BE605C0B708055858E8081A433B92B5FF479",40"evidence_hash": "E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",41"proposer_address": "AF157EF644055C9847F90FF896C95A848674EC38"42},43"commit": {44"height": "2683973",45"round": 0,46"block_id": {47"hash": "E175F5BF91FEEDB11F382742982511A85FBE7D58F02132A5BA55D4E075CFAB13",48"parts": {49"total": 5,50"hash": "4C27C95E0F6FAA078F62813155A94720FB202343043BCF8A92B45E4B72178A83"51}52},53"signatures": [54{55"block_id_flag": 2,56"validator_address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",57"timestamp": "2024-10-31T04:35:42.775297752Z",58"signature": "y55G6rn+9z/FU3wb3PsDT/a/YpBrpCC/waxbRg7B82yCH/FoQuUwsxgL50RdUN24VGilwGZQYTVbSsisFxGTAA=="59}60]61},62"validator_set": {63"validators": [64{65"address": "95764047BDFFB5CCADFA635DC63365EEB65F00C2",66"pub_key": {67"type": "tendermint/PubKeyEd25519",68"value": "ZkOfeh3Y+qokXhYFPuNf9d1B7+Vn0jAC78Yy+X6eduM="69},70"voting_power": "47667032",71"proposer_priority": "337796841"72}73],74"proposer": {75"address": "AF157EF644055C9847F90FF896C95A848674EC38",76"pub_key": {77"type": "tendermint/PubKeyEd25519",78"value": "xwbuyz6bUNd+Ef79w0ysCU4qgDru1OZTn/yHnPaw5JE="79},80"voting_power": "2265846",81"proposer_priority": "-352043464"82}83},84"dah": {85"row_roots": [86"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFplbml0aBC9HyxAe20ZdXf/PoSaHQXZQlZAXAHEj5g5xj4egMK8"87],88"column_roots": [89"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH//////////////////////////////////////tfL+UyW2AVPybgVuO7xwpCfCMftfY851hOZDiwkqXqy"90]91}92},93268397694]95})9697resposta = https.pedido(pedido)98insere a resposta.read_body99
Ainda não tem uma conta?
Crieendpoint seuendpoint Quicknode endpoint segundos e comece a desenvolver
Comece gratuitamente