delegations Info Endpoint Method
パラメータ
タイプ
文字列
必須
読み込み中...
ユーザー
文字列
必須
読み込み中...
返品
配列
配列
読み込み中...
オブジェクト
オブジェクト
読み込み中...
バリデータ
文字列
読み込み中...
金額
文字列
読み込み中...
lockedUntilTimestamp
整数
読み込み中...
リクエスト
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"delegations","user":"0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"}'5
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"delegations","user":"0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"}'5
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "delegations",6「ユーザー」: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"7});89var requestOptions = {10メソッド: 'POST',11ヘッダー: myHeaders,12本文: raw,13リダイレクト: 'follow'14};1516fetch(「https://docs-demo.hype-mainnet.quiknode.pro/evm」, requestOptions)17.その後(レスポンス => レスポンス.text())18.その後(結果 => コンソール.log(result))19.catchcatch(エラー => console.log('error', error));20
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "delegations",6「ユーザー」: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"7});89var requestOptions = {10メソッド: 'POST',11ヘッダー: myHeaders,12本文: raw,13リダイレクト: 'follow'14};1516fetch(「https://docs-demo.hype-mainnet.quiknode.pro/evm」, requestOptions)17.その後(レスポンス => レスポンス.text())18.その後(結果 => コンソール.log(result))19.catchcatch(エラー => console.log('error', error));20
1import リクエスト2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56ペイロード = json.dumps({7"type": "delegations",8「ユーザー」: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"9})10ヘッダー = {11「Content-Type」: 'application/json'12}1314回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)1516印刷(レスポンス.text)17
1import リクエスト2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56ペイロード = json.dumps({7"type": "delegations",8「ユーザー」: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"9})10ヘッダー = {11「Content-Type」: 'application/json'12}1314回答 = リクエスト.リクエスト("POST", url, headers=headers, データ=ペイロード)1516印刷(レスポンス.text)17
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト["Content-Type"] = "application/json"12リクエスト.本文 = JSON.dump({13"type": "delegations",14「ユーザー」: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"15})1617回答 = https.リクエスト(リクエスト)18レスポンスを格納する.read_body19
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67https = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::POST.new(URL)11リクエスト["Content-Type"] = "application/json"12リクエスト.本文 = JSON.dump({13"type": "delegations",14「ユーザー」: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"15})1617回答 = https.リクエスト(リクエスト)18レスポンスを格納する.read_body19