@keetanetwork/keetanet-client
Preparing search index...
KeetaNetSDK
Referenced
KeetaNetLedgerIdempotentKeyError
Class KeetaNetLedgerIdempotentKeyError
Hierarchy (
View Summary
)
KeetaNetErrorBase
<
LedgerIdempotentKeyErrorCode
>
KeetaNetLedgerIdempotentKeyError
Index
Constructors
C
constructor
Properties
P
account?
P
blockhash
P
code
P
existing
Blockhash
P
idempotent
Key?
P
should
Retry
P
type
P
is
Instance
Methods
M
to
JSON
M
assert
Valid
Ledger
Error
Code
Constructors
constructor
new
KeetaNetLedgerIdempotentKeyError
(
code
:
"LEDGER_IDEMPOTENT_KEY_EXISTS"
,
blockhash
:
BlockHash
,
existingBlockhash
:
BlockHash
,
account
?:
GenericAccount
,
idempotentKey
?:
Buffer
|
ArrayBuffer
,
)
:
KeetaNetLedgerIdempotentKeyError
Parameters
code
:
"LEDGER_IDEMPOTENT_KEY_EXISTS"
blockhash
:
BlockHash
existingBlockhash
:
BlockHash
Optional
account
:
GenericAccount
Optional
idempotentKey
:
Buffer
|
ArrayBuffer
Returns
KeetaNetLedgerIdempotentKeyError
Properties
Optional
Readonly
account
account
?:
GenericAccount
Readonly
blockhash
blockhash
:
BlockHash
code
code
:
"LEDGER_IDEMPOTENT_KEY_EXISTS"
Readonly
existing
Blockhash
existingBlockhash
:
BlockHash
Optional
Readonly
idempotent
Key
idempotentKey
?:
ArrayBuffer
Readonly
should
Retry
shouldRetry
:
false
Readonly
type
type
:
"LEDGER"
= LedgerErrorType
Static
Readonly
is
Instance
isInstance
:
(
obj
:
any
,
strict
?:
boolean
,
)
=>
obj
is
KeetaNetLedgerIdempotentKeyError
= ...
Methods
to
JSON
toJSON
()
:
{
account
?:
string
;
blockhash
:
BlockHashString
;
code
:
"LEDGER_IDEMPOTENT_KEY_EXISTS"
;
existingBlockhash
:
BlockHashString
;
idempotentKey
?:
string
;
message
:
string
;
type
:
string
;
}
Returns
{
account
?:
string
;
blockhash
:
BlockHashString
;
code
:
"LEDGER_IDEMPOTENT_KEY_EXISTS"
;
existingBlockhash
:
BlockHashString
;
idempotentKey
?:
string
;
message
:
string
;
type
:
string
;
}
Static
assert
Valid
Ledger
Error
Code
assertValidLedgerErrorCode
(
code
:
string
)
:
code
is
"LEDGER_IDEMPOTENT_KEY_EXISTS"
Parameters
code
:
string
Returns
code
is
"LEDGER_IDEMPOTENT_KEY_EXISTS"
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
C
constructor
Properties
P
account
P
blockhash
P
code
P
existing
Blockhash
P
idempotent
Key
P
should
Retry
P
type
P
is
Instance
Methods
M
to
JSON
M
assert
Valid
Ledger
Error
Code
@keetanetwork/keetanet-client
Loading...