{"openapi":"3.1.0","info":{"title":"Sui Modules API","version":"1.0.0","description":"Inspect the Move smart-contract code published in any Sui package, live from a public Sui fullnode JSON-RPC — no key. Sui contracts are published as packages of Move modules; this reads their normalized ABI: list every module in a package, read a module's exposed functions (visibility, entry flag, type parameters with their abilities, parameter and return type tags) and struct definitions, or drill straight into a single function's signature. Unlike object- and coin-readers, this exposes the callable interface itself — exactly what a Sui package lets you do — the layer Sui wallets, explorers, programmable-transaction-block builders and SDK and binding generators need before they can construct a transaction. Reads straight from the chain; live, short cache only.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/suimodules-api","description":"oanor gateway"}],"tags":[{"name":"Modules"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/function":{"get":{"operationId":"get_v1_function","tags":["Modules"],"summary":"A single Move function's normalized signature","description":"","parameters":[{"name":"package","in":"query","required":true,"description":"Sui package address","schema":{"type":"string"},"example":"0x2"},{"name":"module","in":"query","required":true,"description":"Module name","schema":{"type":"string"},"example":"coin"},{"name":"function","in":"query","required":true,"description":"Function name","schema":{"type":"string"},"example":"value"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"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}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/module":{"get":{"operationId":"get_v1_module","tags":["Modules"],"summary":"Normalized ABI of one Move module: functions + structs","description":"","parameters":[{"name":"package","in":"query","required":true,"description":"Sui package address (0x2 or full address)","schema":{"type":"string"},"example":"0x2"},{"name":"module","in":"query","required":true,"description":"Module name","schema":{"type":"string"},"example":"coin"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Normalized ABI of the Move module: exposed functions (visibility, entry flag, type parameters, parameter and return type tags) and struct definitions.","module":"coin","source":"Sui fullnode JSON-RPC","friends":[{"name":"coin_registry","address":"0x2"}],"package":"0x2","structs":[{"name":"Coin","fields":[{"name":"id","type":{"Struct":{"name":"UID","module":"object","address":"0x2","typeArguments":[]}}},{"name":"balance","type":{"Struct":{"name":"Balance","module":"balance","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"abilities":["Store","Key"],"type_parameters":1},{"name":"CoinMetadata","fields":[{"name":"id","type":{"Struct":{"name":"UID","module":"object","address":"0x2","typeArguments":[]}}},{"name":"decimals","type":"U8"},{"name":"name","type":{"Struct":{"name":"String","module":"string","address":"0x1","typeArguments":[]}}},{"name":"symbol","type":{"Struct":{"name":"String","module":"ascii","address":"0x1","typeArguments":[]}}},{"name":"description","type":{"Struct":{"name":"String","module":"string","address":"0x1","typeArguments":[]}}},{"name":"icon_url","type":{"Struct":{"name":"Option","module":"option","address":"0x1","typeArguments":[{"Struct":{"name":"Url","module":"url","address":"0x2","typeArguments":[]}}]}}}],"abilities":["Store","Key"],"type_parameters":1},{"name":"CurrencyCreated","fields":[{"name":"decimals","type":"U8"}],"abilities":["Copy","Drop"],"type_parameters":1},{"name":"DenyCap","fields":[{"name":"id","type":{"Struct":{"name":"UID","module":"object","address":"0x2","typeArguments":[]}}}],"abilities":["Store","Key"],"type_parameters":1},{"name":"DenyCapV2","fields":[{"name":"id","type":{"Struct":{"name":"UID","module":"object","address":"0x2","typeArguments":[]}}},{"name":"allow_global_pause","type":"Bool"}],"abilities":["Store","Key"],"type_parameters":1},{"name":"RegulatedCoinMetadata","fields":[{"name":"id","type":{"Struct":{"name":"UID","module":"object","address":"0x2","typeArguments":[]}}},{"name":"coin_metadata_object","type":{"Struct":{"name":"ID","module":"object","address":"0x2","typeArguments":[]}}},{"name":"deny_cap_object","type":{"Struct":{"name":"ID","module":"object","address":"0x2","typeArguments":[]}}}],"abilities":["Key"],"type_parameters":1},{"name":"TreasuryCap","fields":[{"name":"id","type":{"Struct":{"name":"UID","module":"object","address":"0x2","typeArguments":[]}}},{"name":"total_supply","type":{"Struct":{"name":"Supply","module":"balance","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"abilities":["Store","Key"],"type_parameters":1}],"struct_count":7,"function_count":54,"exposed_functions":[{"name":"allow_global_pause","return":["Bool"],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"DenyCapV2","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"visibility":"Friend","type_parameters":[{"abilities":[]}]},{"name":"balance","return":[{"Reference":{"Struct":{"name":"Balance","module":"balance","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"balance_mut","return":[{"MutableReference":{"Struct":{"name":"Balance","module":"balance","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"burn","return":["U64"],"is_entry":true,"parameters":[{"MutableReference":{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"create_currency","return":[{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":[{"TypeParameter":0},"U8",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"name":"Option","module":"option","address":"0x1","typeArguments":[{"Struct":{"name":"Url","module":"url","address":"0x2","typeArguments":[]}}]}},{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":["Drop"]}]},{"name":"create_regulated_currency","return":[{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"name":"DenyCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":[{"TypeParameter":0},"U8",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"name":"Option","module":"option","address":"0x1","typeArguments":[{"Struct":{"name":"Url","module":"url","address":"0x2","typeArguments":[]}}]}},{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":["Drop"]}]},{"name":"create_regulated_currency_v2","return":[{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"name":"DenyCapV2","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}},{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":[{"TypeParameter":0},"U8",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"name":"Option","module":"option","address":"0x1","typeArguments":[{"Struct":{"name":"Url","module":"url","address":"0x2","typeArguments":[]}}]}},"Bool",{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":["Drop"]}]},{"name":"deny_cap_id","return":[{"Struct":{"name":"ID","module":"object","address":"0x2","typeArguments":[]}}],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"RegulatedCoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"visibility":"Friend","type_parameters":[{"abilities":[]}]},{"name":"deny_list_add","return":[],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"DenyList","module":"deny_list","address":"0x2","typeArguments":[]}}},{"MutableReference":{"Struct":{"name":"DenyCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},"Address",{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"deny_list_contains","return":["Bool"],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"DenyList","module":"deny_list","address":"0x2","typeArguments":[]}}},"Address"],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"deny_list_remove","return":[],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"DenyList","module":"deny_list","address":"0x2","typeArguments":[]}}},{"MutableReference":{"Struct":{"name":"DenyCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},"Address",{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"deny_list_v2_add","return":[],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"DenyList","module":"deny_list","address":"0x2","typeArguments":[]}}},{"MutableReference":{"Struct":{"name":"DenyCapV2","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},"Address",{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"deny_list_v2_contains_current_epoch","return":["Bool"],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"DenyList","module":"deny_list","address":"0x2","typeArguments":[]}}},"Address",{"Reference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"deny_list_v2_contains_next_epoch","return":["Bool"],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"DenyList","module":"deny_list","address":"0x2","typeArguments":[]}}},"Address"],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"deny_list_v2_disable_global_pause","return":[],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"DenyList","module":"deny_list","address":"0x2","typeArguments":[]}}},{"MutableReference":{"Struct":{"name":"DenyCapV2","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"deny_list_v2_enable_global_pause","return":[],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"DenyList","module":"deny_list","address":"0x2","typeArguments":[]}}},{"MutableReference":{"Struct":{"name":"DenyCapV2","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"deny_list_v2_is_global_pause_enabled_current_epoch","return":["Bool"],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"DenyList","module":"deny_list","address":"0x2","typeArguments":[]}}},{"Reference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"deny_list_v2_is_global_pause_enabled_next_epoch","return":["Bool"],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"DenyList","module":"deny_list","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"deny_list_v2_remove","return":[],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"DenyList","module":"deny_list","address":"0x2","typeArguments":[]}}},{"MutableReference":{"Struct":{"name":"DenyCapV2","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},"Address",{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"destroy_metadata","return":[],"is_entry":false,"parameters":[{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"visibility":"Friend","type_parameters":[{"abilities":[]}]},{"name":"destroy_zero","return":[],"is_entry":false,"parameters":[{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"divide_into_n","return":[{"Vector":{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"from_balance","return":[{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":[{"Struct":{"name":"Balance","module":"balance","address":"0x2","typeArguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"get_decimals","return":["U8"],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"get_description","return":[{"Struct":{"name":"String","module":"string","address":"0x1","typeArguments":[]}}],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"get_icon_url","return":[{"Struct":{"name":"Option","module":"option","address":"0x1","typeArguments":[{"Struct":{"name":"Url","module":"url","address":"0x2","typeArguments":[]}}]}}],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"get_name","return":[{"Struct":{"name":"String","module":"string","address":"0x1","typeArguments":[]}}],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"get_symbol","return":[{"Struct":{"name":"String","module":"ascii","address":"0x1","typeArguments":[]}}],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"into_balance","return":[{"Struct":{"name":"Balance","module":"balance","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":[{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"join","return":[],"is_entry":true,"parameters":[{"MutableReference":{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"migrate_regulated_currency_to_v2","return":[{"Struct":{"name":"DenyCapV2","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"DenyList","module":"deny_list","address":"0x2","typeArguments":[]}}},{"Struct":{"name":"DenyCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}},"Bool",{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"mint","return":[{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"mint_and_transfer","return":[],"is_entry":true,"parameters":[{"MutableReference":{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},"U64","Address",{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"mint_balance","return":[{"Struct":{"name":"Balance","module":"balance","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},"U64"],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"new_coin_metadata","return":[{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":["U8",{"Struct":{"name":"String","module":"string","address":"0x1","typeArguments":[]}},{"Struct":{"name":"String","module":"ascii","address":"0x1","typeArguments":[]}},{"Struct":{"name":"String","module":"string","address":"0x1","typeArguments":[]}},{"Struct":{"name":"String","module":"ascii","address":"0x1","typeArguments":[]}},{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Friend","type_parameters":[{"abilities":[]}]},{"name":"new_deny_cap_v2","return":[{"Struct":{"name":"DenyCapV2","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":["Bool",{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Friend","type_parameters":[{"abilities":[]}]},{"name":"new_treasury_cap","return":[{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Friend","type_parameters":[{"abilities":[]}]},{"name":"put","return":[],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"Balance","module":"balance","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"redeem_funds","return":[{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":[{"Struct":{"name":"Withdrawal","module":"funds_accumulator","address":"0x2","typeArguments":[{"Struct":{"name":"Balance","module":"balance","address":"0x2","typeArguments":[{"TypeParameter":0}]}}]}},{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"send_funds","return":[],"is_entry":false,"parameters":[{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}},"Address"],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"split","return":[{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"supply","return":[{"Reference":{"Struct":{"name":"Supply","module":"balance","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"supply_immut","return":[{"Reference":{"Struct":{"name":"Supply","module":"balance","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"supply_mut","return":[{"MutableReference":{"Struct":{"name":"Supply","module":"balance","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"take","return":[{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"Balance","module":"balance","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"total_supply","return":["U64"],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"treasury_into_supply","return":[{"Struct":{"name":"Supply","module":"balance","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":[{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"update_coin_metadata","return":[],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"name":"String","module":"string","address":"0x1","typeArguments":[]}},{"Struct":{"name":"String","module":"ascii","address":"0x1","typeArguments":[]}},{"Struct":{"name":"String","module":"string","address":"0x1","typeArguments":[]}},{"Struct":{"name":"String","module":"ascii","address":"0x1","typeArguments":[]}}],"visibility":"Friend","type_parameters":[{"abilities":[]}]},{"name":"update_description","return":[],"is_entry":true,"parameters":[{"Reference":{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"name":"String","module":"string","address":"0x1","typeArguments":[]}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"update_icon_url","return":[],"is_entry":true,"parameters":[{"Reference":{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"name":"String","module":"ascii","address":"0x1","typeArguments":[]}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"update_name","return":[],"is_entry":true,"parameters":[{"Reference":{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"name":"String","module":"string","address":"0x1","typeArguments":[]}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"update_symbol","return":[],"is_entry":true,"parameters":[{"Reference":{"Struct":{"name":"TreasuryCap","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"name":"CoinMetadata","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}},{"Struct":{"name":"String","module":"ascii","address":"0x1","typeArguments":[]}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"value","return":["U64"],"is_entry":false,"parameters":[{"Reference":{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]},{"name":"zero","return":[{"Struct":{"name":"Coin","module":"coin","address":"0x2","typeArguments":[{"TypeParameter":0}]}}],"is_entry":false,"parameters":[{"MutableReference":{"Struct":{"name":"TxContext","module":"tx_context","address":"0x2","typeArguments":[]}}}],"visibility":"Public","type_parameters":[{"abilities":[]}]}],"file_format_version":7},"meta":{"timestamp":"2026-06-14T08:04:06.431Z","request_id":"1e8ab342-7198-4f79-86a4-247b6d40d85e"},"status":"ok","message":"Module retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/package":{"get":{"operationId":"get_v1_package","tags":["Modules"],"summary":"List the Move modules in a package with function/struct counts","description":"","parameters":[{"name":"package","in":"query","required":true,"description":"Sui package address","schema":{"type":"string"},"example":"0x2"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Move modules published in this Sui package, each with its exposed-function and struct counts. Use /v1/module?module=<n> for a module's ABI.","count":65,"source":"Sui fullnode JSON-RPC","modules":[{"name":"accumulator","entry_count":0,"public_count":0,"struct_count":3,"function_count":17},{"name":"accumulator_metadata","entry_count":0,"public_count":0,"struct_count":5,"function_count":0},{"name":"accumulator_settlement","entry_count":0,"public_count":0,"struct_count":1,"function_count":0},{"name":"address","entry_count":0,"public_count":9,"struct_count":0,"function_count":9},{"name":"address_alias","entry_count":4,"public_count":0,"struct_count":3,"function_count":4},{"name":"authenticator_state","entry_count":0,"public_count":0,"struct_count":5,"function_count":0},{"name":"bag","entry_count":0,"public_count":10,"struct_count":1,"function_count":10},{"name":"balance","entry_count":0,"public_count":14,"struct_count":2,"function_count":16},{"name":"bcs","entry_count":0,"public_count":30,"struct_count":1,"function_count":30},{"name":"bls12381","entry_count":0,"public_count":43,"struct_count":5,"function_count":43},{"name":"borrow","entry_count":0,"public_count":4,"struct_count":2,"function_count":4},{"name":"clock","entry_count":0,"public_count":1,"struct_count":1,"function_count":1},{"name":"coin","entry_count":7,"public_count":47,"struct_count":7,"function_count":54},{"name":"coin_registry","entry_count":0,"public_count":40,"struct_count":8,"function_count":40},{"name":"config","entry_count":0,"public_count":0,"struct_count":3,"function_count":10},{"name":"deny_list","entry_count":0,"public_count":0,"struct_count":7,"function_count":12},{"name":"derived_object","entry_count":0,"public_count":3,"struct_count":2,"function_count":3},{"name":"display","entry_count":6,"public_count":11,"struct_count":3,"function_count":12},{"name":"display_registry","entry_count":2,"public_count":13,"struct_count":5,"function_count":16},{"name":"dynamic_field","entry_count":0,"public_count":10,"struct_count":1,"function_count":19},{"name":"dynamic_object_field","entry_count":0,"public_count":10,"struct_count":1,"function_count":15},{"name":"ecdsa_k1","entry_count":0,"public_count":3,"struct_count":0,"function_count":3},{"name":"ecdsa_r1","entry_count":0,"public_count":2,"struct_count":0,"function_count":2},{"name":"ecvrf","entry_count":0,"public_count":1,"struct_count":0,"function_count":1},{"name":"ed25519","entry_count":0,"public_count":1,"struct_count":0,"function_count":1},{"name":"event","entry_count":0,"public_count":2,"struct_count":0,"function_count":2},{"name":"funds_accumulator","entry_count":0,"public_count":4,"struct_count":1,"function_count":8},{"name":"groth16","entry_count":0,"public_count":8,"struct_count":4,"function_count":8},{"name":"group_ops","entry_count":0,"public_count":2,"struct_count":1,"function_count":13},{"name":"hash","entry_count":0,"public_count":2,"struct_count":0,"function_count":2},{"name":"hex","entry_count":0,"public_count":2,"struct_count":0,"function_count":2},{"name":"hmac","entry_count":0,"public_count":1,"struct_count":0,"function_count":1},{"name":"kiosk","entry_count":1,"public_count":37,"struct_count":10,"function_count":41},{"name":"kiosk_extension","entry_count":0,"public_count":12,"struct_count":2,"function_count":12},{"name":"linked_table","entry_count":0,"public_count":17,"struct_count":2,"function_count":17},{"name":"math","entry_count":0,"public_count":7,"struct_count":0,"function_count":7},{"name":"nitro_attestation","entry_count":1,"public_count":9,"struct_count":2,"function_count":10},{"name":"object","entry_count":0,"public_count":14,"struct_count":2,"function_count":26},{"name":"object_bag","entry_count":0,"public_count":11,"struct_count":1,"function_count":11},{"name":"object_table","entry_count":0,"public_count":10,"struct_count":1,"function_count":10},{"name":"package","entry_count":3,"public_count":23,"struct_count":4,"function_count":23},{"name":"party","entry_count":0,"public_count":1,"struct_count":2,"function_count":3},{"name":"pay","entry_count":7,"public_count":8,"struct_count":0,"function_count":8},{"name":"poseidon","entry_count":0,"public_count":1,"struct_count":0,"function_count":1},{"name":"priority_queue","entry_count":0,"public_count":6,"struct_count":2,"function_count":6},{"name":"protocol_config","entry_count":0,"public_count":0,"struct_count":0,"function_count":1},{"name":"prover","entry_count":0,"public_count":0,"struct_count":0,"function_count":0},{"name":"random","entry_count":0,"public_count":15,"struct_count":3,"function_count":15},{"name":"rangeproofs","entry_count":0,"public_count":1,"struct_count":0,"function_count":1},{"name":"ristretto255","entry_count":0,"public_count":18,"struct_count":2,"function_count":18},{"name":"sui","entry_count":1,"public_count":1,"struct_count":1,"function_count":1},{"name":"table","entry_count":0,"public_count":10,"struct_count":1,"function_count":10},{"name":"table_vec","entry_count":0,"public_count":12,"struct_count":1,"function_count":12},{"name":"token","entry_count":0,"public_count":44,"struct_count":6,"function_count":44},{"name":"transfer","entry_count":0,"public_count":11,"struct_count":1,"function_count":15},{"name":"transfer_policy","entry_count":1,"public_count":17,"struct_count":6,"function_count":18},{"name":"tx_context","entry_count":0,"public_count":8,"struct_count":1,"function_count":8},{"name":"types","entry_count":0,"public_count":1,"struct_count":0,"function_count":1},{"name":"url","entry_count":0,"public_count":4,"struct_count":1,"function_count":4},{"name":"vdf","entry_count":0,"public_count":2,"struct_count":0,"function_count":2},{"name":"vec_map","entry_count":0,"public_count":20,"struct_count":2,"function_count":20},{"name":"vec_set","entry_count":0,"public_count":11,"struct_count":1,"function_count":11},{"name":"versioned","entry_count":0,"public_count":7,"struct_count":2,"function_count":7},{"name":"zklogin_verified_id","entry_count":0,"public_count":8,"struct_count":1,"function_count":8},{"name":"zklogin_verified_issuer","entry_count":0,"public_count":5,"struct_count":1,"function_count":5}],"package":"0x2"},"meta":{"timestamp":"2026-06-14T08:04:06.885Z","request_id":"8769e084-3c95-46b5-8bba-945849148e67"},"status":"ok","message":"Package retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Service metadata & live sample","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"sample":{"modules":65,"package":"0x2"},"source":"public Sui fullnode JSON-RPC (sui_getNormalizedMoveModulesByPackage / ...Module / ...Function), keyless","service":"suimodules-api","endpoints":{"GET /v1/meta":"This document.","GET /v1/module":"Normalized ABI of one module: functions + structs (package=0x2, module=coin).","GET /v1/package":"List the Move modules in a package with function/struct counts (package=0x2).","GET /v1/function":"A single function's normalized signature (package=0x2, module=coin, function=value)."},"description":"Inspect the Move code published in any Sui package, live from a public Sui fullnode JSON-RPC. List a package's modules, read a module's normalized ABI (exposed functions with visibility/entry/type-params/params/returns + structs), or drill into a single function. The callable-interface layer for Sui wallets, explorers and SDK generators. Live, short cache only.","upstream_status":"ok"},"meta":{"timestamp":"2026-06-14T08:04:06.989Z","request_id":"426ec9bc-7dfd-4385-8825-858706a026e1"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":6400,"rps_limit":3,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":1030,"monthly_call_quota":124000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3300,"monthly_call_quota":770000,"rps_limit":20,"hard_limit":true},{"slug":"business","name":"Business","price_cents_month":9100,"monthly_call_quota":4850000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/suimodules-api"}