Skip to content

Commit

Permalink
update tx
Browse files Browse the repository at this point in the history
  • Loading branch information
lichao23 committed Sep 19, 2019
1 parent d228712 commit 6e07098
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
20 changes: 10 additions & 10 deletions docs/Docs/d_transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,24 +198,24 @@ Tos://List<CoinTo> format

Note: Support multiple accounts to transfer different assets to different accounts in the same transaction.

CoinFrom structure [40]
CoinFrom structure [70]

```
Address: //byte[24] account address
address: //byte[24] account address
assetsChainId://uint16 asset distribution chain
idassetsId: //uint16 asset
Idalu: //uint128, the number of transfers
Nonce : //byte[8] transaction sequence number, the last 8 bytes of the hash of the previous transaction
Locked : //byte Whether it is locked (locktime: -1), 1 means lock, 0 means non-lock
assetsId: //uint16 asset
amount: //uint128, the number of transfers
nonce : //byte[8] transaction sequence number, the last 8 bytes of the hash of the previous transaction
locked : //byte Whether it is locked (locktime: -1), 1 means lock, 0 means non-lock
```

CoinTo structure [44]
CoinTo structure [68]

```
Address: //byte[24], destination address
address: //byte[24], destination address
assetsChainId://uint16 asset distribution chain
idassetsId: //uint16 asset
Idalu : //uint128, transfer amount
assetsId: //uint16 asset
amount : //uint128, transfer amount
lockTime://uint32, unlock height or unlock time, -1 is permanent lock
```

Expand Down
12 changes: 6 additions & 6 deletions docs/zh/Docs/d_transaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,24 +198,24 @@ tos://List<CoinTo>格式

注:支持多个账户同一笔交易中转出不同资产到不同的账户中

CoinFrom结构[40]
CoinFrom结构[70]

```
address: //byte[24] 账户地址
assetsChainId://uint16 资产发行链的
idassetsId: //uint16 资产
idamount: //uint128,转出数量
assetsId: //uint16 资产
amount: //uint128,转出数量
nonce : //byte[8] 交易顺序号,前一笔交易的hash的后8个字节
locked : //byte 是否是锁定状态(locktime:-1),1代表锁定,0代表非锁定
```

CoinTo结构[44]
CoinTo结构[68]

```
address: //byte[24],目标地址
assetsChainId://uint16 资产发行链的
idassetsId: //uint16 资产
idamount : //uint128,转账金额
assetsId: //uint16 资产
amount : //uint128,转账金额
lockTime://uint32,解锁高度或解锁时间,-1为永久锁定
```

Expand Down

0 comments on commit 6e07098

Please sign in to comment.