check writing api for transaction and slaving