Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,12 @@ Retrieves deposits, transfers, transactions, withdrawals in parallel:

All returned data is sorted in descending chronological order (newest first).

**Note on Batch Size Limits:**

When fetching transaction history, the SDK internally uses pagination with a maximum batch size limit of **64 items per request**. The SDK automatically handles pagination to retrieve all available records, so you don't need to worry about this limit when using the high-level APIs like `fetchDeposits()`, `fetchTransfers()`, or `fetchTransactions()`.

Specifying a value greater than 64 will result in an error: `Limit exceeds max batch size`.

```ts
const [receivedDeposits, receivedTransfers, sentTxs, requestedWithdrawals] =
await Promise.all([
Expand Down
16 changes: 14 additions & 2 deletions browser-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "intmax2-client-sdk",
"version": "1.5.1",
"version": "1.5.2",
"description": "Client SDK for INTMAX2",
"type": "module",
"main": "./dist/cjs/index.js",
Expand Down Expand Up @@ -69,5 +69,17 @@
"engines": {
"node": ">=18"
},
"packageManager": "pnpm@9.9.0+sha1.3edbe440f4e570aa8f049adbd06b9483d55cc2d2"
"packageManager": "pnpm@9.9.0+sha1.3edbe440f4e570aa8f049adbd06b9483d55cc2d2",
"pnpm": {
"overrides": {
"brace-expansion@>=1.0.0 <=1.1.11": ">=1.1.12",
"brace-expansion@>=2.0.0 <=2.0.1": ">=2.0.2",
"vite@>=6.0.0 <=6.3.5": ">=6.3.6",
"axios@>=1.0.0 <1.12.0": ">=1.12.0",
"happy-dom@<20.0.0": ">=20.0.0",
"vite@>=6.0.0 <=6.4.0": ">=6.4.1",
"js-yaml@>=4.0.0 <4.1.1": ">=4.1.1",
"glob@>=11.0.0 <11.1.0": ">=11.1.0"
}
}
}
Loading
Loading