- Query parameters and response fields use camelCase.
- Path segments use kebab-case nouns.
- Pagination uses
page+pageSizefor numbered pages andcursor+pageSizefor cursor lists.
Compatibility Note
This change is not backward-compatible. Old names are not accepted as aliases.1. Path Rename
The old path returns
404.
2. Pagination Parameters
Endpoints that used
p/ps before the release:
Pagination links returned in responses (for example
pagination.next on the NFT lists,
/marketplace-stats, and /staking/validators) use the new names.
3. Query Parameter Renames
4. Response Field Renames
Every snake_case field below became camelCase by the usual rule:from_address became
fromAddress, block_number became blockNumber, cairo_1_classes became cairo1Classes.
Two renames do not follow the plain rule:
5. Error Responses
Unexpected server errors return a structured JSON body instead of a plain error page. The trace identifier istraceId:
traceId when you contact support about a failed request.
This also applies to contract verification: an unexpected server failure during
POST /class-verify/{hash} now returns 500 with the body above. Before the release it returned
400 with the internal error message.
What Did Not Change
metricsvalues on/daily-statsstay snake_case. Keep sending?metrics=transactions_count; only the response fields are camelCase.executionResourceson/txns/{txnHash}keeps its innerl1_gas,l1_data_gas, andl2_gaskeys, which mirror the Starknet RPC format.- Enum values such as
orderBy=ascortokenType=ERC20are unchanged. - Contract verification (
/class-verify/*) is unchanged.POST /class-verify/{hash},GET /class-verify/job/{job}, andGET /class-verify/check/{hash}keep their snake_case request and response fields (job_id,class_hash,build_tool,trace_id, …), so released voyager-verifier and snforge versions keep working without an upgrade. - Fields that are already camelCase are unchanged.
Migrating
- Rename the query parameters in the tables above.
- Update response parsing for the fields your integration reads.
- Point bridge transaction lookups at
/message/{msgHash}/bridge-transactions. - Confirm that paged requests return the page size you ask for, since an old parameter name fails silently.