Choose an environment
- Production
- Staging
Production connects Ondo’s production environment with Alpaca’s live environment.
Prerequisites
Complete these steps before submitting an ITN request:- Complete onboarding with Alpaca for a BrokerAPI account. Contact Ondo for an introduction to the Alpaca team, or coordinate directly with Alpaca if you already have a relationship. A TradingAPI account alone does not currently meet ITN onboarding requirements. Use an Alpaca sandbox account for staging and a live Alpaca account for production.
- Complete the Ondo Stocks onboarding and KYC process to establish your Ondo account. Use the same email address as your Alpaca account.
- Request access to the Ondo API and obtain an API key for your selected environment.
- Confirm that your Alpaca and Ondo accounts use the same email address before requesting the handshake. Provide the Alpaca team with this shared email address and your corresponding Alpaca account number. The account number is different from the Alpaca account ID used in API paths.
- Wait for Alpaca to coordinate with Ondo regarding the linking of your accounts.
- Provide the Ondo team with the wallet address that you plan to use for ITN requests.
- Wait for Ondo to enable ITN access for the wallet(s) you provided.
Mint requests will fail if the Alpaca and Ondo accounts are not linked or if the destination wallet has not been enabled for ITN.
Supported assets
ITN supports the assets below on Ethereum and BNB Chain. Use the underlying symbol, without theon suffix, when submitting an Alpaca request.
- Production
- Staging
Rate limits
The following USD notional limits apply independently to mint and redemption requests during each market session. Each request must meet the minimum per request, and the combined value of your requests must not exceed the maximum total per account for that session.- Production
- Staging
Additional system-wide and asset-level limits apply. During periods of high traffic, these limits may prevent a mint from being accepted or delay a redemption until capacity becomes available.
Fees
- Production
- Staging
Ondo currently charges no fees for minting or redeeming Ondo Stocks through ITN.
Alpaca may charge its own fees for mint and redemption requests. The response from Alpaca’s List Tokenization Requests endpoint includes any fees associated with each request. See Alpaca’s Tokenization Guide for Authorized Participants for its current fee schedule.
Check asset availability
Before minting or redeeming, use Get Current Market Status and Get Asset Statuses to check for market-wide and asset-specific pauses. All Ondo API requests require an API key in thex-api-key header.
- Production
- Staging
MARKET_PAUSED or ASSET_PAUSED status is active. ASSET_LIMITED does not pause ITN. These endpoints do not expose every ITN-specific or chain-specific pause. If no active pause is reported and a request remains pending, contact support@ondo.finance.
Mint Ondo Stocks
To mint Ondo Stocks, submit a request through Alpaca’s Mint Request endpoint. Setissuer to ondo. The only supported network values are ethereum for Ethereum and binance for BNB Chain.
- Production
- Staging
qty field is the number of underlying shares to tokenize and may contain up to nine decimal places. Ondo calculates the corresponding Ondo Stock token amount and delivers it to the enabled wallet after the underlying shares settle.
To mint on BNB Chain, change network to binance.
Check request status
Use Alpaca’s List Tokenization Requests endpoint to monitor your mint and redemption requests:- Production
- Staging
status of pending, completed, or rejected. The response also includes identifiers, quantities, network information, transaction hashes, and any fees associated with the requests.
Redeem Ondo Stocks
Redemptions begin on-chain. From the wallet enabled during onboarding, first approve the ITN issuer contract to spend the Ondo Stocks you want to redeem. Then callredeem(address,uint256) on the issuer contract. A successful redemption burns the tokens. Ondo detects the burn and works with Alpaca to transfer the corresponding underlying shares to your linked Alpaca account. See Alpaca’s Redeem Workflow for more information.
Find the token contract address
Use Get Contract Addresses for an Asset with the Ondo Stock symbol:- Production
- Staging
networkChainId is ethereum-1 or bsc-56. Use the returned decimals value when converting a human-readable token amount into the integer passed to the contract.
Submit the redemption
The flow is the same on Ethereum and BNB Chain. Use an RPC endpoint for your selected network and the corresponding ITN issuer contract:- Production
- Staging
cast command. Ondo Stocks use 18 decimal places, so convert the human-readable token amount before submitting it. This amount represents the Ondo Stocks being redeemed, not the number of underlying shares.
pending until Alpaca transfers the underlying shares and the redemption completes.
