Files
sxchnge/backend/contracts/sendico/models/wallet/wallet_asset.yaml
T

20 lines
682 B
YAML

components:
schemas:
WalletAsset:
description: Canonical managed-wallet asset identified by chain, token symbol, and optional contract address.
type: object
additionalProperties: false
required:
- chain
- tokenSymbol
properties:
chain:
description: Canonical blockchain network for the asset.
$ref: ../../external/chain_network.yaml#/components/schemas/ChainNetwork
tokenSymbol:
description: Upper-case asset symbol.
type: string
contractAddress:
description: Normalized contract address for token assets. Omitted for native assets.
type: string