def __init__(self, tx_hash, nonce, from_address, to_address, value, block_height, timestamp, success, gas_token_id, transfer_token_id, is_from_root_chain):
    self.tx_hash = tx_hash
    self.nonce = nonce
    self.from_address = from_address
    self.to_address = to_address
    self.value = value
    self.block_height = block_height
    self.timestamp = timestamp
    self.success = success
    self.gas_token_id = gas_token_id
    self.transfer_token_id = transfer_token_id
    self.is_from_root_chain = is_from_root_chain
def __init__(self, tx_hash, nonce, from_address, to_address, value, block_height, timestamp, success, gas_token_id, transfer_token_id, is_from_root_chain):
    self.tx_hash = tx_hash
    self.nonce = nonce
    self.from_address = from_address
    self.to_address = to_address
    self.value = value
    self.block_height = block_height
    self.timestamp = timestamp
    self.success = success
    self.gas_token_id = gas_token_id
    self.transfer_token_id = transfer_token_id
    self.is_from_root_chain = is_from_root_chain