Preparing search index...
The search index is not available
Solana JavaScript SDK
Solana JavaScript SDK
@solana/signers
assertIsMessagePartialSigner
Function assertIsMessagePartialSigner
assertIsMessagePartialSigner
<
TAddress
extends
string
>
(
value
:
{
address
:
Address
<
TAddress
>
;
[
key
:
string
]:
unknown
}
,
)
:
asserts
value
is
Readonly
<
{
address
:
Address
<
TAddress
>
;
signMessages
(
messages
:
readonly
Readonly
<
{
content
:
Uint8Array
;
signatures
:
Readonly
<
Record
<
Address
,
SignatureBytes
>
>
;
}
,
>
[]
,
config
?:
Readonly
<
{
abortSignal
?:
AbortSignal
}
>
,
)
:
Promise
<
readonly
Readonly
<
Record
<
Address
,
SignatureBytes
>
>
[]
>
;
}
,
>
Asserts that the provided value implements the
MessagePartialSigner
interface.
Type Parameters
TAddress
extends
string
Parameters
value
:
{
address
:
Address
<
TAddress
>
;
[
key
:
string
]:
unknown
}
Returns
asserts
value
is
Readonly
<
{
address
:
Address
<
TAddress
>
;
signMessages
(
messages
:
readonly
Readonly
<
{
content
:
Uint8Array
;
signatures
:
Readonly
<
Record
<
Address
,
SignatureBytes
>
>
;
}
,
>
[]
,
config
?:
Readonly
<
{
abortSignal
?:
AbortSignal
}
>
,
)
:
Promise
<
readonly
Readonly
<
Record
<
Address
,
SignatureBytes
>
>
[]
>
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Solana JavaScript SDK
Loading...
Asserts that the provided value implements the MessagePartialSigner interface.