borrowLendReserveState Info Endpoint Method
参数
类型
字符串
必填
正在加载...
token
整数
必填
正在加载...
退货
borrowYearlyRate
字符串
正在加载...
supplyYearlyRate
字符串
正在加载...
平衡
字符串
正在加载...
utilization
字符串
正在加载...
oraclePx
字符串
正在加载...
ltv
字符串
正在加载...
totalSupplied
字符串
正在加载...
totalBorrowed
字符串
正在加载...
请求
1curlmainnet\2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"borrowLendReserveState","token":0}'5
1curlmainnet\2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"borrowLendReserveState","token":0}'5
1var myHeaders = new Headers();2myHeaders.追加("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(“mainnet”, requestOptions)17.然后(响应 => 响应.text())18.然后(结果 => 控制台.log(result))19.catch(error => 控制台.log('error', error));20
1var myHeaders = new Headers();2myHeaders.追加("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(“mainnet”, requestOptions)17.然后(响应 => 响应.text())18.然后(结果 => 控制台.log(result))19.catch(error => 控制台.log('error', error));20
1导入 请求2导入 json34url = "mainnet"56有效载荷 = json.dumps({7"type": "borrowLendReserveState",8"token": 09})10标题 = {11“Content-Type”: 'application/json'12}1314回复 = 请求.请求("POST", url, headers=headers, 数据=有效载荷)1516打印(响应.text)17
1导入 请求2导入 json34url = "mainnet"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("mainnet")67https = Net::HTTP.new(url.主机, url.端口)8https.use_ssl = true910请求 = Net::HTTP::POST.new(网址)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("mainnet")67https = Net::HTTP.new(url.主机, url.端口)8https.use_ssl = true910请求 = Net::HTTP::POST.new(网址)11请求["Content-Type"] = "application/json"12请求.请求正文 = JSON.dump({13"type": "borrowLendReserveState",14"token": 015})1617回复 = https.请求(请求)18返回响应.read_body19