⚠️Blast API (blastapi.io) ends Oct 31. Migrate to Dwellir and skip Alchemy's expensive compute units.
Switch Today →
Skip to main content

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

NameTypeLocationRequiredDescription
addressstringpathYesPublisher address
module_namestringpathYesModule 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.