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

Transaction Encode — Move REST API

Overview#

Encodes transactions in BCS format for signing/submission.

Endpoint#

POST /v1/transactions/encode_submission

Movement-Specific Notes#

  • Use correct function/module/type arguments for entry functions.

Request#

Body Schema#

{ "sender": "0x...", "payload": { "type": "entry_function_payload", "function": "..." } }

Response#

Success Response (200)#

"0x..." 

Code Examples#

curl -X POST https://api-movement-mainnet.n.dwellir.com/YOUR_API_KEY/v1/transactions/encode_submission \
-H "Content-Type: application/json" \
-d '{"sender":"0x...","payload":{}}'