Skip to content

Conversation

@TarikGul
Copy link
Member

Summary

Adds useRcBlockFormat query parameter to control response format when using useRcBlock=true.

  • array (default): Returns existing array format
  • object: Wraps response with rcBlock info and parachainDataPerBlock array

Example

GET /accounts/{accountId}/balance-info?at=1000000&useRcBlock=true&useRcBlockFormat=object

Returns:

{
  "rcBlock": {
    "hash": "0x...",
    "parentHash": "0x...",
    "number": "1000000"
  },
  "parachainDataPerBlock": [...]
}

@TarikGul TarikGul requested a review from a team as a code owner January 10, 2026 15:41
@TarikGul
Copy link
Member Author

closes: #1821

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants