extraAgents Info Endpoint Method
参数
类型
字符串
必填
正在加载...
用户
字符串
必填
正在加载...
退货
数组
数组
正在加载...
名称
字符串
正在加载...
地址
字符串
正在加载...
validUntil
整数
正在加载...
请求
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"extraAgents","user":"0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"}'5
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"extraAgents","user":"0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"}'5
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "extraAgents",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.catch(error => 控制台.log('error', error));20
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "extraAgents",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.catch(error => 控制台.log('error', error));20
1导入 请求2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56有效载荷 = json.dumps({7"type": "extraAgents",8“用户”: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"9})10标题 = {11“Content-Type”: 'application/json'12}1314回复 = 请求.请求("POST", url, headers=headers, data=有效载荷)1516打印(响应.text)17
1导入 请求2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56有效载荷 = json.dumps({7"type": "extraAgents",8“用户”: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"9})10标题 = {11“Content-Type”: 'application/json'12}1314回复 = 请求.请求("POST", url, headers=headers, data=有效载荷)1516打印(响应.text)17
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67https = Net::HTTP.new(url.主机, url.端口)8https.use_ssl = true910请求 = Net::HTTP::POST.new(url)11请求["Content-Type"] = "application/json"12请求.请求体 = JSON.dump({13"type": "extraAgents",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 = Net::HTTP.new(url.主机, url.端口)8https.use_ssl = true910请求 = Net::HTTP::POST.new(url)11请求["Content-Type"] = "application/json"12请求.请求体 = JSON.dump({13"type": "extraAgents",14“用户”: "0x2ba553d9f990a3b66b03b2dc0d030dfc1c061036"15})1617回复 = https.请求(请求)18返回响应.read_body19