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#
- cURL
- TypeScript
curl -X GET https://api-movement-mainnet.n.dwellir.com/YOUR_API_KEY/v1/accounts/0x1/module/MyModule \
-H "Accept: application/json"
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);