sui_getNormalizedMoveFunction RPC Method
参数
package
字符串
必填
正在加载...
module
字符串
必填
正在加载...
函数
字符串
必填
正在加载...
退货
结果
对象
正在加载...
visibility
字符串
正在加载...
isEntry
布尔型
正在加载...
typeParameters
数组
正在加载...
abilities
数组
正在加载...
parameters
数组
正在加载...
MutableReference/Reference
对象
正在加载...
Struct
对象
正在加载...
地址
字符串
正在加载...
module
字符串
正在加载...
名称
字符串
正在加载...
typeArguments
数组
正在加载...
TypeParameter
整数
正在加载...
typeIdentifier
字符串
正在加载...
返回
数组
正在加载...
Struct
对象
正在加载...
地址
字符串
正在加载...
module
字符串
正在加载...
名称
字符串
正在加载...
typeArguments
数组
正在加载...
TypeParameter
整数
正在加载...
请求
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_getNormalizedMoveFunction",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_getNormalizedMoveFunction",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_getNormalizedMoveFunction",8“params”: [9"0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",10"deepbook_utils",11"place_market_order_bid"12]13});1415const requestOptions = {16方法: "POST",17标题: myHeaders,18正文: raw,19重定向: "follow"20};2122fetch(“https://docs-demo.sui-mainnet.quiknode.pro/”, requestOptions)23.然后((响应) => 响应.文本())24.然后((结果) => 控制台.log(result))25.catch((error) => 控制台.错误(error));
1const myHeaders = new Headers();2myHeaders.追加("Content-Type", "application/json");34const raw = JSON.stringify({5“jsonrpc”: "2.0",6"id": 1,7"method": "sui_getNormalizedMoveFunction",8“params”: [9"0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",10"deepbook_utils",11"place_market_order_bid"12]13});1415const requestOptions = {16方法: "POST",17标题: myHeaders,18正文: raw,19重定向: "follow"20};2122fetch(“https://docs-demo.sui-mainnet.quiknode.pro/”, requestOptions)23.然后((响应) => 响应.文本())24.然后((结果) => 控制台.log(result))25.catch((error) => 控制台.错误(error));
1导入 请求2import json34url = "https://docs-demo.sui-mainnet.quiknode.pro/"56有效载荷 = json.dumps({7“jsonrpc”: "2.0",8"id": 1,9"method": "sui_getNormalizedMoveFunction",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_getNormalizedMoveFunction",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
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请求 = Net::HTTP::POST.new(url)11请求["Content-Type"] = "application/json"12请求.请求体 = JSON.dump({13“jsonrpc”: "2.0",14"id": 1,15"method": "sui_getNormalizedMoveFunction",16“params”: [17"0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",18"deepbook_utils",19"place_market_order_bid"20]21})2223回复 = https.请求(请求)24返回响应.read_body25
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请求 = Net::HTTP::POST.new(url)11请求["Content-Type"] = "application/json"12请求.请求体 = JSON.dump({13“jsonrpc”: "2.0",14"id": 1,15"method": "sui_getNormalizedMoveFunction",16“params”: [17"0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05",18"deepbook_utils",19"place_market_order_bid"20]21})2223回复 = https.请求(请求)24返回响应.read_body25