chain.zipper.v1.ZipperService
GetDepositWithdrawConfig
Retrieve the supported chains and unified assets used by deposit/withdraw UI flows.
Request
curl --request POST \ \
--url 'https://api.testnet.polyester.com/chain.zipper.v1.ZipperService/GetDepositWithdrawConfig' \
--header 'Content-Type: application/json' \
--header 'Connect-Protocol-Version: 1' \
--data '{}'Responses
{
"assets": [
{
"asset": "USDT",
"icon": "💰",
"ledgerId": 1,
"name": "Tether USD",
"quantityDisplayDecimals": 8,
"quantityScale": 8,
"uAssetId": "100",
"variants": [
{
"chainId": 1,
"depositMinAmount": "123.45",
"isNativeAsset": false,
"networkFee": "0.001",
"sourceAddress": "0x4444444444444444444444444444444444444444",
"sourceDecimals": 1,
"supplyQ": "1",
"withdrawMinAmount": "123.45",
"zippedAssetId": 100,
"ztokenAddress": "0x6666666666666666666666666666666666666666",
"ztokenDecimals": 1
}
]
}
],
"chains": [
{
"chainId": 1,
"code": "ETH",
"confirmationTimeSeconds": 1,
"explorerUrl": "https://etherscan.io",
"icon": "💰",
"isCaseSensitive": false,
"maxAddressLength": 1,
"minAddressLength": 1,
"name": "Ethereum",
"nativeChainId": "1",
"nativeCurrencySymbol": "ETH",
"requiredConfirmations": 1
}
],
"contracts": [
{
"address": "0x3333333333333333333333333333333333333333",
"description": "Trading account gateway contract.",
"name": "TradingGateway",
"type": "TRADING_GATEWAY",
"version": 1
}
],
"tsSec": "1735689600"
}chain.zipper.v1.GetDepositWithdrawConfigRequestchain.zipper.v1.GetDepositWithdrawConfigResponsePolyChain-registered chain id used across Zipper and lifecycle events.
Stable machine-friendly chain key (for example: "ethereum", "solana").
Human-friendly display name.
Native source-chain network identifier when useful for wallet or explorer integrations. For EVM chains this is the EIP-155 chain id; non-EVM chains may omit this and should be identified by `chain_id` and `code`.
Native gas token symbol for this chain (for example: ETH, BTC, SOL).
Optional block explorer base URL for links.
Optional icon reference for UI display.
Default required source-chain confirmations when known.
Estimated average confirmation time in seconds when known.
True when source-chain addresses must preserve letter case.
Inclusive minimum source-chain address length for validation.
Inclusive maximum source-chain address length for validation.
Unified Polyester asset code used inside Funding/Trading (for example: "USDT").
Public unified asset id.
Human-friendly unified asset display name.
Optional icon reference for the unified asset.
Integer scale for unified-asset quantities (0..18). A scale of 8 means one whole asset is represented as 100000000 in supply_q and other quantity_scale-based fields.
UI display precision for the unified asset.
Canonical zipped asset route id.
Chain that this asset belongs to.
True when the asset is the native gas/token of the source chain.
Latest known network fee for this chain asset variant as a human-readable string in zToken units, with insignificant trailing zeroes trimmed.
Polyester zToken contract address for this chain asset variant.
Source-chain token contract, mint, or native sentinel address.
Source-chain token decimals.
zToken decimals on Polyester chain.
Minimum deposit amount for this variant as a human-readable string in zToken units.
Minimum withdraw amount for this variant as a human-readable string in zToken units.
Latest zToken supply for this chain asset variant, scaled by the parent unified asset's quantity_scale. Decode: supply_q / 10^quantity_scale.
On-chain uAsset id for the unified asset.
Snapshot generation timestamp (seconds since epoch, UTC).
Stable contract key for client lookups.
EVM contract address on Polyester chain.
Optional product-facing contract category, when known.
Optional human-readable description.
Active contract version for this name. Versions increase when the address changes, allowing clients to identify the exact contract revision in use.
| Key | HTTP status | Connect code | Error | When |
|---|---|---|---|---|
| unauthenticated | 401 | unauthenticated | Unauthenticated | Authentication required. |
| permission-denied | 403 | permission_denied | Permission Denied | Permission denied. |
| invalid-argument | 400 | invalid_argument | Invalid Argument | Invalid argument. |
| not-found | 404 | not_found | Not Found | Not found. |
| unavailable | 503 | unavailable | Unavailable | Service unavailable. |