Buy a basket of tokenized stocks

One payment splits into a weighted basket of stock tokens. Sell it back the same way.

Live. Runs on Composer today
In your app
Sample data

What runs, in order

  1. 1
    User paysUSDC
    Ethereum
  2. 2
    Split by weightUp to 13 legscore.partition
    Ethereum
  3. 3
    Buy each stock tokenMSTRx, CRCLonlifi.swap ×n
    Ethereum
Build this

Get an API key and the code for this exact flow.

Who it's for

Wallets and neobanks with a stocks tab

What you get

  • A whole theme in one transaction instead of one trade per stock
  • Weights are fixed by you or picked by the user
  • A stock that cannot be bought right now is named before signing