Rosetta API

The Rosetta API is a standardized interface for reading Cardano data and constructing transactions. It is GetBlock's core Cardano interface and the recommended path for exchange integrations, because the same request and response shapes work across every Rosetta-enabled chain.

Every endpoint is an HTTP POST whose body carries a network_identifier and endpoint-specific fields. The API has two halves: a Data set for reading chain state, and a Construction set for building, signing, and submitting transactions through an offline-friendly flow.

Base URL

https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

Replace <ACCESS-TOKEN> with the access token from the GetBlock dashboard. The network identifier for mainnet is {"blockchain": "cardano", "network": "mainnet"}.

Data API

EndpointDescription
POST /network/listList supported networks
POST /network/statusCurrent network status and tip
POST /network/optionsVersion and allowed types
POST /blockBlock and its transactions
POST /block/transactionA single transaction from a block
POST /account/balanceAccount balance, ada and native assets
POST /account/coinsUnspent outputs for an address
POST /mempoolTransaction ids in the mempool
POST /mempool/transactionA single mempool transaction

Construction API

The construction endpoints form an ordered flow: derive, preprocess, metadata, payloads, parse, combine, hash, and submit. Only metadata and submit require a live network connection; the rest can run offline.

EndpointDescription
POST /construction/deriveDerive an address from a public key.
POST /construction/preprocessBegin construction from operations.
POST /construction/metadataFetch online construction metadata.
POST /construction/payloadsBuild an unsigned transaction and payloads.
POST /construction/parseParse a transaction back to operations.
POST /construction/combineCombine signatures into a signed transaction.
POST /construction/hashHash a signed transaction.
POST /construction/submitBroadcast a signed transaction.

Support

For technical support and questions:

See Also