Modules — ABI
Overview
Retrieve ABI for Move modules, including exposed functions and structs.
Endpoint
GET /v1/accounts/{address}/module/{module_name}
Movement-Specific Notes
- ABI helps construct view and entry function payloads.
Request
Parameters
Name | Type | Location | Required | Description |
---|---|---|---|---|
address | string | path | Yes | Publisher address |
module_name | string | path | Yes | Module name |
Response
Success Response (200)
{ "abi": { "name": "MyModule", "exposed_functions": [] } }
Code Examples
TypeScript
const res = await fetch('https://api-movement-mainnet.n.dwellir.com/YOUR_API_KEY/v1/accounts/0x1/module/MyModule');
const json = await res.json();
console.log(json);
cURL
curl -X GET https://api-movement-mainnet.n.dwellir.com/YOUR_API_KEY/v1/accounts/0x1/module/MyModule \
-H "Accept: application/json"
EVM Equivalent
ABI is off-chain for EVM (JSON files or artifacts), retrieved from explorers or build outputs.