Enums
Wallet Manager Platform
enum_transaction_status

ConfirmedFail
-1
Transaction is fail.
false
true
FastConfirmedFail
-2
Fast confirm fail in less blocks.
false
true
Unconfirmed
1
Transaction is broadcasted. It can be pending or just mined but not yet confirmed. txStatus = true means success and txStatus = false means fail.
true or false
unknown
ConfirmedSuccess
2
Transaction is success and confirmed
true
true
Invalid
3
Transaction invalid because of uncle or invalid block.
true or false
false
FastConfirmedSuccess
4
Fast confirm fail in less blocks.
true
true
enum_operation_batch_status

SubmitFailed
-4
Submitted to transaction to merchant signer failed. Can be resubmitted again.
SignFailed
-3
Failed when prepare or sign transactions
Failed
-2
Failed while executing on chain
Rejected
-1
Rejected by merchant signer
Requested
1
Requested by merchant.
Submitted
2
Submitted transaction to merchant signer
Signed
6
Transaction signed.
Executing
3
Transaction executing on chain.
Completed
4
All transaction completed in this batch.
PartialCompleted
5
Partial transaction completed in this batch.
Stucking
7
Stucking in broadcast. eg. broadcast failed.
enum_operation_status

SubmitFailed
-4
Submitted to transaction to merchant signer failed. Can be resubmitted again.
SignFailed
-3
Failed when prepare or sign transactions
Failed
-2
Failed while executing on chain
Rejected
-1
Rejected by merchant signer
Requested
1
Requested by merchant.
Submitted
2
Submitted transaction to merchant signer
Signed
6
Transaction signed.
Executing
3
Transaction executing on chain.
Completed
4
All transaction completed.
Stucking
7
Stucking in broadcast. eg. broadcast failed.
enum_operation_transaction_status

BroadcastFailed
-2
Failed in broadcast transaction.
ConfirmFail
-1
Transaction failed to executed.
Signed
1
Initial status.
Broadcasted
2
Transaction broadcasted
Unconfirmed
3
Transaction found on chain, but unconfirmed
ConfirmedSuccess
4
Transaction successfully executed.
enum_wallet_type
1
Client wallet
Addresses assigned to client for deposit
2
Hot wallet
Merchant wallet for withdraw.
3
Invoker wallet
Merchant wallet to pay gas fee.
4
Sweep dest wallet.
Merchant wallet for receiving coins swept out from client wallets.
enum_transaction_type

From
0
1
2
3
4
To
Wallet Type
External Wallet
Client Wallet
Hot Wallet
Invoker Wallet
Sweep Dest Wallet
0
External Wallet
0 N/A
10 LOSS
20 Withdraw
30 LOSS
40 Merchant Withdraw
1
Client Wallet
1 Client Deposit
11 CAUTION
21 Withdraw-Deposit
31 Client Wallet Topup
41 CAUTION
2
Hot Wallet
2 Hot Wallet Deposit
12 Sweep to Hot Wallet
22 Hot Wallet Transfer
32 Hot Wallet Topup
42 Provision for Withdraw
3
Invoker Wallet
3 Invoker Deposit
13 CAUTION
23 CAUTION
33 Invoker Transfer
43 CAUTION
4
Sweep Dest Wallet
4 Merchant Deposit
14 Sweep
24 CAUTION
34 CAUTION
44 Merchant Transfer
8
Adjustment
N/A
8 Adjustment
8 Adjustment
8 Adjustment
8 Adjustment
9
Miner (Fee)
9 N/A
19 Sweep Fee
29 Withdraw Fee
39 Topup Fee
49 Merchant Withdraw Fee
enum_direction
1
In
Cash in transaction
2
Out
Cash out trandaction
enum_risk_level
-2
No Data
Risk level not found in the chain analysis API. (Applied to transaction only)
-1
No Assessment
Risk level not enable or No Assessment at this
momement.
0
No Risk Detected
No Risk
1
Info
Information
2
Caution
Caution
3
Medium
Medium risk
4
High
High risk
5
Critical
Critical risk
Merchant Signer
enum_transaction_batch_status

-3
Verify Failed
Failed to verify by merchant API
-2
Sign Failed
Failed in preparing or signing
-1
Rejected
Transaction rejected manually
0
Pending
Initial status
1
Received All
All operations this batch are received.
2
Approved
Transaction already approved
3
Prepared
Tranaction ready for sign
4
Signed
Transaction signed
5
Verified
Tranaction verified by merchant API
Last updated