You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`type` is `"FUNGIBLE"` or `"NFT"`. For FT entries `amount` is present; for NFT entries `serialNumber` is present. `hasMore: true` indicates more results exist — use `--show-all` to fetch all pages. Token name and symbol are fetched from the mirror node.
401
401
402
+
#### `token reject-airdrop`
403
+
404
+
**Output**:
405
+
406
+
```json
407
+
{
408
+
"transactionId": "0.0.123@1700000000.123456789",
409
+
"ownerAccountId": "0.0.1234",
410
+
"network": "testnet",
411
+
"rejected": [
412
+
{
413
+
"tokenId": "0.0.5678",
414
+
"tokenName": "FungibleToken",
415
+
"tokenSymbol": "FT",
416
+
"senderId": "0.0.9999",
417
+
"type": "FUNGIBLE",
418
+
"amount": 1000
419
+
},
420
+
{
421
+
"tokenId": "0.0.5679",
422
+
"tokenName": "MyNFT",
423
+
"tokenSymbol": "NFT",
424
+
"senderId": "0.0.9999",
425
+
"type": "NFT",
426
+
"serialNumber": 42
427
+
}
428
+
]
429
+
}
430
+
```
431
+
432
+
`rejected` contains the airdrops that were rejected, selected by `--index` from the `pending-airdrops` list. `type` is `"FUNGIBLE"` or `"NFT"`. For FT entries `amount` is present; for NFT entries `serialNumber` is present. Maximum 10 items per transaction (Hedera limit). Token name and symbol are fetched from the mirror node.
Reject one or more pending token airdrops (FT or NFT). Rejected tokens are returned to the treasury. Custom fees are waived. Use `pending-airdrops` first to list available airdrops and their indices.
0 commit comments