childstate_getKeysPaged RPC Method
パラメータ
PrefixedStorageKey
文字列
必須
読み込み中...
StorageKey
文字列
必須
読み込み中...
u32
整数
必須
読み込み中...
StorageKey
文字列
読み込み中...
Hash
文字列
読み込み中...
返品
StorageKey
配列
読み込み中...
リクエスト
1curl https://docs-demo.dot-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"childstate_getKeysPaged","params":["PrefixedStorageKey", "StorageKey", "u32"],"id":1,"jsonrpc":"2.0"}'5
1curl https://docs-demo.dot-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"childstate_getKeysPaged","params":["PrefixedStorageKey", "StorageKey", "u32"],"id":1,"jsonrpc":"2.0"}'5
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"method": "childstate_getKeysPaged",6"params": [7"PrefixedStorageKey",8"StorageKey",9"u32"10],11"id": 1,12"jsonrpc": "2.0"13});1415var requestOptions = {16メソッド: 'POST',17ヘッダー: myHeaders,18本文: raw,19リダイレクト: 'follow'20};2122fetch("https://docs-demo.dot-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"method": "childstate_getKeysPaged",6"params": [7"PrefixedStorageKey",8"StorageKey",9"u32"10],11"id": 1,12"jsonrpc": "2.0"13});1415var requestOptions = {16メソッド: 'POST',17ヘッダー: myHeaders,18本文: raw,19リダイレクト: 'follow'20};2122fetch("https://docs-demo.dot-mainnet.quiknode.pro/", requestOptions)23.その後(レスポンス => レスポンス.text())24.その後(結果 => コンソール.log(result))25.catchcatch(エラー => console.log('error', error));
1import リクエスト2import json34url = "https://docs-demo.dot-mainnet.quiknode.pro/"56ペイロード = json.dumps({7"method": "childstate_getKeysPaged",8"params": [9"PrefixedStorageKey",10"StorageKey",11"u32"12],13"id": 1,14"jsonrpc": "2.0"15})16ヘッダー = {17「Content-Type」: 'application/json'18}1920回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)2122印刷(レスポンス.text)23
1import リクエスト2import json34url = "https://docs-demo.dot-mainnet.quiknode.pro/"56ペイロード = json.dumps({7"method": "childstate_getKeysPaged",8"params": [9"PrefixedStorageKey",10"StorageKey",11"u32"12],13"id": 1,14"jsonrpc": "2.0"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.dot-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"method": "childstate_getKeysPaged",14"params": [15"PrefixedStorageKey",16"StorageKey",17"u32"18],19"id": 1,20"jsonrpc": "2.0"21})2223回答 = https.リクエスト(リクエスト)24レスポンスを格納する.read_body25
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.dot-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"method": "childstate_getKeysPaged",14"params": [15"PrefixedStorageKey",16"StorageKey",17"u32"18],19"id": 1,20"jsonrpc": "2.0"21})2223回答 = https.リクエスト(リクエスト)24レスポンスを格納する.read_body25