Preparing search index...
The search index is not available
@perennial/sdk
@perennial/sdk
Perennial
Definitions
CustomSource
Type alias CustomSource
Custom
Source
:
{
address
:
Address
;
signMessage
:
(
(
{ message }
)
=>
Promise
<
Hash
>
)
;
signTransaction
:
(
<
serializer
,
transaction
>
(
transaction
,
args
?
)
=>
Promise
<
IsNarrowable
<
TransactionSerialized
<
GetTransactionType
<
transaction
>
>
,
Hash
>
extends
true
?
TransactionSerialized
<
GetTransactionType
<
transaction
>
>
:
Hash
>
)
;
signTypedData
:
(
<
const
typedData
,
primaryType
>
(
typedDataDefinition
)
=>
Promise
<
Hash
>
)
;
}
Type declaration
address
:
Address
sign
Message
:
(
(
{ message }
)
=>
Promise
<
Hash
>
)
(
{ message }
)
:
Promise
<
Hash
>
Parameters
{ message }
:
{
message
:
SignableMessage
;
}
message
:
SignableMessage
Returns
Promise
<
Hash
>
sign
Transaction
:
(
<
serializer
,
transaction
>
(
transaction
,
args
?
)
=>
Promise
<
IsNarrowable
<
TransactionSerialized
<
GetTransactionType
<
transaction
>
>
,
Hash
>
extends
true
?
TransactionSerialized
<
GetTransactionType
<
transaction
>
>
:
Hash
>
)
<
serializer
,
transaction
>
(
transaction
,
args
?
)
:
Promise
<
IsNarrowable
<
TransactionSerialized
<
GetTransactionType
<
transaction
>
>
,
Hash
>
extends
true
?
TransactionSerialized
<
GetTransactionType
<
transaction
>
>
:
Hash
>
Type Parameters
serializer
extends
SerializeTransactionFn
<
TransactionSerializable
>
=
SerializeTransactionFn
<
TransactionSerializable
>
transaction
extends
Parameters
<
serializer
>
[
0
]
=
Parameters
<
serializer
>
[
0
]
Parameters
transaction
:
transaction
Optional
args
:
{
serializer
?:
serializer
;
}
Optional
serializer
?:
serializer
Returns
Promise
<
IsNarrowable
<
TransactionSerialized
<
GetTransactionType
<
transaction
>
>
,
Hash
>
extends
true
?
TransactionSerialized
<
GetTransactionType
<
transaction
>
>
:
Hash
>
sign
Typed
Data
:
(
<
const
typedData
,
primaryType
>
(
typedDataDefinition
)
=>
Promise
<
Hash
>
)
<
const
typedData
,
primaryType
>
(
typedDataDefinition
)
:
Promise
<
Hash
>
Type Parameters
const
typedData
extends
TypedData
|
Record
<
string
,
unknown
>
primaryType
extends
keyof
typedData
|
"EIP712Domain"
=
keyof
typedData
Parameters
typedDataDefinition
:
TypedDataDefinition
<
typedData
,
primaryType
>
Returns
Promise
<
Hash
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@perennial/sdk
Loading...