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

Modules — View Functions

Overview#

Execute read-only Move view functions without submitting a transaction.

Endpoint#

POST /v1/view

Movement-Specific Notes#

  • Provide the fully-qualified function 0x...::module::fn.

Request#

Body Schema#

{
"function": "0x1::chain_id::get",
"type_arguments": [],
"arguments": []
}

Response#

Success Response (200)#

["0x..."]

Code Examples#

curl -X POST https://api-movement-mainnet.n.dwellir.com/YOUR_API_KEY/v1/view \
-H "Content-Type: application/json" \
-d '{"function":"0x1::chain_id::get","type_arguments":[],"arguments":[]}'