Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

feat(examples): Add TRX withdrawal example #55

Merged

Conversation

infinia-yzl
Copy link
Contributor

@infinia-yzl infinia-yzl commented Nov 3, 2023

What this PR does / why we need it:

Adds a withdrawal example for TRX.

Which issue(s) will this PR fix?:

Fixes #54

Additional comments?:

https://shasta.tronscan.org/#/transaction/4a7914214249123e3b66855d539daba1f009c7fb75120d38153c1a68010c5117
image

Copy link

vercel bot commented Nov 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
levain-examples-frontmatter ✅ Ready (Inspect) Visit Preview Nov 3, 2023 7:37am
levain-examples-neobank ✅ Ready (Inspect) Visit Preview Nov 3, 2023 7:37am

# Conflicts:
#	examples/levain-graphql-examples/src/api/api-cosigning-trc20.ts
#	examples/levain-graphql-examples/src/utils/mutations.ts
@@ -46,21 +46,21 @@ router.get('/process-withdrawal-trc20', async (req, res) => {
}

// Build TRC-20 transfer transaction to get the tx data
const erc20Transaction = await buildTransaction(walletId, {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to the PR intent, this just fixes a typo.

@fuxingloh fuxingloh merged commit 0b121bc into levaintech:main Nov 3, 2023
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature New feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add TRX Withdrawal Example
2 participants