borrowLendReserveState Info Endpoint Method
パラメータ
タイプ
文字列
必須
読み込み中...
token
整数
必須
読み込み中...
返品
borrowYearlyRate
文字列
読み込み中...
supplyYearlyRate
文字列
読み込み中...
バランス
文字列
読み込み中...
utilization
文字列
読み込み中...
oraclePx
文字列
読み込み中...
ltv
文字列
読み込み中...
totalSupplied
文字列
読み込み中...
totalBorrowed
文字列
読み込み中...
リクエスト
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"borrowLendReserveState","token":0}'5
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"borrowLendReserveState","token":0}'5
1var myHeaders = new Headers();2myHeaders.append("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "borrowLendReserveState",6"token": 07});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": "borrowLendReserveState",6"token": 07});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": "borrowLendReserveState",8"token": 09})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": "borrowLendReserveState",8"token": 09})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": "borrowLendReserveState",14"token": 015})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": "borrowLendReserveState",14"token": 015})1617回答 = https.リクエスト(リクエスト)18レスポンスを格納する.read_body19