ChainSig.js Documentation - v1.1.6
Preparing search index...
contracts
ChainSignatureContract
Class ChainSignatureContract
Index
Constructors
constructor
Methods
get
Current
Signature
Deposit
sign
get
Public
Key
get
Derived
Public
Key
Constructors
constructor
new
ChainSignatureContract
(
__namedParameters
:
{
contractId
:
string
;
networkId
:
NearNetworkIds
;
fallbackRpcUrls
?:
string
[]
;
}
,
)
:
ChainSignatureContract
Parameters
__namedParameters
:
{
contractId
:
string
;
networkId
:
NearNetworkIds
;
fallbackRpcUrls
?:
string
[]
}
Returns
ChainSignatureContract
Methods
get
Current
Signature
Deposit
getCurrentSignatureDeposit
()
:
number
Returns
number
sign
sign
(
__namedParameters
:
SignArgs
)
:
Promise
<
RSVSignature
[]
>
Parameters
__namedParameters
:
SignArgs
Returns
Promise
<
RSVSignature
[]
>
get
Public
Key
getPublicKey
()
:
Promise
<
`
04
${
string
}
`
>
Returns
Promise
<
`
04
${
string
}
`
>
get
Derived
Public
Key
getDerivedPublicKey
(
args
:
{
path
:
string
;
predecessor
:
string
;
IsEd25519
?:
boolean
}
,
)
:
Promise
<
`
04
${
string
}
`
|
`
Ed25519:
${
string
}
`
>
Parameters
args
:
{
path
:
string
;
predecessor
:
string
;
IsEd25519
?:
boolean
}
Returns
Promise
<
`
04
${
string
}
`
|
`
Ed25519:
${
string
}
`
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
Current
Signature
Deposit
sign
get
Public
Key
get
Derived
Public
Key
ChainSig.js Documentation - v1.1.6
Loading...