From 16be17e68e3c768d7a6fe68a9e3cd6bc6d8e3cfb Mon Sep 17 00:00:00 2001 From: Dr-Electron Date: Wed, 10 Jan 2024 00:45:06 +0100 Subject: [PATCH] Fix code imports Co-authored-by: Lucas Tortora <85233773+lucas-tortora@users.noreply.github.com> --- .../accounts-and-addresses/check-balance.mdx | 6 +-- .../consolidate-outputs.mdx | 38 +++++++------------ .../accounts-and-addresses/create-account.mdx | 10 ++--- .../accounts-and-addresses/create-address.mdx | 6 +-- .../accounts-and-addresses/list-accounts.mdx | 6 +-- .../accounts-and-addresses/list-addresses.mdx | 6 +-- .../accounts-and-addresses/list-outputs.mdx | 12 +++--- .../list-transactions.mdx | 12 +++--- .../listen-to-events.mdx | 12 +++--- .../advanced-transaction.mdx | 20 +++++----- .../claim-transaction.mdx | 14 +++---- .../send-micro-transaction.mdx | 8 ++-- .../how-tos/alias-wallet/request-funds.mdx | 27 +++++++------ .../docs/how-tos/alias-wallet/transaction.mdx | 34 ++++++++--------- .../1.0/docs/how-tos/alias/create.mdx | 17 +++++---- .../1.0/docs/how-tos/alias/destroy.mdx | 17 +++++---- .../1.0/docs/how-tos/client/get-health.mdx | 8 ++-- .../1.0/docs/how-tos/client/get-info.mdx | 8 ++-- .../1.0/docs/how-tos/client/get-outputs.md | 12 +++--- .../1.0/docs/how-tos/exchange-guide.mdx | 12 +++--- .../1.0/docs/how-tos/native-tokens/burn.mdx | 16 ++++---- .../1.0/docs/how-tos/native-tokens/create.mdx | 20 +++++----- .../how-tos/native-tokens/destroy-foundry.mdx | 12 +++--- .../1.0/docs/how-tos/native-tokens/melt.mdx | 11 +++--- .../1.0/docs/how-tos/native-tokens/mint.mdx | 15 ++++---- .../1.0/docs/how-tos/native-tokens/send.mdx | 26 ++++++------- .../1.0/docs/how-tos/nfts/burn-nft.mdx | 12 +++--- .../1.0/docs/how-tos/nfts/mint-nft.mdx | 25 ++++++------ .../1.0/docs/how-tos/nfts/send-nft.mdx | 20 +++++----- .../1.0/docs/how-tos/outputs/features.mdx | 20 +++++----- .../how-tos/outputs/unlock-conditions.mdx | 20 +++++----- .../sign-and-verify-ed25519/sign-ed25519.mdx | 12 +++--- .../simple-transaction/request-funds.mdx | 14 +++---- .../simple-transaction/simple-transaction.mdx | 6 +-- 34 files changed, 248 insertions(+), 266 deletions(-) diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/check-balance.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/check-balance.mdx index 805c9f74b38..6664dbe3e83 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/check-balance.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/check-balance.mdx @@ -38,7 +38,7 @@ with the node to get the latest outputs. The sync function also returns the bala
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/check_balance.rs#L28 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/check_balance.rs#L32 ```
@@ -57,7 +57,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/account
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/check-balance.ts#L27 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/check-balance.ts#L29 ```
@@ -76,7 +76,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/check_balance.py#L17 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/check_balance.py#L18-L22 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/consolidate-outputs.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/consolidate-outputs.mdx index a8b30ff96ab..b0291286017 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/consolidate-outputs.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/consolidate-outputs.mdx @@ -30,7 +30,7 @@ number of UTXOs, which can improve transaction efficiency and reduce storage dep
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/consolidate_outputs.rs#L46 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/consolidate_outputs.rs#L52 ```
@@ -41,7 +41,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/account
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/consolidate_outputs.rs#L62-L64 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/consolidate_outputs.rs#L68-L70 ```
@@ -52,7 +52,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/account
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/consolidate_outputs.rs#L68-L70 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/consolidate_outputs.rs#L74-L76 ```
@@ -69,40 +69,29 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/account
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/consolidate-outputs.ts#L51 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/consolidate-outputs.ts#L48 ```
-3. Prepare a [`Transaction`](../../references/nodejs/classes/Transaction.md) to consolidate the Outputs by calling - the [`Account.prepareConsolidateOutputs()`](../../references/nodejs/classes/Account.md#prepareconsolidateoutputs) function. - -
- -```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/consolidate-outputs.ts#L70-L72 -``` - -
- -4. Send the `Transaction` by calling the [`PreparedTransaction.send()`](../../references/nodejs/classes/PreparedTransaction.md#send) - function. +3. Send a [`Transaction`](../../references/nodejs/classes/Transaction.md) to consolidate the Outputs by calling + the [`Account.consolidateOutputs()`](../../references/nodejs/classes/Account.md#consolidateoutputs) function.
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/consolidate-outputs.ts#L73 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/consolidate-outputs.ts#L67-L69 ```
-5. Await for the `Transaction` to get confirmed by calling the [`Account.retryTransactionUntilIncluded`](../../references/nodejs/classes/Account.md#retrytransactionuntilincluded) +4. Await for the `Transaction` to get confirmed by calling the [`Account.retryTransactionUntilIncluded`](../../references/nodejs/classes/Account.md#retrytransactionuntilincluded) function.
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/consolidate-outputs.ts#L77-L79 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/consolidate-outputs.ts#L73-L75 ```
@@ -120,19 +109,18 @@ The following example will:
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/consolidate_outputs.py#L30 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/consolidate_outputs.py#L32 ```
3. Prepare a [`Transaction`](../../references/python/iota_sdk/types/transaction.md) to consolidate the Outputs by calling - the [`Account.prepare_consolidate_outputs()`](../../references/python/iota_sdk/wallet/account.md#prepare_consolidate_outputs) function - and [`send()`](../../references/python/iota_sdk/wallet/account.md#send) it. + the [`Account.consolidate_outputs()`](../../references/python/iota_sdk/wallet/account.md#consolidate_outputs).
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/consolidate_outputs.py#L48-L49 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/consolidate_outputs.py#L46 ```
@@ -143,7 +131,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/consolidate_outputs.py#L53 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/consolidate_outputs.py#L50 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/create-account.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/create-account.mdx index 198b74776db..618e42c292d 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/create-account.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/create-account.mdx @@ -35,7 +35,7 @@ assets, enabling users to send and receive transactions, and engage in various a
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/create_account.rs#L27-L47 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/create_account.rs#L37-L57 ```
@@ -47,7 +47,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/account
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/create_account.rs#L50 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/create_account.rs#L60 ```
@@ -61,7 +61,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/account
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/create-account.ts#L35-L54 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/create-account.ts#L27-L46 ```
@@ -73,7 +73,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/create-account.ts#L57-L59 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/create-account.ts#L49-L51 ```
@@ -87,7 +87,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/create_account.py#L13-L32 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/create_account.py#L11-L32 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/create-address.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/create-address.mdx index 6c708c8065c..cb2f6db5f69 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/create-address.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/create-address.mdx @@ -41,7 +41,7 @@ generate an address for each user in this account.
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/create_address.rs#L44-L46 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/create_address.rs#L48-L50 ```
@@ -57,7 +57,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/account
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/create-address.ts#L31 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/create-address.ts#L30 ```
@@ -73,7 +73,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/create_address.py#L18 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/create_address.py#L20 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-accounts.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-accounts.mdx index 22973228472..95583ddda7e 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-accounts.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-accounts.mdx @@ -36,7 +36,7 @@ platform.
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/list_accounts.rs#L24-L26 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/list_accounts.rs#L28-L30 ```
@@ -51,7 +51,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/account
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/list-accounts.ts#L23-L26 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/list-accounts.ts#L25-L28 ```
@@ -66,7 +66,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/list_accounts.py#L13-L14 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/list_accounts.py#L15-L16 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-addresses.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-addresses.mdx index c7afcc55f20..76975c1e373 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-addresses.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-addresses.mdx @@ -39,7 +39,7 @@ platform.
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/list_addresses.rs#L22-L26 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/list_addresses.rs#L27-L31 ```
@@ -56,7 +56,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/account
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/list-addresses.ts#L23-L27 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/list-addresses.ts#L25-L29 ```
@@ -73,7 +73,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/list_addresses.py#L13-L18 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/list_addresses.py#L17 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-outputs.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-outputs.mdx index 80aa2a3f860..4db55faf5d7 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-outputs.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-outputs.mdx @@ -29,7 +29,7 @@ This guide will show you how to list all the outputs that can be unlocked by any
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/list_outputs.rs#L29-L31 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/list_outputs.rs#L34-L36 ```
@@ -40,7 +40,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/account
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/list_outputs.rs#L35-L37 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/list_outputs.rs#L40-L42 ```
@@ -57,7 +57,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/account
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/list-outputs.ts#L27-L30 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/list-outputs.ts#L29-L32 ```
@@ -69,7 +69,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/list-outputs.ts#L32-L35 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/list-outputs.ts#L34-L37 ```
@@ -86,7 +86,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/list_outputs.py#L21-L22 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/list_outputs.py#L19 ```
@@ -97,7 +97,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/list_outputs.py#L29-L30 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/list_outputs.py#L27 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-transactions.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-transactions.mdx index 2013baa4bf6..2afc623a4c0 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-transactions.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/list-transactions.mdx @@ -44,7 +44,7 @@ Also, only transactions that weren't pruned on the point of _syncing_ will be li
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/list_transactions.rs#L37-L39 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/list_transactions.rs#L42-L44 ```
@@ -56,7 +56,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/account
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/list_transactions.rs#L43-L45 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/list_transactions.rs#L48-L50 ```
@@ -73,7 +73,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/account
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/list-transactions.ts#L26-L29 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/list-transactions.ts#L28-L31 ```
@@ -84,7 +84,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/list-transactions.ts#L31-L35 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/accounts_and_addresses/list-transactions.ts#L33-L37 ```
@@ -102,7 +102,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/list_transactions.py#L17-L20 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/list_transactions.py#L19 ```
@@ -114,7 +114,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/list_transactions.py#L24-L27 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/accounts_and_addresses/list_transactions.py#L26-L27 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/listen-to-events.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/listen-to-events.mdx index 2c001971b0e..741b42d95cf 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/listen-to-events.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/accounts-and-addresses/listen-to-events.mdx @@ -59,7 +59,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/wallet/events.r
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/exchange/4-listen-events.ts#L21-L23 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/exchange/4-listen-events.ts#L23-L25 ```
@@ -69,7 +69,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/exc
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/exchange/4-listen-events.ts#L25-L31 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/exchange/4-listen-events.ts#L27-L33 ```
@@ -82,7 +82,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/exc
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/exchange/4-listen-events.ts#L34 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/exchange/4-listen-events.ts#L36 ```
@@ -95,7 +95,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/exc
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/exchange/4_listen_events.py#L19 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/exchange/4_listen_events.py#L22 ```
@@ -105,7 +105,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/exc
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/exchange/4_listen_events.py#L26-L33 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/exchange/4_listen_events.py#L29-L38 ```
@@ -117,7 +117,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/exc
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/exchange/4_listen_events.py#L37 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/exchange/4_listen_events.py#L42 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/advanced-transactions/advanced-transaction.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/advanced-transactions/advanced-transaction.mdx index c7fc5897f07..fc414fc9a4a 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/advanced-transactions/advanced-transaction.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/advanced-transactions/advanced-transaction.mdx @@ -42,7 +42,7 @@ The following example will:
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advanced_transactions/advanced_transaction.rs#L47-L52 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advanced_transactions/advanced_transaction.rs#L51-L56 ```
@@ -53,7 +53,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advance
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advanced_transactions/advanced_transaction.rs#L54 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advanced_transactions/advanced_transaction.rs#L58 ```
@@ -64,7 +64,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advance
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advanced_transactions/advanced_transaction.rs#L58-L60 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advanced_transactions/advanced_transaction.rs#L62-L64 ```
@@ -86,7 +86,7 @@ The following example will:
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/advanced_transactions/advanced_transaction.ts#L41-L52 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/advanced_transactions/advanced_transaction.ts#L49-L60 ```
@@ -97,7 +97,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/advanced_transactions/advanced_transaction.ts#L54 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/advanced_transactions/advanced_transaction.ts#L62 ```
@@ -109,7 +109,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/advanced_transactions/advanced_transaction.ts#L57-L59 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/advanced_transactions/advanced_transaction.ts#L66-L68 ```
@@ -129,18 +129,18 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/advanced_transactions/advanced_transaction.py#L29-L37 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/advanced_transactions/advanced_transaction.py#L34-L47 ```
3. Send the [`Output`](../../references/python/iota_sdk/types/output.md) created in the previous step by calling the - ['Account.sendOutputs()'](../../references/python/iota_sdk/wallet/account.md#send_outputs) function. + ['Account.send_outputs()'](../../references/python/iota_sdk/wallet/account.md#send_outputs) function.
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/advanced_transactions/advanced_transaction.py#L39 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/advanced_transactions/advanced_transaction.py#L49 ```
@@ -152,7 +152,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/advanced_transactions/advanced_transaction.py#L42 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/advanced_transactions/advanced_transaction.py#L52 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/advanced-transactions/claim-transaction.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/advanced-transactions/claim-transaction.mdx index 07cc13251e4..064a3608771 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/advanced-transactions/claim-transaction.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/advanced-transactions/claim-transaction.mdx @@ -32,7 +32,7 @@ You can use the SDK to send transaction with funds that have to be claimed (for
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advanced_transactions/claim_transaction.rs#L33 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advanced_transactions/claim_transaction.rs#L37 ```
@@ -42,7 +42,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advance
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advanced_transactions/claim_transaction.rs#L39 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advanced_transactions/claim_transaction.rs#L43 ```
@@ -58,7 +58,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advance
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/advanced_transactions/claim_transaction.ts#L32 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/advanced_transactions/claim_transaction.ts#L40 ```
@@ -68,7 +68,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/advanced_transactions/claim_transaction.ts#L38 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/advanced_transactions/claim_transaction.ts#L46 ```
@@ -83,8 +83,8 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
-```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/advanced_transactions/claim_transaction.py#L23 +```python reference +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/advanced_transactions/claim_transaction.py#L25 ```
@@ -94,7 +94,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/advanced_transactions/claim_transaction.py#L29 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/advanced_transactions/claim_transaction.py#L31 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/advanced-transactions/send-micro-transaction.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/advanced-transactions/send-micro-transaction.mdx index fd85300694c..98b7c5728a7 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/advanced-transactions/send-micro-transaction.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/advanced-transactions/send-micro-transaction.mdx @@ -46,7 +46,7 @@ The following example will:
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advanced_transactions/send_micro_transaction.rs#L46-L55 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/advanced_transactions/send_micro_transaction.rs#L50-L59 ```
@@ -65,7 +65,7 @@ The following example will:
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/advanced_transactions/send_micro_transaction.ts#L36-L38 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/advanced_transactions/send_micro_transaction.ts#L44-L46 ```
@@ -78,13 +78,13 @@ The following example will: 1. Instantiate a [`Wallet`](https://docs.rs/iota-sdk/latest/iota_sdk/wallet/core/struct.Wallet.html), get Alice's `Account` which was [created in the first guide](../accounts-and-addresses/create-account.mdx) and [sync it](../accounts-and-addresses/check-balance.mdx). 2. Send a micro transaction using the - [`Account.send()` function](../../references/python/iota_sdk/wallet/account.md#send) with + [`Account.send_with_params()` function](../../references/python/iota_sdk/wallet/account.md#send) with the [`TransactionOption:allowMicroAmount`](../../references/python/iota_sdk/types/transaction_options.md) set as `true`.
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/advanced_transactions/send_micro_transaction.py#L21-L26 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/advanced_transactions/send_micro_transaction.py#L21-L28 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/alias-wallet/request-funds.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/alias-wallet/request-funds.mdx index a9d220f7e55..950b7ed2668 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/alias-wallet/request-funds.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/alias-wallet/request-funds.mdx @@ -13,7 +13,6 @@ keywords: - python - rust --- - import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import TipFaucet from '../../_admonitions/_tip-faucet.md'; @@ -43,7 +42,7 @@ The following example will:
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/request_funds.rs#L34 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/request_funds.rs#L38 ```
@@ -54,18 +53,18 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_w
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/request_funds.rs#L39 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/request_funds.rs#L43 ```
-4. Retrieve the Alias address using the [`Client.alias_id_to_bech32()`](https://docs.rs/iota-sdk/latest/iota_sdk/client/core/struct.ClientInner.html#method.alias_id_to_bech32) +4. Retrieve the Alias address using the [`AliasAddress.to_bech32()`](https://docs.rs/iota-sdk/latest/iota_sdk/types/block/address/struct.AliasAddress.html#impl-ToBech32Ext-for-T) function.
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/request_funds.rs#L43 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/request_funds.rs#L47 ```
@@ -75,7 +74,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_w
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/request_funds.rs#L44 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/request_funds.rs#L48 ```
@@ -93,7 +92,7 @@ The following example will:
```typescript reference - https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/request-funds.ts#L33 + https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/request-funds.ts#L35 ```
@@ -104,7 +103,7 @@ The following example will:
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/request-funds.ts#L40 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/request-funds.ts#L42 ```
@@ -115,7 +114,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/request-funds.ts#L44-L47 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/request-funds.ts#L46-L49 ```
@@ -125,7 +124,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/request-funds.ts#L48-L50 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/request-funds.ts#L50-L52 ```
@@ -141,7 +140,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/request_funds.py#L16 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/request_funds.py#L18 ```
@@ -151,7 +150,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/request_funds.py#L22 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/request_funds.py#L24 ```
@@ -162,7 +161,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/request_funds.py#L26-L27 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/request_funds.py#L28-L29 ```
@@ -174,7 +173,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/request_funds.py#L28-L29 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/request_funds.py#L30-L31 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/alias-wallet/transaction.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/alias-wallet/transaction.mdx index a9a9717d1fd..31281e450e8 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/alias-wallet/transaction.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/alias-wallet/transaction.mdx @@ -42,7 +42,7 @@ The following example will:
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/transaction.rs#L24-L30 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/transaction.rs#L28-L34 ```
@@ -50,7 +50,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_w
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/transaction.rs#L43 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/transaction.rs#L47 ```
@@ -61,7 +61,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_w
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/transaction.rs#L48 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/transaction.rs#L52 ```
@@ -72,7 +72,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_w
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/transaction.rs#L52 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/transaction.rs#L56 ```
@@ -83,7 +83,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_w
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/transaction.rs#L63-L72 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/transaction.rs#L67-L76 ```
@@ -102,7 +102,7 @@ The following example will:
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/transaction.ts#L26-L30 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/transaction.ts#L28-L32 ```
@@ -110,7 +110,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/transaction.ts#L40 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/transaction.ts#L44 ```
@@ -121,7 +121,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/transaction.ts#L47 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/transaction.ts#L51 ```
@@ -132,7 +132,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/transaction.ts#L51-L54 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/transaction.ts#L55-L58 ```
@@ -142,7 +142,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/transaction.ts#L57-L64 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/transaction.ts#L61-L68 ```
@@ -153,7 +153,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/transaction.ts#L66-L77 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias_wallet/transaction.ts#L70-L81 ```
@@ -172,7 +172,7 @@ The following example will:
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/transaction.py#L9 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/transaction.py#L12 ```
@@ -180,7 +180,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/transaction.py#L20 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/transaction.py#L23 ```
@@ -190,7 +190,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/transaction.py#L25 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/transaction.py#L28 ```
@@ -201,7 +201,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/transaction.py#L29-L30 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/transaction.py#L32-L33 ```
@@ -211,7 +211,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/transaction.py#L34 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/transaction.py#L36-L38 ```
@@ -222,7 +222,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/transaction.py#L36-L43 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias_wallet/transaction.py#L44-L47 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/alias/create.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/alias/create.mdx index 00c96885b2b..76d6c37528e 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/alias/create.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/alias/create.mdx @@ -33,7 +33,7 @@ The following example will:
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias/create.rs#L40 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias/create.rs#L44 ```
@@ -43,7 +43,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias/c
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias/create.rs#L43-L45 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias/create.rs#L47-L49 ```
@@ -55,22 +55,23 @@ The following example will: 1. Instantiate a [`Wallet`](https://docs.rs/iota-sdk/latest/iota_sdk/wallet/core/struct.Wallet.html), get Alice's `Account` which was [created in the first guide](../accounts-and-addresses/create-account.mdx) and [sync it](../accounts-and-addresses/check-balance.mdx). -2. Create an Alias Output transaction by calling the [`Account.prepareCreateAliasOutput()`](../../references/nodejs/classes/Account.md#preparecreatealiasoutput) function, and then [send](../../references/nodejs/classes/Account.md#send) it. +2. Create an Alias Output transaction by calling the [`Account.createAliasOutput()`](../../references/nodejs/classes/Account.md#createaliasoutput) function.
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias/create.ts#L53-L55 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias/create.ts#L51 ```
-3. Retry transaction until included [`Transaction`](../../references/nodejs/classes/Account.md#retrytransactionuntilincluded) that was sent. +3. Await for the `Transaction` to get confirmed by calling the [`Account.retryTransactionUntilIncluded`](../../references/nodejs/classes/Account.md#retrytransactionuntilincluded) + function.
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias/create.ts#L60 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias/create.ts#L56-L58 ```
@@ -85,7 +86,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias/create.py#L22 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias/create.py#L24 ```
@@ -106,7 +107,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_w ```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias/create.rs +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias/create.ts ``` diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/alias/destroy.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/alias/destroy.mdx index 81caad56925..3d8e48cf8f2 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/alias/destroy.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/alias/destroy.mdx @@ -31,7 +31,7 @@ The following example will:
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias/destroy.rs#L44 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias/destroy.rs#L48 ```
@@ -41,7 +41,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias/d
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias/destroy.rs#L47-L49 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias/destroy.rs#L51-L53 ```
@@ -58,17 +58,18 @@ The following example will:
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias/destroy.ts#L56-L58 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias/destroy.ts#L57-L59 ```
-3. Retry transaction until included [`Transaction`](../../references/nodejs/classes/Account.md#retrytransactionuntilincluded) that was sent. +3. Await for the `Transaction` to get confirmed by calling the [`Account.retryTransactionUntilIncluded`](../../references/nodejs/classes/Account.md#retrytransactionuntilincluded) + function.
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias/destroy.ts#L63 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias/destroy.ts#L64-L66 ```
@@ -83,7 +84,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias/destroy.py#L25 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/alias/destroy.py#L27 ```
@@ -97,14 +98,14 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how ```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias_wallet/destroy.rs +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias/destroy.rs ``` ```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/alias/destroy.rs +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/alias/destroy.ts ``` diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/client/get-health.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/client/get-health.mdx index 271e6ef37bd..d9889d5b734 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/client/get-health.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/client/get-health.mdx @@ -61,7 +61,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/client/
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/client/get-health.ts#L17-L21 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/client/get-health.ts#L19-L23 ```
@@ -73,7 +73,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/client/get-health.ts#L24 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/client/get-health.ts#L26-L28 ```
@@ -89,7 +89,7 @@ The following code example will:
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/client/get_health.py#L7-L10 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/client/get_health.py#L9-L12 ```
@@ -101,7 +101,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/client/get_health.py#L13 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/client/get_health.py#L15 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/client/get-info.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/client/get-info.mdx index 28c58c88d6e..c6e81190a66 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/client/get-info.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/client/get-info.mdx @@ -62,7 +62,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/client/
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/client/get-info.ts#L13-L21 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/client/get-info.ts#L13-L23 ```
@@ -74,7 +74,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/client/get-info.ts#L24 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/client/get-info.ts#L26 ```
@@ -88,7 +88,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/client/get_info.py#L9-L12 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/client/get_info.py#L11-L14 ```
@@ -100,7 +100,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/client/get_info.py#L15 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/client/get_info.py#L17 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/client/get-outputs.md b/docs/build/iota-sdk/1.0/docs/how-tos/client/get-outputs.md index e77fba99a1d..4c069cc52f7 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/client/get-outputs.md +++ b/docs/build/iota-sdk/1.0/docs/how-tos/client/get-outputs.md @@ -103,7 +103,7 @@ The following code example will:
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/client/get-outputs.ts#L13-L20 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/client/get-outputs.ts#L13-L22 ```
@@ -116,7 +116,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/client/get-outputs.ts#L24-L32 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/client/get-outputs.ts#L26-L34 ```
@@ -128,7 +128,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/client/get-outputs.ts#L36 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/client/get-outputs.ts#L38 ```
@@ -144,7 +144,7 @@ The following code example will:
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/client/get_outputs.py#L8-L11 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/client/get_outputs.py#L10-13 ```
@@ -155,7 +155,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/client/get_outputs.py#L13-L22 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/client/get_outputs.py#L15-L24 ```
@@ -167,7 +167,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/client/get_outputs.py#L27 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/client/get_outputs.py#L29 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/exchange-guide.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/exchange-guide.mdx index 0347f77215c..cd9b1c02e90 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/exchange-guide.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/exchange-guide.mdx @@ -256,7 +256,7 @@ You can import the IOTA SDK and create a wallet using the following example: ```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/create_account.rs#L13-L55 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/create_account.rs#L13-L999 ``` @@ -356,7 +356,7 @@ potentially, many accounts and addresses. ```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/create_address.rs#L14-L54 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/create_address.rs#L14-L999 ``` @@ -431,7 +431,7 @@ You can get the available account balance across all addresses of the given acco ```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/check_balance.rs#L14-L39 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/accounts_and_addresses/check_balance.rs#L14-L999 ``` @@ -462,7 +462,7 @@ You can use the following example to listen to new output events: ```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/wallet/events.rs#L12-L86 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/wallet/events.rs#L12-L999 ``` @@ -476,7 +476,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/exc ```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/exchange/4_listen_events.py#L6-L57 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/exchange/4_listen_events.py#L6-L62 ``` @@ -543,7 +543,7 @@ you should consider a [dust protection](/tips/tips/TIP-0019) mechanism. ```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/simple_transaction/simple_transaction.rs#L14-L55 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/simple_transaction/simple_transaction.rs#L14-L999 ``` The full function signature is diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/burn.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/burn.mdx index 3833f493d9d..38f75a6f25f 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/burn.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/burn.mdx @@ -32,12 +32,12 @@ The following example will: 1. Instantiate a [`Wallet`](https://docs.rs/iota-sdk/latest/iota_sdk/wallet/core/struct.Wallet.html), get Alice's `Account` which was [created in the first guide](../accounts-and-addresses/create-account.mdx) and [sync it](../accounts-and-addresses/check-balance.mdx). -2. Search the account's balance for a native token with a balance of at least `BURN_AMOUNT`. +2. Search the account's balance for a native token with a balance of at least `MIN_AVAILABLE_AMOUNT` (to be able to burn BURN_AMOUNT).
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/burn.rs#L51-L52 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/burn.rs#L55-L56 ```
@@ -48,7 +48,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/burn.rs#L62 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/burn.rs#L66 ```
@@ -60,12 +60,12 @@ The following example will: 1. Instantiate a [`Wallet`](https://docs.rs/iota-sdk/latest/iota_sdk/wallet/core/struct.Wallet.html), get Alice's `Account` which was [created in the first guide](../accounts-and-addresses/create-account.mdx) and [sync it](../accounts-and-addresses/check-balance.mdx). -2. Search the account's balance for a native token with a balance of at least `BURN_AMOUNT`. +2. Search the account's balance for a native token with a balance of at least `MIN_AVAILABLE_AMOUNT`.
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/burn.ts#L32-L34 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/burn.ts#L37-L39 ```
@@ -77,7 +77,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/burn.ts#L52-L54 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/burn.ts#L57-L59 ```
@@ -94,7 +94,7 @@ The following example will:
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/burn.py#L22-L25 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/burn.py#L24-L27 ```
@@ -106,7 +106,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/burn.py#L31-L32 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/burn.py#L33-L34 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/create.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/create.mdx index 21ac9e2a479..b3e1bde7487 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/create.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/create.mdx @@ -38,7 +38,7 @@ To create a Foundry you need an Alias Output which owns it. This Alias Output on
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/create.rs#L43-L60 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/create.rs#L47-L65 ```
@@ -48,7 +48,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/create.rs#L64-L69 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/create.rs#L72-L77 ```
@@ -59,7 +59,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/create.rs#L71 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/create.rs#L79 ```
@@ -76,17 +76,17 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/create.ts#L32-L50 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/create.ts#L37-L55 ```
-3. Define the [`CreateNativeTokenParams`](../../references/nodejs/interfaces/CreateNativeTokenParams.md). +3. Define `Irc30Metadata` and the [`CreateNativeTokenParams`](../../references/nodejs/interfaces/CreateNativeTokenParams.md).
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/create.ts#L55-L59 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/create.ts#L59-L70 ```
@@ -99,7 +99,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/create.ts#L61-L62 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/create.ts#L72-L73 ```
@@ -116,7 +116,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/create.py#L24-L32 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/create.py#L26-L33 ```
@@ -126,7 +126,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/create.py#L39-L43 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/create.py#L41-L49 ```
@@ -139,7 +139,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/create.py#L45-L46 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/create.py#L51-L52 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/destroy-foundry.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/destroy-foundry.mdx index 5f2d36bf494..a1da3d871b9 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/destroy-foundry.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/destroy-foundry.mdx @@ -39,7 +39,7 @@ tokens but need to empty the foundry, you can decrease your native token supply
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/destroy_foundry.rs#L33 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/destroy_foundry.rs#L40 ```
@@ -50,7 +50,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/destroy_foundry.rs#L42 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/destroy_foundry.rs#L83 ```
@@ -65,7 +65,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/destroy-foundry.ts#L30 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/destroy-foundry.ts#L35 ```
@@ -77,7 +77,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/destroy-foundry.ts#L35-L37 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/destroy-foundry.ts#L40-L42 ```
@@ -92,7 +92,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/destroy_foundry.py#L23 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/destroy_foundry.py#L25 ```
@@ -104,7 +104,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/destroy_foundry.py#L26C1-L26C1 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/destroy_foundry.py#L28 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/melt.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/melt.mdx index 60961f7b05b..bdb39ed864d 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/melt.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/melt.mdx @@ -36,7 +36,7 @@ If you melt your native tokens, you can still destroy the foundry that created t
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/melt.rs#L63 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/melt.rs#L67 ```
@@ -46,14 +46,13 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_ 1. Instantiate a [`Wallet`](https://docs.rs/iota-sdk/latest/iota_sdk/wallet/core/struct.Wallet.html), get Alice's `Account` which was [created in the first guide](../accounts-and-addresses/create-account.mdx) and [sync it](../accounts-and-addresses/check-balance.mdx). -2. Prepare to melt `MELT_AMOUNT` native tokens transaction by calling the [`Account.prepareMeltNativeToken()`](../../references/nodejs/classes/Account.md#preparemeltnativetoken) - function anb send the prepared transaction using the [`Account.send()`](../../references/nodejs/classes/Account.md#send) +2. Create a transaction to melt `MELT_AMOUNT` native tokens by calling the [`Account.meltNativeToken()`](../../references/nodejs/classes/Account.md#meltnativetoken) function.
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/melt.ts#L46-L48 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/melt.ts#L51-L54 ```
@@ -65,14 +64,14 @@ The following example will: 1. Instantiate a [`Wallet`](https://docs.rs/iota-sdk/latest/iota_sdk/wallet/core/struct.Wallet.html), get Alice's `Account` which was [created in the first guide](../accounts-and-addresses/create-account.mdx) and [sync it](../accounts-and-addresses/check-balance.mdx). -2. Prepare to melt `MELT_AMOUNT` native tokens transaction by calling the [`Account.prepare_melt_native_token()`](../../references/python/iota_sdk/wallet/account.md#prepare_melt_native_token) +2. Prepare to melt `melt_amount` native tokens transaction by calling the [`Account.prepare_melt_native_token()`](../../references/python/iota_sdk/wallet/account.md#prepare_melt_native_token) function and send the prepared transaction using the [`Account.send()`](../../references/python/iota_sdk/wallet/account.md#send) function.
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/melt.py#L31 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/melt.py#L33 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/mint.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/mint.mdx index fccf506a77a..0d29c4ca7ec 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/mint.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/mint.mdx @@ -34,7 +34,7 @@ The following example will:
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/mint.rs#L39-L42 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/mint.rs#L43-L46 ```
@@ -45,7 +45,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/mint.rs#L62 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/mint.rs#L66 ```
@@ -62,7 +62,7 @@ The following example will:
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/mint.ts#L32-L36 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/mint.ts#L37-L41 ```
@@ -74,7 +74,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/mint.ts#L45-L47 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/mint.ts#L50-L52 ```
@@ -91,19 +91,18 @@ The following example will:
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/mint.py#L17-L20 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/mint.py#L16-L19 ```
-3. Prepare to mint 10 native tokens transaction by calling the [`Account.prepare_mint_native_token()`](../../references/python/iota_sdk/wallet/account.md#prepare_mint_native_token) - function and send the prepared transaction using the [`Account.send()`](../../references/python/iota_sdk/wallet/account.md#send) +3. Prepare to mint `mint_amount` native tokens transaction by calling the [`Account.mint_native_token()`](../../references/python/iota_sdk/wallet/account.md#mint_native_token) function.
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/mint.py#L31 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/mint.py#L33 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/send.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/send.mdx index c9d1171b024..e3c249dee94 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/send.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/native-tokens/send.mdx @@ -36,7 +36,7 @@ claim them.
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/send.rs#L41-L45 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/send.rs#L45-L49 ```
@@ -46,7 +46,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/send.rs#L62-L65 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/send.rs#L66-L69 ```
@@ -57,7 +57,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/send.rs#L67 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_tokens/send.rs#L71 ```
@@ -72,7 +72,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/native_
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/send.ts#L33-L35 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/send.ts#L38-L40 ```
@@ -82,19 +82,18 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/send.ts#L38-L43 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/send.ts#L43-L48 ```
-4. Prepare the transaction that will send the tokens using the [`Account.prepareSendNativeTokens()`](../../references/nodejs/classes/Account.md#preparesendnativetokens) - function and send the prepared transaction using the [`Account.send()`](../../references/nodejs/classes/Account.md#send) - function. +4. Create the transaction that will send the tokens using the [`Account.sendNativeTokens()`](../../references/nodejs/classes/Account.md#account.sendnativetokens) + function,
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/send.ts#L55-L57 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/native_tokens/send.ts#L60 ```
@@ -110,7 +109,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/send.py#L16-L17 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/send.py#L16-L19 ```
@@ -120,19 +119,18 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/send.py#L25-L31 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/send.py#L27-L33 ```
-4. Prepare the transaction that will send the tokens using the [`Account.prepare_send_native_tokens()`](../../references/python/iota_sdk/wallet/account.md#prepare_send_native_tokens) - function and send the prepared transaction using the [`Account.send()`](../../references/python/iota_sdk/wallet/account.md#send) +4. Send the outputs from the previous step using the [`Account.send_native_tokens()`](../../references/python/iota_sdk/wallet/account.md#send_native_tokens) function.
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/send.py#L33 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/native_tokens/send.py#L35 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/nfts/burn-nft.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/nfts/burn-nft.mdx index e7ad9ba2483..071ae947ea6 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/nfts/burn-nft.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/nfts/burn-nft.mdx @@ -38,7 +38,7 @@ The following example will:
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/burn_nft.rs#L33 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/burn_nft.rs#L37 ```
@@ -49,7 +49,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/bu
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/burn_nft.rs#L42 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/burn_nft.rs#L46 ```
@@ -66,7 +66,7 @@ The following example will:
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/burn_nft.ts#L42 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/burn_nft.ts#L50 ```
@@ -77,7 +77,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/burn_nft.ts#L47-L49 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/burn_nft.ts#L55-L57 ```
@@ -94,7 +94,7 @@ The following example will:
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/nfts/burn_nft.py#L20 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/nfts/burn_nft.py#L22 ```
@@ -105,7 +105,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/nfts/burn_nft.py#L23 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/nfts/burn_nft.py#L25 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/nfts/mint-nft.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/nfts/mint-nft.mdx index 16100626354..dbcd4b17203 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/nfts/mint-nft.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/nfts/mint-nft.mdx @@ -36,7 +36,7 @@ description, and any additional information relevant to its value or characteris
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mint_nft.rs#L53 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mint_nft.rs#L55 ```
@@ -48,7 +48,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mi
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mint_nft.rs#L60-L66 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mint_nft.rs#L71-L77 ```
@@ -59,7 +59,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mi
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mint_nft.rs#L68 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mint_nft.rs#L79 ```
@@ -69,7 +69,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mi
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mint_nft.rs#L84-L91 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mint_nft.rs#L95-L102 ```
@@ -80,7 +80,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mi
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mint_nft.rs#L93 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mint_nft.rs#L104 ```
@@ -96,7 +96,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/mi
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/mint_nft.ts#L50 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/mint_nft.ts#L54 ```
@@ -108,19 +108,18 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/mint_nft.ts#L55-L62 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/mint_nft.ts#L61-L74 ```
-4. Prepare the transaction that will mint the NFTs using the [`Account.prepareMintNfts()`](../../references/nodejs/classes/Account.md#preparemintnfts) - function and send the prepared transaction using the [`Account.send()`](../../references/nodejs/classes/Account.md#send) +4. Create the transaction that will mint the NFTs using the [`Account.mintNfts()`](../../references/nodejs/classes/Account.md#mintnfts) function.
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/mint_nft.ts#L63-L65 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/mint_nft.ts#L75 ```
@@ -131,7 +130,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/mint_nft.ts#L82-L96 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/mint_nft.ts#L92-L106 ```
@@ -148,7 +147,7 @@ The following example will:
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/nfts/mint_nft.py#L21-L23 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/nfts/mint_nft.py#L23-L25 ```
@@ -160,7 +159,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/nfts/mint_nft.py#L25 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/nfts/mint_nft.py#L27 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/nfts/send-nft.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/nfts/send-nft.mdx index 4baded8031a..c7127f683f9 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/nfts/send-nft.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/nfts/send-nft.mdx @@ -30,7 +30,7 @@ associated collectible or token value and any other attributes it defines.
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/send_nft.rs#L38 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/send_nft.rs#L42 ```
@@ -40,7 +40,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/se
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/send_nft.rs#L44 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/send_nft.rs#L48 ```
@@ -50,7 +50,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/se
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/send_nft.rs#L48 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/nfts/send_nft.rs#L52 ```
@@ -67,7 +67,7 @@ The following example will:
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/send_nft.ts#L43 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/send_nft.ts#L51 ```
@@ -77,19 +77,17 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/send_nft.ts#L45-L50 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/send_nft.ts#L53-L58 ```
-4. Prepare the transaction that will send the NFT using the [`Account.prepareSendNft()`](../../references/nodejs/classes/Account.md#preparesendnft) function - and send the transaction using the [`Account.send()`](../../references/nodejs/classes/Account.md#send) - function. +4. Create the transaction that will send the NFT using the [`Account.sendNft()`](../../references/nodejs/classes/Account.md#sendnft) function.
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/send_nft.ts#L53-L55 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/nfts/send_nft.ts#L61 ```
@@ -106,7 +104,7 @@ The following example will:
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/nfts/send_nft.py#L21-L24 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/nfts/send_nft.py#L23-L26 ```
@@ -118,7 +116,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/nfts/send_nft.py#L26 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/nfts/send_nft.py#L28 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/outputs/features.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/outputs/features.mdx index fb5eeb84f74..b4cb3c2ccf9 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/outputs/features.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/outputs/features.mdx @@ -54,7 +54,7 @@ output specs in [TIP-018](/tips/tips/TIP-0018)
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/features.rs#L44-L47 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/features.rs#L49-L52 ```
@@ -64,7 +64,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/features.rs#L54-L57 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/features.rs#L59-L62 ```
@@ -74,7 +74,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/features.rs#L64-L66 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/features.rs#L69-L71 ```
@@ -86,7 +86,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/features.rs#L49-L52 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/features.rs#L54-L57 ```
@@ -96,7 +96,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/features.rs#L59-L62 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/features.rs#L64-L67 ```
@@ -170,7 +170,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/features.py#L17-L25 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/features.py#L30-L39 ```
@@ -180,7 +180,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/features.py#L41-L49 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/features.py#L54-L62 ```
@@ -190,7 +190,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/features.py#L65-L73 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/features.py#L78-L86 ```
@@ -202,7 +202,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/features.py#L29-L37 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/features.py#L42-L50 ```
@@ -212,7 +212,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/features.py#L53-L61 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/features.py#L66-L74 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/outputs/unlock-conditions.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/outputs/unlock-conditions.mdx index 6c5f365dcd8..7280334da6c 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/outputs/unlock-conditions.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/outputs/unlock-conditions.mdx @@ -47,7 +47,7 @@ function of each output type:
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/unlock_conditions.rs#L55-L62 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/unlock_conditions.rs#L59-L66 ```
@@ -57,7 +57,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/unlock_conditions.rs#L64-L67 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/unlock_conditions.rs#L68-L71 ```
@@ -67,7 +67,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/unlock_conditions.rs#L69-L71 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/unlock_conditions.rs#L73-L75 ```
@@ -78,7 +78,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/unlock_conditions.rs#L73-L76 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/unlock_conditions.rs#L77-L80 ```
@@ -88,7 +88,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/unlock_conditions.rs#L78-L80 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/outputs/unlock_conditions.rs#L82-L84 ```
@@ -163,7 +163,7 @@ when building the outputs:
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/unlock_conditions.py#L28-L36 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/unlock_conditions.py#L42-L50 ```
@@ -173,7 +173,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/unlock_conditions.py#L40-L45 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/unlock_conditions.py#L54-L59 ```
@@ -183,7 +183,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/unlock_conditions.py#L49-L57 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/unlock_conditions.py#L63-L71 ```
@@ -193,7 +193,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/unlock_conditions.py#L61-L71 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/unlock_conditions.py#L75-L85 ```
@@ -203,7 +203,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/unlock_conditions.py#L75-L83 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/outputs/unlock_conditions.py#L89-L97 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/sign-and-verify-ed25519/sign-ed25519.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/sign-and-verify-ed25519/sign-ed25519.mdx index 3545319b290..c04a9ee6408 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/sign-and-verify-ed25519/sign-ed25519.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/sign-and-verify-ed25519/sign-ed25519.mdx @@ -29,7 +29,7 @@ process guarantees that the data has not been tampered with and originated from
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.rs#L33-L39 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.rs#L37-L43 ```
@@ -39,7 +39,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/sign_an
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.rs#L46-L49 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.rs#L50-L53 ```
@@ -49,7 +49,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/sign_an
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.rs#L57 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.rs#L61 ```
@@ -95,7 +95,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.py#L20-L27 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.py#L21-L28 ```
@@ -105,7 +105,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.py#L29-L37 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.py#L30-L38 ```
@@ -115,7 +115,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.py#L41-L42 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/sign_and_verify_ed25519/sign_ed25519.py#L42-L43 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/simple-transaction/request-funds.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/simple-transaction/request-funds.mdx index bf0cfe4b580..87aedfedf9f 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/simple-transaction/request-funds.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/simple-transaction/request-funds.mdx @@ -36,7 +36,7 @@ using the `request_funds_from_faucet` function.
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/simple_transaction/request_funds.rs#L30 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/simple_transaction/request_funds.rs#L34 ```
@@ -46,7 +46,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/simple_
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/simple_transaction/request_funds.rs#L36-L37 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/simple_transaction/request_funds.rs#L40-L41 ```
@@ -64,7 +64,7 @@ The following example will:
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/simple_transaction/request-funds.ts#L29 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/simple_transaction/request-funds.ts#L31 ```
@@ -74,7 +74,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/simple_transaction/request-funds.ts#L32-L34 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/simple_transaction/request-funds.ts#L34-L36 ```
@@ -86,12 +86,12 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how [created in the first guide](../accounts-and-addresses/create-account.mdx) and [sync it](../accounts-and-addresses/check-balance.mdx). 2. Get all the [`Addresses`](../../references/python/iota_sdk/types/address.md) related to the `Account` by calling the [`Account.addresses()`](../../references/python/iota_sdk/wallet/account.md#addresses) - function. + function, and then select the first one.
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/simple_transaction/request_funds.py#L17 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/simple_transaction/request_funds.py#L19 ```
@@ -103,7 +103,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/simple_transaction/request_funds.py#L20 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/simple_transaction/request_funds.py#L22 ```
diff --git a/docs/build/iota-sdk/1.0/docs/how-tos/simple-transaction/simple-transaction.mdx b/docs/build/iota-sdk/1.0/docs/how-tos/simple-transaction/simple-transaction.mdx index fd2e37d2fc4..d328208dd10 100644 --- a/docs/build/iota-sdk/1.0/docs/how-tos/simple-transaction/simple-transaction.mdx +++ b/docs/build/iota-sdk/1.0/docs/how-tos/simple-transaction/simple-transaction.mdx @@ -43,7 +43,7 @@ The following example will:
```rust reference -https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/simple_transaction/simple_transaction.rs#L41 +https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/simple_transaction/simple_transaction.rs#L45 ```
@@ -59,7 +59,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/sdk/examples/how_tos/simple_
```typescript reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/simple_transaction/simple-transaction.ts#L38 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how_tos/simple_transaction/simple-transaction.ts#L44 ```
@@ -75,7 +75,7 @@ https://github.com/iotaledger/iota-sdk/blob/develop/bindings/nodejs/examples/how
```python reference -https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/simple_transaction/simple_transaction.py#L26 +https://github.com/iotaledger/iota-sdk/blob/develop/bindings/python/examples/how_tos/simple_transaction/simple_transaction.py#L23-L28 ```