Polkadot Apps
Preparing search index...
@polkadot-apps/terminal
UserSession
Type Alias UserSession
UserSession
:
StoredUserSession
&
{
dispose
()
:
void
;
getRingVrfAlias
(
productAccountId
:
[
string
,
number
]
,
productId
:
string
,
)
:
ResultAsync
<
{
alias
:
Uint8Array
<
ArrayBufferLike
>
;
context
:
Uint8Array
<
ArrayBufferLike
>
;
}
,
Error
,
>
;
sendDisconnectMessage
()
:
ResultAsync
<
void
,
Error
>
;
signPayload
(
payload
:
{
address
:
string
;
assetId
:
`
0x
${
string
}
`
|
undefined
;
blockHash
:
`
0x
${
string
}
`
;
blockNumber
:
`
0x
${
string
}
`
;
era
:
`
0x
${
string
}
`
;
genesisHash
:
`
0x
${
string
}
`
;
metadataHash
:
`
0x
${
string
}
`
|
undefined
;
method
:
`
0x
${
string
}
`
;
mode
:
number
|
undefined
;
nonce
:
`
0x
${
string
}
`
;
signedExtensions
:
string
[]
;
specVersion
:
`
0x
${
string
}
`
;
tip
:
`
0x
${
string
}
`
;
transactionVersion
:
`
0x
${
string
}
`
;
version
:
number
;
withSignedTransaction
:
boolean
|
void
;
}
,
)
:
ResultAsync
<
{
signature
:
Uint8Array
<
ArrayBufferLike
>
;
signedTransaction
:
Uint8Array
<
ArrayBufferLike
>
|
undefined
;
}
,
Error
,
>
;
signRaw
(
payload
:
{
address
:
string
;
data
:
|
{
tag
:
"Bytes"
;
value
:
Uint8Array
<
ArrayBufferLike
>
}
|
{
tag
:
"Payload"
;
value
:
string
}
;
}
,
)
:
ResultAsync
<
{
signature
:
Uint8Array
<
ArrayBufferLike
>
;
signedTransaction
:
Uint8Array
<
ArrayBufferLike
>
|
undefined
;
}
,
Error
,
>
;
subscribe
(
callback
:
Callback
<
{
data
:
{
tag
:
"v1"
;
value
:
|
{
tag
:
"Disconnected"
;
value
:
undefined
}
|
{
tag
:
"SignRequest"
;
value
:
|
{
tag
:
"Payload"
;
value
:
{
address
:
string
;
assetId
:
(...)
|
(...)
;
blockHash
:
`
0x
${
(...)
}
`
;
blockNumber
:
`
0x
${
(...)
}
`
;
era
:
`
0x
${
(...)
}
`
;
genesisHash
:
`
0x
${
(...)
}
`
;
metadataHash
:
(...)
|
(...)
;
method
:
`
0x
${
(...)
}
`
;
mode
:
(...)
|
(...)
;
nonce
:
`
0x
${
(...)
}
`
;
signedExtensions
:
(...)
[]
;
specVersion
:
`
0x
${
(...)
}
`
;
tip
:
`
0x
${
(...)
}
`
;
transactionVersion
:
`
0x
${
(...)
}
`
;
version
:
number
;
withSignedTransaction
:
(...)
|
(...)
;
}
;
}
|
{
tag
:
"Raw"
;
value
:
{
address
:
string
;
data
:
(...)
|
(...)
}
}
;
}
|
{
tag
:
"SignResponse"
;
value
:
{
payload
:
ResultPayload
;
respondingTo
:
string
}
;
}
|
{
tag
:
"RingVrfAliasRequest"
;
value
:
{
productAccountId
:
[
string
,
number
]
;
productId
:
string
}
;
}
|
{
tag
:
"RingVrfAliasResponse"
;
value
:
{
payload
:
ResultPayload
;
respondingTo
:
string
}
;
}
;
}
;
messageId
:
string
;
}
,
ResultAsync
<
boolean
,
Error
>
,
>
,
)
:
VoidFunction
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Polkadot Apps
Loading...