userTwapSliceFills Info Endpoint Method
參數
類型
字串
必填
載入中...
user
字串
必填
載入中...
退貨
陣列
陣列
載入中...
fill
物件
載入中...
時間
整數
載入中...
硬幣
字串
載入中...
側面
字串
載入中...
sz
字串
載入中...
px
字串
載入中...
startPosition
字串
載入中...
dir
字串
載入中...
closedPnl
字串
載入中...
crossed
布林值
載入中...
hash
字串
載入中...
oid
整數
載入中...
fee
字串
載入中...
feeToken
字串
載入中...
tid
整數
載入中...
twapId
整數
載入中...
請求
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"userTwapSliceFills","user":"0x31ca8395cf837de08b24da3f660e77761dfb974b"}'5
1curl https://docs-demo.hype-mainnet.quiknode.pro/evm \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"userTwapSliceFills","user":"0x31ca8395cf837de08b24da3f660e77761dfb974b"}'5
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "userTwapSliceFills",6"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"7});89var requestOptions = {10方法: 'POST',11標題: myHeaders,12正文: 原始,13redirect: 'follow'14};1516fetch("https://docs-demo.hype-mainnet.quiknode.pro/evm", requestOptions)17.then(response => response.text())18.then(result => console.log(result))19.catch(error => console.log('error', error));20
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var raw = JSON.stringify({5"type": "userTwapSliceFills",6"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"7});89var requestOptions = {10方法: 'POST',11標題: myHeaders,12正文: 原始,13redirect: 'follow'14};1516fetch("https://docs-demo.hype-mainnet.quiknode.pro/evm", requestOptions)17.then(response => response.text())18.then(result => console.log(result))19.catch(error => console.log('error', error));20
1匯入 請求2import json34url = "https://docs-demo.hype-mainnet.quiknode.pro/evm"56有效載荷 = json.dumps({7"type": "userTwapSliceFills",8"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"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": "userTwapSliceFills",8"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"9})10標題 = {11「Content-Type」: 'application/json'12}1314回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)1516列印(回應.text)17
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67https = 網::HTTP.new(url.主機, url.port)8https.use_ssl = true910請求 = 淨::HTTP::POST.new(網址)11請求["Content-Type"] = "application/json"12請求。正文 = JSON.dump({13"type": "userTwapSliceFills",14"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"15})1617回應 = https.請求(請求)18將回應。read_body19
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.hype-mainnet.quiknode.pro/evm")67https = 網::HTTP.new(url.主機, url.port)8https.use_ssl = true910請求 = 淨::HTTP::POST.new(網址)11請求["Content-Type"] = "application/json"12請求。正文 = JSON.dump({13"type": "userTwapSliceFills",14"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"15})1617回應 = https.請求(請求)18將回應。read_body19