sui_getMoveFunctionArgTypes RPC Method
參數
package
字串
必填
載入中...
module
字串
必填
載入中...
function
字串
必填
載入中...
退貨
結果
陣列
載入中...
Pure
字串
載入中...
Object
字串
載入中...
請求
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \2--標頭 'Content-Type: application/json' \3--data '{4"jsonrpc": "2.0",5"id": 1,6"method": "sui_getMoveFunctionArgTypes",7"params": [8"0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",9"deepbook_utils",10"place_market_order_bid"11]12}13'
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \2--標頭 'Content-Type: application/json' \3--data '{4"jsonrpc": "2.0",5"id": 1,6"method": "sui_getMoveFunctionArgTypes",7"params": [8"0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",9"deepbook_utils",10"place_market_order_bid"11]12}13'
1const myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34const raw = JSON.stringify({5"jsonrpc": "2.0",6"id": 1,7"method": "sui_getMoveFunctionArgTypes",8"params": [9"0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",10"deepbook_utils",11"place_market_order_bid"12]13});1415const requestOptions = {16方法: 「POST」,17標題: myHeaders,18正文: 原始,19重定向: 「追蹤」20};2122fetch("https://docs-demo.sui-mainnet.quiknode.pro/", requestOptions)23.接著((回應) => 回應.文字())24.接著((結果) => 控制台.log(結果))25.catch((錯誤) => 控制台.錯誤(錯誤));
1const myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34const raw = JSON.stringify({5"jsonrpc": "2.0",6"id": 1,7"method": "sui_getMoveFunctionArgTypes",8"params": [9"0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",10"deepbook_utils",11"place_market_order_bid"12]13});1415const requestOptions = {16方法: 「POST」,17標題: myHeaders,18正文: 原始,19重定向: 「追蹤」20};2122fetch("https://docs-demo.sui-mainnet.quiknode.pro/", requestOptions)23.接著((回應) => 回應.文字())24.接著((結果) => 控制台.log(結果))25.catch((錯誤) => 控制台.錯誤(錯誤));
1匯入 請求2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56有效載荷 = json.dumps({7"jsonrpc": "2.0",8"id": 1,9"method": "sui_getMoveFunctionArgTypes",10"params": [11"0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",12"deepbook_utils",13"place_market_order_bid"14]15})16標題 = {17「Content-Type」: 'application/json'18}1920回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)2122列印(回應.text)23
1匯入 請求2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56有效載荷 = json.dumps({7"jsonrpc": "2.0",8"id": 1,9"method": "sui_getMoveFunctionArgTypes",10"params": [11"0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",12"deepbook_utils",13"place_market_order_bid"14]15})16標題 = {17「Content-Type」: 'application/json'18}1920回應 = 請求.請求("POST", url, headers=headers, data=有效載荷)2122列印(回應.text)23
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/")67https = 網::HTTP.new(url.主機, url.port)8https.use_ssl = true910請求 = 淨::HTTP::POST.new(網址)11請求["Content-Type"] = "application/json"12請求。正文 = JSON.dump({13"jsonrpc": "2.0",14"id": 1,15"method": "sui_getMoveFunctionArgTypes",16"params": [17"0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",18"deepbook_utils",19"place_market_order_bid"20]21})2223回應 = https.請求(請求)24將回應。read_body25
1需要 "uri"2require "json"3需要 "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/")67https = 網::HTTP.new(url.主機, url.port)8https.use_ssl = true910請求 = 淨::HTTP::POST.new(網址)11請求["Content-Type"] = "application/json"12請求。正文 = JSON.dump({13"jsonrpc": "2.0",14"id": 1,15"method": "sui_getMoveFunctionArgTypes",16"params": [17"0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",18"deepbook_utils",19"place_market_order_bid"20]21})2223回應 = https.請求(請求)24將回應。read_body25