Transaction Types
No
Transaction Type
Type Code
交易介绍Transaction introduction:
0
CoinBase
0x00
区块里的第一笔交易,为创币交易,用于发放矿工奖励及DPOS收益等The first transaction in the block is a Coinbase transaction, which is used to distribute miners’ rewards and DPOS profits, etc.
1
RegisterAsset
0x01
注册资产类别交易,主链只支持ELA资产类别RegisterAsset transaction. The main chain only supports ELA asset.
2
TransferAsset
0x02
转账交易 ,output类别会区是否是投票交易TransferAsset transaction. Whether the output category area is a voting transaction
3
Record
0x03
没用到Useless
4
Deploy
0x04
没用到Useless
5
SideChainPow
0x05
侧链挖矿交易,用于传递主链共识给POW侧链出块SideChainPow transaction, which is used to transfer the consensus of main chain to POW side chain of block generation.
6
RechargeToSideChain
0x06
主链无此交易,为与旧DID链交易类型保持一致定义在主链(旧did链上的跨链充值交易tx2)There is no such transaction in the main chain, which is defined in the main chain (cross-chain recharge transaction tx2 on the old DID chain) for keeping the same transaction type with the old DID chain.
7
WithdrawFromSideChain
0x07
跨链提币交易(tx4)Cross-chain withdrawal transaction (tx4)
8
TransferCrossChainAsset
0x08
跨链充值交易(tx1)TransferCrossChainAsset transaction (tx1)
9
RegisterProducer
0x09
注册DPOS候选节点交易RegisterProducer transaction
10
CancelProducer
0x0a
取消DPOS候选节点交易Transaction of canceling DPOS candidate node
11
UpdateProducer
0x0b
更新DPOS候选节点信息交易Transaction of updating DPOS candidate node information
12
ReturnDepositCoin
0x0c
取回DPOS质押金的交易Transaction of retrieving DPOS deposit
13
ActivateProducer
0x0d
激活inactive或者illegal的DPOS接单交易Order-taking transaction of activating inactive or illegal’s DPOS
14
IllegalProposalEvidence
0x0e
区块确认共识中发起提案作恶的证据Confirm the evidence that the proposal is illegal in the block consensus
15
IllegalVoteEvidence
0x0f
区块确认共识中对提案投票的作恶证据Confirm the evidence of illegality voting on the proposal in the block consensus
16
IllegalBlockEvidence
0x10
区块区块共识出分叉块作恶证据Block consensus shows evidence that forked blocks are illegal.
17
IllegalSidechainEvidence
0x11
没用到Useless
18
InactiveArbitrators
0x12
DPOS节点批量inactive交易Batch inactive transactions of DPOS nodes
Copy link