Create a sample script
Create an
index.js file as shown below to create your first transaction with the SDK.Make sure you have a running Blnk Core instance. Set the URL and API key as environment variables in your project.
index.js
View the transaction
Confirm the transaction landed in your ledger.
- Blnk Cloud
- CLI
- Open Transactions in the sidebar.
- Find your transaction by reference (
first_txn_001) or by thetransaction_idfrom the script output. - Click the row to open the details and verify the amount, status, source, and destination.

If the transaction is missing, click Refresh on the table to pull the latest data from Core.
Related docs
Using the SDK
Authentication, timeouts, retries, and logging.
Error handling
ApiResponse checks and Core error bodies.
Changelog
TypeScript SDK releases and version history.