You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -691,7 +691,7 @@ Rekey an account to a new address.
691
691
| Name | Type | Description |
692
692
| :------ | :------ | :------ |
693
693
|`account`|`string`\|`Address`| The account to rekey |
694
-
|`rekeyTo`|`string`\|`Address`\|[`TransactionSignerAccount`](../interfaces/types_account.TransactionSignerAccount.md)| The account address or signing account of the account that will be used to authorise transactions for the rekeyed account going forward. If a signing account is provided that will now be tracked as the signer for `account` in this `AccountManager`|
694
+
|`rekeyTo`|`string`\|`Address`\|`AddressWithSigner`| The account address or signing account of the account that will be used to authorise transactions for the rekeyed account going forward. If a signing account is provided that will now be tracked as the signer for `account` in this `AccountManager`|
695
695
|`options?`|`Omit`\<[`CommonTransactionParams`](../modules/types_composer.md#commontransactionparams), ``"sender"``\> & [`SendParams`](../interfaces/types_transaction.SendParams.md)| Any parameters to control the transaction or execution of the transaction |
Tracks and returns an Algorand account that is a rekeyed version of the given account to a new sender.
746
746
@@ -749,11 +749,11 @@ Tracks and returns an Algorand account that is a rekeyed version of the given ac
749
749
| Name | Type | Description |
750
750
| :------ | :------ | :------ |
751
751
|`sender`|`string`\|`Address`| The sender address to use as the new sender |
752
-
|`account`|[`TransactionSignerAccount`](../interfaces/types_account.TransactionSignerAccount.md)| The account to use as the signer for this new rekeyed account |
752
+
|`account`|`AddressWithSigner`| The account to use as the signer for this new rekeyed account |
@@ -783,7 +783,7 @@ then an error will be thrown from `getSigner` / `getAccount`.
783
783
784
784
| Name | Type | Description |
785
785
| :------ | :------ | :------ |
786
-
|`signer`|`TransactionSigner`\|[`TransactionSignerAccount`](../interfaces/types_account.TransactionSignerAccount.md)| The signer to use, either a `TransactionSigner` or a `TransactionSignerAccount`|
786
+
|`signer`|`AddressWithSigner`\|`TransactionSigner`| The signer to use, either a `TransactionSigner` or a `AddressWithSigner`|
787
787
788
788
#### Returns
789
789
@@ -794,7 +794,7 @@ The `AccountManager` so method calls can be chained
794
794
**`Example`**
795
795
796
796
```typescript
797
-
const signer =accountManager.random() // Can be anything that returns a `algosdk.TransactionSigner` or `TransactionSignerAccount`
797
+
const signer =accountManager.random() // Can be anything that returns a `TransactionSigner` or `AddressWithSigner`
798
798
accountManager.setDefaultSigner(signer)
799
799
800
800
// When signing a transaction, if there is no signer registered for the sender then the default signer will be used
Tracks the given `algosdk.TransactionSigner` against the given sender address for later signing.
814
+
Tracks the given `TransactionSigner` against the given sender address for later signing.
815
815
816
816
#### Parameters
817
817
818
818
| Name | Type | Description |
819
819
| :------ | :------ | :------ |
820
820
|`sender`|`string`\|`Address`| The sender address to use this signer for |
821
-
|`signer`|`TransactionSigner`| The `algosdk.TransactionSigner` to sign transactions with for the given sender |
821
+
|`signer`|`TransactionSigner`| The `TransactionSigner` to sign transactions with for the given sender |
822
822
823
823
#### Returns
824
824
@@ -852,7 +852,7 @@ Note: If you are generating accounts via the various methods on `AccountManager`
852
852
853
853
| Name | Type | Description |
854
854
| :------ | :------ | :------ |
855
-
|`account`|`default`\|`LogicSigAccount`\|[`MultisigAccount`](types_account.MultisigAccount.md)\|[`SigningAccount`](types_account.SigningAccount.md)\|[`TransactionSignerAccount`](../interfaces/types_account.TransactionSignerAccount.md)|The account to register, which can be a `TransactionSignerAccount` or a `algosdk.Account`, `algosdk.LogicSigAccount`, `SigningAccount` or `MultisigAccount`|
855
+
|`account`|`AddressWithSigner`\|`default`\|`LogicSigAccount`\|[`MultisigAccount`](types_account.MultisigAccount.md)\|[`SigningAccount`](types_account.SigningAccount.md)|The account to register, which can be a `AddressWithSigner` or a `algosdk.Account`, `algosdk.LogicSigAccount`, `SigningAccount` or `MultisigAccount`|
0 commit comments