BTM000", “Bytom API Error”
非比原标准错误 L' }- @- D4 |+ w
BTM001", “Request timed out”
API请求超时
BTM002", “Invalid request body”
非法的API请求体" d0 j. M! R4 p. f
1XX为网络错误
BTM103", “A peer core is operating on a different blockchain network”4 P0 X2 q5 Q4 ^" F3 H* ^; o3 F+ P% e
区块链网络类型不匹配
2xx是签名相关的错误$ Q r/ X, F- a
BTM200 :"Quorum must be greater than 1 and less than or equal to the length of xpubs“1 Q5 E3 M! Z# p! K- l
需要签名的个数超过实际需求签名的个数. m2 z, D4 k6 g7 U
BTM201 :”Invalid xpub format"' P- m- E3 g4 \' p; d1 `& X
签名格式错误7 s) R4 n+ p' r9 O
BTM202 :“At least one xpub is required”3 L/ O% X: K% `; F& D: Y2 L( B6 q) k. h1 O
缺少主公钥
BTM204 : “Root XPubs cannot contain the same key more than once”
主公钥重复
7XX为交易相关的错误
72X - 73X 构建交易错误
BTM700 : “Funds of account are insufficient”
资产余额不足
BTM701 : “Available funds of account are immature”
coinbase交易未成熟,币不可花费
BTM702 : "Available UTXOs of account have been reserved" i' U3 q% [3 B1 H) n5 s; R% B' u0 W
资产被锁定五分钟,不可花费(一般密码输入错误会产生)
BTM703 : “Not found UTXO with given hash”
UTXO不属于当前钱包3 G6 B+ u& K. d4 Y
BTM704 : “Invalid action type”
action类型不存在
BTM705 : “Invalid action object”
action输入内容错误! a/ s1 D& m5 V8 q* P
BTM706 : “Invalid action construction”- e; w9 y0 ?1 s1 L" d0 k0 [
action结构错误(只有输入或者只有输出)
BTM707 : “One or more fields are missing”* U% H6 x# g6 X2 [# \3 |0 G
action输入内容缺失2 k4 |( B. P- `+ r
BTM708 : “Invalid asset amount”
资产数量格式错误(超过最大数量)4 K8 x e. A( T8 Z; j0 |1 @
BTM709 : “Not found account”. O. [* C) _; s' p& _+ ^- l
账户不存在
BTM710 : “Not found asset”
资产不存在
73X - 75X 验证交易错误
BTM730 :“Invalid transaction version”; x- n3 @ d. k$ T2 L* m4 R
交易版本不对
BTM731 :“Invalid transaction size”
交易大小不能为0
BTM732 :“Invalid transaction time range”+ y# e" V1 j; m" V+ g
超出交易时间范围,用于将停留时间过久的未确认交易作废
BTM733 : “Not standard transaction”) \0 Z/ ^" X* x& u
不是标准的交易,使用合约地址接受BTM时报错3 r7 }, Z4 @4 F& Q; H% u% A0 H
BTM734 : “Invalid coinbase transaction”
非法coinbase交易
BTM735 : “Invalid coinbase assetID”5 Q! C) T% _6 g" |
非法的coinbase资产ID
BTM736 : “Invalid coinbase arbitrary size”
coinbase尺寸过大,附加数据超过一定限制
BTM737 : “No results in the transaction”
交易action hash缺失
BTM738 : “Mismatched assetID”* S% ^0 I* g$ x! I1 ?
不匹配的资产ID,发布资产时资产ID错误2 i/ ^5 ^7 e9 r5 [* H+ H
BTM739 : “Mismatched value source/dest position”# U! O3 b0 _% c
不匹配的action位置( ^! |7 ?; H& B' k! f
BTM740 : “Mismatched reference”% q2 f. \6 X+ n8 g9 F6 y
不匹配的引用
BTM741 : “Mismatched value”& o. k& C6 e4 y0 T
不匹配的值,action的资产值不匹配
BTM742 : “Missing required field”
不匹配的字段,action输入的资产值类型不匹配' V: |8 } J. ^' o/ I; o
BTM743 : “No source for value”% |& B2 B `; L v4 a
输入源不存在
BTM744 : “Arithmetic overflow/underflow”
计算溢出,资产计算值超出限制
BTM745 : “Invalid source or destination position”
action位置不匹配7 K* o& a) p1 `
BTM746 : “Unbalanced asset amount between input and output”# h* |: C' y$ y1 Y4 }/ s' [
输入输出非BTM资产总量不平衡% {1 I8 d4 r8 ?, J) D% g% H- A( [
BTM747 : “Gas credit has been spent”& Y, {5 H: l' f
UTXO数量超过上限(当前为21个)
BTM748 : “Gas usage calculate got a math error”
Gas运算错误4 a6 S8 n- b' I7 [/ g3 {3 w' g0 _4 A
76X - 78X 虚拟机错误$ y9 U( q: B6 q- y( d' u
BTM760 :“Alt stack underflow”( ]1 L2 i2 b" s- i
子虚拟机栈溢出" u- |+ P3 O; h q" K( \
BTM761 : “Bad value”2 Q4 b/ u) D; ?7 T
非法栈数据
BTM762 : “Wrong context”
context值错误,context为虚拟机执行上下文
BTM763 : “Data stack underflow”6 f6 A% `7 q1 e ~
虚拟机数据溢出
BTM764 : “Disallowed opcode”" W+ ~- ~" q6 c* Z* s( R% V
虚拟机指令不存在
BTM765 : “Division by zero”
除零错误1 Y# o& U: A. O) l$ f
BTM766 : “False result for executing VM”. K* N' n5 v, h0 p9 V4 u# E. @
虚拟机执行结果为Fasle
BTM767 : “Program size exceeds max int32”
合约的字节大小超过int32上限
BTM768 : “Arithmetic range error”
计算出错" _, o8 f) o7 \: D: r/ j
BTM769 : “RETURN executed”
执行opfail指令返回的结果
BTM770 : “Run limit exceeded because the BTM Fee is insufficient”! u0 g' Q. z0 y5 w
Gas费用不足,引起合约终止; l: y) l- ` I! V1 t
BTM771 : “Unexpected end of program”
合约程序参数输入错误
BTM772 : “Unrecognized token”
不识别的虚拟机指令数据 q: \* h: E$ [1 P
BTM773 : “Unexpected error”& O, {0 F/ r. q m
异常错误, _0 |9 d, b, ~1 e
BTM774 : “Unsupported VM because the version of VM is mismatched”
虚拟机版本不匹配
BTM775 : “VERIFY failed”, M2 c; m; I5 N- d' C8 K* L
verify指令执行失败
8XX 为HSM相关错误2 ]8 b/ [! J+ y7 x" Q
BTM800 :“Key Alias already exists”
密钥别名重复
BTM801 :“Invalid after in query”
此错误已废弃
BTM802 : “Key not found or wrong password”# N3 B& B; J2 \9 v- A
密钥不存在或者密码错误
BTM803 : “Requested key aliases exceeds limit”
此错误已废弃
BTM804 :“Could not decrypt key with given passphrase”
解密流程失败0 F% |; i0 Z8 f% m% [" U, ~, E
BTM860", “Request could not be authenticated”
access token错误
成为第一个吐槽的人