BTM000", “Bytom API Error”
非比原标准错误
BTM001", “Request timed out”: f! _+ X' d. x( ?# D" f
API请求超时# X% i! u8 q6 k, g
BTM002", “Invalid request body”
非法的API请求体, {; F# I. p: T; ]5 `7 e# _
1XX为网络错误
BTM103", “A peer core is operating on a different blockchain network”
区块链网络类型不匹配
2xx是签名相关的错误* q J7 @, `+ a2 @* ~
BTM200 :"Quorum must be greater than 1 and less than or equal to the length of xpubs“$ J& S6 c, A/ X3 @' f
需要签名的个数超过实际需求签名的个数8 b/ i# q, N6 o% n# Y5 i1 U
BTM201 :”Invalid xpub format"
签名格式错误: `- J D/ k, A
BTM202 :“At least one xpub is required”
缺少主公钥 A6 ^5 N) z4 R1 J, e1 u6 U4 C2 l" J
BTM204 : “Root XPubs cannot contain the same key more than once”- s& e( H' C# y) z
主公钥重复! @: G I; J5 I1 [" M
7XX为交易相关的错误
72X - 73X 构建交易错误- n* D' p7 J/ S
BTM700 : “Funds of account are insufficient”& W+ i, A. n8 U. \) S7 D: ]4 ~. s# t
资产余额不足" ~# c2 I: Y% e/ ]& h) k3 v5 O" W
BTM701 : “Available funds of account are immature”: X3 z; ?/ } Q+ ~- a _7 [, @
coinbase交易未成熟,币不可花费
BTM702 : "Available UTXOs of account have been reserved
资产被锁定五分钟,不可花费(一般密码输入错误会产生)* ?0 F6 y) V5 \$ |4 g! P1 j
BTM703 : “Not found UTXO with given hash”
UTXO不属于当前钱包8 m: V; Q8 U/ W3 Y u0 ]2 q
BTM704 : “Invalid action type”* R1 u# {' _- U% p# Q+ _. m' c
action类型不存在
BTM705 : “Invalid action object”
action输入内容错误
BTM706 : “Invalid action construction”
action结构错误(只有输入或者只有输出) V Y' G; N# R. [$ X9 I
BTM707 : “One or more fields are missing”
action输入内容缺失" w4 _- ], ?! y! h3 k1 @8 b
BTM708 : “Invalid asset amount” ^1 _2 E8 _8 a# Z3 k4 Z t- @6 D
资产数量格式错误(超过最大数量)
BTM709 : “Not found account”
账户不存在
BTM710 : “Not found asset”
资产不存在
73X - 75X 验证交易错误
BTM730 :“Invalid transaction version”8 |7 P2 c8 j$ l+ |* ~5 r& G g
交易版本不对, J' ]# X2 `- _
BTM731 :“Invalid transaction size”
交易大小不能为0* B. h, Z {' x; ?8 N+ U( r* {9 b
BTM732 :“Invalid transaction time range”
超出交易时间范围,用于将停留时间过久的未确认交易作废+ m4 A% g) \) N$ P
BTM733 : “Not standard transaction”
不是标准的交易,使用合约地址接受BTM时报错
BTM734 : “Invalid coinbase transaction”
非法coinbase交易
BTM735 : “Invalid coinbase assetID”' V: h. S L! `3 ^$ O
非法的coinbase资产ID- J. {, Y6 V/ a
BTM736 : “Invalid coinbase arbitrary size”0 p0 Q$ O) S& S& F1 b( K# M
coinbase尺寸过大,附加数据超过一定限制" n) Z' t) [2 G4 A6 ?0 L7 t
BTM737 : “No results in the transaction”
交易action hash缺失
BTM738 : “Mismatched assetID”4 n$ }3 H7 i. {) y& e
不匹配的资产ID,发布资产时资产ID错误
BTM739 : “Mismatched value source/dest position”
不匹配的action位置
BTM740 : “Mismatched reference”
不匹配的引用
BTM741 : “Mismatched value” [9 y& l# C8 m- T; Y' Q4 j- u
不匹配的值,action的资产值不匹配* K5 `2 {# {* J- y' N0 f2 F
BTM742 : “Missing required field”% {* ~" N" O* M( p
不匹配的字段,action输入的资产值类型不匹配4 p. c( Q1 G! ], U8 X
BTM743 : “No source for value”
输入源不存在
BTM744 : “Arithmetic overflow/underflow”
计算溢出,资产计算值超出限制1 A% l: N( N5 ~7 u: p0 q3 a# T2 ~
BTM745 : “Invalid source or destination position”3 B0 C7 @0 ^1 `2 \: I" G
action位置不匹配
BTM746 : “Unbalanced asset amount between input and output”
输入输出非BTM资产总量不平衡
BTM747 : “Gas credit has been spent”; V! e0 A, ~% b
UTXO数量超过上限(当前为21个)
BTM748 : “Gas usage calculate got a math error” b, K* F% U1 _$ b' I: O H1 P! H
Gas运算错误: q: T8 c$ d4 y" e1 | _3 C% q
76X - 78X 虚拟机错误
BTM760 :“Alt stack underflow”9 B" S3 T' C3 E& }/ L
子虚拟机栈溢出
BTM761 : “Bad value”
非法栈数据. z! ^+ D! \9 x$ V
BTM762 : “Wrong context”. W8 Y) |- N2 [# I: v
context值错误,context为虚拟机执行上下文
BTM763 : “Data stack underflow”
虚拟机数据溢出8 C# X8 l1 g2 W4 T3 o
BTM764 : “Disallowed opcode”( e2 ^7 ]5 B' c4 I. @5 V* g- V& U* y
虚拟机指令不存在
BTM765 : “Division by zero”
除零错误
BTM766 : “False result for executing VM”* B, }' ]' s, |* t
虚拟机执行结果为Fasle: W0 u* R" K# p$ X! Q- R
BTM767 : “Program size exceeds max int32”. l* p! Z3 r, `3 ?- Z* P# S
合约的字节大小超过int32上限
BTM768 : “Arithmetic range error”
计算出错
BTM769 : “RETURN executed”
执行opfail指令返回的结果
BTM770 : “Run limit exceeded because the BTM Fee is insufficient”
Gas费用不足,引起合约终止) E- b+ _) y8 r/ k7 M+ t" G
BTM771 : “Unexpected end of program”
合约程序参数输入错误
BTM772 : “Unrecognized token”
不识别的虚拟机指令数据
BTM773 : “Unexpected error”
异常错误
BTM774 : “Unsupported VM because the version of VM is mismatched”
虚拟机版本不匹配
BTM775 : “VERIFY failed”
verify指令执行失败2 y: r f+ T3 c6 q) {
8XX 为HSM相关错误4 _3 P0 G, @' i. H! Q
BTM800 :“Key Alias already exists”+ r3 Q, d' c- r+ ^# q+ L
密钥别名重复* e4 V) k9 g( O; s4 z
BTM801 :“Invalid after in query”
此错误已废弃
BTM802 : “Key not found or wrong password”
密钥不存在或者密码错误" J# t/ H' b# L+ g5 |2 H$ o
BTM803 : “Requested key aliases exceeds limit”
此错误已废弃- ?! A8 G- Q# b+ E
BTM804 :“Could not decrypt key with given passphrase”- s/ r0 {. i# x6 y- T) u% q; s
解密流程失败7 T; z7 [9 A" a- |( k- L b
BTM860", “Request could not be authenticated”
access token错误
成为第一个吐槽的人



