@keetanetwork/keetanet-client
Preparing search index...
KeetaNetSDK
Referenced
KeetaNetLedgerVoteError
Class KeetaNetLedgerVoteError
Hierarchy (
View Summary
)
KeetaNetErrorBase
<
LedgerVoteErrorCode
>
KeetaNetLedgerVoteError
Index
Constructors
C
constructor
Properties
P
accounts
P
code
P
should
Retry
P
type
P
is
Instance
Methods
M
to
JSON
M
assert
Valid
Ledger
Error
Code
Constructors
constructor
new
KeetaNetLedgerVoteError
(
code
:
"LEDGER_NOT_SUCCESSOR"
|
"LEDGER_NOT_OPENING"
,
message
:
string
,
accounts
:
InstanceSet
<
Account
<
AccountKeyAlgorithm
>
>
,
)
:
KeetaNetLedgerVoteError
Parameters
code
:
"LEDGER_NOT_SUCCESSOR"
|
"LEDGER_NOT_OPENING"
message
:
string
accounts
:
InstanceSet
<
Account
<
AccountKeyAlgorithm
>
>
Returns
KeetaNetLedgerVoteError
Properties
Readonly
accounts
accounts
:
InstanceSet
<
Account
<
AccountKeyAlgorithm
>
>
code
code
:
"LEDGER_NOT_SUCCESSOR"
|
"LEDGER_NOT_OPENING"
Readonly
should
Retry
shouldRetry
:
false
Readonly
type
type
:
"LEDGER"
= LedgerErrorType
Static
Readonly
is
Instance
isInstance
:
(
obj
:
any
,
strict
?:
boolean
)
=>
obj
is
KeetaNetLedgerVoteError
= ...
Methods
to
JSON
toJSON
()
:
{
accounts
:
(
|
TokenPublicKeyString
|
NetworkPublicKeyString
|
StoragePublicKeyString
|
MultisigPublicKeyString
|
Secp256K1PublicKeyString
|
Secp256R1PublicKeyString
|
ED25519PublicKeyString
)
[]
;
code
:
"LEDGER_NOT_SUCCESSOR"
|
"LEDGER_NOT_OPENING"
;
message
:
string
;
type
:
string
;
}
Returns
{
accounts
:
(
|
TokenPublicKeyString
|
NetworkPublicKeyString
|
StoragePublicKeyString
|
MultisigPublicKeyString
|
Secp256K1PublicKeyString
|
Secp256R1PublicKeyString
|
ED25519PublicKeyString
)
[]
;
code
:
"LEDGER_NOT_SUCCESSOR"
|
"LEDGER_NOT_OPENING"
;
message
:
string
;
type
:
string
;
}
Static
assert
Valid
Ledger
Error
Code
assertValidLedgerErrorCode
(
code
:
string
,
)
:
code
is
"LEDGER_NOT_SUCCESSOR"
|
"LEDGER_NOT_OPENING"
Parameters
code
:
string
Returns
code
is
"LEDGER_NOT_SUCCESSOR"
|
"LEDGER_NOT_OPENING"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
C
constructor
Properties
P
accounts
P
code
P
should
Retry
P
type
P
is
Instance
Methods
M
to
JSON
M
assert
Valid
Ledger
Error
Code
@keetanetwork/keetanet-client
Loading...