Skip to content

Commit

Permalink
Merge pull request #706 from 0xPolygon/platform/housekeeping
Browse files Browse the repository at this point in the history
Platform: Update sitemap
  • Loading branch information
kmurphypolygon authored Sep 16, 2024
2 parents c7f576b + 1599ea6 commit 91118c9
Show file tree
Hide file tree
Showing 3 changed files with 714 additions and 622 deletions.
1 change: 1 addition & 0 deletions docs/tools/matic-js/pos/erc1155/withdraw-exit-many.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
The `withdrawExitMany` method can be used to exit the withdraw process by using the txHash from `withdrawStartMany` method.

```js

const erc1155RootToken = posClient.erc1155(<root token address>, true);

const result = await erc1155RootToken.withdrawExitMany(<burn tx hash>);
Expand Down
1 change: 1 addition & 0 deletions docs/tools/matic-js/pos/erc1155/withdraw-start.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
The `withdrawStart` method can be used to initiate the withdraw process which will burn the specified amount of tokenId on polygon chain.

```js

const erc1155Token = posClient.erc1155(<child token address>);

const result = await erc1155Token.withdrawStart(<token id>,<amount>);
Expand Down
Loading

0 comments on commit 91118c9

Please sign in to comment.