hashgraph / hashgraph/hedera-docs

No mention of how to structure a PendingAirdropId

Open
#116 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
10
Forks
49
Avg merge
19h 49m
Merged PRs (30d)
17

Description

### Problem

Not clear here https://docs.hedera.com/hedera/sdks-and-apis/sdks/token-service/claim-a-token what the pendingAirdropId is in order to claim / reject an airdrop. It looks a composite of the sender, receiver, and token but I had to go to https://github.com/hashgraph/hedera-sdk-js/blob/main/examples/token-airdrop-example.js to figure out what to do.

### Solution

Introduce the example from https://github.com/hashgraph/hedera-sdk-js/blob/main/examples/token-airdrop-example.js as a tutorial in the docs and reference what the pendingAirdropId is in the specific SDK sectionf

A tutorial on how to reconstruct the PendingAirdropId without the CreateAirdrop record would also be useful

### Alternatives

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.