userTwapSliceFills Info Endpoint Method
매개변수
유형
문자열
필수
로딩 중...
사용자
문자열
필수
로딩 중...
반품
배열
배열
로딩 중...
fill
객체
로딩 중...
시간
정수
로딩 중...
동전
문자열
로딩 중...
측면
문자열
로딩 중...
sz
문자열
로딩 중...
px
문자열
로딩 중...
startPosition
문자열
로딩 중...
dir
문자열
로딩 중...
closedPnl
문자열
로딩 중...
crossed
부울
로딩 중...
해시
문자열
로딩 중...
oid
정수
로딩 중...
수수료
문자열
로딩 중...
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본문: raw,13리디렉션: 'follow'14};1516fetch("https://docs-demo.hype-mainnet.quiknode.pro/evm", requestOptions)17.그런 다음(응답 => response.text())18.그런 다음(결과 => console.log(result))19.catch(오류 => 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본문: raw,13리디렉션: 'follow'14};1516fetch("https://docs-demo.hype-mainnet.quiknode.pro/evm", requestOptions)17.그런 다음(응답 => response.text())18.그런 다음(결과 => console.log(result))19.catch(오류 => console.log('error', error));20
1import 요청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, 헤더=헤더, data=페이로드)1516인쇄(응답.text)17
1import 요청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, 헤더=헤더, 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요청 = 순::HTTP::POST.새(URL)11요청["Content-Type"] = "application/json"12요청.본문 = JSON.dump({13"type": "userTwapSliceFills",14"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"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요청 = 순::HTTP::POST.새(URL)11요청["Content-Type"] = "application/json"12요청.본문 = JSON.dump({13"type": "userTwapSliceFills",14"user": "0x31ca8395cf837de08b24da3f660e77761dfb974b"15})1617답변 = https.요청(요청)18응답을 넣습니다.read_body19