Left Curve Software Stack
Home
GitHub
Preparing search index...
@left-curve/types
Signer
Type Alias Signer
type
Signer
=
{
getKeyHash
()
:
Promise
<
string
>
;
signArbitrary
<
T
extends
JsonValue
=
JsonValue
>
(
payload
:
ArbitraryDoc
<
T
>
,
)
:
Promise
<
ArbitrarySignatureOutcome
>
;
signTx
(
signDoc
:
SignDoc
)
:
Promise
<
SignatureOutcome
>
;
}
Index
Methods
get
Key
Hash
sign
Arbitrary
sign
Tx
Methods
get
Key
Hash
getKeyHash
()
:
Promise
<
string
>
Returns
Promise
<
string
>
sign
Arbitrary
signArbitrary
<
T
extends
JsonValue
=
JsonValue
>
(
payload
:
ArbitraryDoc
<
T
>
,
)
:
Promise
<
ArbitrarySignatureOutcome
>
Type Parameters
T
extends
JsonValue
=
JsonValue
Parameters
payload
:
ArbitraryDoc
<
T
>
Returns
Promise
<
ArbitrarySignatureOutcome
>
sign
Tx
signTx
(
signDoc
:
SignDoc
)
:
Promise
<
SignatureOutcome
>
Parameters
signDoc
:
SignDoc
Returns
Promise
<
SignatureOutcome
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
get
Key
Hash
sign
Arbitrary
sign
Tx
Home
GitHub
Left Curve Software Stack
Loading...