Rollup data restore
Restore the Genesis Root Node
transaction.input=[
{
_blocknumber: unit32
_priority_operations: uint32
_pending_onchain_operations_hash: bytes32
_timestamp: unit256
_state_hash: bytes32
_commitment: bytes32
},
[{
_encoded_root : bytes32
_calldata: bytes (public_data)
_timestamp: unit256
_eth_witness: bytes
_blocknumber: uint32
_feeaccount: uint32
}]
]
transaction.input[0]._commitment = 6 * INPUT_DATA_ADDRESS_BYTES_WIDTH(32) + INPUT_DATA_ROOT_HASH_BYTES_WIDTH(32)Restore Rollup Transaction Data
DepositTx structure
tx_type
chips
account_id
token
amount
to
TransferToNewAddrTx & TransferToNewAddrNFTTx structure
tx_type
chips
from_id
token
amount
to
to_id
fee
WithdrawTx structure
tx_type
chips
account_id
token
amount
fee
to
TransferTx & TransferNFTTx structure
tx_type
chips
account_id
token
to
amount
fee
FullWithdrawTx & FullWithdrawNFTTx structure
tx_type
chips
account_id
eth_address
token
amount
creator_address
content_hash
UpdatePublicKeyTx structure
tx_type
chips
account_id
new_pk_hash
account
nonce
fee_token
fee
ForcedWithdrawTx structure
tx_type
chips
initiator_account_id
target_account_id
token
amount
fee
target
MintNFTTx structure
tx_type
chips
creator_account_id
recipient_account_id
content_hash
fee_token_id
fee
WithdrawNFTTx structure
tx_type
chips
account_id
creator_id
creator_address
serial_id
content_hash
to
token
token_fee
fee
SwapTx & SwapNFTTx structure
tx_type
chips
account_id_0
recipient_id_0
account_id_1
recipient_id_1
submitter_id
token_0
token_1
fee_token
amount_0
amount_1
fee
swap_fee_0
swap_fee_1
nonce
Last updated