Transaction type

TypeZHEN
asset type
create_asset创建资产create asset
update_asset更新资产update asset
consume_asset消费资产consume asset
createassetfactory创建工厂模式资产create asset in factory mode
acquire_asset获得资产acquire asset
account type
account_migrate账户迁移migrate account
declare账户声明declare account
misc type
poke签到poke
trade type
exchange交换exchange
transfer转让transfer

Status Code

NameCodeZHEN
ok0成功Success
common code 1-15
invalid_nonce1交易已存在transaction existed
invalid_signature2签名不合法signature is invalid
invalidsenderstate3发送者状态不合法sender state is invalid
invalidreceiverstate4接收者状态不合法receiver state is invalid
insufficient_data5数据不完整data is insufficient
insufficient_fund6余额不足fund is insufficient
invalid_owner7拥有者不合法owner is invalid
invalid_tx8交易信息不合法transaction information is invalid
unsupported_tx9不支持的交易类型transaction type is unsupported
expired_tx10过期交易transaction is expired
toomanytxs11mempool交易过多too many transactions in mempool
invalidlockstatus12锁定状态不合法lock status is invalid
invalid_request13gRPC 请求不合法gPPC request is invalid
16 - 2047 various errors
invalid_moniker16钱包用户名不合法moniker of account is invalid
invalid_passphrase17钱包密码不合法passphrase of account is invalid
invalid_multisig20多重签名不合法multisig signatures are invalid
invalid_wallet21加载钱包的地址或者密码错误address or passphrase in loading wallet is invalid
invalidchainid22链 ID 不合法chain ID is invalid
consensusrpcerror24共识 RPC 错误consensus rpc error
storagerpcerror25存储 RPC 错误storage rpc error
enoent26条目不存在no entity found
account_migrated27已账户迁移状态account is in migrated status
unsupported_stake30不支持类型的抵押stake is unsupported
insufficient_stake31抵押余额不充足stake is insufficient
invalidstakestate32抵押状态不合法stake state is insufficient
expiredwallettoken33钱包令牌过期wallet token us expired
banned_unstake34不允许类型的解除抵押unstake is banned
invalid_asset35资产信息不合法asset is invalid
invalidtxsize36交易内容大小不合法transaction size is invalid
invalidsignerstate37签名者状态不合法singer state is invalid
invalidforgestate38forge 状态不合法forge state is invalid
expired_asset39过期资产asset is expired
untransferrable_asset40不可转让资产asset is untransferrable
readonly_asset41只读资产asset is readonly
consumed_asset42被消费资产asset is consumed
invaliddepositvalue43抵押金额不合法deposited valid is invalid
exceeddepositcap44
invaliddeposittarget45
invalid_depositor46
invalid_withdrawer47
duplicate_tether48
invalidexpirydate49
invalid_deposit50
invalid_custodian51
forbidden403资源不可用request is forbidden
internal500内部错误internal error
timeout504请求超时timeout error
user defined status code shall start from 600