Parameters
package
string
REQUIRED
The address of the package on the Sui blockchain containing the module
module
string
REQUIRED
The name of the module containing the Move function
function
string
REQUIRED
The name of the Move function whose argument types are being queried
Returns
result
array
Serialized Move function argument types. Each element is either a plain type name string (for example Pure or U64) or a one-key object tagging a nested type (for example Object or MutableReference).
Request
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \2--header '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--header '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.append("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 = {16method: "POST",17headers: myHeaders,18body: raw,19redirect: "follow"20};2122fetch("https://docs-demo.sui-mainnet.quiknode.pro/", requestOptions)23.then((response) => response.text())24.then((result) => console.log(result))25.catch((error) => console.error(error));
1const myHeaders = new Headers();2myHeaders.append("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 = {16method: "POST",17headers: myHeaders,18body: raw,19redirect: "follow"20};2122fetch("https://docs-demo.sui-mainnet.quiknode.pro/", requestOptions)23.then((response) => response.text())24.then((result) => console.log(result))25.catch((error) => console.error(error));
1import requests2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56payload = 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})16headers = {17'Content-Type': 'application/json'18}1920response = requests.request("POST", url, headers=headers, data=payload)2122print(response.text)23
1import requests2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56payload = 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})16headers = {17'Content-Type': 'application/json'18}1920response = requests.request("POST", url, headers=headers, data=payload)2122print(response.text)23
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.host, url.port)8https.use_ssl = true910request = Net::HTTP::Post.new(url)11request["Content-Type"] = "application/json"12request.body = 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})2223response = https.request(request)24puts response.read_body25
1require "uri"2require "json"3require "net/http"45url = URI("https://docs-demo.sui-mainnet.quiknode.pro/")67https = Net::HTTP.new(url.host, url.port)8https.use_ssl = true910request = Net::HTTP::Post.new(url)11request["Content-Type"] = "application/json"12request.body = 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})2223response = https.request(request)24puts response.read_body25
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free