Skip to content

Commit 7b0dfd6

Browse files
authored
docs: add missing TokenStandard import to Bulk Transfers examples
1 parent 00b964d commit 7b0dfd6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

developerDocs/advanced-use-cases.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,8 @@ The SDK provides gas-efficient methods for transferring multiple assets in a sin
316316
Before transferring assets, you need to approve them for transfer to the OpenSea conduit. The `batchApproveAssets()` method intelligently batches multiple approval transactions:
317317

318318
```typescript
319+
import { TokenStandard } from "@opensea/sdk";
320+
319321
// Approve multiple assets in a single transaction
320322
const txHash = await openseaSDK.batchApproveAssets({
321323
assets: [
@@ -352,6 +354,8 @@ This is significantly more gas-efficient than approving each asset separately.
352354
After assets are approved, use `bulkTransfer()` to transfer multiple assets to different recipients:
353355

354356
```typescript
357+
import { TokenStandard } from "@opensea/sdk";
358+
355359
const txHash = await openseaSDK.bulkTransfer({
356360
assets: [
357361
{

0 commit comments

Comments
 (0)