getLedgerEntries RPC Method
パラメータ
keys
配列
必須
読み込み中...
返品
結果
オブジェクト
読み込み中...
entries
配列
読み込み中...
キー
文字列
読み込み中...
xdr
文字列
読み込み中...
lastModifiedLedgerSeq
文字列
読み込み中...
extensionXdr
文字列
読み込み中...
extensionJson
オブジェクト
読み込み中...
latestLedger
文字列
読み込み中...
リクエスト
1curl --location 'https://docs-demo.stellar-mainnet.quiknode.pro/' \2--ヘッダー 'Content-Type: application/json' \3--data '{4"jsonrpc": "2.0",5"id": 8675309,6"method": "getLedgerEntries",7"params": {8"keys": [9"YOUR_KEYS_OF_LEDGER_ENTRIES"10]11}12}'
1curl --location 'https://docs-demo.stellar-mainnet.quiknode.pro/' \2--ヘッダー 'Content-Type: application/json' \3--data '{4"jsonrpc": "2.0",5"id": 8675309,6"method": "getLedgerEntries",7"params": {8"keys": [9"YOUR_KEYS_OF_LEDGER_ENTRIES"10]11}12}'
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"jsonrpc": "2.0",6"id": 8675309,7"method": "getLedgerEntries",8"params": {9"keys": [10"YOUR_KEYS_OF_LEDGER_ENTRIES"11]12}13});1415var requestOptions = {16メソッド: 'POST',17ヘッダー: myHeaders,18本文: raw,19リダイレクト: 'follow'20};2122fetch("https://docs-demo.stellar-mainnet.quiknode.pro/", requestOptions)23.その後(レスポンス => レスポンス.text())24.その後(結果 => コンソール.log(result))25.catchcatch(エラー => console.log('error', error));
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"jsonrpc": "2.0",6"id": 8675309,7"method": "getLedgerEntries",8"params": {9"keys": [10"YOUR_KEYS_OF_LEDGER_ENTRIES"11]12}13});1415var requestOptions = {16メソッド: 'POST',17ヘッダー: myHeaders,18本文: raw,19リダイレクト: 'follow'20};2122fetch("https://docs-demo.stellar-mainnet.quiknode.pro/", requestOptions)23.その後(レスポンス => レスポンス.text())24.その後(結果 => コンソール.log(result))25.catchcatch(エラー => console.log('error', error));
1import リクエスト2import json34url = "https://docs-demo.stellar-mainnet.quiknode.pro/"56ペイロード = json.dumps({7"jsonrpc": "2.0",8"id": 8675309,9"method": "getLedgerEntries",10"params": {11"keys": [12"YOUR_KEYS_OF_LEDGER_ENTRIES"13]14}15})16ヘッダー = {17「Content-Type」: 'application/json'18}1920回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)2122印刷(レスポンス.text)23
1import リクエスト2import json34url = "https://docs-demo.stellar-mainnet.quiknode.pro/"56ペイロード = json.dumps({7"jsonrpc": "2.0",8"id": 8675309,9"method": "getLedgerEntries",10"params": {11"keys": [12"YOUR_KEYS_OF_LEDGER_ENTRIES"13]14}15})16ヘッダー = {17「Content-Type」: 'application/json'18}1920回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)2122印刷(レスポンス.text)23
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.stellar-mainnet.quiknode.pro/")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト["Content-Type"] = "application/json"12リクエスト.本文 = JSON.dump({13"jsonrpc": "2.0",14"id": 8675309,15"method": "getLedgerEntries",16"params": {17"keys": [18"YOUR_KEYS_OF_LEDGER_ENTRIES"19]20}21})2223回答 = https.リクエスト(リクエスト)24レスポンスを格納する.read_body25
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.stellar-mainnet.quiknode.pro/")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト["Content-Type"] = "application/json"12リクエスト.本文 = JSON.dump({13"jsonrpc": "2.0",14"id": 8675309,15"method": "getLedgerEntries",16"params": {17"keys": [18"YOUR_KEYS_OF_LEDGER_ENTRIES"19]20}21})2223回答 = https.リクエスト(リクエスト)24レスポンスを格納する.read_body25