/v1/function
A single Move function's normalized signature
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
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_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"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
}