Overview

The Gateway SDK is a TypeScript client for the Radix Gateway API, the HTTP service through which a dApp reads ledger state and submits transactions. It wraps the calls a dApp frontend makes: account balances, component state, entity metadata, transaction status and submission.

npm install @radixdlt/babylon-gateway-api-sdk

Setup

import { GatewayApiClient, RadixNetwork } from '@radixdlt/babylon-gateway-api-sdk'
 
const gatewayApi = GatewayApiClient.initialize({
  networkId: RadixNetwork.Mainnet,  // or RadixNetwork.Stokenet
  applicationName: 'My dApp',
  applicationVersion: '1.0.0',
  applicationDappDefinitionAddress: 'account_rdx...'
})

Given a networkId and no basePath, the SDK connects to the public Gateway at https://mainnet.radixdlt.com, or https://stokenet.radixdlt.com on Stokenet. Pass basePath to point it at another Gateway.

Common Queries

Account Balances

const details = await gatewayApi.state.getEntityDetailsVaultAggregated(
  'account_rdx1c956...'  // account address
)
// details.fungible_resources – token balances
// details.non_fungible_resources – NFT holdings

Component State

const component = await gatewayApi.state.getEntityDetailsVaultAggregated(
  'component_rdx1cp...'  // component address
)
// Read state, vaults, metadata

Entity Metadata

const metadata = await gatewayApi.state.getAllEntityMetadata(
  'resource_rdx1t...'  // any entity address
)
// Returns: name, symbol, description, icon_url, etc.

Transaction Status

const status = await gatewayApi.transaction.getStatus(
  'txid_rdx1...'  // intent hash from sendTransaction
)
// status.intent_status: "CommittedSuccess" | "CommittedFailure" | "Pending" | ...

Historical State

Query state at a specific point in time by passing at_ledger_state:

const historicalDetails = await gatewayApi.state.innerClient.stateEntityDetails({
  stateEntityDetailsRequest: {
    addresses: ['account_rdx1...'],
    at_ledger_state: { state_version: 12345678 }
  }
})

Maintenance Status (checked October 2026)

The SDK and the service it talks to are released separately. The client library has been at 1.10.1 since March 2025. It is a generated client over the Gateway API, and that API has not changed since: on 17 October 2026 the public mainnet Gateway reported its API schema as v1.10.6.

The Gateway service shipped v1.10.7 on 7 September 2026, four days before the Eagle Ray protocol update was enacted on mainnet. Its one code change adds V4 and V5 to SystemVersion, the value the Gateway reads from a node to learn which version of the engine's system logic is running. In the engine's source, V4 belongs to Dugong and V5 to Eagle Ray. Dugong is still listed as in development and has not been enacted, so mainnet went from V3 straight to V5. The public mainnet Gateway runs the v1.10.7 build. The release changes nothing the SDK calls, so dApps need no client update for it.

The Gateway is in maintenance mode, as are the dApp Toolkit and the Radix Wallet: asked in the developers' Telegram group on 7 August 2026 about upcoming releases, the reply was that none are planned for the wallet or the Gateway until the community sets a direction through a proposal. The public Gateway this SDK defaults to has passed from the Radix Foundation to a standalone operation run by the Foundation's former DevOps team, which the Foundation's 28 April 2026 update says is funded through December 2026 while the community decides what follows. The Gateway sits at the top of the Accountability Council's inventory of services a community DAO would need to take over. A dApp that cannot depend on that arrangement can run its own Gateway or use a third-party provider (Radix APIs) and pass its URL as basePath.

Next Steps