Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

No mention of how to structure a PendingAirdropId #860

Open
jaycoolh opened this issue Dec 24, 2024 · 0 comments
Open

No mention of how to structure a PendingAirdropId #860

jaycoolh opened this issue Dec 24, 2024 · 0 comments
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant