suix_queryEvents RPC Method
매개변수
query
객체
필수
로딩 중...
EventID
객체
로딩 중...
eventSeq
문자열
로딩 중...
txDigest
문자열
로딩 중...
한도
정수
로딩 중...
descending_order
부울
로딩 중...
반품
결과
객체
로딩 중...
데이터
배열
로딩 중...
id
객체
로딩 중...
txDigest
문자열
로딩 중...
eventSeq
문자열
로딩 중...
packageId
문자열
로딩 중...
transactionModule
문자열
로딩 중...
sender
문자열
로딩 중...
유형
문자열
로딩 중...
parsedJson
객체
로딩 중...
base_asset_quantity_filled
문자열
로딩 중...
base_asset_quantity_remaining
문자열
로딩 중...
is_bid
부울
로딩 중...
maker_address
문자열
로딩 중...
maker_client_order_id
문자열
로딩 중...
maker_rebates
문자열
로딩 중...
order_id
문자열
로딩 중...
original_quantity
문자열
로딩 중...
소유자
문자열
로딩 중...
수량
문자열
로딩 중...
pool_id
문자열
로딩 중...
price
문자열
로딩 중...
taker_address
문자열
로딩 중...
taker_client_order_id
문자열
로딩 중...
taker_commission
문자열
로딩 중...
bcs
문자열
로딩 중...
timestampMs
문자열
로딩 중...
nextCursor
객체
로딩 중...
txDigest
문자열
로딩 중...
eventSeq
문자열
로딩 중...
hasNextPage
부울
로딩 중...
요청
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \2--헤더 'Content-Type: application/json' \3--데이터 '{4"jsonrpc": "2.0",5"id": 1,6"method": "suix_queryEvents",7"params": [8{9"MoveModule": {10"package": "0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",11"module": "deepbook_utils",12"type": "0xdee9::clob_v2::DepositAsset<0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN>"13}14},15null,163,17false18]19}'
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \2--헤더 'Content-Type: application/json' \3--데이터 '{4"jsonrpc": "2.0",5"id": 1,6"method": "suix_queryEvents",7"params": [8{9"MoveModule": {10"package": "0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",11"module": "deepbook_utils",12"type": "0xdee9::clob_v2::DepositAsset<0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN>"13}14},15null,163,17false18]19}'
1const myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34const raw = JSON.stringify({5"jsonrpc": "2.0",6"id": 1,7"method": "suix_queryEvents",8"params": [9{10"MoveModule": {11"package": "0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",12"module": "deepbook_utils",13"type": "0xdee9::clob_v2::DepositAsset<0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN>"14}15},16null,173,18false19]20});2122const requestOptions = {23메서드: "POST",24헤더: myHeaders,25본문: raw,26리디렉션: "팔로우"27};2829fetch("https://docs-demo.sui-mainnet.quiknode.pro/", requestOptions)30.그런 다음((응답) => 응답.text())31.그런 다음((결과) => console.log(result))32.catchcatch ((오류) => console.오류(오류));
1const myHeaders = new Headers();2myHeaders.추가("Content-Type", "application/json");34const raw = JSON.stringify({5"jsonrpc": "2.0",6"id": 1,7"method": "suix_queryEvents",8"params": [9{10"MoveModule": {11"package": "0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",12"module": "deepbook_utils",13"type": "0xdee9::clob_v2::DepositAsset<0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN>"14}15},16null,173,18false19]20});2122const requestOptions = {23메서드: "POST",24헤더: myHeaders,25본문: raw,26리디렉션: "팔로우"27};2829fetch("https://docs-demo.sui-mainnet.quiknode.pro/", requestOptions)30.그런 다음((응답) => 응답.text())31.그런 다음((결과) => console.log(result))32.catchcatch ((오류) => console.오류(오류));
1import 요청2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56페이로드 = json.dumps({7"jsonrpc": "2.0",8"id": 1,9"method": "suix_queryEvents",10"params": [11{12"MoveModule": {13"package": "0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",14"module": "deepbook_utils",15"type": "0xdee9::clob_v2::DepositAsset<0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN>"16}17},18None,193,20틀림21]22})23헤더 = {24'Content-Type': 'application/json'25}2627답변 = 요청.요청("POST", url, 헤더=헤더, 데이터=페이로드)2829인쇄(응답.text)30
1import 요청2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56페이로드 = json.dumps({7"jsonrpc": "2.0",8"id": 1,9"method": "suix_queryEvents",10"params": [11{12"MoveModule": {13"package": "0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",14"module": "deepbook_utils",15"type": "0xdee9::clob_v2::DepositAsset<0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN>"16}17},18None,193,20틀림21]22})23헤더 = {24'Content-Type': 'application/json'25}2627답변 = 요청.요청("POST", url, 헤더=헤더, 데이터=페이로드)2829인쇄(응답.text)30
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(URL)11요청["Content-Type"] = "application/json"12요청.본문 = JSON.dump({13"jsonrpc": "2.0",14"id": 1,15"method": "suix_queryEvents",16"params": [17{18"MoveModule": {19"package": "0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",20"module": "deepbook_utils",21"type": "0xdee9::clob_v2::DepositAsset<0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN>"22}23},24"__RUBY\#%0NULL__",253,26false27]28})2930답변 = https.요청(요청)31응답을 반환합니다.read_body32
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::POST.새(URL)11요청["Content-Type"] = "application/json"12요청.본문 = JSON.dump({13"jsonrpc": "2.0",14"id": 1,15"method": "suix_queryEvents",16"params": [17{18"MoveModule": {19"package": "0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",20"module": "deepbook_utils",21"type": "0xdee9::clob_v2::DepositAsset<0x5d4b302506645c37ff133b98c4b50a5ae14841659738d6d733d59d0d217a93bf::coin::COIN>"22}23},24"__RUBY\#%0NULL__",253,26false27]28})2930답변 = https.요청(요청)31응답을 반환합니다.read_body32