BTM000", “Bytom API Error”
非比原标准错误% x* h, P' P6 y s* W0 E7 |
BTM001", “Request timed out”
API请求超时
BTM002", “Invalid request body”
非法的API请求体) W! r9 ?& o. r+ n) o; J$ U
1XX为网络错误3 F/ V2 k7 p8 ~3 y4 A: [, ~
BTM103", “A peer core is operating on a different blockchain network”
区块链网络类型不匹配1 t. w8 A+ O; l4 H0 f3 x' W# ?- l: F. D3 G
2xx是签名相关的错误! c3 Q8 g* F$ Y
BTM200 :"Quorum must be greater than 1 and less than or equal to the length of xpubs“
需要签名的个数超过实际需求签名的个数 M1 I8 M1 v3 K O6 ]5 k; e
BTM201 :”Invalid xpub format"7 Z; n$ U/ T `6 t2 `2 B6 t J: l
签名格式错误
BTM202 :“At least one xpub is required”
缺少主公钥( U/ V# |, R; u; U' S- }9 D8 K
BTM204 : “Root XPubs cannot contain the same key more than once”
主公钥重复
7XX为交易相关的错误
72X - 73X 构建交易错误( R5 S. Q- b+ C! T8 |, f3 T. r
BTM700 : “Funds of account are insufficient”# G, d% }+ p0 f) d, [
资产余额不足
BTM701 : “Available funds of account are immature”
coinbase交易未成熟,币不可花费
BTM702 : "Available UTXOs of account have been reserved
资产被锁定五分钟,不可花费(一般密码输入错误会产生)& r S# W& r. E1 Y
BTM703 : “Not found UTXO with given hash”
UTXO不属于当前钱包
BTM704 : “Invalid action type”$ d5 ~3 n1 N& a' e6 W
action类型不存在- |2 c! f5 s) J9 h# I. I& m
BTM705 : “Invalid action object”4 I+ F5 S. m0 ]+ W2 d9 i( H5 L( C
action输入内容错误
BTM706 : “Invalid action construction”
action结构错误(只有输入或者只有输出)* N m( ~" v1 b( {+ Z: V
BTM707 : “One or more fields are missing”
action输入内容缺失
BTM708 : “Invalid asset amount”' H9 [1 y. e4 E0 B) f; _0 y2 u
资产数量格式错误(超过最大数量)
BTM709 : “Not found account”5 L) {- G5 @$ Y4 e9 w; U) C# E
账户不存在
BTM710 : “Not found asset”) E9 _$ Q; L2 v
资产不存在3 s9 L- X: e3 \
73X - 75X 验证交易错误. m& O* }7 i6 j7 x1 H8 y
BTM730 :“Invalid transaction version”
交易版本不对' u5 q- @- k8 o) b- _+ u/ l3 b6 c
BTM731 :“Invalid transaction size”
交易大小不能为0
BTM732 :“Invalid transaction time range”' o D) ^4 ]& y
超出交易时间范围,用于将停留时间过久的未确认交易作废
BTM733 : “Not standard transaction”5 {- V" ], q; I
不是标准的交易,使用合约地址接受BTM时报错
BTM734 : “Invalid coinbase transaction”5 Q3 P @& W$ j, R- c( X, c
非法coinbase交易
BTM735 : “Invalid coinbase assetID”
非法的coinbase资产ID5 Q1 S! l+ g$ q4 N( @3 f) d
BTM736 : “Invalid coinbase arbitrary size”
coinbase尺寸过大,附加数据超过一定限制
BTM737 : “No results in the transaction”
交易action hash缺失
BTM738 : “Mismatched assetID”
不匹配的资产ID,发布资产时资产ID错误
BTM739 : “Mismatched value source/dest position”
不匹配的action位置
BTM740 : “Mismatched reference”/ L+ C* G, y3 h9 z! n2 Q& p
不匹配的引用
BTM741 : “Mismatched value”' S9 [2 O0 N7 q& G( W$ x" b
不匹配的值,action的资产值不匹配
BTM742 : “Missing required field”9 d5 ^+ b# j+ f9 \$ \! j7 ~( m
不匹配的字段,action输入的资产值类型不匹配7 H# K# }7 X' H4 L: Z( b
BTM743 : “No source for value”, @; Q8 M# E6 Q, }2 j1 L3 ]
输入源不存在4 X6 I- M1 e3 Y6 |
BTM744 : “Arithmetic overflow/underflow”; i; q( R, g: m7 w4 n6 T5 d
计算溢出,资产计算值超出限制: h" ]; I: B2 v/ p: X
BTM745 : “Invalid source or destination position”
action位置不匹配
BTM746 : “Unbalanced asset amount between input and output”
输入输出非BTM资产总量不平衡
BTM747 : “Gas credit has been spent”
UTXO数量超过上限(当前为21个)
BTM748 : “Gas usage calculate got a math error”
Gas运算错误" d/ G/ d) l3 d/ i7 u& G) m
76X - 78X 虚拟机错误
BTM760 :“Alt stack underflow”
子虚拟机栈溢出
BTM761 : “Bad value”& j/ `, x- k# P% t
非法栈数据
BTM762 : “Wrong context”% ^ Q' C$ x8 n- w
context值错误,context为虚拟机执行上下文
BTM763 : “Data stack underflow”
虚拟机数据溢出
BTM764 : “Disallowed opcode”
虚拟机指令不存在
BTM765 : “Division by zero”
除零错误, D- h1 I5 h$ g- K# w
BTM766 : “False result for executing VM”% S3 \, Y8 @* g
虚拟机执行结果为Fasle$ {9 E$ C1 R2 ^: I- e( M+ ? F
BTM767 : “Program size exceeds max int32”
合约的字节大小超过int32上限
BTM768 : “Arithmetic range error”2 S+ J0 D- _& @" g& S) I+ i: e0 f
计算出错
BTM769 : “RETURN executed”* j% a1 x' z$ X3 E. E3 Q
执行opfail指令返回的结果1 `: e1 \& o4 E5 D" d& w" i
BTM770 : “Run limit exceeded because the BTM Fee is insufficient”1 Z. Z+ [7 @8 \* t& E) S
Gas费用不足,引起合约终止
BTM771 : “Unexpected end of program”7 |+ \' d, T6 y; g8 A8 ?, _0 d
合约程序参数输入错误
BTM772 : “Unrecognized token”
不识别的虚拟机指令数据
BTM773 : “Unexpected error”
异常错误
BTM774 : “Unsupported VM because the version of VM is mismatched”0 ]+ c1 u. k! a! r& X0 d2 w
虚拟机版本不匹配
BTM775 : “VERIFY failed”
verify指令执行失败) ]- M# X5 x) D4 F: B! c' Q
8XX 为HSM相关错误- b) _9 ~: P. X+ v
BTM800 :“Key Alias already exists”
密钥别名重复
BTM801 :“Invalid after in query”' o* Y! }' V7 t- v
此错误已废弃8 ~- ]' W/ h6 _
BTM802 : “Key not found or wrong password”
密钥不存在或者密码错误
BTM803 : “Requested key aliases exceeds limit”: p+ t) m- K2 \+ i
此错误已废弃
BTM804 :“Could not decrypt key with given passphrase”
解密流程失败4 C* j0 H" M% E [+ h
BTM860", “Request could not be authenticated”
access token错误
成为第一个吐槽的人