使用者資金資訊Endpoint
參數
類型
字串
必填
載入中...
使用者
字串
必填
載入中...
startTime
整數
載入中...
endTime
整數
載入中...
退貨
陣列
陣列
載入中...
時間
整數
載入中...
雜湊
字串
載入中...
delta
物件
載入中...
類型
字串
載入中...
硬幣
字串
載入中...
usdc
字串
載入中...
szi
字串
載入中...
資金利率
字串
載入中...
nSamples
整數
載入中...
請求
1curlmainnet\2-X POST \3-H "Content-Type: application/json" \4--data '{5"type": "userFunding",6"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b",7"startTime": 1770385909974,8"endTime": 17703869099749}'10
1curlmainnet\2-X POST \3-H "Content-Type: application/json" \4--data '{5"type": "userFunding",6"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b",7"startTime": 1770385909974,8"endTime": 17703869099749}'10
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var 原始 = JSON.stringify({5"類型": "userFunding",6「使用者」: "0x31ca8395cf837de08b24da3f660e77761dfb974b",7"startTime": 1770385909974,8"endTime": 17703869099749});1011var requestOptions = {12方法: 'POST',13標題: myHeaders,14正文: 原始,15重定向: '追蹤'16};1718fetch(「mainnet」, requestOptions)19.接著(回應 => response.text())20.接著(結果 => 控制台.log(結果))21.catchcatch(錯誤 => console.log('error', error));22
1var myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34var 原始 = JSON.stringify({5"類型": "userFunding",6「使用者」: "0x31ca8395cf837de08b24da3f660e77761dfb974b",7"startTime": 1770385909974,8"endTime": 17703869099749});1011var requestOptions = {12方法: 'POST',13標題: myHeaders,14正文: 原始,15重定向: '追蹤'16};1718fetch(「mainnet」, requestOptions)19.接著(回應 => response.text())20.接著(結果 => 控制台.log(結果))21.catchcatch(錯誤 => console.log('error', error));22
1匯入 請求2匯入 json34網址 = "mainnet"56有效載荷 = json.dumps({7"類型": "userFunding",8「使用者」: "0x31ca8395cf837de08b24da3f660e77761dfb974b",9"startTime": 1770385909974,10"endTime": 177038690997411})12標題 = {13「Content-Type」: 'application/json'14}1516回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)1718列印(回應.text)19
1匯入 請求2匯入 json34網址 = "mainnet"56有效載荷 = json.dumps({7"類型": "userFunding",8「使用者」: "0x31ca8395cf837de08b24da3f660e77761dfb974b",9"startTime": 1770385909974,10"endTime": 177038690997411})12標題 = {13「Content-Type」: 'application/json'14}1516回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)1718列印(回應.text)19
1需要 "uri"2require "json"3需要 "net/http"45網址 = URI("mainnet")67https = 網::HTTP.new(url.主機, 網址.port)8https.use_ssl = true910請求 = 淨額::HTTP::POST.新增(網址)11請求["Content-Type"] = "application/json"12請求。主體 = JSON.dump({13"類型": "userFunding",14「使用者」: "0x31ca8395cf837de08b24da3f660e77761dfb974b",15"startTime": 1770385909974,16"endTime": 177038690997417})1819回應 = https.請求(請求)20puts 回應。read_body21
1需要 "uri"2require "json"3需要 "net/http"45網址 = URI("mainnet")67https = 網::HTTP.new(url.主機, 網址.port)8https.use_ssl = true910請求 = 淨額::HTTP::POST.新增(網址)11請求["Content-Type"] = "application/json"12請求。主體 = JSON.dump({13"類型": "userFunding",14「使用者」: "0x31ca8395cf837de08b24da3f660e77761dfb974b",15"startTime": 1770385909974,16"endTime": 177038690997417})1819回應 = https.請求(請求)20puts 回應。read_body21