Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

No mention of how to structure a PendingAirdropId #860

Open
jaycoolh opened this issue Dec 24, 2024 · 1 comment
Open

No mention of how to structure a PendingAirdropId #860

jaycoolh opened this issue Dec 24, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jaycoolh
Copy link

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

@jaycoolh jaycoolh added the enhancement New feature or request label Dec 24, 2024
@theekrystallee
Copy link
Member

I added a link to the example as a reference as a short term solution. we'll have to discuss how the tutorial will be prioritized over other items

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants