/v1/function
A single Move function's normalized signature
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/suimodules-api/v1/function" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/suimodules-api/v1/function", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/suimodules-api/v1/function");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/suimodules-api/v1/function",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"name": "value",
"note": "A single Move function's normalized signature: visibility, entry flag, type parameters (with abilities), parameter type tags and return type tags.",
"module": "coin",
"return": [
"U64"
],
"source": "Sui fullnode JSON-RPC",
"package": "0x2",
"function": "value",
"is_entry": false,
"parameters": [
{
"Reference": {
"Struct": {
"name": "Coin",
"module": "coin",
"address": "0x2",
"typeArguments": [
{
"TypeParameter": 0
}
]
}
}
}
],
"visibility": "Public",
"type_parameters": [
{
"abilities": []
}
]
},
"meta": {
"timestamp": "2026-06-14T08:04:06.230Z",
"request_id": "40cc27a6-1af9-4a1a-aa40-3d0d4f9f6c9a"
},
"status": "ok",
"message": "Function retrieved successfully",
"success": true
}