For the complete documentation index, see llms.txt. This page is also available as Markdown.

Movement

GetBlock provides fast and reliable access to Movement nodes via JSON-RPC API. Connect to the Movement network without running your own infrastructure.

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

Property
Value

Network Name

Movement Mainnet

Chain ID

126

Native Currency

MOVE (1 MOVE = 100,000,000 Octas)

Protocol

MoveVM (Aptos-compatible)

Contract Language

Move

API

Aptos-compatible REST (HTTP + JSON) under /v1

Base URL

Quickstart

1

Setup project

2

Install dependency

3

Add code

4

Run the script

5

Response

1

Setup project

2

Install dependency

3

Add code

4

Run the script

Available REST Endpoints

Ledger & Node

Endpoint
Method
Description

ledger-info

GET

Returns the current ledger information for the node: chain ID, current epoch, ledger version, oldest retained version, and current block height

healthy

GET

Returns a health check for the node

spec (dedicated)

GET

Returns the node's own OpenAPI specification

estimate-gas-price

GET

Returns the network's current gas unit price estimate, with deprioritized and prioritized tiers, so a client can set a competitive gas_unit_price

Accounts

Endpoint
Method
Description

account

GET

Returns 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-resources

GET

Returns 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-resource

GET

Returns a single Move resource under an account, addressed by its fully-qualified type

account-modules

GET

Returns all Move modules published under an account, each with its bytecode and ABI

account-module

GET

Returns a single Move module published under an account, by module name, with its bytecode and ABI

account-transactions

GET

Returns the transactions sent by an account (by its sequence numbers), paginated — an account's outbound transaction history

Blocks

Endpoint
Method
Description

block-by-height

GET

Returns a block by its height, including its first and last transaction versions, timestamp, and (optionally) the full transactions it contains

block-by-version

GET

Returns the block that contains a given ledger (transaction) version

Transactions

Endpoint
Method
Description

transactions

GET

Returns a paginated list of committed transactions, newest-relative to a starting ledger version, with their payloads, events, and effects

transaction-by-hash

GET

Returns a single transaction by its hash, including its payload, events, state changes, and VM status

wait-transaction-by-hash

GET

Returns a transaction by hash, blocking until it is committed (or a timeout)

transaction-by-version

GET

Returns a single committed transaction by its ledger version

submit-transaction

POST

Submits a signed transaction for execution and returns the pending transaction (including its hash)

submit-batch-transactions

POST

Submits a batch of signed transactions in one call

simulate-transaction

POST

Simulates a transaction without committing it and returns its predicted effects, gas usage, and success status

encode-submission

POST

Returns the BCS-encoded signing message for a transaction, the bytes a client signs before submitting

Execution & State

Endpoint
Method
Description

view-function

POST

Executes a read-only Move view function against the current (or a historical) ledger state and returns its result, without creating a transaction

table-item

POST

Returns a single item from a Move table by its key

raw-table-item

POST

Returns 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

Endpoint
Method
Description

events-by-creation-number

GET

Returns events from an event stream identified by the account address and the stream's creation number, paginated

events-by-handle

GET

Returns 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

Last updated

Was this helpful?