Transaction registry 0x01–0x26
Complete specification of all 38 Minter v3.3.0 transaction opcodes (37 active handlers plus unregistered 0x13 TypePriceVote), exact RLP struct signatures, and price.* tariff keys.
coreV2/transaction/transaction.go declares 38 transaction opcodes 0x01..0x26 (decimal 1..38). GetDataV3 (coreV2/transaction/decoder.go) registers 37 active handlers, while 0x13 (TypePriceVote) has no registered decoder or handler and fails inside DecodeFromBytesWithoutSig with tx type 13 is not registered.
All 38 opcodes (0x01..0x26)
Fields in each row follow the exact Go struct RLP order inside the outer Data byte slice (envelope index 5). Current USDTE amounts for every price.* key appear in Execution, gas and fees (#tariffs).
| Hex (Dec) | Go constant and struct | RLP Data fields (order and types) | Tariff key and handler rules |
|---|---|---|---|
0x01 (1) | TypeSend (SendData) | [Coin: uint32, To: [20]byte, Value: bigint] | price.Send; Coin exists, sender covers Value and fee |
0x02 (2) | TypeSellCoin (SellCoinData) | [CoinToSell: uint32, ValueToSell: bigint, CoinToBuy: uint32, MinimumValueToBuy: bigint] | price.SellBancor; CRR reserve conversion, output >= MinimumValueToBuy |
0x03 (3) | TypeSellAllCoin (SellAllCoinData) | [CoinToSell: uint32, CoinToBuy: uint32, MinimumValueToBuy: bigint] | price.SellAllBancor; commission is deducted from CoinToSell regardless of tx.GasCoin |
0x04 (4) | TypeBuyCoin (BuyCoinData) | [CoinToBuy: uint32, ValueToBuy: bigint, CoinToSell: uint32, MaximumValueToSell: bigint] | price.BuyBancor; exact-output CRR purchase, spend <= MaximumValueToSell |
0x05 (5) | TypeCreateCoin (CreateCoinData) | [Name: string, Symbol: [10]byte, InitialAmount: bigint, InitialReserve: bigint, ConstantReserveRatio: uint32, MaxSupply: bigint] | PayForSymbol(price) + price.CreateCoin; Name <= 64 B, Symbol ^[A-Z0-9]{3,10}$ (non-numeric), CRR 10..100, InitialReserve >= 10,000 BIP, 1 BIP <= InitialAmount <= MaxSupply <= 10^33 pip |
0x06 (6) | TypeDeclareCandidacy (DeclareCandidacyData) | [Address: [20]byte, PubKey: [32]byte, Commission: uint32, Coin: uint32, Stake: bigint] | price.DeclareCandidacy; Commission 0..100; Address becomes OwnerAddress, while tx.sender becomes RewardAddress and ControlAddress (declare_candidacy.go:184) |
0x07 (7) | TypeDelegate (DelegateDataV260) | [PubKey: [32]byte, Coin: uint32, Value: bigint] | price.Delegate; BIP or CRR coin, merges sender's Waitlist entry for (PubKey, Coin) |
0x08 (8) | TypeUnbond (UnbondDataV3) | [PubKey: [32]byte, Coin: uint32, Value: bigint] | price.Unbond; fails when LockStakeUntilBlock > currentBlock; deducts Waitlist first, then active stake, frozen for 518,400 blocks |
0x09 (9) | TypeRedeemCheck (RedeemCheckData) | [RawCheck: []byte, Proof: [65]byte] | price.RedeemCheck (paid by issuer); requires GasPrice == 1, tx.GasCoin == check.GasCoin, len(check.Nonce) <= 16 |
0x0A (10) | TypeSetCandidateOnline (SetCandidateOnData) | [PubKey: [32]byte] | price.SetCandidateOn; OwnerAddress or ControlAddress, fails with CandidateJailed while jailed |
0x0B (11) | TypeSetCandidateOffline (SetCandidateOffData) | [PubKey: [32]byte] | price.SetCandidateOff; OwnerAddress or ControlAddress |
0x0C (12) | TypeCreateMultisig (CreateMultisigData) | [Threshold: uint32, Weights: []uint32, Addresses: [][20]byte] | price.CreateMultisig; 1..32 unique addresses, len(Weights) == len(Addresses), each weight <= 1023, Threshold <= sum(Weights) |
0x0D (13) | TypeMultisend (MultisendData) | [List: [Coin: uint32, To: [20]byte, Value: bigint][]] | price.MultisendBase + (len(List) - 1) * price.MultisendDelta (multisend.go:69); 1..100 items |
0x0E (14) | TypeEditCandidate (EditCandidateData) | [PubKey: [32]byte, RewardAddress: [20]byte, OwnerAddress: [20]byte, ControlAddress: [20]byte] | price.EditCandidate; current OwnerAddress |
0x0F (15) | TypeSetHaltBlock (SetHaltBlockData) | [PubKey: [32]byte, Height: uint64] | price.SetHaltBlock; OwnerAddress, Height >= currentBlock |
0x10 (16) | TypeRecreateCoin (RecreateCoinData) | [Name: string, Symbol: [10]byte, InitialAmount: bigint, InitialReserve: bigint, ConstantReserveRatio: uint32, MaxSupply: bigint] | price.RecreateCoin; ticker owner (version 0), issues new CoinID and archives prior coin as SYMBOL-N |
0x11 (17) | TypeEditCoinOwner (EditCoinOwnerData) | [Symbol: [10]byte, NewOwner: [20]byte] | price.EditTickerOwner; current ticker owner (owner != nil) |
0x12 (18) | TypeEditMultisig (EditMultisigData) | [Threshold: uint32, Weights: []uint32, Addresses: [][20]byte] | price.EditMultisig; tx.sender equals the multisig address (SignatureType == 0x02), 1..32 unique addresses, len(Weights) == len(Addresses), each weight <= 1023, Threshold <= sum(Weights) |
0x13 (19) | TypePriceVote | Unregistered in decoder.go (no struct fields) | No handler; DecodeFromBytesWithoutSig returns tx type 13 is not registered |
0x14 (20) | TypeEditCandidatePublicKey (EditCandidatePublicKeyData) | [PubKey: [32]byte, NewPubKey: [32]byte] | price.EditCandidatePublicKey; OwnerAddress, adds old PubKey to BlockList |
0x15 (21) | TypeAddLiquidity (AddLiquidityDataV260) | [Coin0: uint32, Coin1: uint32, Volume0: bigint, MaximumVolume1: bigint] | price.AddLiquidity; pool exists, required Coin1 amount <= MaximumVolume1 |
0x16 (22) | TypeRemoveLiquidity (RemoveLiquidityV240) | [Coin0: uint32, Coin1: uint32, Liquidity: bigint, MinimumVolume0: bigint, MinimumVolume1: bigint] | price.RemoveLiquidity; returned amounts satisfy >= MinimumVolume0 and >= MinimumVolume1 |
0x17 (23) | TypeSellSwapPool (SellSwapPoolDataV260) | [Coins: uint32[2..5], ValueToSell: bigint, MinimumValueToBuy: bigint] | price.SellPoolBase + (len(Coins) - 2) * price.SellPoolDelta; 1..4 distinct pools, output >= MinimumValueToBuy |
0x18 (24) | TypeBuySwapPool (BuySwapPoolDataV260) | [Coins: uint32[2..5], ValueToBuy: bigint, MaximumValueToSell: bigint] | price.BuyPoolBase + (len(Coins) - 2) * price.BuyPoolDelta; 1..4 distinct pools, spend <= MaximumValueToSell |
0x19 (25) | TypeSellAllSwapPool (SellAllSwapPoolDataV260) | [Coins: uint32[2..5], MinimumValueToBuy: bigint] | price.SellAllPoolBase + (len(Coins) - 2) * price.SellAllPoolDelta; commission is deducted from Coins[0] regardless of tx.GasCoin |
0x1A (26) | TypeEditCandidateCommission (EditCandidateCommission) | [PubKey: [32]byte, Commission: uint32] | price.EditCandidateCommission; OwnerAddress, 0..100, max delta +-10 percentage points, 1,555,200-block interval between changes |
0x1B (27) | TypeMoveStake (MoveStakeData) | [FromPubKey: [32]byte, ToPubKey: [32]byte, Coin: uint32, Value: bigint] | price.MoveStake; permitted during active LockStake, moves via FrozenFunds over 134,400 blocks |
0x1C (28) | TypeMintToken (MintTokenData) | [Coin: uint32, Value: bigint] | price.MintToken; ticker owner (version 0), Mintable == true, Volume + Value <= MaxSupply |
0x1D (29) | TypeBurnToken (BurnTokenDataV260) | [Coin: uint32, Value: bigint] | price.BurnToken; any holder when Burnable == true, remaining Volume - Value >= 1 pip |
0x1E (30) | TypeCreateToken (CreateTokenData) | [Name: string, Symbol: [10]byte, InitialAmount: bigint, MaxSupply: bigint, Mintable: bool, Burnable: bool] | PayForSymbol(price) + price.CreateCoin (create_token.go:90); 1 pip <= InitialAmount <= MaxSupply <= 10^33 pip |
0x1F (31) | TypeRecreateToken (RecreateTokenData) | [Name: string, Symbol: [10]byte, InitialAmount: bigint, MaxSupply: bigint, Mintable: bool, Burnable: bool] | price.RecreateToken; ticker owner (version 0), archives prior token as SYMBOL-N |
0x20 (32) | TypeVoteCommission (VoteCommissionDataV3) | 51 RLP fields + empty More tail (listed below) | price.VoteCommission; OwnerAddress, Height >= currentBlock, len(More) == 0 |
0x21 (33) | TypeVoteUpdate (VoteUpdateDataV230) | [Version: string, PubKey: [32]byte, Height: uint64] | price.VoteUpdate; OwnerAddress, Version ^[a-zA-Z0-9_]{1,20}$, Height >= currentBlock |
0x22 (34) | TypeCreateSwapPool (CreateSwapPoolData) | [Coin0: uint32, Coin1: uint32, Volume0: bigint, Volume1: bigint] | price.CreateSwapPool; floor(sqrt(Volume0 * Volume1)) > 1000, 1000 LP locked at the zero address, LP-{poolID} has owner = nil |
0x23 (35) | TypeAddLimitOrder (AddLimitOrderData) | [CoinToSell: uint32, ValueToSell: bigint, CoinToBuy: uint32, ValueToBuy: bigint] | price.AddLimitOrder; pool exists, both sides >= 10^10 pip, price in [reversePoolPrice/5, reversePoolPrice] |
0x24 (36) | TypeRemoveLimitOrder (RemoveLimitOrderData) | [ID: uint32] | price.RemoveLimitOrder; signed by order.Owner |
0x25 (37) | TypeLockStake (LockStakeData) | [] (0xc0, outer envelope 0x81c0) | price.LockStake; currentBlock > 10,197,360, sets LockStakeUntilBlock = currentBlock + 18,921,600 (3x weight on safeReward component) |
0x26 (38) | TypeLock (LockData, lock.go:14) | [DueBlock: uint32, Coin: uint32, Value: bigint] | price.Lock; locks liquid balance until DueBlock > currentBlock (DueBlock is uint32 in lock.go:14, whereas check 0x09 uses uint64) |
Exact 51 fields of VoteCommissionDataV3 (0x20)
vote_commission_v3.go:17-69 decodes 51 positional fields (0..50), where indices 3..50 are *big.Int values and the trailing More []*big.Int slice must decode empty (len(More) == 0):
RLP([
0: PubKey ([32]byte), 1: Height (uint64), 2: Coin (uint32),
3: PayloadByte, 4: Send, 5: BuyBancor,
6: SellBancor, 7: SellAllBancor, 8: BuyPoolBase,
9: BuyPoolDelta, 10: SellPoolBase, 11: SellPoolDelta,
12: SellAllPoolBase, 13: SellAllPoolDelta, 14: CreateTicker3,
15: CreateTicker4, 16: CreateTicker5, 17: CreateTicker6,
18: CreateTicker7to10, 19: CreateCoin, 20: CreateToken,
21: RecreateCoin, 22: RecreateToken, 23: DeclareCandidacy,
24: Delegate, 25: Unbond, 26: RedeemCheck,
27: SetCandidateOn, 28: SetCandidateOff, 29: CreateMultisig,
30: MultisendBase, 31: MultisendDelta, 32: EditCandidate,
33: SetHaltBlock, 34: EditTickerOwner, 35: EditMultisig,
36: EditCandidatePublicKey, 37: CreateSwapPool, 38: AddLiquidity,
39: RemoveLiquidity, 40: EditCandidateCommission, 41: MintToken,
42: BurnToken, 43: VoteCommission, 44: VoteUpdate,
45: FailedTx, 46: AddLimitOrder, 47: RemoveLimitOrder,
48: MoveStake, 49: LockStake, 50: Lock
])