Functions
useSignMessage
useSignMessage<
TWalletAccount
>(...config
): (input
) =>Promise
<Output
>
Use this to get a function capable of signing a message with the private key of a UiWalletAccount
Type Parameters
Type Parameter |
---|
TWalletAccount extends UiWalletAccount |
Parameters
Parameter | Type |
---|---|
...config | [TWalletAccount ] |
Returns
(
input
):Promise
<Output
>
Parameters
Parameter | Type |
---|---|
input | Input |
Returns
Promise
<Output
>