Informational – No action or changes necessary from platforms.
Summary
Zero Hash is excited to expand our support for smart contract calls to include Solana. Previously, Zero Hash supported withdrawals to smart contracts on Ethereum, Polygon, and all EVM-compatible chains.
Action required
No additional action is required. If platforms would like to begin using this feature then they can find further details in the Smart Contracts FAQ.
Endpoints impacted
Withdrawals to smart contracts are invoked via the input_data field when creating a withdrawal request via POST /withdrawals/requests endpoint.
For EVM-compatible chains, the input_data field takes an ABI generated value.
For Solana, the input_data field must be a stringified JSON in the following format:
We have deployed all changes needed in order to support Cardano ($ADA) for settlement and liquidity services in both the certification and production environment. This asset is now fully accessible and does not require any additional adjustments to begin using for purposes of settlement, liquidity, or withdrawal.
Cardano is a decentralized blockchain based on peer-reviewed research and highly secure Haskell coding language.
Asset Details
Name
Symbol
Custody
Liquidity
Environment
Type
Precision
Cardano
ADA
Yes
Yes
Prod
Base
6
Full list of assets supported by Zero Hash can be found here.
Informational – No action or changes necessary from platforms.
Summary
Zero Hash is excited to launch flexible fee payment configurations for platforms enabling on-chain withdrawals and provisioning crypto deposit addresses. This feature allows the platform to select the currency and entity that pays the blockchain network fee associated with the on-chain action where applicable. These payment configurations are:
Platform - Crypto: Network fees are covered from the Platform’s reserves for the applicable network fee asset. This has been the default method when withdrawal and deposit functionality is enabled.
Platform - Fiat: Network fees are covered from the Platform’s fiat reserves for the network fee fiat equivalent. This has been the default method when deposit address functionality is enabled.
Participant (end-customer) - Crypto Additive: Network fees are covered from the participant crypto balances. When processing withdrawals, network fees are added to the requested withdrawal amount.
Participant (end-customer) - Crypto Netted: Network fees are denominated in the asset being withdrawn. Network fees are deducted from the requested withdrawal amount.
Action Required
If platforms have deposit address functionality enabled and are satisfied with their current setup, then no action is required. If platforms do not yet have the functionality to create deposit addresses enabled and wish to do so, then they should reach out to their account team and choose the preferred configuration.
Platforms paying for deposit address creation now have additional options to change the way deposit address creation fees are assessed.
Endpoints Impacted
Deposit Address Creation
When a Participant requests a deposit address to be created, the Platform calls POST /deposits/digital_asset_addresses to create a new digital wallet deposit address for the [asset] and [participant_code] provided.
Configuration 1: Platform pays in crypto (Default)
The default configuration when enabling deposit addresses is for the Platform to pay for deposit address creation fees in crypto. Zero Hash pays the network fee to create the deposit address, assigns the deposit address to the participant, and deducts the crypto from the platform’s crypto wallet.
Configuration 2: Platform pays in fiat (NEW)
Platforms can still pay for the deposit address creation however choose to deduct fiat. Zero Hash pays the network fee to create the deposit address, assigns the deposit address to the participant, and deducts from the platform’s float account.
Configuration 3: Participant pays in crypto (NEW)
Another newly created configuration option is for Platforms to pass responsibility for the deposit address creation fees to the end user. Zero Hash pays the network fee to create the deposit address, assigns the deposit address to the participant, and deducts the fee from the participant’s crypto account for the chosen asset.
Withdrawals
When using the new Fee Payor configuration for withdrawals (Participant (end-customer) - Crypto Netted), Platforms can now use the new withdrawal endpoints that are used to generate and execute the withdrawal locked network fee quote.
Affected Endpoints:
GET /withdrawals/locked_network_fee
POST /withdrawals/execute
To read more about the new withdrawals configuration and endpoint implementation see the article titled “2022-12-15: Netted Withdrawals” under the “Relevant Documentation” section of these release notes.
Zero Hash has improved the logic and error handling around restricted geo-based jurisdictions.
The enhanced logic exists across API endpoints so tailored rules can be established based on a platform’s setup. Addresses submitted at participant creation (POST /participants/customers/new) are referenced when checking a platform’s restricted vs. enabled jurisdictional rules. Geo-based jurisdiction rules can sweep an entire country, or remain specific to a single state or region.
Jurisdiction logic upholds regulatory standards that Zero Hash and our partners must adhere to. This includes ensuring that only New York approved assets are traded by New York residents for platforms enabled in New York.
As always, platforms should continue to monitor restricted activity as well. If a platform submits a request for a restricted jurisdiction, an error code will be returned noting that the platform or participant are not able to request transactions for that jurisdiction or trade in a specific asset.
Note: A participant update endpoint shall be released soon, which will enable platforms to update participant data (with supporting evidence) including the address of a customer.
You will be rate limited once you breach 2,000 requests over a rolling 10 second timeframe, across all endpoints
Example: If you hit GET /liquidity/rfq 1,000 times and GET /trades 1,001 times over a 5 seconds period, you will be unable to access the API for the next 10 seconds. 11 seconds later, you will be able to access the API again.
Error Code when the limit is breached: HTTP/1.1 429
Error Message: Too Many Requests
The Rate Limit specs above apply to both Prod and Cert
We've added a new field to the POST /transfers endpoint called client_transfer_id.
This is an optional field and when used Zero Hash will complete idempotency checks for previously created transfers to validate that the client_transfer_id has not already been used.
If providing a value, the client_transfer_id must be unique, we will return an error if the id has ever been used in the past.
Zero Hash will now return the client_transfer_id when a Platform uses the GET /transfers endpoint.
If a client_transfer_id was not provided for a transaction, we will return a null value.
Use Cases
This feature is ideal for Platforms that expect to perform a significant volume of transfers and wants to ensure that transfer requests are not duplicated.
USDC on the Hedera network (symbol USDC.HBAR) is now enabled for deposit and withdrawal functionality in the Zero Hash production environment ("PROD"). Liquidity for this asset is not yet available in PROD, but is in the process of being enabled. Updated release notes will be created when liquidity for this asset is available.
As a reminder, we introduced our “dot notation” symbol system for representing tokens that are supported on multiple blockchains - follows the format [Asset].[Blockchain].
The full list of supported assets and features, inclusive of this change, can be found here.
As previously communicated, Ethereum's main network will be transitioning from Proof of Work to Proof of Stake soon. To prepare for this event, Zero Hash successfully migrated our CERT environment to the Goerli test network which is the officially supported testnet due to the prior Ropsten testnet being deprecated.
The mainnet merge is expected to happen September 15th at approximately 05:00 - 06:00 UTC.
Here are a few 3rd party links that are tracking the timing to the merge (note that these services are not affiliated with Zero Hash):
Zero Hash has opened a maintenance window for our Production environment (CERT will remain operational) 30 minutes prior to the merge and closing approximately 2-4 hours after. The exact timing of the window will fluctuate depending on network factors leading up to the merge event.
As a precaution, Ethereum and EVM related assets will be available for trading but deposits and withdrawals will be queued until the maintenance window is completed. It is recommended that platforms refrain from submitting deposits and withdrawals until after the maintenance window is completed. Any withdrawals submitted during this window will be queued and processed automatically once blockchain activity resumes.
For Zero Hash Liquidity Services, there may be some instability from our liquidity providers although they have communicated pricing shall be continuous through the maintenance period.
Production assets restricted from trading during the maintenance window:
Ether
All ERC20 tokens (USDC, Chainlink, Wrapped ETH, ApeCoin, etc)
All ETH level 2 chains and side-chains
Arbitrum
Optimism
Polygon
Note that any production deposit addresses, wallets, asset symbols, and API functionality are not changing and will remain the same post-merge. This update only impacts Zero Hash's production environment.
Please reach out to your Zero Hash team with any questions or concerns.
We are introducing minimum order quantities on our GET /convert_withdraw/rfq endpoint. The quote will be rejected if the minimum quantity is not met. For requests where the total notional* is specified, the resulting quantity must be above the Zero Hash defined withdrawal minimum threshold. The /convert_withdraw/rfq endpoint will observe the following minimums:
Assets and Minimums
BTC, BCH, LTC
Minimum: 0.00000547 or network fee quantity
Asset quantity must be greater than the network fee quantity
Non-UTXO assets (i.e. ETH, MATIC, USDC)
Precision Minimum: N/A
Solana (SOL)
Minimum: 0.00089088
Transfers must be greater than the rent-exempt minimum of 0.00089088 SOL
Resulting Quantity Explanation:
There are 2 scenarios:
The platform specifies a total on the GET /convert_withdraw/rfq endpoint. For example, "give me $1 worth of BTC". We will take in that dollar amount, convert it to the asset quantity, i.e., 0.00032162 BTC, and decide if that is above or below the minimums.
The platform specifies a quantity on the GET /convert/withdraw/rfq endpoint. For example, "give me 0.00032162 worth of BTC". There is no need to transpose anything, and we will take that quantity, compare it to our minimums, and act accordingly.
For the /convert_withdraw endpoint, Zero Hash enforces a minimum quantity that is greater than the network fee quantity. This ensures the transfer will not be rejected by the blockchain since there are additional factors that determine UTXO minimums which are calculated based on the number of inputs, outputs, and the type of address.
Solana (SOL) Note:
SOL wallets require a "rent-exempt minimum" of 0.00089088 SOL. Transactions to wallets with a balance below this amount will be pending on the network until the wallet has an amount greater than this deposited. However, there is not a withdrawal minimum. Zero Hash enforces this restriction as a withdrawal minimum by assuming destination wallets do not have balances to avoid this indefinite pending state. More info on the rent exemption can be found here.
Zero Hash today launched the ability for platforms using the Omnibus Model configuration to create multiple unique deposit addresses for a given asset.
If you would like to enable this feature, please reach out to [email protected].
This functionality can now be used by a platform to create multiple unique ETH deposit addresses, for example. Previously each platform code would use a single ETH deposit address.
This functionality can also be used by end participants of a platform to create multiple deposit addresses for a given asset.
Multiple deposit addresses per asset can be created via the POST /deposits/digital_asset_address API endpoint, and deposit activity tracked via the balances websocket and GET /deposits API. The websocket allows the Platform to tie back relevant activity to each end-customer and update its internal ledgers.
In order to support the creation of unique deposit addresses for the Omnibus Model, the following updates to the balances websocket GET /deposits endpoint have been made:
Added a new attribute called received_address to the balances websocket GET /deposits endpoint, which is the blockchain deposit address for the receiving participant.
Renamed the address attribute to source in the websocket.
An example of how the updated websocket response will look: