Skip to content

feat(api): support native asset metadata - #176

Draft
Qumeric wants to merge 1 commit into
elliottech:mainfrom
Qumeric:codex/native-asset-metadata
Draft

Qumeric wants to merge 1 commit into
elliottech:mainfrom
Qumeric:codex/native-asset-metadata

Conversation

@Qumeric

@Qumeric Qumeric commented Sep 17, 2026

Copy link
Copy Markdown

Asset responses can omit l1_decimals when the asset originates on Core or EVM. Make that field optional and expose evm_decimals, canonical_domain, and evm_token as typed fields. Keep the new fields optional so existing API responses remain supported, and preserve zero decimals as distinct from missing metadata.

Update the OpenAPI schema and regenerate the Asset model and documentation with OpenAPI Generator 7.7.0. Preserve the SDK's existing model_construct HTTP deserialization behavior. Add response-decoding coverage for legacy L1, L1 with an EVM wrapper, Core-native, EVM-native, and zero-decimal EVM assets.

This draft prepares the client for the corresponding API rollout; it does not change transaction signing.

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.

1 participant