The examples across the docs now reflect the current public
@blend-money/sdk surface. Use /sdk/index and /integrations/deposit-withdraw for working examples.What You Will Build
By the end of this tutorial, you will have:- Initialized
BlendClientwith yourapiKey,neobankId, andaccountTypeId - Created or fetched a Blend account with
client.safe.account(userEoa) - Requested a deposit quote with
client.deposit.getQuote() - Queried balances, positions, returns, and yield through the flat account-scoped namespaces
- Triggered withdrawals with
client.withdraw.getCalldata()and rebalances withclient.rebalance.createRequest()
Prerequisites
- Node.js 20+
- A Blend neobank account
- Your API key,
neobankId, andaccountTypeId - A test wallet with supported assets on an enabled chain
Coming Soon
The full tutorial will expand on this flow:- Create a
BlendClient - Call
client.safe.account(userEoa) - Load the token catalog and source-chain balances with
client.deposit - Request a deposit quote with
accountId - Render quote details in your app
- Execute withdrawal payloads from
client.withdraw.getCalldata()when the user exits - Create and monitor rebalances with
client.rebalance