Movement

Movement is a Move-based Layer-1 network that runs the MoveVM with an Aptos-compatible execution layer. State is modeled as Move resources stored under accounts, smart contracts are written in Move, and the native token is MOVE, denominated in Octas (1 MOVE = 100,000,000 Octas). GetBlock exposes Movement through its Aptos-compatible REST API: a path-addressed HTTP + JSON interface under /v1 where reads use GET and transaction submission, simulation, and view calls use POST.

Key Features

  • MoveVM + Resources: State is typed Move resources owned by accounts, not account balances in a single trie
  • Aptos-Compatible REST: A path-addressed /v1 HTTP API — not a JSON-RPC envelope and not eth_*
  • MOVE / Octas: Balances and gas are denominated in Octas (1 MOVE = 100,000,000 Octas)
  • Versions & Blocks: Chain progress is tracked by ledger version and block height
  • Move Modules: Published modules expose entry functions and read-only view functions
  • Build-Sign-Submit: Encode a signing message, sign it, and submit the signed transaction

TECHNICAL DISCLAIMER: AUTHORITATIVE REST API SPECIFICATION.

GetBlock's API reference documentation is provided exclusively for informational purposes and to optimize the developer experience. Movement's node API is Aptos-compatible; the canonical specification is the Aptos Node REST API, and Movement-specific guidance is published at docs.movementnetwork.xyz. This reference documents the Move Layer-1 REST API; a separate EVM interface, if offered, would be documented on its own.

Network Information

PropertyValue
Network NameMovement Mainnet
Chain ID126
Native CurrencyMOVE (1 MOVE = 100,000,000 Octas)
ProtocolMoveVM (Aptos-compatible)
Contract LanguageMove
APIAptos-compatible REST (HTTP + JSON) under /v1

Base URL

https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/
https://shared.us-east-1.getblock.io/<ACCESS-TOKEN>/
https://shared.ap-southeast-1.getblock.io/<ACCESS-TOKEN>/

Quickstart

  1. Setup project

    bashmkdir move-api-quickstart && cd move-api-quickstart  && npm init --yes
  2. Install dependency

    bashnpm install axios
  3. Add code

    index.js

    javascriptconst axios = require('axios');
    
    let config = {
      method: 'get',
      maxBodyLength: Infinity,
      url: 'https://shared.eu-central-1.getblock.io/<ACCESS_TOKEN>/v1/accounts/0x1/events/0?start=0&limit=25',
      headers: { 
        'Accept': 'application/json'
      }
    };
    
    axios.request(config)
    .then((response) => {
      console.log(JSON.stringify(response.data));
    })
    .catch((error) => {
      console.log(error);
    });
    
  4. Run the script

    bashnode index.js
  5. Response

    bash[
        {
            "version": "154711",
            "guid": {
                "creation_number": "0",
                "account_address": "0x1"
            },
            "sequence_number": "0",
            "type": "0x1::account::CoinRegisterEvent",
            "data": {
                "type_info": {
                    "account_address": "0x327aab82300f1f7806de9dee47d0f8f553b0c8e0acb2203f38f4e3f4d97d099a",
                    "module_name": "0x73776170",
                    "struct_name": "0x4c50546f6b656e3c3078313a3a6170746f735f636f696e3a3a4170746f73436f696e2c203078613965333930323663346137393330373862656332646461303563306434366131643936313134356433643636366562363364313530666466343462366363663a3a746573745f636f696e3a3a54657374436f696e3e"
                }
            }
        },
        {
            "version": "154983",
            "guid": {
                "creation_number": "0",
                "account_address": "0x1"
            },
            "sequence_number": "1",
            "type": "0x1::account::CoinRegisterEvent",
            "data": {
                "type_info": {
                    "account_address": "0x1",
                    "module_name": "0x6170746f735f636f696e",
                    "struct_name": "0x4170746f73436f696e"
                }
            }
        }
    ]
  1. Setup project

    bashmkdir move-api-quickstart && cd move-api-quickstart
    python -m venv venv && source venv/bin/activate
  2. Install dependency

    bashpip install requests
  3. Add code

    main.py

    pythonimport requests
    
    url = "https://shared.eu-central-1.getblock.io/<ACCESS_TOKEN>/v1/accounts/0x1/events/0?start=0&limit=25"
    
    payload = {}
    headers = {
      'Accept': 'application/json'
    }
    
    response = requests.request("GET", url, headers=headers, data=payload)
    
    print(response.text)
    
  4. Run the script

    bashpython main.py

Available REST Endpoints

Ledger & Node

EndpointMethodDescription
ledger-infoGETReturns the current ledger information for the node: chain ID, current epoch, ledger version, oldest retained version, and current block height
healthyGETReturns a health check for the node
spec (dedicated)GETReturns the node's own OpenAPI specification
estimate-gas-priceGETReturns the network's current gas unit price estimate, with deprioritized and prioritized tiers, so a client can set a competitive gas_unit_price

Accounts

EndpointMethodDescription
accountGETReturns the core on-chain data of an account: its current sequence number (used as the nonce for the next transaction) and its authentication key
account-resourcesGETReturns all Move resources stored under an account, each with its fully-qualified type and decoded data — including the coin store that holds the account's MOVE balance
account-resourceGETReturns a single Move resource under an account, addressed by its fully-qualified type
account-modulesGETReturns all Move modules published under an account, each with its bytecode and ABI
account-moduleGETReturns a single Move module published under an account, by module name, with its bytecode and ABI
account-transactionsGETReturns the transactions sent by an account (by its sequence numbers), paginated — an account's outbound transaction history

Blocks

EndpointMethodDescription
block-by-heightGETReturns a block by its height, including its first and last transaction versions, timestamp, and (optionally) the full transactions it contains
block-by-versionGETReturns the block that contains a given ledger (transaction) version

Transactions

EndpointMethodDescription
transactionsGETReturns a paginated list of committed transactions, newest-relative to a starting ledger version, with their payloads, events, and effects
transaction-by-hashGETReturns a single transaction by its hash, including its payload, events, state changes, and VM status
wait-transaction-by-hashGETReturns a transaction by hash, blocking until it is committed (or a timeout)
transaction-by-versionGETReturns a single committed transaction by its ledger version
submit-transactionPOSTSubmits a signed transaction for execution and returns the pending transaction (including its hash)
submit-batch-transactionsPOSTSubmits a batch of signed transactions in one call
simulate-transactionPOSTSimulates a transaction without committing it and returns its predicted effects, gas usage, and success status
encode-submissionPOSTReturns the BCS-encoded signing message for a transaction, the bytes a client signs before submitting

Execution & State

EndpointMethodDescription
view-functionPOSTExecutes a read-only Move view function against the current (or a historical) ledger state and returns its result, without creating a transaction
table-itemPOSTReturns a single item from a Move table by its key
raw-table-itemPOSTReturns a single table item by its raw (BCS-encoded) key — the lower-level counterpart to get table item, used when the key is already serialized

Events

EndpointMethodDescription
events-by-creation-numberGETReturns events from an event stream identified by the account address and the stream's creation number, paginated
events-by-handleGETReturns events from an event handle addressed by the account, the handle's resource struct type, and the field within that struct, paginated

Support

For technical support and questions:

See Also