Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Get Migration ID programmatically?Forum ↗

Get Migration ID programmatically?

App Development2 posts30 views2 likesLast activity Jan 2026
WA
WallaceKellyOP
Jan 2026

How can I programmatically get the Migration ID from my validator node?

WA
WallaceKelly
Jan 2026

The Migration ID is included in the GET response of /v0/scan-proxy/dso of the Scan Proxy API:

curl --silent \
  http://wallet.localhost:2000/api/validator/v0/scan-proxy/dso \
  --header 'Authorization: Bearer eyJhbGciOi...' \
  | jq --raw-output '.sv_node_states[0].contract.payload.state.synchronizerNodes[0][1].sequencer.migrationId'
← Back to Discussions